Skip to main content
GET
/
cashback-settings
Cashback Settings
curl --request GET \
  --url https://tokens.shakesco.com/cashback-settings \
  --header 'Authorization: Bearer <token>'
{
  "spend_threshold": "500.00",
  "spend_threshold_currency": "KES",
  "reward_tokens": "5.0",
  "is_active": true
}

Documentation Index

Fetch the complete documentation index at: https://docs.shakesco.com/llms.txt

Use this file to discover all available pages before exploring further.

For the complete documentation index, see llms.txt. Returns the configured spend threshold and reward, with the threshold converted into whichever currency you request.

Query Parameters

currency
string
required
Currency to display the threshold in (e.g. KES, USD)

Response

spend_threshold
string
Spend threshold converted to the requested currency (string with 2 decimals)
spend_threshold_currency
string
Currency code matching the request
reward_tokens
string
Tokens awarded when threshold is crossed
is_active
boolean
true if cashback has been configured
const res = await fetch(
  "https://tokens.shakesco.com/cashback-settings?currency=KES",
  { headers: { Authorization: `Bearer ${API_KEY}` } }
);
const settings = await res.json();
{
  "spend_threshold": "500.00",
  "spend_threshold_currency": "KES",
  "reward_tokens": "5.0",
  "is_active": true
}