Skip to main content

Update auto recharge preferences

PATCH 

/payment/auto_recharge_prefs

Update payment auto recharge preferences.

Request

Body

required

Details to update auto recharge preferences

    threshold_amount decimal

    The threshold amount at which the account will be recharged.

    recharge_amount decimal

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

    enabled boolean

    Whether auto recharge is enabled.

    invoice_enabled boolean
    preference string

    Possible values: [credit_paypal, ach]

    The payment preference for auto recharge.

Responses

200: Successful response

Schema

    data

    object

    id string

    The unique identifier for the auto recharge preference.

    record_type string

    The record type.

    threshold_amount decimal

    The threshold amount at which the account will be recharged.

    recharge_amount decimal

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

    enabled boolean

    Whether auto recharge is enabled.

    invoice_enabled boolean
    preference string

    Possible values: [credit_paypal, ach]

    The payment preference for auto recharge.

401: Unauthorized

404: Resource not found

422: Bad request

Loading...