Process Cashback
Governance & Cashback
Process Cashback
Record a customer purchase and auto-credit cashback if they hit the threshold
POST
Process Cashback
AddsDocumentation Index
Fetch the complete documentation index at: https://docs.shakesco.com/llms.txt
Use this file to discover all available pages before exploring further.
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
Your unique identifier for this customer
Amount the customer just spent, in
currencyResponse
Reference identifier for this purchase