billing

Update Auto Recharge Settings

Update auto-recharge settings.

When enabling, threshold_cents and amount_cents are required. payment_method_id is optional — auto-selects default if omitted. Rejects postpaid users.

put/v1/billing/auto-recharge

Headers

authorizationstring

Request body

enabledboolean nullable
threshold_centsinteger nullable
amount_centsinteger nullable
payment_method_idstring nullable

Example request

{
  "threshold_cents": 1000,
  "amount_cents": 5000
}

Response

Successful Response

enabledboolean
threshold_centsinteger nullable
amount_centsinteger nullable
payment_method_idstring nullable
consecutive_failuresinteger
last_failure_reasonstring nullable

Example response

{
  "threshold_cents": 1000,
  "amount_cents": 5000
}

Changes

No recorded changes to this endpoint across all 1 revision of this API.