Cashback
Update cashback config
PUT
/api/merchants/cashback/configInspect or change your cashback rules. Changes apply to all future orders immediately.
Authentication
Accepts either an API key (X-API-Key) or a dashboard JWT (Authorization: Bearer …).
Body parameters
cashback_percentagenumberoptional1–10
enabledbooleanoptionalmax_per_transactionnumber (sats)optionalPUT
/api/merchants/cashback/configcurl --request PUT "https://api.trevi.cash/api/merchants/cashback/config" \
--header "Content-Type: application/json" \
--header "X-API-Key: $BTPAY_API_KEY" \
--data '{ "cashback_percentage": 3.5, "enabled": true }'Was this page helpful?
