curl --request POST \
--url https://api.custody.api-zodia.io/v3/api/custody/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
}Gets the custody wallets based on the filter criteria.
curl --request POST \
--url https://api.custody.api-zodia.io/v3/api/custody/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
}Email of API user submitting the request
"api-maker@zodia.io"
Payload for specifying filters
Search by wallet IDs
Search by wallet names
Search by wallet owner IDs
Search by wallet status i.e. ACTIVE or DEACTIVATED
Number of items in response (default is 10)
10
Show child attributes