API Reference
Get Wallets [GET]

Get Wallets


https://sandboxapi.onbrails.com/api/v1/wallets (opens in a new tab)

Lists all company wallets

Request

Wallets/Get Wallets [GET]
curl --request GET \
   --url https://sandboxapi.onbrails.com/api/v1/wallets \
   --header 'Authorization: Bearer YOUR_SECRET_KEY' \
   --header 'accept: application/json'

Responses

🟢 200 - Result example
{
"status": true,
"message": "wallets retrieved successfully",
"data": [
  {
    "id": "7b953dd7-65e3-4a31-83b3-406ac047661d",
    "createdAt": "2023-03-20T09:41:40.763Z",
    "updatedAt": "2023-03-20T09:41:40.763Z",
    "name": "USD Wallet",
    "active": true,
    "description": "USD Wallet for Company",
    "currency": "usd",
    "type": "fiat",
    "balance": {
      "usd": 0.8
    }
  },
  {
    "id": "091d224a-e74c-40c8-9d50-2d977e073233",
    "createdAt": "2023-08-21T11:14:34.833Z",
    "updatedAt": "2023-08-21T11:14:34.833Z",
    "name": "ngn Wallet",
    "active": true,
    "description": " ngn Wallet for Company",
    "currency": "ngn",
    "type": "accounts",
    "balance": {
      "usd": 0,
      "highestDenomination": 0,
      "lowerDenomination": 0
    }
  }
]
}