Skip to main content
POST
Set Cashback
For the complete documentation index, see llms.txt. Sets up a cashback program: once a customer spends spend_threshold (in your chosen currency) at your business, they automatically get reward_tokens credited. Cashback resets on every threshold crossing, and any spend overflow rolls into the next cycle. Use /process-cashback to record each customer purchase.

Request Body

number
required
Amount in currency that triggers cashback (e.g. 500)
string
required
Currency of the threshold (e.g. "KES", "USD"). See codes
number
required
Tokens awarded each time the threshold is crossed. Decimals allowed.

Response

string
Reference identifier for the configuration