Skip to main content
POST
Process Cashback
For the complete documentation index, see llms.txt. Adds spent_amount to the customer’s cashback progress. If the cumulative spend reaches the configured threshold, reward_tokens are credited automatically and the counter rolls over (overflow carries into the next cycle). Call this after every customer purchase. Returns 404 if you haven’t set up a cashback program yet via /set-cashback.
Treat this as a transaction. If you don’t get a response, check /cashback-progress before retrying. Duplicate calls will inflate the customer’s progress.

Request Body

string
required
Your unique identifier for this customer
number
required
Amount the customer just spent, in currency
string
required
Currency of the spent amount. See codes

Response

string
Reference identifier for this purchase