Get Transaction Statement
GET/v1/transactions/:transaction_id/statement
Get Transaction Statement
Request
Path Parameters
Responses
- 200
- 400
- 401
OK
Response Headers
Date
string
Content-Type
string
Transfer-Encoding
string
Connection
string
Set-Cookie
string
Access-Control-Allow-Origin
string
Access-Control-Allow-Methods
string
Access-Control-Allow-Headers
string
X-Request-ID
string
- application/json
- Schema
- Example (from schema)
- Example
Schema
Array [
]
The timestamp when the transaction was created
The amount of the transaction
The type of transaction (e.g., credit, debit)
Details about the transaction
The channel through which the transaction was processed (e.g., online, mobile)
Reference provided by the merchant for tracking the transaction
The original amount involved in the transaction before any conversion
The exchange rate applied during the transaction
[
{
"created": "2024-07-29T15:51:28.071Z",
"amount": 0,
"type": "string",
"transaction": "string",
"channel": "string",
"merchant_reference": "string",
"original_amount": 0,
"exchange_rate": 0
}
]
[
{
"created": "2024-01-06T13:32:20+0000",
"amount": 75.95,
"type": "INCOME",
"transaction": "1540286",
"channel": "Visa/Mastercard",
"merchant_reference": "123abc",
"original_amount": 0,
"exchange_rate": 0
},
{
"created": "2024-01-06T13:32:20+0000",
"amount": -0.38,
"type": "TRX_FEE",
"transaction": "1540286",
"channel": "Visa/Mastercard",
"merchant_reference": "123abc",
"original_amount": 0,
"exchange_rate": 0
},
{
"created": "2024-01-06T13:32:20+0000",
"amount": -0.08,
"type": "VAT",
"transaction": "1540286",
"channel": "Visa/Mastercard",
"merchant_reference": "123abc",
"original_amount": 0,
"exchange_rate": 0
},
{
"created": "2024-01-06T13:32:20+0000",
"amount": -0.3,
"type": "TRX_FEE_FIX",
"transaction": "1540286",
"channel": "Visa/Mastercard",
"merchant_reference": "123abc",
"original_amount": 0,
"exchange_rate": 0
},
{
"created": "2024-01-06T13:32:20+0000",
"amount": -0.06,
"type": "VAT",
"transaction": "1540286",
"channel": "Visa/Mastercard",
"merchant_reference": "123abc",
"original_amount": 0,
"exchange_rate": 0
},
{
"created": "2024-01-06T13:33:29+0000",
"amount": -5,
"type": "REFUND",
"transaction": "1540286",
"merchant_reference": "123abc",
"original_amount": 0,
"exchange_rate": 0
}
]
Bad Request
Response Headers
Date
string
Content-Type
string
Transfer-Encoding
string
Connection
string
Set-Cookie
string
Access-Control-Allow-Origin
string
Access-Control-Allow-Methods
string
Access-Control-Allow-Headers
string
X-Request-ID
string
- application/json
- Schema
- Example (from schema)
- Example
Schema
Array [
]
Error code indicating the type of error
Error message describing the issue
errors
object[]
Type of error
Parameter in the request that caused the error
The expected value or format for the parameter
{
"code": 1001,
"message": "Invalid request",
"errors": [
{
"type": "string",
"parameter": "transaction",
"expected": "string"
}
]
}
{
"code": 1001,
"message": "Invalid request",
"errors": [
{
"type": "invalid",
"parameter": "transaction",
"expected": "correct UUID"
}
]
}
Unauthorized
Response Headers
Date
string
Content-Type
string
Transfer-Encoding
string
Connection
string
Set-Cookie
string
WWW-Authenticate
string
- application/json
- Schema
- Example (from schema)
- Example
Schema
Error code representing the type of error.
Detailed error message.
{
"code": 0,
"message": "string"
}
{
"code": 1004,
"message": "Unauthorized"
}