Skip to main content
POST
Create a prepaid wallet

Request body

Example request

Example response

Returns 409 when a wallet for this customer, entity, and currency already exists. New wallets start at a zero balance — fund them with a 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.

Body

application/json
customer_id
string<uuid>
required
currency
string
required
Required string length: 3
entity_id
string<uuid>

Legal entity the wallet belongs to (Multi-Entity Books). Omit for the tenant's primary entity.

auto_recharge_threshold
integer<int64> | null

Recharge when balance falls below this (minor units).

auto_recharge_amount
integer<int64> | null

Amount charged to the saved payment method on recharge.

Response

The created wallet

data
object

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