TransactionResult
The outcome of the transaction.
data class TransactionResult(
val status: TransactionStatus,
val detail: TransactionDetail? = null,
val errorMessage: String? = null
)
Parameters
status required | TransactionStatus The status of the transaction. |
detail | TransactionDetail The details of the transaction. |
errorMessage | String The error message if available. |
TransactionDetail
Information about the transaction.
statusCode | String The status code of the transaction. |
statusMessage | String The status message of the transaction. |
amount | String The total authorised transaction amount in cents. |
surcharge | String The surcharge amount in cents, it will be |
approvalCode | String |
transactionID | String |
reference | String Unique reference number of the transaction. |
elidedPan | String The elided string representing the PAN for the card used in the transaction. The last 4 digits are available |
cardType | String The type of card used in the transaction |
mid | String The merchant identifier (MID) of the transaction. |
tid | String The terminal identifier (TID) of the transaction. |
retrievalReferenceNumber | String |
transactionReference | String |
transactionDate | String |
transactionTime | String |
customerReceipt | String |