Skip to main content
PUT
Set or clear the auto-recharge rule

Path parameters

Request body

Send both fields to enable, both null to disable:

Example request

Example response

When the balance dips below the threshold, Recurso charges the saved payment method off-session and records the recharge like any other top-up.

Errors

Errors use the standard envelope — see Errors.

Authorizations

Authorization
string
header
required

Tenant API key obtained from POST /auth/register or POST /v1/developer/keys.

Path Parameters

id
string<uuid>
required

Body

application/json
auto_recharge_threshold
integer<int64> | null
auto_recharge_amount
integer<int64> | null

Response

The updated wallet

data
object

Prepaid balance per customer+currency, drained before credit notes and the gateway at invoice time. Amounts are minor units.