Set auto reload configuration

Configure auto reload settings for a customer. With auto reload enabled, Ansa will automatically charge the specified payment method and add the configured amount to the customer's balance whenever the balance drops below the configured threshold.

ℹ️

Auto reload initial state

Configuring auto reload will not automatically create an add balance transaction if the customer's balance is below the threshold when the configuration is set. It is safe for the customer to update their auto reload configuration repeatedly without unintentionally creating transactions.


Authorization Scope

Both the merchant secret key and client secret key are authorized to call this endpoint.

Path Params
string
required
Body Params
boolean
required

Enable or disable wallet auto reload behavior for this customer.

int32

Amount to reload when the customer balance goes below the configured threshold. Required if enabled is true.

string

Payment method id to be charged. Required if enabled is true.

int32

If the customer's balance goes below this threshold, Ansa will automatically fund the customer's wallet using the specified payment method.

boolean

Opt into auto funding behavior. Only applies to Ansa Anywhere transactions.

Responses

Language
Credentials
Header
LoadingLoading…
Response
Choose an example:
application/json