Skip to main content

Fetch All Wallets (Atlas)

Overview

The GET /banking/ibans/v2/{companyId}/wallets endpoint retrieves all wallets created for a specified company or sub-company.

This endpoint supports extensive query parameters to filter by currency, active status, default designation, billing wallet flags, and wallet types (standard or fx_balance).

Resource Access

  • HTTP Method: GET
  • Endpoint: /banking/ibans/v2/{companyId}/wallets
  • Authentication: Bearer token required
  • Permissions: Client:EWallets:read, Admin:Wallets:read, Client:At Ahrvo Rate:read, Client:Make Payment To Account:read, Client:Add Funds:read, Client:Add Wallets:read, Client:Make Payment To Another Business:read

Path Parameters

ParameterTypeRequiredDescriptionExample
companyIdstringYesUnique identifier of the company whose wallets are requested.3046

Query Parameters

ParameterTypeRequiredDescriptionExample
limitintegerNoMaximum records to return (max 300).50
skipintegerNoNumber of records to skip for pagination.0
currencystringNo3-letter ISO currency code filter.USD
currencyIdstringNoInternal currency identifier.1
searchTermstringNoSearch by wallet label or custom reference.OPERATING
typestringNoWallet type: standard or fx_balance.standard
isDefaultbooleanNoFilter for default currency wallet (true or false).true
isBillingWalletbooleanNoFilter by billing wallet flag.false
isArchivedbooleanNoInclude or filter archived wallets.false
walletIdsstringNoComma-separated list of specific wallet IDs.12582,12583
fetchPreferencestringNoFetch preference: fxAndDefault, fxAndAll, fxOrAll, fxOrDefault, billingOrDefault.fxAndDefault

Response

Success Response (200 OK)

{
"totalCount": 2,
"items": [
{
"id": 12582,
"totalBalance": 154200.50,
"availableBalance": 150000.00,
"currency": "USD",
"type": "standard",
"companyId": 3046,
"customReferenceLabel": "US_OPERATING",
"isDefault": true,
"isDisabled": false,
"isBillingWallet": false,
"fundingType": "smartWallet",
"isSplitPaymentEnabled": true,
"splitPaymentLimit": 50000,
"splitPaymentMessage": "This wallet supports split payments"
},
{
"id": 12583,
"totalBalance": 75300.00,
"availableBalance": 75300.00,
"currency": "EUR",
"type": "standard",
"companyId": 3046,
"customReferenceLabel": "EUR_TREASURY",
"isDefault": true,
"isDisabled": false,
"isBillingWallet": false,
"fundingType": "account",
"isSplitPaymentEnabled": false,
"splitPaymentLimit": 0,
"splitPaymentMessage": null
}
]
}

Response Fields

FieldTypeDescription
totalCountintegerTotal number of wallets matching the query filter.
items[].idnumberUnique wallet identifier (use this in payment, FX, and statement calls).
items[].totalBalancenumberTotal balance held in the wallet including unsettled funds.
items[].availableBalancenumberImmediately spendable balance available for payouts or conversions.
items[].currencystring3-letter ISO currency code (e.g. USD, EUR, GBP).
items[].typestringWallet type: standard or fx_balance.
items[].companyIdnumberCompany ID owning the wallet.
items[].customReferenceLabelstringUser-defined label (e.g. US_OPERATING).
items[].isDefaultbooleanWhether this is the company's primary default wallet for this currency.
items[].isDisabledbooleanIndicates if transactions are restricted.
items[].isBillingWalletbooleanIndicates if platform service fees debit from this wallet.
items[].fundingTypestringClearing backing type: account, smartWallet, pooled, or null.
items[].isSplitPaymentEnabledbooleanWhether split payment settlement is enabled.
items[].splitPaymentLimitnumberMaximum single split transaction limit.

Code Examples

cURL

curl -X GET "https://api.ahrvo.network/banking/ibans/v2/3046/wallets?currency=USD&type=standard" \
-H "Authorization: Bearer YOUR_ACCESS_TOKEN" \
-H "Accept: application/json"

JavaScript (Fetch)

const companyId = '3046';
const response = await fetch(`https://api.ahrvo.network/${companyId}/wallets?currency=USD`, {
headers: {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN',
'Accept': 'application/json'
}
});

const data = await response.json();
console.log('Total Wallets:', data.totalCount);
data.items.forEach(w => {
console.log(`Wallet ${w.id} (${w.currency}): Available ${w.availableBalance}`);
});

Python (requests)

import requests

company_id = "3046"
url = f"https://api.ahrvo.network/banking/ibans/v2/{company_id}/wallets"
headers = {
"Authorization": "Bearer YOUR_ACCESS_TOKEN",
"Accept": "application/json"
}
params = {"currency": "USD", "isDefault": "true"}

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

Interactive API Console

Test the endpoint directly in your browser: