Skip to main content
POST
Create a wallet

Authorizations

Authorization
string
header
required

API key issued during merchant onboarding.

Headers

Idempotency-Key
string

Optional client-supplied key. Identical key + identical body within 24h replays the original response. Identical key + different body returns 409 idempotency_conflict. The hash is over raw bytes — clients retrying must send the byte-identical body; a re-serialised JSON payload will produce a different hash and a 409. Strongly recommended for retry-safe clients.

Pattern: ^[A-Za-z0-9_\-]{8,255}$

Body

application/json

CreateWalletDto

currency
string
required
Pattern: ^[A-Z0-9]{2,8}$
country_code
string
Pattern: ^[A-Z]{2}$
customer_id
string
label
string
Maximum string length: 255
metadata
object

Response

Wallet created successfully

status
enum<boolean>
required
Available options:
true
Example:

true

message
string
required

Human-readable summary

Example:

"Wallet created successfully"

code
enum<string>
required
Available options:
ok
Example:

"ok"

data
object
required
meta
object
required