Billing & Auto Topup
Update Auto Topup Settings
Configure threshold-based or scheduled auto topup
PUT
Update Auto Topup Settings
Configure or update auto topup. You can enable threshold-based recharging (auto-charge when balance drops belowthreshold_amount), monthly scheduled recharging (auto-charge on a specific day), or both.
Endpoint
Request headers
Bearer token. Format:
Bearer talq_your_environment_token_hereMust be set to
application/jsonRequest body
Master switch for auto topup. When
false, neither threshold nor scheduled recharges fire.Trigger threshold in account currency. Range:
1–1000. When the balance drops below this, a recharge is queued.Amount charged each time the threshold is hit. Range:
1–1000.Enables monthly scheduled recharges in addition to (or instead of) threshold-based.
Amount charged on the scheduled day. Range:
1–1000. Required when scheduled_payment_enabled is true.Day of month for scheduled recharges. Range:
1–28 (avoids month-end edge cases).ID of the payment method to charge. Must be a method already saved on the account — see List Payment Methods.
Examples
Response
Notes
- The
daily_limitis set by your plan and cannot be modified via API. Contact support to request an increase. - To turn off auto topup entirely, send
{"is_enabled": false}or use Disable Auto Topup. - After updating, run Test Auto Topup to verify the payment method works.