Transactions
Get transaction by reference
Get Transaction By Reference
You can also get a particular transaction by making a GET request to this endpoint with the transaction reference.
Endpoint
{{baseurl}}/transactions/{reference}
One path parameter is required.
Parameter | Data Type | Description. |
---|---|---|
reference | string | Unique reference code to identify a bank account. |
Here’s an example response to the request.
{
"success": true,
"statusCode": 200,
"message": "Fetched transaction details",
"data": {
"id": "29ccbb6f-6204-49a8-a33f-ccac5bb94f6c",
"amount": 10,
"status": "PENDING",
"fee": 0,
"description": "Deposit",
"type": "CREDIT",
"channel": null,
"method": null,
"currency": "NGN",
"createdAt": "2024-04-28T03:03:35.346Z",
"updatedAt": "2024-04-28T03:03:35.346Z",
"businessId": "0bb1dfc6-a74c-4e53-b41a-4a0c1eab188e",
"reference": "PSH_BzCeCbj3uJUQ",
"depositId": "",
"spendingId": null,
"refundId": null,
"topupId": null,
"tuitionId": null,
"walletId": "",
"cardId": null,
"swapId": null,
"balance": null,
"refund": null,
"topup": null,
"spending": null,
"deposit": {
"id": "",
"currency": "NGN",
"amount": 10,
"fee": 0,
"amountSent": 10,
"status": "PENDING",
"depositType": "BANK_TRANSFER",
"createdAt": "2024-04-28T03:03:35.346Z",
"updatedAt": "2024-04-28T03:03:35.346Z",
"provider": null,
"providerId": ""
},
"billPayment": null,
"swap": null,
"card": null
}
}