curl --request GET \
--url https://devapi.withedge.co/gateway/api/v1/account/bank \
--header 'Authorization: Bearer <token>' \
--header 'requestId: <requestid>'
{
"statusCode": 00,
"message": "Account Statement Successfully Retrieved",
"data": [
{
"accountNumber": "5118745523",
"accountName": "John Doe",
"balance": 10000.00
"currency": "NGN"
"status": "active"
},
{
"accountNumber": "1951145523",
"accountName": "Jane Doe",
"balance": 25000.00
"currency": "NGN"
"status": "active"
}
],
"errors": [],
"currentPage": 1,
"pageSize": 10,
"previousPage": 0,
"total": 2
}
Get All Accounts
Use this endpoint to fetch all the bank accounts that have been generated through your platform. Pagination is supported to manage large data sets.
Request Parameters
A unique identifier for the request, used for idempotency.
Example: e0b9f8d0-7a57-4a67-a8b2-4d7c7b5a37c9
The page number to retrieve for paginated results.
Example: 1
The number of results to return per page.
Example: 10
{
"statusCode": 00,
"message": "Account Statement Successfully Retrieved",
"data": [
{
"accountNumber": "5118745523",
"accountName": "John Doe",
"balance": 10000.00
"currency": "NGN"
"status": "active"
},
{
"accountNumber": "1951145523",
"accountName": "Jane Doe",
"balance": 25000.00
"currency": "NGN"
"status": "active"
}
],
"errors": [],
"currentPage": 1,
"pageSize": 10,
"previousPage": 0,
"total": 2
}