Fetches multiple wallets of a type.
| Name | Type | Required | Description |
|---|---|---|---|
| wallet_type | string | Yes | "api" (for API wallets). |
| Name | Type | Required | Description |
|---|---|---|---|
| limit | integer | No | Number of results (default: 20, max: 100). |
| cursor | string | No | Pagination cursor. |
| orderBy | string | No | "ASC" or "DESC" (default: DESC). |
| customer_id | string | No | Filter by customer ID. |
curl -X GET "https://api.piggyvest.business/api/v1/wallet/api?limit=20" \\-H "Authorization: Bearer YOUR_SECRET_KEY"{ "status": true, "message": "API wallets fetched successfully", "data": { "total_balance": 40000, "paginatedPayload": { "edges": [ // Wallet objects... ], "pageInfo": { "hasNextPage": false, "endCursor": "2024-01-30T07:40:49.000Z" } } }}{ "status": false, "message": "An error occurred fetching api wallets"}