v52

OpenAPI 3.1.0raw.githubusercontent.com2026-07-311,1941,9384.1 MB
AutoRechargePreferences

Update auto recharge preferences

Update payment auto recharge preferences.

patch/payment/auto_recharge_prefs

Request body

enabledboolean

Whether auto recharge is enabled.

invoice_enabledboolean
preference'credit_paypal' | 'ach'

The payment preference for auto recharge.

recharge_amountstring

The amount to recharge the account, the actual recharge amount will be the amount necessary to reach the threshold amount plus the recharge amount.

threshold_amountstring

The threshold amount at which the account will be recharged.

Example request

{
  "enabled": true,
  "invoice_enabled": true,
  "preference": "credit_paypal",
  "recharge_amount": "104.00",
  "threshold_amount": "104.00"
}

Response

Successful response

Example response

{
  "data": {
    "enabled": true,
    "id": "1524126400473204723",
    "invoice_enabled": true,
    "preference": "credit_paypal",
    "recharge_amount": "104.00",
    "record_type": "auto_recharge_pref",
    "threshold_amount": "104.00"
  }
}