Loading...
Retrieves the current account balance and related financial information for the authenticated user. This endpoint is protected and requires user authentication to access personal financial data.
KEY | VALUE | DESCRIPTION |
---|---|---|
X-API-Key | X-API-Key | - |
X-API-Secret | X-API-Secret | - |
// Using fetch API
const response = await fetch("http://localhost:5000/api/v1/developer/banks/balance", {
method: "GET",
headers: {
"X-API-Key": "X-API-Key",
"X-API-Secret": "X-API-Secret"
}
});
const data = await response.json();
console.log(data);
Parameter | Type | Required | Description |
---|
{}
Success response
{
"statusCode": 200
"message": "Balance retrieved successfully"
"data" {
"balance": 0
"currency": "NGN"
"accountNumber": "8022427263"
"accountName": "Nelson Uhembe"
}
}