Sazabi
APIBilling

Update auto top-up settings

PUT
/billing/auto-top-up

Enable/disable and configure credit auto top-up. Requires a user credential with billing:manage.

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

curl -X PUT "https://example.com/billing/auto-top-up" \  -H "Content-Type: application/json" \  -d '{    "enabled": true,    "triggerCreditBalance": "string",    "topUpAmount": "string",    "cycleSpendingLimit": "string"  }'
{  "supported": true,  "enabled": true,  "triggerCreditBalance": "string",  "topUpAmount": "string",  "cycleSpendingLimit": "string",  "currency": "string",  "creditsToGrant": "string",  "status": "string"}