Skip to main content
PUT
Update auto-recharge settings

Authorizations

X-Axilio-Api-Key
string
header
required

Customer API key (axl_ prefix).

Body

application/json

Auto-recharge configuration: top up the balance automatically when it drops below a threshold.

enabled
boolean
required

Whether auto-recharge is active.

target_cents
integer<int64>
required

Balance the recharge restores to, in cents (minimum 500 = $5.00). The charge is target minus current balance.

threshold_cents
integer<int64>
required

Recharge when the balance drops below this amount, in cents.

Response

OK

The org's auto-recharge configuration and status.

enabled
boolean
required

Whether auto-recharge is active.

target_cents
integer<int64>
required

Balance the recharge restores to, in cents (minimum 500 = $5.00). The charge is target minus current balance.

threshold_cents
integer<int64>
required

Recharge when the balance drops below this amount, in cents.

disabled_reason
enum<string>

Why auto-recharge turned itself off (payment_failed), if it did. Re-enabling clears it.

Available options:
payment_failed