Skip to main content

List Wallets

GET /api/v1/wallets Returns a paginated list of wallets belonging to the authenticated user.

Query Parameters

ParameterTypeDefaultDescription
pageinteger1Page number for pagination
per_pageinteger15Number of items per page

Responses

StatusDescription
200 OKSuccessful operation
401 UnauthorizedMissing or invalid authentication token
403 ForbiddenAccess denied

200 — Wallet List

{
  "data": [
    {
      "id": 1,
      "name": "Main Wallet",
      "balance": {
        "amount": "100.00",
        "currency": "USD",
        "formatted": "$100.00",
        "decimal": "100.00",
        "localized_decimal": "100,00"
      },
      "currency": "USD",
      "cerdit_limit": 100,
      "created_at": "2023-01-01T12:00:00+00:00",
      "updated_at": "2023-01-01T12:00:00+00:00"
    }
  ],
  "links": {
    "first": "https://api.example.com/wallets?page=1",
    "last": "https://api.example.com/wallets?page=1",
    "prev": null,
    "next": null
  },
  "meta": {
    "current_page": 1,
    "from": 1,
    "last_page": 1,
    "per_page": 15,
    "to": 1,
    "total": 1
  }
}