MOLPayDirectServerAPIv1 3 0
MOLPayDirectServerAPIv1 3 0
(Version 1.3.0)
(previously known as Seamless Payment API)
Last updated on 30 Nov 2016
Revision History
1
25/10/2016 1.2.2 Hairi Adding more FPX channels
2
Table of Contents
Introduction
Direct Server API Flow
ERROR CODES
3
Introduction
Direct Server API (previously known as Seamless Payment API) allows merchant to initiate
payment request through post data. Merchant will redirect customer/user based on the url
response back to merchant. Merchant will require to initiate direct status inquiry once user
redirect from channel to merchant application.
If merchant is to obtain credit card data directly from buyer (not entering on bank or MOLPay
hosted page or URL), then merchant must be PCI-DSS compliant in order to proceed.
Otherwise assessment fee might be imposed by the brands, i.e. Visa or MasterCard.
This is a server-to-server call API that merchant or developer will have more control on the
checkout experience and need to manage on the frontend user interface. Improper integration
might cause higher drop rate on the channel.
4
Direct Server API Flow
5
Payment Request Parameters (Merchant to MOLPay)
Merchant sends HTTPs POST payment request parameter to MOLPay.
17. BCARD_NO n{10} O For BCard redemption only. Last 10-digit BCARD no.
6
Payment Response Parameters (MOLPay to Merchant)
MOLPay will return response in json format to merchant.
TxnData
- RequestURL (Merchant is required to REDIRECT/POPUP user to provided url)
- RequestMethod (Merchant is required to follow type of method to be submit [GET/POST])
- RequestType (Merchant is required to follow the type REDIRECT/POPUP/RESPONSE)
- RequestData (Merchant is required to submit provided data during REDIRECT/POPUP)
7
SAMPLE - Payment Response
ERROR CODES
Please refer MOLPay API Spec for Merchant (section ERROR CODES)
8
Payment Status Notification
Please refer to the same section name in official API document. Merchant will need to
implement at least 2 endpoints (notification URL and callback URL, both with IPN or ACK
function).
WARNING: Please note that multiple payment notifications (either from return URL, notification
URL or callback URL) for single transaction is possible but this does not mean that the buyer
has paid twice or multiple times.
9
Appendix A : Data Type Details
No Code Description
1 a Letters, A-Za-z
2 n Numbers, 0-9
3 s Symbols, .:|?*,!&_-
No Code Description
1 M Mandatory field.
2 O Optional field.
3 C Conditional field.
10
Appendix C: Channel Details
Channel Country Type CUR Type Value Display Name RequestMethod RequestType Min
Amount
FPX CIMB MY IB MYR SALS fpx_cimbcli CIMB Clicks POST REDIRECT > 1.00
cks
FPX AMB MY IB MYR SALS fpx_amb Am Online POST REDIRECT > 1.00
FPX HLB MY IB MYR SALS fpx_hlb HLB Connect POST REDIRECT > 1.00
FPX PBB MY IB MYR SALS fpx_pbb PBeBank POST REDIRECT > 1.00
FPX RHB MY IB MYR SALS fpx_rhb RHB Now POST REDIRECT > 1.00
FPX BIMB MY IB MYR SALS fpx_bimb Bank Islam POST REDIRECT > 1.00
FPX OCBC MY IB MYR SALS fpx_ocbc OCBC Bank POST REDIRECT > 1.00
FPX SCB MY IB MYR SALS fpx_scb Stand Chart POST REDIRECT > 1.00
Bank
FPX_ABB MY IB MYR SALS fpx_abb Affin Bank POST REDIRECT > 1.00
CIMB Bank MY IB MYR SALS cimb CIMB Clicks POST POPUP > 1.00
RHB Bank MY IB MYR SALS rhb RHB Now POST POPUP > 1.00
HLB Bank MY IB MYR SALS hlb HLB Connect POST POPUP > 1.00
Affin Bank MY IB MYR SALS affin-epg Affin Online POST POPUP > 2.00
Public Bank MY IB MYR SALS publicbank PBeBank POST POPUP > 1.00
Bank Islam MY IB MYR SALS bankislam Bank Islam POST POPUP > 1.00
7-eleven MY OTC MYR SALS cash 7-11 POST REDIRECT > 1.00
stores MOLPayCash
Petronas MY OTC MYR SALS epay e-Pay POST REDIRECT > 1.00
epay
SCB Bank TH IB THB SALS TH_SCBPN The Siam GET REDIRECT > 10.00
11
Commercial
Bank
KTB Bank TH IB THB SALS TH_KTBPN Krung Thai GET REDIRECT > 10.00
Bank
BBL Bank TH IB THB SALS TH_BBLPN Bangkok Bank GET REDIRECT > 10.00
BAY Bank TH IB THB SALS TH_BAYPN Krungsri Bank GET REDIRECT > 10.00
Paysbuy TH OTC THB SALS TH_CASH Convenience POST POPUP > 10.00
CASH Store
Indonesia ID ATM IDR SALS ATMVA ALTO , Prima, POST POPUP >
ATM ATM Bersama 10000.0
0
Dragonpay PH IB/OTC PHP SALS dragonpay Dragonpay GET REDIRECT > 50.00
12
0
13
VTC-Pay VN IB VND SALS tienphongb VTC-Pay GET REDIRECT >
TienPhong ank 10000.0
Bank 0
14