Transaction History
Retrieve and display transaction history for the current terminal. Access detailed information about past transactions including receipts.
Overview
The SDK provides methods to retrieve transaction history with optional pagination, as well as detailed information for individual transactions.
Get Transaction History
Retrieve a list of transactions for the current terminal:
Loading...Pagination
For large transaction volumes, use pagination to improve performance and reduce memory usage. The Pagination class accepts page (1-indexed) and pageSize parameters.
Get Transaction Detail
Retrieve detailed information for a specific transaction by its ID:
Loading...Transaction Model
The Transaction object contains all details about a payment transaction:
| Property | Type | Description |
|---|---|---|
| transactionNumber | String? | Unique transaction identifier (UUID) |
| rrn | String? | Retrieval Reference Number |
| authCode | String? | Authorization code from issuer |
| amount | String | Transaction amount |
| currency | String? | Currency code (e.g., SAR) |
| status | String | Transaction status |
| operationType | String? | Type (PURCHASE, REFUND, etc.) |
| cardNumber | String | Card number (partially masked) |
| scheme_id | String? | Card scheme identifier |
| formattedScheme | String? | Card brand (Visa, Mastercard, etc.) |
| cardholderName | String? | Name on card |
| createdDate | String | Transaction creation date |
| formattedCreatedDate | String? | Formatted date |
| formattedCreatedTime | String? | Formatted time |
| merchantId | String? | Merchant identifier (acquirer) |
On this page
Downloads
Coming SoonSample apps, release bundles, and more content will be available here soon.