Fetch Transaction Statement
Fetch transaction statement
Fetch Transaction Statement
Endpoint: /transaction/:id
Method: POST
Header
Param | Type | Required? | Decription |
---|---|---|---|
authorization | string | Yes | Set value to Bearer SECRET_KEY |
Query Param
Param | Type | Required? | Decription |
---|---|---|---|
startDate | date | Yes | An ID for the transaction to fetch |
endDate | date | Yes | An ID for the transaction to fetch |
Sample Post
curl https://api.budpay.com/api/v1/get-statement
-H "Authorization: Bearer YOUR_SECRET_KEY"
-X POST
Sample Response
{
"message": "Successful",
"status": true,
"data": [
{
"id": 26716266,
"transactionDate": "2025-01-20T01:31:09Z",
"businessId": 30,
"currency": "USD",
"note": "Daily settlement on 2025-01-20 with settlement batchID 2343432",
"amount": "1",
"balBefore": "9",
"balAfter": "10",
"reference": "23432432"
},
{
"id": 26787732,
"transactionDate": "2025-01-21T01:31:08Z",
"businessId": 30,
"currency": "NGN",
"note": "Daily settlement on 2025-01-21 with settlement batchID 324342",
"amount": "10",
"balBefore": "110",
"balAfter": "120",
"reference": "32432"
}
.........
]
}