Skip to main content

Payment with Channel Selection

The e-Payment system offers a streamlined payment process for merchants. Merchants can utilize a dedicated web page for selecting payment types, including credit cards, credit card installments, QR payments, internet banking, bill payments, and more. Merchants submit essential information like product value and merchant identification numbers for processing. Merchants with established product and customer databases can immediately access payment services through the e-Payment system.

Payment with return postback

Parameters

The parameters used to connect to the e-Payment system consist of two types of parameters i.g. the " key parameter " that must be specified every time to connect to the e-Payment system and "additional parameters" to complement the merchant's payment system. Even more The merchant can choose to specify whether or not to use this additional parameter. The details of both types of parameters are as follows.

NameData TypeMaximum LengthDescription
merchantidinteger8Merchant ID No.
refnointeger12Reference No.
customeremailcharacter100E-mail of customer
productdetailcharacter255Details of product
totalintegerNot over 9,999,999Total amount
lang optionalcharacter2Language
cc optionalcharacter2Currency unit
channelcharacter-Channel of Payment

Main Parameters

Merchants are required to submit all 5 main parameters, which are detailed below, by sending a POST to the website:

https://payment.paysolutions.asia/epaylink/payment.aspx

Details are as the followings:

NameDescription
merchantThe merchant ID number, which is sent to the merchant via email upon service registration, is of numeric data type and consists of 8 characters.
refNoA reference number used by merchants to identify an order within the ePayment system. This parameter requires a unique number for each order to prevent order overlaps. This parameter is of numeric data type and has a maximum length of 12 characters.
customeremailThe email address of the customer associated with the merchant's transaction. This email address is used by the system to send payment confirmation emails when credit card payments are successfully completed. This parameter is of alphanumeric data type and has a maximum length of 100 characters.
productdetailA brief product description that summarizes the product or service being purchased, allowing customers to understand what they are paying for. This parameter is of alphanumeric data type and has a maximum length of 255 characters. Note: HTML special characters are not permitted.
totalThe total value of the product, represented as a numeric data type. This parameter can include decimal values, for instance, 199.50.
channelChannel of Payment.

List of Channel Parameter

Channel valueChannel Unit
fullFull Payment VISA Mastercard
amexFull Payment American Express
cupFull Payment Union Pay
installmentInstallment
billBill
promptpayPromptPay
alipayAlipay
wechatWeChat pay
truewalletTrue Money Wallet
ibankingNot select specific internet banking
ibanking_kbankInternet Banking - Kasikorn Bank
ibanking_scbInternet Banking - SCB Bank
ibanking_ktbInternet Banking - Krungthai Bank
ibanking_bayInternet Banking - Krungsri Bank
ibanking_bblInternet Banking - Bangkok Bank
ibanking_ttbInternet Banking - TTB Bank

** All ibanking - minimum value is 15 THB. If the value is less than 15 THB ibanking’s is not processed. 

** Installment - minimum installment 3000 THB

Additional Parameters

Additional parameters are optional for merchants. Merchants have the flexibility to choose whether or not to utilize these parameters. These parameters are designed to provide merchants with enhanced functionality and customization options for their payment system.

The additional parameters are as follows:

NameDescription
lang optionalThe 'lang' parameter specifies the language for the web page, either English or Thai. The default language is determined by the merchant's settings in the admin system. However, if the 'lang' parameter is specified, the system will override the default setting and display the selected language. Specify 'lang = TH' for Thai or 'lang = EN' for English. This parameter caters to merchants with websites that support both Thai and English, providing them with flexibility in customizing the language for additional parameters.
cc optionalThe 'cc' parameter defines the currency code for the transaction. Similar to the 'lang' parameter, the default currency is determined by the merchant's settings in the admin system. However, if the 'cc' parameter is specified, the system will override the default setting and use the specified currency code. This parameter caters to merchants who deal with multiple currencies, providing them with flexibility in adjusting the currency code as needed.

CC Parameters

CC ValueCurrency Unit
00Baht
01USD
02Yen
03Singapore Dollar
04Hongkong Dollar
05Eur Dollar
06GBP (Pound)
07Australian Dollar
08Swiss Franc

Example

payment.html
<html>
<head>
<title>Paysolutoins Payment</title>
</head>
<body>
<form method="post" action="https://payment.paysolutions.asia/epaylink/payment.aspx">
Customer E-mail:
<input type="text" name="customeremail" value="customer@email.com">
<br> Product Detail:
<input type="text" name="productdetail" value="product detail">
<br>
<!-- refno unique number 12 digit -->
Reference No.:
<input type="text" name="refno" value="123456789012">
<br>
<!-- merchantid 8 digit -->
Merchant ID:
<input type="text" name="merchantid" value="12345678">
<br>
<!-- currency code -->
Currency Code:
<input type="text" name="cc" value="00">
<br> Total:
<input type="text" name="total" value="1">
<br> Lang:
<input type="text" name="lang" value="TH">
<!-- Channel Value
-full (ช่องทาง creditcard จ่ายเต็มจำนวน)
-installment (ช่องทางผ่อน)
-ibanking (ช่องทาง internet banking)
-bill
-promptpay
-alipay
-wechat
-truewallet
replace in value <input type="hidden" name="channel" value="full" >
-->
<br> Channel:
<select name="channel">
<option value="full"> Full Payment </option>
<option value="amex"> Full Payment American Express </option>
<option value="cup"> Full Payment Union Pay </option>
<option value="installment"> Installment </option>
<option value="bill"> Bill </option>
<option value="promptpay"> PromptPay </option>
<option value="alipay"> Alipay </option>
<option value="wechat"> WeChat pay </option>
<option value="truewallet"> True Money Wallet </option>
<!-- not select specific bank --->
<option value="ibanking"> iBanking </option>
<!-- select specific bank --->
<option value="ibanking_kbank"> iBanking - Kbank </option>
<option value="ibanking_scb"> iBanking - SCB </option>
<option value="ibanking_ktb"> iBanking - KTC </option>
<option value="ibanking_bay"> iBanking - BAY </option>
<option value="ibanking_bbl"> iBanking - BBL </option>
<option value="ibanking_ttb"> iBanking - TTB </option>
</select>
<input type="submit" name="Submit" value="Comfirm Order">
</form>
</body>
</html>

Preview

Payment with channel