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
required
The single-use redemption_token returned for the offer by Campaign Eligibility. This is the same token used by Add Item to Cart. It lasts 600 seconds (10 minutes) and cannot be empty. It is not the cart_redemption_token returned by Validate Cart.
integer
required
The identifier of the partnership the token was issued for. Must be an integer greater than or equal to 1.

Response

object
required
The reward transaction created by the redemption.
The redemption token lasts 600 seconds (10 minutes) and is consumed as soon as the request is accepted. It cannot be reused, even if the redemption later fails. If a request fails after the token was consumed, or if the token has expired, request eligibility again to get a new token.
To redeem several offers at once, add them to a cart with Add Item to Cart, then Validate Cart to get a cart_redemption_token, and pass that token to Redeem Cart by Token.