Endpoint to check the status of a transaction.
Last updated 22 days ago
The request has been successful.
const response = await fetch('http://localhost:3002/api/v1/banking/transaction/{associateId}', { 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": { "transactionId": "123456789", "status": "completed", "amount": 2000, "batchId": "123456789", "counterparty": { "accountName": "Account Name", "accountNumber": "123456789", "bankCode": "123456" }, "currency": "NGN", "description": "<p>Transaction Example</p>", "timestamp": "2024-08-07T09:13:36.475Z", "__$markdownParsed": true } }