Merchant Reconciliation

This endpoint is uses for reconciliation request between merchant and PAYON Aggregator.

POST {{URL}}/pg/merchant/reconcilation

Request Body

NameTypeDescription

termId*

String

Terminal's Identification

merchantId*

String

Merchant's Identification

buyerId

String

Customer's Identification

sellerId

String

Customer's Identification

txId*

String

Transaction's Identification

grandToTAmt*

Grand total amount, including Fee

transactionType*

String

Transaction's Type, Possible value are PURCHASE,

REFUND,

PRE_AUTH,

PRE_AUTH_COMPLETE, PURCHASE_REVERSAL, PRE_AUTH_REVERSAL,

PRE_AUTH_COMPLETE_REVERSAL

[
    {
        "merchantId": "O0000021",
        "reconciliationDv": "APPROVED",
        "termId": "OW04000007",
        "txId": "1652858955940000",
        "buyerId": "becbd0f6-39b7-4b81-ba36-6c374ae8eaee",
        "sellerId": "5f31c1ec-97ff-4940-b5ad-5d6b79eba748",
        "grandToTAmt": 2.3,
        "resultMsg": "Success",
        "resultCode": "0000"
    },
    {
        "merchantId": "O0000021",
        "reconciliationDv": "APPROVED",
        "termId": "OW04000007",
        "txId": "1652886005159000",
        "buyerId": "becbd0f6-39b7-4b81-ba36-6c374ae8eaee",
        "sellerId": "5f31c1ec-97ff-4940-b5ad-5d6b79eba748",
        "grandToTAmt": 2.3,
        "resultMsg": "Success",
        "resultCode": "0000"
    }
]

Respond Code

ResultCodeResultMsgDescription

0000

Success

Reconciliation's Success

9999

System Error

Reconciliation's Not Success

0001

Invalid Merchant ID

Reconciliation's Not Success - Invalid Merchant ID

0002

Invalid Term ID

Reconciliation's Not Success - Invalid Term ID

3003

Invalid Transaction

Reconciliation's Not Success - Invalid Transaction

0006

Invalid Customer ID

Reconciliation's Not Success - Invalid customer ID

Example Request

curl --location -g --request POST '{{url}}:{{pg_port}}/pg/merchant/reconcilation' \
--data-raw '[
    {
        "termId": "OW04000007",
        "merchantId": "O0000021",
        "buyerId": "becbd0f6-39b7-4db81-ba36-6c374ae8eaee",
        "sellerId": "5f31c1ec-97ff-4940-b5ad-5d6b79eba748",
        "txId": "1652858955940000",
        "transactionType": "PURCHASE",
        "grandToTAmt": 2.3
    },{
        "termId": "OW04000007",
        "merchantId": "O0000021",
        "buyerId": "becbd0f6-39b7-4bd81-ba36-6c374ae8eaee",
        "sellerId": "5f31c1ec-97ff-4940-b5ad-5d6b79eba748",
        "txId": "1652886005159000",
        "transactionType": "PURCHASE",
        "grandToTAmt": 2.3
    }
]'

Last updated