Endpoint to fetch the account details of a merchant.
Last updated 22 days ago
The request has been successful.
const response = await fetch('http://localhost:3002/api/v1/banking/account', { 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": { "balance": 990000, "accountNumber": "123456789", "accountName": "Account Name", "bank": { "code": "120001", "name": "Bank Name" }, "currency": "NGN" } }