Wallets API
The Wallets API allows you to retrieve wallet information for your business account or for a specific customer, including balances, currency details, and status. Wallets are multi-currency accounts that hold funds in different currencies.
Get Wallets
Retrieve all wallets for a user. By default this returns wallets for the authenticated business account. Pass user_id to return wallets for one of your customers instead.
Endpoint
Client API Endpoint: GET /api/v1/client/wallets
Authentication
This endpoint requires HMAC authentication (Business API Key). Include your API key and signature in the request headers:
Note: For HMAC authentication details, see the Authentication guide.
Query Parameters
Success Response (200 OK)
Response Fields
Error Responses
Example: List a customer's wallets
Example: List business (self) wallets
Example: HTTP Request
Get Wallet by ID
Retrieve detailed information about a specific wallet, including balance, currency, and status.
Endpoint
Client API Endpoint: GET /api/v1/client/wallets/{id}
Authentication
This endpoint requires HMAC authentication (Business API Key). Include your API key and signature in the request headers:
Note: For HMAC authentication details, see the Authentication guide.
Path Parameters
Success Response (200 OK)
Response Fields
Error Responses
Example: cURL
Example: HTTP Request
Use Cases
- Balance Checking - Check individual wallet balances for specific currencies via
GET /client/wallets/{id} - Customer Multi-Currency Overview - Pass
user_idonGET /client/walletsto list a customer's wallets - Business Self Balances - Omit
user_idto list the business account's own wallets - Wallet Status Monitoring - Monitor wallet status (active, inactive, suspended)
- Transaction Preparation - Verify wallet balances before creating transactions or quotes
Best Practices
- Cache Wallet Data - Wallet balances don't change as frequently as transactions, so consider caching for short periods
- Handle Inactive Wallets - Check wallet status before attempting transactions
- Monitor Available Balance - Always check
available_balancerather thanledger_balanceto account for holds - Currency-Specific Operations - Use individual wallet endpoints when working with specific currencies
Next Steps
- Virtual Wallets API - Onboard customers to virtual wallets for receiving deposits
- Transactions API - View transaction history for wallets
- Currencies API - Get list of supported currencies