Purchase

View as Markdown

Authentication

AuthorizationBearer

Bearer authentication of the form Bearer <token>, where token is your auth token.

Path parameters

customerIdstringRequired

Request

This endpoint expects an object.
amountCentsdoubleRequired

Sale amount in cents (e.g. 1000 = 10.00). 0 is allowed for a redemption-only purchase.

applyCashbackCentsdoubleOptional

Cashback balance (in cents) to apply against this sale. 0 is treated as omitted (no cashback applied). Rejected with 422 when it exceeds the available balance.

redeemRewardCountdoubleOptional

Banked rewards to redeem within this sale. 0 is treated as omitted (no rewards redeemed). Rejected with 422 when it exceeds the available rewards.

reasonstringOptional

Free-form note stored on the transaction.

Response