v47

latestOpenAPI 3.1.0raw.githubusercontent.com2026-06-181,0851,7264.5 MB
AutoRechargePreferences

Update auto recharge preferences

Update payment auto recharge preferences.

patch/payment/auto_recharge_prefs

Request body

threshold_amountstring

The threshold amount at which the account will be recharged.

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.

enabledboolean

Whether auto recharge is enabled.

invoice_enabledboolean
preference'credit_paypal' | 'ach'

The payment preference for auto recharge.

Example request

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

Response

Successful response

Example response

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