Skip to main content
POST
/
v3
/
api
/
custody
/
gastank
/
wallets
Retrieve gas tank wallets link to your vault
curl --request POST \
  --url https://api.custody.api-zodia.io/v3/api/custody/gastank/wallets \
  --header 'Content-Type: application/json' \
  --header 'X-Signature: <api-key>' \
  --header 'submitter-id: <submitter-id>' \
  --data '
{
  "ids": [
    "ZTEST-NOBENF-XSC2OKBERS"
  ],
  "names": [
    "MY_Wallet"
  ],
  "walletOwnerIds": [
    "testOwner"
  ],
  "statuses": [
    "ACTIVE"
  ],
  "companyIds": [
    "ZTEST"
  ],
  "currencies": [
    "ETH"
  ],
  "currenciesIds": [
    "eth-eth"
  ],
  "createdBy": [
    "api-maker@zodia.io"
  ],
  "paginationLimit": 10,
  "paginationOffset": 123,
  "sort": {
    "by": "id",
    "order": "ASC"
  }
}
'
{
  "items": [
    {
      "id": "ZTEST-NOBENF-849P8XKKAO",
      "name": "Demo wallet",
      "status": "ACTIVE",
      "companyId": "ZTEST",
      "currency": "ETH",
      "currencyId": "eth-Seth",
      "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": {}
        }
      ],
      "createdBy": "api-maker@zodia.io",
      "createdAt": "2021-05-11T04:43:43Z",
      "updatedAt": "2021-05-11T04:43:43Z",
      "walletOwner": {
        "id": "<string>",
        "name": "<string>",
        "address": {
          "address1": "<string>",
          "city": "<string>",
          "country": "<string>",
          "address2": "<string>",
          "zipCode": "<string>"
        }
      }
    }
  ],
  "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 for specifying filters

ids
string[]

Search by wallet IDs

names
string[]

Search by wallet names

walletOwnerIds
string[]

Search by wallet owner IDs

statuses
string[]

Search by wallet status i.e. ACTIVE or DEACTIVATED

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

Number of items in response (default is 10)

Example:

10

paginationOffset
number
sort
object

Response

OK

items
object[]
required

Custody tank gas wallets owned by the company

total
integer
required