Skip to main content
POST
/
v3
/
api
/
trading
/
wallets
Retrieve all wallets
curl --request POST \
  --url https://api.custody.api-zodia.io/v3/api/trading/wallets \
  --header 'Content-Type: application/json' \
  --header 'X-Signature: <api-key>' \
  --header 'submitter-id: <submitter-id>' \
  --data '
{
  "ids": [
    "ZTEST-NOBENF-W5NZ2XCZMF"
  ],
  "venueIds": [
    "BYBIT"
  ],
  "names": [
    "My_wallet"
  ],
  "statuses": [
    "ACTIVE"
  ],
  "companyIds": [
    "ZTEST"
  ],
  "currencies": [
    "ETH"
  ],
  "createdBy": [
    "<string>"
  ],
  "paginationLimit": 123,
  "paginationOffset": 123,
  "sort": {
    "by": "id",
    "order": "ASC"
  }
}
'
{
  "items": [
    {
      "id": "ZTEST-TW-LHQ1343VU2",
      "venueId": "TESTVENUE",
      "name": "Demo vault",
      "status": "ACTIVE",
      "companyId": "ZTEST",
      "balances": [
        {
          "currency": "BTC",
          "availableBalance": {
            "amount": "<string>",
            "amountUnit": "0.006414",
            "fiatValue": "0.006414",
            "fiatCurrency": "USD",
            "usdValue": "0.006414"
          },
          "ledgerBalance": {
            "amount": "<string>",
            "amountUnit": "0.006414",
            "fiatValue": "0.006414",
            "fiatCurrency": "USD",
            "usdValue": "0.006414"
          },
          "pendingOutBalance": {
            "amount": "<string>",
            "amountUnit": "0.006414",
            "fiatValue": "0.006414",
            "fiatCurrency": "USD",
            "usdValue": "0.006414"
          },
          "pendingInBalance": {
            "amount": "<string>",
            "amountUnit": "0.006414",
            "fiatValue": "0.006414",
            "fiatCurrency": "USD",
            "usdValue": "0.006414"
          },
          "feeBufferBalance": {
            "amount": "<string>",
            "amountUnit": "0.006414",
            "fiatValue": "0.006414",
            "fiatCurrency": "USD",
            "usdValue": "0.006414"
          },
          "subClientBalances": {}
        }
      ],
      "createdAt": "2021-05-11T04:43:43Z",
      "currency": "ETH",
      "customProperties": {
        "clientReference": "ZodiaTest",
        "walletReference": 1223456
      },
      "createdBy": "api-maker@zodia.io",
      "updatedAt": "2021-05-11T04:43:43Z"
    }
  ],
  "total": 123
}

Authorizations

X-Signature
string
header
required

Headers

submitter-id
string
required

Email of API user submitting the request

Example:

"api-maker@zodia.io"

Body

application/json

Payload to retrieve trading wallets by using filters

ids
string[]

Search by wallet IDs

venueIds
string[]

Search by venue IDs

names
string[]

Search by wallet names

statuses
string[]

Search by wallet status i.e. ACTIVE or DEACTIVATED

companyIds
string[]
currencies
string[]
createdBy
string[]
paginationLimit
number

Number of items in response (default is 10)

paginationOffset
number
sort
object

Response

OK

items
object[]
required

Trading wallets owned by the company and linked with exchanges

total
integer
required

Number of wallets