Skip to main content
POST
/
api
/
v1
/
treasury
/
users
/
{id}
/
wallets
Provision a wallet for an end-user (currency-scoped)
curl --request POST \
  --url http://localhost:3001/api/v1/treasury/users/{id}/wallets \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "currency": "USDC"
}
'
{
  "success": true,
  "data": {
    "id": "<string>",
    "partnerEndUserId": "<string>",
    "currency": "USDC",
    "balance": "<string>",
    "status": "ACTIVE",
    "createdAt": "2023-11-07T05:31:56Z",
    "updatedAt": "2023-11-07T05:31:56Z",
    "virtualAccountId": {},
    "liquidationAddress": {}
  }
}

Documentation Index

Fetch the complete documentation index at: https://docs.useaxra.com/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string
required

Partner end-user id

Body

application/json
currency
string
required

Wallet currency (e.g. USDC, EURC, GBPC, NGN). USD/EUR/GBP aliases map to USDC/EURC/GBPC.

Example:

"USDC"

Response

Wallet created

success
boolean
required
Example:

true

data
object
required