Endpoint to fetch the account details of a given an account number and a bank code.
Last updated 29 days ago
The request has been successful.
const response = await fetch('http://localhost:3002/api/v1/banking/account/{bankCode}/{accountNumber}', { method: 'GET', headers: { "Authorization": "Bearer JWT" }, }); const data = await response.json();
{ "success": false, "message": "The request has been successful.", "statusCode": 200, "code": "REQUEST_SUCCESSFUL", "data": { "accountNumber": "123456789", "accountName": "Account Name", "bank": { "code": "123456789", "name": "Bank Name" }, "currency": "NGN" } }