Billing

Turn automatic top-up on or off

When enabled, credit is bought automatically once the balance falls below threshold_micros. Requires a card already on file — this endpoint never collects card details. Capped at a small number of charges a day whatever the settings say, so a runaway loop drains an allowance rather than a card.

put/v1/billing/auto-recharge

Request

  • Base URL: https://ratchetgate.com
  • URL: https://ratchetgate.com/v1/billing/auto-recharge
  • Auth: HTTP bearer

Request body

enabledboolean required
threshold_microsinteger
pack_id'pack_25' | 'pack_100' | 'pack_500'

Response

Default Response

object required

Changes

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