Get Transaction Status

The purpose of this API is for check transaction's status. In order to interact with this API you need to have API account to obtain your authentication's token for authenticate user account.

Get Transaction Status

POST {{URL}}/pg/transaction/status

This endpoint allows to get transaction' status.

Request Body

{
    "resultMsg": "Success",
    "resultCode": "0000",
    "resultData": {
        "txDt": "20210212",
        "txSeqNo": "20210212",
        "txStCd": "COMPLETE",
        "trt": "PURCHASE",
        "paymentMethod": "CREDIT_DEBIT",
        "merchantId": "C0000143",
        "termId": "CT03000003",
        "wdlAcNo": "************0022",
        "tracNo": "1613104202987",
        "amount": 2,
        "currencyCode": "USD",
        "apprNo": "763647",
        "apprDttm": "20210212113016"
    }
}

Example Request

curl --location --request POST 'http://pgtest.payon.com.kh/pg/transaction/status' \
--data-raw '{
    "termId":"CT03000003",
    "txId":"1613104202987",
    "merchantId":"C0000143",
    "currency":"USD",
    "amount":"1"
}'

Last updated