Wallets

The Wallets API enables viewing system-wide wallet stats, listing all system wallets, managing external wallets for users, and creating new wallets.

Get Wallet Stats

Returns the total balances of all system wallets (HOT, COLD, CUSTODIAL), grouped by network and currency.

Responses
200

Wallet stats retrieved successfully

get/wallets/stats
Response samples
application/json
{
  • "api_message": "WALLET_GET_STATS_SUCCESS",
  • "api_data": {
    }
}

Get All System Wallets

Retrieves a list of all system-level wallets by network and currency.

Responses
200

Wallets retrieved successfully

get/wallets/all
Response samples
application/json
{
  • "api_message": "WALLET_GET_LIST_SUCCESS",
  • "api_data": {
    }
}

Create New External Wallet

Creates a new external wallet for a user.

Request
Request Body schema: application/json
required
account_id
string or null
address
required
string
name
required
string
currency
required
string
currency_id
required
string
description
string
Responses
200

Wallet created successfully

post/wallets
Request samples
application/json
{
  • "account_id": "string",
  • "address": "bc1q3aqj5aye9ktg7a2hslyuzu5szv4j32cnr67yhh",
  • "name": "bit",
  • "currency": "BTC",
  • "currency_id": "eGFCV203K3VSOGM9",
  • "description": "_"
}
Response samples
application/json
{
  • "api_message": "WALLET_POST_SUCCESS",
  • "api_data": {
    }
}

Get User Wallets

Retrieves a list of wallets associated with the authenticated user.

Responses
200

User wallets retrieved successfully

get/wallets
Response samples
application/json
{
  • "api_message": "WALLET_GET_LIST_SUCCESS",
  • "api_data": {
    }
}