Transaction History
Retrieve and display transaction history for the current terminal. Access detailed information about past transactions including receipts.
Overview
Retrieve transaction records with optional pagination. Access detailed information for individual transactions by ID.
txnHistory()
Retrieve a list of transactions with optional pagination.
txnDetail()
Get detailed information for a specific transaction.
Pagination
For large transaction volumes, use pagination to improve performance and reduce memory usage. Pass page (1-indexed) and pageSize parameters.
Get Transaction History
Retrieve a paginated list of past transactions for the current terminal session.
Loading...Pagination
Use the Pagination model to control page size and offset. Default: page 1, size 20.
| Parameter | Type | Default | Description |
|---|---|---|---|
| page | Int | 1 | Page number (1-indexed) |
| size | Int | 20 | Results per page |
| totalPages | Int (read) | — | Total number of pages |
| totalElements | Long (read) | — | Total transaction count |
Get Transaction Detail
Retrieve full details of a specific transaction by its ID.
Loading...Transaction Model
Properties available on each transaction object returned from txnHistory() and txnDetail().
| 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.