curl --request PUT \
--url https://api.closebot.com/agency/billing/options \
--header 'Content-Type: application/json' \
--header 'X-CB-KEY: <api-key>' \
--data '
{
"overBillingEnabled": true,
"autoRefillEnabled": true,
"topUpAmount": 123,
"refillThreshold": 123
}
'{
"overBillingEnabled": true,
"usageBillingEnabled": true,
"autoRefillEnabled": true,
"topUpAmount": 123,
"refillThreshold": 123,
"currency": "<string>"
}curl --request PUT \
--url https://api.closebot.com/agency/billing/options \
--header 'Content-Type: application/json' \
--header 'X-CB-KEY: <api-key>' \
--data '
{
"overBillingEnabled": true,
"autoRefillEnabled": true,
"topUpAmount": 123,
"refillThreshold": 123
}
'{
"overBillingEnabled": true,
"usageBillingEnabled": true,
"autoRefillEnabled": true,
"topUpAmount": 123,
"refillThreshold": 123,
"currency": "<string>"
}CloseBot API Key Authorization