Auto-recharge Preferences V1

Auto Recharge Preference operations

Retrieve AutoRechargePreference

Retrieves the details of an existing AutoRechargePreference

Responses
200

AutoRechargePreference response

Response Schema: application/json
id
string
threshold_amount
required
string

US dollars and cents

recharge_amount
required
string

US dollars and cents. Must be a minimum of $10.00

enabled
required
boolean
Default: false

Indicates if auto recharge is enabled or not

400

Bad request

401

Unauthorized

404

Record not found

get/payment/auto_recharge_pref
Request samples
Response samples
application/json
{
  • "id": "string",
  • "threshold_amount": "0.00",
  • "recharge_amount": "10.00",
  • "enabled": false
}

Update a AutoRechargePreference

Updates AutoRechargePreference with the values of the parameters passed. Any parameters not included in the request will be left unchanged.

Request
Request Body schema: application/json
required

Updated AutoRechargePreference object

threshold_amount
required
string

US dollars and cents

recharge_amount
required
string

US dollars and cents. Must be a minimum of $10.00

enabled
required
boolean
Default: false

Indicates if auto recharge is enabled or not

Responses
200

AutoRechargePreference updated response

Response Schema: application/json
id
string
threshold_amount
required
string

US dollars and cents

recharge_amount
required
string

US dollars and cents. Must be a minimum of $10.00

enabled
required
boolean
Default: false

Indicates if auto recharge is enabled or not

400

Bad request

401

Unauthorized

404

Record not found

put/payment/auto_recharge_pref
Request samples
application/json
{
  • "threshold_amount": "0.00",
  • "recharge_amount": "10.00",
  • "enabled": false
}
Response samples
application/json
{
  • "id": "string",
  • "threshold_amount": "0.00",
  • "recharge_amount": "10.00",
  • "enabled": false
}