Skip to main content

Apply the agency's agent-cashback balance

POST 

/api/v1/cart/:cartId/cashback

A toggle, not an amount: applies the most that can be applied, min(balance, grand total). Unlike a coupon this is a POST-TAX reduction — summary.grandTotal is unchanged and summary.amountPayable carries what is now due. No balance is taken yet; it is reserved at checkout, when an amount is quoted to a payer. Rejects a cart that already has cashback applied, one with no agency, and an agency with no available balance.

Request

Responses

OK