cURL
curl --request GET \ --url https://api.rolla.xyz/api/v1/external/wallet/wallets \ --header 'X-API-Key: <api-key>'
{ "success": true, "message": "Business wallets retrieved successfully", "data": { "wallets": [ { "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "currency": "NGN", "balance": 1000000, "available_balance": 950000, "created_at": "2023-11-07T05:31:56Z" } ] } }
Retrieves all wallets for the authenticated business.
curl -X GET "https://api.rolla.xyz/api/v1/external/wallet/wallets?includeLoans=true" \ -H "X-API-Key: your_api_key_here"
{ "success": true, "message": "Business wallets retrieved successfully", "data": { "wallets": [ { "id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890", "currency": "NGN", "balance": 1000000, "available_balance": 950000, "created_at": "2024-01-10T08:00:00.000Z" }, { "id": "b2c3d4e5-f6a7-8901-bcde-f12345678901", "currency": "USD", "balance": 5000, "available_balance": 5000, "created_at": "2024-01-10T08:00:00.000Z" } ] } }
available_balance
balance
Your Rolla API key
Include loan accounts in the response
true
false
Wallets retrieved successfully
"Business wallets retrieved successfully"
Show child attributes