PAYON Payment Gateway
  • Table of Contents
  • Revision History
  • How is Work
    • PAYON PG PAYMENT
      • PAYON's Wallet Payment via PAYON Mobile App
      • PAYON Payment via PAYON's Card
      • CREDIT/DEBIT Online Payment
      • PPCBank Mobile Pay via PPCBank Mobile App(Coming Soon)
      • KHQR Online Payment
      • Binding Payment via PAYON's Card
      • Binding Payment via Credit/Debit's Card
  • PayOn PG Overview
    • Desktop Views
      • PAYON Payment Method
        • PAYON Card Payment
        • PAYON QR Payment
      • Credit/Debit Payment
      • KHQR Payment
      • PPCBank Payment
    • Mobile Views
      • PAYON Payment Method
      • Credit/Debit Payment Method
      • KHQR Payment
        • Bakong APP
        • PPCBank App
        • Other Bank App
      • PPCBank Payment
    • Obtain your API Keys
    • Platform Application Settings
  • Work flows
    • Payment Request Workflow
    • Page Redirection Workflow
  • Getting Started
    • Generate Checkout Link
    • Try redirect to Checkout Link
    • Test your payment
    • Add Card(Create Binding)
  • PAYON API Reference
    • Payment Order Registration
    • Cancellation Payment
    • Pre Auth Completion Payment
    • Refunds Payment
    • Transaction Orders History
    • Get Transaction Status
    • Push Back Notification
    • Create Binding
    • Get Binding List
    • Create Binding PIN
    • Enable / Disable PIN
    • Merchant Reconciliation
  • TEST Cards and Accounts
    • Test Card&Account
  • PAYON Library
  • PayOn Library
    • How to use PayOn Library
    • How to encrypt data with RSA
  • PAYON APPS
    • Environments
  • 3RD PARTY APPS
    • PPCBANK Environment
    • Bakong Environment
Powered by GitBook
On this page

Was this helpful?

  1. PAYON API Reference

Payment Order Registration

This endpoint is designed to register order in PAYON Aggregator Payment Gateway.

Depending on Transaction type (TRT) will be register as one-phase or two-phase for Credit/Debit payment method. By using this endpoint, user will be able to register order with differences payment methods such as PAYON, CREDIT_DEBIT and PPCBank PAY(Available soon).

Environment

URL

TEST

PRODUCTION

Order Registration Request

POST {{URL}}/pg/order/register

API Direction : MERCHANT -> PAYON

Request Body

Name
Type
Description

termId*

string

Terminal's Identification

merchantId*

string

Merchant's Identification

txId*

string

Transaction's Identification

trt*

string

Transaction Type(Possible value: 10: Purchase, 12: PRE AUTH

currency*

string

Three-letter ISO currency code in lowercase. only USD is support at this time.

amount*

string

Amount

paymentMethod*

string

Payment Method. PAYON, CREDIT_DEBIT, PPCBANK_TRANSFER, BAKONG_KHQR

clientId

string

Customer's Identification

bindingId

string

Binding's Identification

payDvCd

string

PPCBANK_PAY, PAYON_PAY,PAYON_QR,KHQR,MPI

buyerId

string

Buyer's Identification

sellerId

String

Seller's Identification

{
    "resultMsg": "Success",
    "resultCode": "0000",
    "resultData": {
        "txDt": "20210802",
        "txSeqNo": "2021080200006557",
        "txStCd": "00",
        "trt": "10",
        "payDvCd": "8",
        "paymentType": "02",
        "paymentIssuerCd": "",
        "paymentMethodDetailDesc": "",
        "acquirerId": "A0000001",
        "merchantId": "C0000143",
        "termId": "CT03000003",
        "wdlAcNo": "",
        "wdlNm": "",
        "wdlIp": "localhost",
        "wdlCvv": "",
        "wdlExpiry": "",
        "issBank": "PAYON",
        "issBankCntyCd": "KHM",
        "issBankApprNo": "",
        "issBankApprDttm": "",
        "issBankResultCd": "",
        "issBankResultMsg": "",
        "dsEnrolYn": "N",
        "dsVerifySuccessYn": "",
        "dsVerifyDttm": "",
        "dsVerifyResultCd": "",
        "dsVerifyMsg": "",
        "tracNo": "243522744224444",
        "amount": 3,
        "currencyCode": "USD",
        "collectDt": "",
        "verifyDvCd": "",
        "verifyDt": "",
        "correctDvCd": "",
        "correctDt": "",
        "correctManager": "",
        "correctComment": "",
        "apprNo": "",
        "apprDttm": "",
        "resultCd": "",
        "resultMsg": "",
        "regDttm": "02082021060222",
        "regUser": "ADMIN",
        "uptDttm": "02082021060222",
        "uptUser": "ADMIN",
        "cancelOrgnTxDt": "",
        "cancelOrgnTxSeqNo": "",
        "cancellabilityYN": null,
        "stan": "006191",
        "procCd": null,
        "expirationDate": null,
        "transactionLocalTime": null,
        "transmissionDateTime": null,
        "merchantType": null,
        "apprCd": null,
        "settleYn": "N",
        "cancelYn": "N",
        "refundYn": "N",
        "refNo": null,
        "netAmt": null,
        "feeAmt": null,
        "dsOrderNo": "c120e418-e543-49a1-9663-86726cfe368f",
        "merchantName": null,
        "merchantLogo": null,
        "backUrl": null,
        "cardNo": null,
        "formUrl": "http://pgtest.payon.com.kh:36605/pg/verifyBinding?termId=CT03000003&clientId=C0000143CT03000003&orderNo=c120e418-e543-49a1-9663-86726cfe368f&merchantId=C0000143&paymentMethod=CREDIT_DEBIT&bindingId=",
        "termUrl": "http://localhost:35505/pg/ppcbank/verifyCode?orderNo=3190f3a6-6898-4f26-a15d-76463c5195b1",
        "apiKey": null,
        "cavv": null,
        "bindingId": "",
        "clientId": "C0000143CT03000003"
    }
}

PreviousAdd Card(Create Binding)NextCancellation Payment

Last updated 2 years ago

Was this helpful?

http://pgtest.payon.com.kh
https://pg.payon.com.kh