Skip to main content
PATCH
JavaScript

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json

Details to update auto recharge preferences

threshold_amount
string

The threshold amount at which the account will be recharged.

Example:

"104.00"

recharge_amount
string

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

Example:

"104.00"

enabled
boolean

Whether auto recharge is enabled.

Example:

true

invoice_enabled
boolean
Example:

true

preference
enum<string>

The payment preference for auto recharge.

Available options:
credit_paypal,
ach
Example:

"credit_paypal"

Response

Successful response

data
object