Get Statement API
Retrieves a detailed transaction history for your account.
-
URL:
/v1/payment/statement
-
Method:
GET
-
Auth Required: Yes
-
Success Response:
{
"status": 200,
"message": "Transaction history fetched",
"data": [
{
"id": 63,
"client_id": "10302571",
"validation_id": "6063542f-f212-40f0-95cd-52796b3839b7",
"product_id": "10011",
"trans_type": "PUSH",
"trans_id": "f9ea82d2-458e-40a6-a578-1db8004f45ea",
"reference_id": "e024d94f979f46e47acf51b1ab0bf6282124",
"stellar_tx_id": null,
"amount": "1000.0000000",
"asset_code": "UGX",
"currency": "UGX",
"sender_account": "10302571",
"receiver_account": "256711111111",
"memo": "6063542f-f212-40f0-95cd-52796b3839b7",
"status": "failed",
"fee": "100.00",
"service_name": "MOBILE_MONEY",
"SessionId": "10280484",
"created_at": "2025-04-16T06:09:55.000Z"
}
]
} -
Error Response:
{
"status": 400,
"message": "Failed to fetch transaction history",
"data": null
}
Response Fields
id
: Unique identifier for the transactionclient_id
: Client identifiervalidation_id
: Unique validation identifierproduct_id
: Product identifiertrans_type
: Type of transaction (PUSH, PULL, SWAP, BANK_DEPOSIT)trans_id
: Unique transaction identifierreference_id
: Client reference identifierstellar_tx_id
: Stellar transaction ID (if applicable)amount
: Transaction amount with precision up to 7 decimal placesasset_code
: The code of the asset (e.g., UGX, cUGX)currency
: Currency codesender_account
: Account initiating the transactionreceiver_account
: Account receiving the transactionmemo
: Transaction memo or descriptionstatus
: Transaction status (SUCCESS, PENDING, INITIATED, failed, MINT_FAILED)fee
: Transaction feeservice_name
: Service provider name (e.g., MOBILE_MONEY)SessionId
: Session identifiercreated_at
: Transaction timestamp in ISO format
Transaction Types
The API supports the following transaction types:
PUSH
: Outgoing paymentPULL
: Incoming payment/collectionSWAP
: Currency exchangeBANK_DEPOSIT
: Bank deposit transaction
Transaction Status
Possible transaction status values:
SUCCESS
: Transaction completed successfullyPENDING
: Transaction is being processedINITIATED
: Transaction has been startedfailed
: Transaction failedMINT_FAILED
: Asset minting operation failed