Skip to main content
POST
This endpoint requires both your partner API key in the x-api-key header and a Bearer token in the Authorization header. The Bearer token is the user access token obtained after a successful Benji Connect SDK onSuccess callback. See Exchange Token and API Authentication. Partner API keys can be generated through the dashboard.
string
required
Your partner API key, generated through the dashboard. Required together with Authorization.
string
required
A Bearer user access token obtained after the Benji Connect SDK onSuccess callback. Required together with x-api-key. See Exchange Token.
string
The Fingerprint visitor ID of the device the cart owner is redeeming from. Send it together with X-Fingerprint-Event-Id to register the device against the cart owner and attach it to the redemption transactions. Blank values are ignored.
string
The Fingerprint event ID of the request that identified the device. Send it together with X-Fingerprint-Visitor-Id. Blank values are ignored.
string
required
The single-use cart_redemption_token returned by Validate Cart. It lasts 600 seconds (10 minutes), the same as the perk redemption_token from Campaign Eligibility, and cannot be empty. It is not the perk redemption_token used by Add Item to Cart or Redeem by Token.

Response

string
required
The cart redemption token that was redeemed.
string
required
The overall result of the cart redemption:
array
required
One result per cart item, in cart order.
Item-level failures do not change the HTTP status. A request returns 200 even when status is FAILED, so always check status and each item’s status in the response. The cart redemption token lasts 600 seconds (10 minutes) and is consumed as soon as the request is accepted. It cannot be reused.
The cart is marked as checked out when at least one item is redeemed. If every item fails, the cart stays active. Items in the cart that share a perk redemption_token are redeemed as separate units of the same offer. To get a new cart_redemption_token, call Validate Cart again.