Skip to main content

List Company Wallets API

Overview​

Allows Super Admins to list all corporate company wallets with search, pagination, and active status filters.

  • Endpoint: /api/wallet/list
  • Method: GET
  • Auth Required: Yes (Bearer <token>)

Request Query Parameters​

ParameterTypeRequiredDescription
searchStringNoSearch query by company name or legal name
pageNumberNoPage number (Default: 1)
limitNumberNoItems per page (Default: 10, Max: 100)
activeOnlyBooleanNoFilter active wallets only

Request Example​

GET /api/wallet/list?search=Abbott&page=1&limit=10

Response Example (200 OK)​

{
"success": true,
"data": {
"wallets": [
{
"id": "wlt_11223344",
"companyId": "c478a846-993d-4c8d-bf8d-d77cb3370e01",
"balance": 500000.00,
"active": true,
"company": {
"id": "c478a846-993d-4c8d-bf8d-d77cb3370e01",
"name": "Abbott Healthcare"
}
}
],
"pagination": {
"totalCount": 1,
"page": 1,
"limit": 10,
"totalPages": 1
}
},
"message": "Company wallets fetched successfully"
}