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

Request

  • Base URL
    https://api.beeble.ai
  • Auth
    API key in header x-api-key

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 operation across all 12 revisions of this API.