Skip to main content
GET
/
wallet
/
wallets
Get Wallets
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"
      }
    ]
  }
}
Retrieve all wallets for your business, including balances and currency information. Optionally include loan accounts in the response.

Example Request

curl -X GET "https://api.rolla.xyz/api/v1/external/wallet/wallets?includeLoans=true" \
  -H "X-API-Key: your_api_key_here"

Example Response

{
  "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"
      }
    ]
  }
}
The available_balance may be less than balance if you have pending transactions or holds. Use available_balance when checking if you have sufficient funds for a withdrawal.

Authorizations

X-API-Key
string
header
required

Your Rolla API key

Query Parameters

includeLoans
enum<string>

Include loan accounts in the response

Available options:
true,
false

Response

Wallets retrieved successfully

success
boolean
Example:

true

message
string
Example:

"Business wallets retrieved successfully"

data
object