Get an account's transaction
curl --request GET \
--url https://{host}/v1/accounts/{accountNumber}/transactions/{transactionId} \
--header 'X-Api-Key: <api-key>'const options = {method: 'GET', headers: {'X-Api-Key': '<api-key>'}};
fetch('https://{host}/v1/accounts/{accountNumber}/transactions/{transactionId}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://{host}/v1/accounts/{accountNumber}/transactions/{transactionId}"
headers = {"X-Api-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text){
"success": true,
"message": "<string>",
"request_id": "01a1775167aa7693a7acd8df7b596118",
"data": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"type": "static",
"status": "<string>",
"direction": "<string>",
"amount_minor": 2500000,
"fee_minor": 123,
"vat_minor": 123,
"net_minor": 123,
"balance_after_minor": 123,
"currency": "NGN",
"created_at": "2023-11-07T05:31:56Z",
"entries": [
{
"sequence": 123,
"type": "static",
"direction": "<string>",
"amount_minor": 2500000,
"balance_after_minor": 123,
"description": "<string>",
"created_at": "2023-11-07T05:31:56Z"
}
],
"narration": "<string>",
"source": {
"account_number": "<string>",
"account_name": "<string>",
"bank": "<string>"
},
"destination": {
"account_number": "<string>",
"account_name": "<string>",
"bank": "<string>"
},
"external_reference": "<string>"
},
"code": "13"
}{
"success": true,
"message": "<string>",
"request_id": "01a1775167aa7693a7acd8df7b596118",
"data": {
"fields": {}
},
"code": "13"
}{
"success": true,
"message": "<string>",
"request_id": "01a1775167aa7693a7acd8df7b596118",
"data": null,
"code": "13"
}Accounts
Get an account's transaction
One transaction on the account.
Required permission: accounts:read, feature:TRANSACTIONS
GET
/
v1
/
accounts
/
{accountNumber}
/
transactions
/
{transactionId}
Get an account's transaction
curl --request GET \
--url https://{host}/v1/accounts/{accountNumber}/transactions/{transactionId} \
--header 'X-Api-Key: <api-key>'const options = {method: 'GET', headers: {'X-Api-Key': '<api-key>'}};
fetch('https://{host}/v1/accounts/{accountNumber}/transactions/{transactionId}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://{host}/v1/accounts/{accountNumber}/transactions/{transactionId}"
headers = {"X-Api-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text){
"success": true,
"message": "<string>",
"request_id": "01a1775167aa7693a7acd8df7b596118",
"data": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"type": "static",
"status": "<string>",
"direction": "<string>",
"amount_minor": 2500000,
"fee_minor": 123,
"vat_minor": 123,
"net_minor": 123,
"balance_after_minor": 123,
"currency": "NGN",
"created_at": "2023-11-07T05:31:56Z",
"entries": [
{
"sequence": 123,
"type": "static",
"direction": "<string>",
"amount_minor": 2500000,
"balance_after_minor": 123,
"description": "<string>",
"created_at": "2023-11-07T05:31:56Z"
}
],
"narration": "<string>",
"source": {
"account_number": "<string>",
"account_name": "<string>",
"bank": "<string>"
},
"destination": {
"account_number": "<string>",
"account_name": "<string>",
"bank": "<string>"
},
"external_reference": "<string>"
},
"code": "13"
}{
"success": true,
"message": "<string>",
"request_id": "01a1775167aa7693a7acd8df7b596118",
"data": {
"fields": {}
},
"code": "13"
}{
"success": true,
"message": "<string>",
"request_id": "01a1775167aa7693a7acd8df7b596118",
"data": null,
"code": "13"
}