v4
OpenAPI 3.0.02026-07-31811,0021.1 MBCheckout
Redeems cashback for a checkout
This endpoint allows you to apply cashback discount to a checkout/cart.
Input Parameters
- CustomerId (required): The customer identifier (email or document/CPF)
- CheckoutId (required): The checkout/cart ID from the e-commerce platform
- CashbackValue (optional): The specific amount of cashback to apply. If not provided, the maximum available cashback will be used.
- Total (optional): The checkout total value. Used for validation.
- OriginalKey (optional): A unique key to identify this redemption (for idempotency)
Response
On success, returns the reward information including:
- RewardId: The unique ID for this reward
- ExternalCode: Code to be used when sending orders to BonifiQ
- OriginalKey: The key identifying this redemption
- Point: Information about the points used
- Coupon: The coupon information (if generated)
Important Notes
- If the customer already has cashback applied in another checkout (without an order), it will be automatically refunded.
- The cashback value cannot exceed the checkout total or the customer's available cashback balance.
post/v1/pvt/Checkout/redeem
Request body
Response
The reward information