Cashback
Read cashback config
GET
/api/merchants/cashback/configThe merchant's current cashback rules. Read this on product pages to show the correct rate before checkout.
- Responds
{ success, cashback_config }.percentageis a FRACTION — 0.03 means 3%.
Authentication
Accepts either an API key (X-API-Key) or a dashboard JWT (Authorization: Bearer …).
GET
/api/merchants/cashback/configcurl "https://api.trevi.cash/api/merchants/cashback/config" --header "X-API-Key: $TREVI_API_KEY"Was this page helpful?
