Wallets
POST/v1/wallets

Creates a sub-wallet under one of your main wallets, usually one for each of your own customers. Main wallets are created in the dashboard.

Permissionwallets:write

Headers#

Idempotency-Keystringheader

8–80 letters, digits, - or _. Lets you retry safely: the same key and body return the first answer and never move money twice. See Idempotency.

Body#

JSON, with Content-Type: application/json.

parent_wallet_idstringrequired

The main wallet this one sits under.

namestringrequired

2–120 characters, such as your customer’s name.

external_refstring

Your own id for this customer. Unique in your business, so you can find the wallet later with List wallets.

deposit_fee_bearerstring

Who pays the collection fee on payments into this wallet: wallet or customer. Defaults to the main wallet’s setting.

Returns#

The new wallet, with a balance of 0.00.

Errors#

StatusCodeWhen
409DUPLICATE_EXTERNAL_REFAnother wallet already uses this external_ref.
422INVALID_PARENTThe parent isn’t a main wallet.
404WALLET_NOT_FOUNDThe parent doesn’t exist, or the key can’t see it.

The common codes, such as UNAUTHENTICATED and RATE_LIMITED, can come from any endpoint. See Errors.