Transaction Orders History

All transaction orders have supports for bulk fetches view "list" API method. For instance, you can list of all orders.

In order to interact with PAYON's API. First you need to Obtain your API Key. Next generate API's signature for authorization between Merchant and PAYON's server.

PG Transaction Orders History

POST {{URL}}/pg/orders

These list API share a common structure, taking at least these some parameters fromDate, ToDate, index, limit, merchantId, termId.

Request Body

[
    {
        "txDt": "20201124",
        "txSeqNo": "2020112400001250",
        "txStCd": "09",
        "trt": "10",
        "payDvCd": "8",
        "paymentType": "02",
        "merchantId": "C0000143",
        "termId": "CT03000003",
        "tracNo": "1606193062038",
        "amount": 1,
        "currencyCode": "USD",
        "settleYn": "N",
        "cancelYn": "N",
        "refundYn": "N",
        "apprNo": "190879",
        "apprDttm": "24/11/2020 11:47:01",
        "resultCd": "0000",
        "resultMsg": "Success",
        "stan": "001032"
    },
    {
        "txDt": "20201124",
        "txSeqNo": "2020112400001251",
        "txStCd": "09",
        "trt": "10",
        "payDvCd": "8",
        "paymentType": "02",
        "merchantId": "C0000143",
        "termId": "CT03000003",
        "tracNo": "1606199421698",
        "amount": 1,
        "currencyCode": "USD",
        "settleYn": "N",
        "cancelYn": "N",
        "refundYn": "N",
        "apprNo": "193202",
        "apprDttm": "24/11/2020 01:30:29",
        "resultCd": "0000",
        "resultMsg": "Success",
        "stan": "001033"
    }
]

Example Request

curl --location --request POST 'http://pgtest.payon.com.kh/pg/orders' \
--data-raw '{
    "fromDate":"01112018",
    "toDate":"24112020",
    "index":1,
    "limit":5,
    "trt":"10",
    "merchantId":"C0000143",
    "termId":"CT03000003"
}'

Last updated