Cashback
Update treasury config
PUT
/api/merchants/treasury/configSet the percentage of each completed payment that's auto-allocated to your treasury reserve. Enable/disable the feature entirely.
Authentication
Accepts either an API key (X-API-Key) or a dashboard JWT (Authorization: Bearer …).
Body parameters
enabledbooleanoptionalpercentagenumberoptional0 – 0.95 (fraction)
PUT
/api/merchants/treasury/configcurl --request PUT "https://api.trevi.cash/api/merchants/treasury/config" \
--header "Content-Type: application/json" \
--header "X-API-Key: $BTPAY_API_KEY" \
--data '{ "enabled": true, "percentage": 0.1 }'Was this page helpful?
