Transactions Detail

For get transactions detail, the getTransactionDetail method of the library should be called. This function is used to get the details of the specific transaction through the library.

PayContactlessEmbed.getInstance().getTransactionDetail(long transactionId, TransactionDetailListener listener)

Transaction Detail Listener

public interface TransactionDetailListener {
    void onSuccess(TransactionDetail transactionList);
    void onFailure(Error error);
}

Transaction Detail Data

data class TransactionDetail (
    var id: Long? = null
    var status: String? = null
    var transactionAmount: String? = null
    var currency: String? = null
    var cardNumber: String? = null
    var transactionType: String? = null
    var modeOfTransaction: String? = null
    var transactionDescription: String? = null
    var responseDetail: String? = null
    var transactionCode: String? = null
    var transactionDateTime: String? = null
    var terminalId: String? = null
    var merchantCode: String? = null
    var rrn: String? = null
    var stan: String? = null
    var authCode: String? = null
)
Field Names
Descriptions
Sample Values

id

a unique id of the transcation

'29481'

status

status info of the transaction

'SUCCESS' or 'FAILED'

transactionAmount

using amount value in the transaction

'8.00'

currency

using currency value in the transaction

'₦'

cardNumber

masked pan of the card using in the transaction

'471688******6375'

transactionType

type of the transaction

'PAYMENT'

modeOfTransaction

paymet method using in the transaction

'CARD'

transactionDescription

Transaction Description of the transaction

'' or 'PRE_AUTH', 'POST_AUTH'

responseDetail

Response Description of the transaction

'Success' or 'Failure Detail'

transactionCode

a unique code of the transaction. It is used for finding the transaction.

'3FFBA7849A383BEB'

transactionDateTime

transaction date time

'2023-09-20T11:37:55.294+00:00'

terminalId

a unique id of the terminal being transacting

'TPINFVVE'

merchantCode

a unique code of the merchant being transacting

'100000000010204'

rrn

Reference Retrieval

Number of the transaction

'202309201337'

stan

Svstem Trace Audit

Number of the transaction

'4070'

authCode

Authorization Code of transaction

'133755'

Last updated