Create Binding

Create Binding API method is used to create a binding without payment. It deactivates other bindings for the same merchant, clientId, and PAN.

Environment

URL

TEST

PRODUCTION

Create Binding

POST {{URL}}/pg/binding/register

This endpoint allows you to register card binding without payment.

Headers

Name
Type
Description

Authentication

string

Authentication token to track down who is emptying our stocks.

Request Body

Name
Type
Description

merchantId*

string

Merchant's Identification

termId*

string

Terminal's Identification

clientId*

string

Customer's Identification

paymentMethod*

string

Payment Method( PAYON, CREDIT_DEBIT)

wdlAcNo*

string

Card Number

wdlCvv

string

wdlExpiry

string

Card expiration date(year and moth) in the following format: YYYYMM.

wdlNm

string

Name of the cardholder

payonPin

string

PAYON's PIN. It's required when using PAYON's payment method.

phone

string

Phone must be valid, It will use for verification for create binding in PAYON PG's system.

pin

string

User passcode to identify before do any transaction in PAYON PG's System.

email

string

Email

{
    "txDt": null,
    "txSeqNo": null,
    "merchantId": "C0000143",
    "termId": "CT03000003",
    "wdlAcNo": "520473**1003",
    "wdlExpiry": "202512",
    "wdlNm": null,
    "clientId": "C0000143CT0300000302",
    "phone": null,
    "email": null,
    "bindingId": "7ce4dda7-b9f8-4343-883b-e5ff6295e5f9",
    "resultCode": "0000",
    "resultMsg": "Success"
}

Example Request

curl --location --request POST 'http://pgtest.payon.com.kh/pg/createBinding' \
--data-raw '{
    "merchantId":"C0000143",
    "termId":"CT03000003",
    "clientId":"02",
    "wdlAcNo":"5204730000001003",
    "wdlCvv":"100",
    "wdlExpiry":"202512",
    "wdlNm":"MC",
    "phone":"855964444781",
    "email":"",
    "pin":"123456"

}'

Last updated