Skip to main content

Get all Wallets (New)

Overview

Retrieve all digital wallets associated with a company. Filter wallets by currency, label search term, default status, or active/archived state, and use the returned wallet IDs for receiving funds, executing FX exchanges, or dispatching payouts.

Resource Access

  • HTTP Method: GET
  • Endpoint: /banking/ibans/v2/{companyId}/wallets
  • Authentication: Bearer token required

Request Headers

HeaderValueRequiredDescription
AuthorizationBearer {access_token}YesJWT Bearer access token
Acceptapplication/jsonYesResponse payload format
x-api-keystringNoOptional API key

Path Parameters

ParameterTypeRequiredDescription
companyIdstringYesUnique identifier assigned to the company within the system (e.g. 4011).

Query Parameters

ParameterTypeRequiredDescription
limitintegerNoMaximum number of records to return (min: 1, max: 100, default: 20).
skipintegerNoNumber of items to skip for pagination (min: 0, default: 0).
currencystringNoFilter by 3-letter currency code (e.g. USD, EUR, GBP).
currencyIdstringNoFilter by specific unique currency ID.
searchTermstringNoSearch by wallet label or custom reference.
isDefaultbooleanNoFilter to check if the wallet is marked as the default for its currency.
isArchivedbooleanNoFilter to check if the wallet is archived.
walletIdsstringNoComma-separated list of specific wallet IDs (e.g. 25427,25428).
typestringNoFilter by wallet type (standard or fx_balance).

Response

Success Response (200 OK)

{
"totalCount": 2,
"items": [
{
"id": 25427,
"totalBalance": 125000.50,
"availableBalance": 120000.00,
"currency": "USD",
"type": "standard",
"companyId": 4011,
"customReferenceLabel": "Operating USD Wallet",
"isDefault": true,
"isDisabled": false,
"fundingType": "account"
},
{
"id": 25428,
"totalBalance": 85000.00,
"availableBalance": 85000.00,
"currency": "GBP",
"type": "standard",
"companyId": 4011,
"customReferenceLabel": "Default GBP Wallet",
"isDefault": true,
"isDisabled": false,
"fundingType": "account"
}
]
}

Response Fields

FieldTypeDescription
totalCountintegerTotal number of wallets matching the query criteria.
itemsarrayArray of Wallet objects.
items[].idnumberUnique wallet identifier.
items[].totalBalancenumberTotal balance including available and locked funds.
items[].availableBalancenumberUnrestricted liquid balance.
items[].currencystringISO currency code.
items[].typestringWallet classification (standard or fx_balance).
items[].customReferenceLabelstringCustom user-defined label.
items[].isDefaultbooleanTrue if this is the default wallet for the currency.
items[].isDisabledbooleanTrue if disabled for operations.
items[].fundingTypestringSource of funding type.

Error Responses

  • 400 Bad Request: Invalid query parameters or pagination boundaries.
  • 401 Unauthorized: Missing or invalid Bearer authentication token.
  • 403 Forbidden: Insufficient account permissions.
  • 404 Not Found: companyId not found.
  • 500 Internal Server Error: Internal platform error.

Code Examples

Base URL

Production: https://api.ahrvo.network
Staging: https://gateway.ahrvo.network

cURL

curl -X GET \
'https://gateway.ahrvo.network/banking/ibans/v2/4011/wallets?limit=20&skip=0&currency=USD' \
-H 'Authorization: Bearer YOUR_ACCESS_TOKEN' \
-H 'Accept: application/json'

Python

import requests

company_id = "4011"
url = f"https://gateway.ahrvo.network/banking/ibans/v2/{company_id}/wallets"
params = {"limit": 20, "skip": 0, "currency": "USD"}
headers = {
"Authorization": "Bearer YOUR_ACCESS_TOKEN",
"Accept": "application/json"
}

response = requests.get(url, params=params, headers=headers)
print(response.status_code, response.json())

JavaScript (Node.js)

const axios = require('axios');

const companyId = '4011';
const url = `https://gateway.ahrvo.network/${companyId}/wallets`;
const headers = {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN',
'Accept': 'application/json'
};
const params = { limit: 20, skip: 0, currency: 'USD' };

axios.get(url, { headers, params })
.then(res => console.log(res.data))
.catch(err => console.error(err.response ? err.response.data : err.message));

Interactive API Explorer