x-partner-id. Use the integration ID issued by Keystone.
Quote wallet discount
Use this endpoint before checkout to show the wallet discount that can apply to the current cart.| Method | Endpoint | Auth |
|---|---|---|
POST | /wallet/quote | Bearer token |
| Field | Meaning |
|---|---|
balance | Customer’s usable wallet balance |
eligibleDiscount | Discount unlocked by the cart value |
redeemableAmount | Amount that can actually be redeemed now |
nextEligibleCartValue | Next cart threshold, or null if there is none |
earliestExpiry | Earliest expiring wallet credit, or null |
Get wallet
Use this endpoint to show the wallet screen. It returns the quote, recent transactions, and active discount rules.| Method | Endpoint | Auth |
|---|---|---|
GET | /wallet?cartValue={amount} | Bearer token |
useWallet: true in POST /orders.