E. PAYMENT STATUS QUERY & NOTIFICATION
1. Payment Status Query (PSQ)
Payment status query are merchant initiated process, which means query sent from merchant’s system to MOLPay to get the updated payment status of any transaction either it has complete the payment loop (returned to merchant site) or not.
IMPORTANT NOTICE
1. Merchant is only allowed to QUERY ONCE FOR EVERY 5 MINUTES or the system will block merchant’s IP/query source automatically.
2. Kindly be informed that this feature is not available for MOLPay Test account.
There have several types of PSQ available: i. Indirect PSQ (Normal PSQ) ii. Direct PSQ (Bank status query) iii. Daily Query
iv. Refund Query
i. Indirect PSQ (Normal PSQ)
i.i TYPE A : PSQ using Single Transaction ID
Input :
One MOLPay Transaction ID(unique) required to query the transaction status from MOLPay.
Output :
MOLPay will return single result based on transaction ID given.
Front-end URL :
https://www.onlinepayment.com.my/MOLPay/q_by_tid.php
Parameter passing method :
Parameters :
TYPE A : PSQ USING SINGLE TRANSACTION ID Variable
Name Format Description
amount Floating point The transaction amount in one bill.
Min accepted amount : 1.01
txID Integer Unique MOLPay Transaction ID
domain Alpha-
numeric MOLPay Merchant ID
type Integer
Method for merchant to receive response data :
Code Definition
0 In Plain text (default)
1 By POST
url URL Address
URL to receive response data from MOLPay.
Data will be returned to merchant’s system via background (doesn’t required browser)
skey Alpha-
numeric Security hash key. Verify key is required.
Integration example (for PHP developer) :
Return data :
Plain text with new line character
(type=0) POST (type=1)
StatCode: 00 StatName: captured TranID: 65234 Amount: 3899.00 Domain: shopA VrfKey: 456cf69e5bddfe8ed47371096 $_POST[StatCode] = “00”;
$_POST [StatName] = “captured”; $_POST [TranID] = “65234”; $_POST [Amount] = “3899.00”; $_POST [Domain] = “shopA”; $_POST[VrfKey:]=
“456cf69e5bddfe8ed47371096”; <?php
$skey = md5($txID . $domain . “xxxxxxx” . $amount);
//Replace xxxxxxxx with your MOLPay Verify Key /*****************
HTML Format
******************/
echo “<a
href=’https://www.onlinepayment.com.my/MOLPay/q_by_tid.php?amount=20&tx ID=12345&domain=shopA&skey=” .$skey. ”’ ”> Update Payment for tranID 12345 </a>”;
Variable Name Format Description StatCode 2-digit numeric Code Status 00 Success 11 Failure 22 Pending StatName Alphabet Code Status
Success captured, settled, ReqCancel, ReqChargeback, authorized Failure failed, cancelled, chargeback,
release, reject, blocked Pending Pending, Unknown, TestOK
TranID Integer MOLPay Transaction ID
Amount Floating point Transaction amount in one bill
Domain Alpha-
numeric MOLPay Merchant ID
VrfKey Alpha-
numeric
MD5 Encrypted string to verify whether the transaction is from valid source. Verify Key
is required.
Was encrypted as (without symbol “&”) : md5(Amount & xxx & Domain & TranID & StatCode)
i.ii TYPE B : PSQ using Single Order ID (Single output)
Input :
One order ID (might be not unique) required to query the transaction status from MOLPay.
Output :
MOLPay will return latest single result based on order ID given.
Front-end URL :
https://www.onlinepayment.com.my/MOLPay/query/q_by_oid.php
Parameter passing method :
POST or GET
Parameters :
TYPE B : PSQ USING SINGLE ORDER ID Variable
Name Format Description
amount Floating point The transaction amount in one bill.
Min accepted amount : 1.01
oID Alpha-
numeric Order ID of the transaction.
domain Alpha-
numeric MOLPay Merchant ID
type Integer
Method for merchant to receive response data :
Code Definition
0 In Plain text (default)
1 By POST
url URL Address
URL to receive response data from MOLPay.
Data will be returned to merchant’s system via background (doesn’t required browser)
skey Alpha-
Integration example :
Return data :
Plain text with new line character
(type=0) POST (type=1)
StatCode: 00 StatName: captured OrderID : OD001-09 Amount : 59.00 TranID: 65234 Amount: 3899.00 Domain: shopA
BillingName : James Blunt
VrfKey: 456cf69e5bddfe8ed47371096 $_POST[StatCode]= “00”; $_POST[StatName]= “captured”; $_POST[OrderID] = “OD001-09”; $_POST[Amount] = “59.00”; $_POST[TranID]= “65234”; $_POST[Amount]= “3899.00”; $_POST[Domain]= “shopA”;
$_POST[BillingName] = “James Blunt”; $_POST[VrfKey]=
“456cf69e5bddfe8ed47371096”; Variable Name Format Description
StatCode 2-digit numeric Code Status 00 Success 11 Failure 22 Pending StatName Alphabet Code Status
Success captured, settled, ReqCancel, ReqChargeback, authorized Failure failed, cancelled, chargeback,
release, reject, blocked Pending Pending, Unknown, TestOK
OrderID Alpha-
numeric Order ID for that particular transaction. Amount Floating point Transaction amount in one bill
Domain Alpha-
numeric MOLPay Merchant ID <?php
$skey = md5($oID . $domain . “xxxxxxx” . $amount); $skey = md5($oID . $domain . “xxxxxxx” . $amount);
//Replace xxxxxxxx with your MOLPay Verify Key /*****************
HTML Format
******************/
echo “<a
href=’https://www.onlinepayment.com.my/MOLPay/q_by_oid.php?amount=20&oI D=12345&domain=shopA&skey=” .$skey. ”’ ”> Update Payment for Order ID 12345 </a>”;
BillingName Alpha-
numeric Name use to make a transaction
VrfKey Alpha-
numeric
MD5 encrypted string to verify whether the transaction is from valid source. Verify Key
is required.
Was encrypted as :
md5(Amount & xxx & Domain & OrderID & StatCode)
i.iii TYPE C : PSQ using Single Order ID (Batch output)
Input :
One order ID (might be not unique) required to query the transaction status from MOLPay.
Output :
MOLPay will return group of transaction result which belongs to order ID given.
Front-end URL :
https://www.onlinepayment.com.my/MOLPay/query/q_oid_batch.php
Parameter passing method :
POST or GET
Parameters :
TYPE C : PSQ USING SINGLE ORDER ID (BATCH OUTPUT) Variable
Name
Format Description
oID Alpha-
numeric Order ID of the transaction.
domain Alpha-
numeric MOLPay Merchant ID
type Integer
Method for merchant to receive response data :
Code Definition
0 In Plain text (default)
1 By POST
url URL Address
URL to receive response data from MOLPay.
Data will be returned to merchant’s system via background (doesn’t required browser)
format Integer
Code Type
0 Text (each data will be combined by | character)
1 Array
skey Alpha-
Integration example :
Return data :
Plain text : each transaction is separated by newline character (\n) and each field is delimited by TAB (\t) character. (type=0)
TranID BillingDate StatCode StatName Amount BillingName 418607 2009-11-26 22 pending 25.00 Lenka 418603 2009-11-26 00 captured 125.10 Mika 418583 2009-11-26 00 captured 71.10 Ciara
POST : Return data in text. Info for each transaction will be separated by |
character. (type=1, format=0)
$_POST[TranID] = “418607|418603|418583”;
$_POST[BillingDate] = “2009-11-26|2009-11-26|2009-11-26”;
$_POST[StatCode] = “22|00|00”;
$_POST[StatName] = “pending|captured|captured”;
$_POST[Amount] = “25.00|125.10|71.10”;
$_POST[BillingName] = “Lenka|Mika|Ciara”;
POST : Return data in Array ($_POST[Index][Field]) (type=1, format=1)
$_POST[0][TranID] = “418607”;
$_POST[0][BillingDate] = “2009-11-26”; $_POST[0][StatCode] = “22”;
$_POST[0][StatName] = “pending”;
$_POST[0] [Amount] = “25.00”;
$_POST[0] [BillingName] = “Lenka”;
$_POST[1] [TranID] = “418603”;
$_POST[1] [BillingDate] = “2009-11-26”;
$_POST[1] [StatCode] = “00”; $_POST[1] [StatName] = “captured”;
$_POST[1] [Amount] = “125.10”;
$_POST[1] [BillingName] = “Mika”;
<?php
$skey = md5($oID . $domain . “xxxxxxx”);
//Replace xxxxxxxx with your MOLPay Verify Key /*****************
HTML Format
******************/
echo “<a
href=’https://www.onlinepayment.com.my/MOLPay/q_by_oid.php?amount=20&oI D=12345&domain=shopA&skey=” .$skey. ”’ ”> Update Payment for Order ID 12345 </a>”;
Variable Name Format Description
TranID Alpha-
numeric MOLPay unique Transaction ID BillingDate YYYY-MM-
DD Date & time of the transaction
StatCode 2-digit numeric Code Status 00 Success 11 Failure 22 Pending StatName Alphabet Code Status
Success captured, settled, ReqCancel, ReqChargeback, authorized Failure failed, cancelled, chargeback,
release, reject, blocked Pending Pending, Unknown, TestOK
OrderID Alpha-
numeric Order ID for that particular transaction. Amount Floating point Transaction amount in one bill
BillingName Alpha-
i.iv TYPE D : PSQ using Multiple Order ID
Input :
Multiple order ID (might be not unique) required to query the transaction status from MOLPay.
Output :
MOLPay will return group of transaction result based on order ID given.
Front-end URL :
https://www.onlinepayment.com.my/MOLPay/query/q_by_oids.php
Parameter passing method :
POST or GET
Parameters :
TYPE D : PSQ USING MULTIPLE ORDER ID Variable
Name
Format Description
oIDs Alpha-
numeric
Combination of Order ID to request the transaction status.
Must be URL encoded.
Max number of Order ID = 100
domain Alpha-
numeric
MOLPay Merchant ID
delimiter Alphabet Symbol used to separate the combination of Order ID.
Make sure symbol you’re using is not apart of the Order ID. You’re not allowed to use below symbol as you delimiter.
Unauthorized symbol : ", % , *, <, >, ?, \, $, &, = Default value = | (Merchant may change the delimiter accordingly)
type Integer Method for merchant to receive response data.
Code Definition
0 In Plain text (default)
1 By POST
url URL Address URL to receive response data from MOLPay.
Compulsory if value of type=1
Data will be returned to merchant’s system via background (doesn’t required browser)
format Integer Code Type
0 Text (each data will be combined by | character)
1 Array
skey Alpha-
numeric
Security hash key. Verify key is required.
Integration example :
Return data :
Plain text : each transaction is separated by newline character (\n) and each field is delimited by TAB (\t) character. (type=0)
OrderID TranID BillingDate StatCode StatName Amount BillingName VrfKey 23734 99876 2011-11-26 22 pending 25.00 Lenka sf98sd8fs9dfs9d 63872 99876 2011-11-26 00 captured 125.10 Mika tryrty9rt9y8t9yt95 8a8b3 83937 2010-11-26 00 captured 71.10 Ciara zxc9zxc0xczdsd4
POST : Return data in text. Info for each transaction will be separated by |
character. (type=1, format=0)
$_POST[OrderID] = “23734|63872|8a8b3”;
$_POST[TranID] = “99876|99876|83937”;
$_POST[BillingDate] = “2009-11-26|2009-11-26|2009-11-26”; $_POST[StatCode] = “22|00|00”;
$_POST[StatName] = “pending|captured|captured”;
$_POST[Amount] = “25.00|125.10|71.10”;
$_POST[BillingName] = “Lenka|Mika|Ciara”;
$_POST[VrfKey] = “sf98sd8fs9dfs9d | tryrty9rt9y8t9yt95| zxc9zxc0xczdsd4”; <?php
$skey = md5($domain . $oIDs . “xxxxxxx”);
//Replace xxxxxxxx with your MOLPay Verify Key /***************** HTML Format ******************/ echo “ <form method=post action='https://www.onlinepayment.com.my/MOLPay/query/q_by_oids.php'> <input type=text name=’oIDs’
value='23734%7C63872%7C8a8b3%7C1ab31%7C08b23'> <input type=text name=’domain’ value=shopA> <input type=text name=’delimiter’ value='|'>
<input type=text name=’skey’ value='fc424f491db75e81a264af9080a18dde'> <input type=submit value='Query Payment Status'>
</form> ”;
POST : Return data in Array ($_POST[OrderID][Field]) (type=1, format=1)
$_POST[23734] [TranID] = “418607”;
$_POST[23734] [BillingDate] = “2009-11-26”; $_POST[23734] [StatCode] = “22”;
$_POST[23734] [StatName] = “pending”; $_POST[23734] [Amount] = “25.00”; $_POST[23734] [BillingName] = “Lenka”; $_POST[23734] [VrfKey] = “sf98sd8fs9dfs9d”; $_POST[63872] [TranID] = “418603”;
$_POST[63872] [BillingDate] = “2009-11-26”; $_POST[63872] [StatCode] = “00”;
$_POST[63872] [StatName] = “captured”; $_POST[63872] [Amount] = “125.10”; $_POST[63872] [BillingName] = “Mika”; $_POST[63872] [VrfKey] = “tryrty9rt9y8t9yt95”;
Variable Name Format Description
OrderID Alpha-
Numeric Order ID for that particular transaction.
TranID Alpha-
numeric MOLPay unique transaction ID BillingDate YYYY-MM-
DD Date & time of the transaction
StatCode 2-digit numeric Code Status 00 Success 11 Failure 22 Pending StatName Alphabet Code Status
Success captured, settled, ReqCancel, ReqChargeback, authorized Failure failed, cancelled, chargeback,
release, reject, blocked Pending Pending, Unknown, TestOK Amount Floating point Transaction amount in one bill
Domain Alpha-
numeric MOLPay Merchant ID BillingName Alpha-
numeric Name use to make a transaction
VrfKey Alpha-
numeric
MD5 encrypted string to verify whether the transaction is from valid source. Verify Key
is required.
Was encrypted as :
md5(Amount & xxx & Domain & OrderID & StatCode)
i.v TYPE E : PSQ using Multiple Transaction ID
Input :
Multiple transaction ID (each transaction ID must be unique) required to query the transaction status from MOLPay.
Output :
MOLPay will return group of transaction result based on transaction ID given.
Front-end URL :
https://www.onlinepayment.com.my/MOLPay/query/q_by_tids.php
Parameter passing method :
POST or GET
Parameters :
TYPE D : PSQ USING MULTIPLE TRANSACTION ID Variable
Name
Format Description
tIDs Alpha-
numeric
Combination of Transaction ID to request the transaction status.
Each transaction ID MUST BE separated by | Must be URL encoded.
Max number of Transaction ID = 100
domain Alpha-
numeric
MOLPay Merchant ID
type Integer Method for merchant to receive response data.
Code Definition
0 In Plain text (default)
1 By POST
url URL Address URL to receive response data from MOLPay.
Compulsory if value of type=1
Data will be returned to merchant’s system via background (doesn’t required browser)
format Integer Code Type
0 Text (each data will be combined by | character)
1 Array
skey Alpha-
numeric
Integration example : <?php
$skey = md5($domain . $tIDS . “xxxxxxx”);
//Replace xxxxxxxx with your MOLPay Verify Key /***************** HTML Format ******************/ echo “ <form method=post action='https://www.onlinepayment.com.my/MOLPay/query/q_by_tids.php'> <input type=text name=’tIDs’
value='23734%7C63872%7C8a8b3%7C1ab31%7C08b23'> <input type=text name=’domain’ value=shopA>
<input type=text name=’skey’ value='fc424f491db75e81a264af9080a18dde'> <input type=submit value='Query Payment Status'>
</form> ”;
Return data :
Plain text : each transaction is separated by newline character (\n) and each field is delimited by TAB (\t) character. (type=0)
TranID BillingDate StatCode StatName Amount BillingName VrfKey 99876 2011-11-26 22 pending 25.00 Lenka sf98sd8fs9dfs9d 99876 2011-11-26 00 captured 125.10 Mika tryrty9rt9y8t9yt95 83937 2010-11-26 00 captured 71.10 Ciara zxc9zxc0xczdsd4
POST : Return data in text. Info for each transaction will be separated by |
character. (type=1, format=0)
$_POST[TranID] = “99876|99876|83937”;
$_POST[BillingDate] = “2009-11-26|2009-11-26|2009-11-26”;
$_POST[StatCode] = “22|00|00”;
$_POST[StatName] = “pending|captured|captured”;
$_POST[Amount] = “25.00|125.10|71.10”; $_POST[BillingName] = “Lenka|Mika|Ciara”;
$_POST[VrfKey] = “sf98sd8fs9dfs9d | tryrty9rt9y8t9yt95| zxc9zxc0xczdsd4”;
POST : Return data in Array ($_POST[TranID][Field]) (type=1, format=1)
$_POST[418607] [BillingDate] = “2009-11-26”; $_POST[418607] [StatCode] = “22”;
$_POST[418607] [StatName] = “pending”; $_POST[418607] [Amount] = “25.00”; $_POST[418607] [BillingName] = “Lenka”; $_POST[418607] [VrfKey] = “sad8asd9aas9da”; $_POST[418603] [BillingDate] = “2009-11-26”; $_POST[418603] [StatCode] = “00”;
$_POST[418603] [StatName] = “captured”; $_POST[418603] [Amount] = “125.10”; $_POST[418603] [BillingName] = “Mika”; $_POST[418607] [VrfKey] = “rr21rt54yrtydgsdg”;
Variable Name Format Description
TranID Alpha-
numeric MOLPay unique transaction ID BillingDate YYYY-MM-
DD Date & time of the transaction
StatCode 2-digit numeric Code Status 00 Success 11 Failure 22 Pending StatName Alphabet Code Status
Success captured, settled, ReqCancel, ReqChargeback, authorized Failure failed, cancelled, chargeback,
release, reject, blocked Pending Pending, Unknown, TestOK Amount Floating point Transaction amount in one bill
BillingName Alpha-
numeric Name use to make a transaction
VrfKey Alpha-
numeric
MD5 encrypted string to verify whether the transaction is from valid source. Verify Key
is required.
Was encrypted as :
md5(Amount & xxx & Domain & TranID & StatCode)
ii. Direct PSQ (Bank status query)
Bank payment status query are merchant initiated process, which allow merchant to get updated status directly from that particular bank for each transaction made with MOLPay payment gateway.
Merchant have to follow below API to make them able to be connected to bank inquiry services to get the updated status for their transaction.
Front-end URL :
https://www.onlinepayment.com.my/MOLPay/API/gate- query/index.php
Parameter passing method :
POST or GET
Parameters : Variable
Name
Format Description
amount Floating point The transaction amount in one bill.
txID Integer MOLPay unique Transaction ID
domain Alpha-
numeric
MOLPay Merchant ID
type Method for merchant to receive response data.
Code Definition
0 In Plain text (default)
1 By POST
url URL Address URL to receive response data from MOLPay.
Data will be returned to merchant’s system via background (doesn’t required browser)
skey Alpha-
numeric
Integration example :
Return data :
Plain text with new line character
(type=0) POST (type=1)
StatCode: 00 StatName: captured TranID: 65234 Amount: 3899.00 Domain: shopA VrfKey: 456cf69e5bddfe8ed47371096 $_POST [StatCode] = “00”; $_POST [StatName] = “captured”; $_POST [TranID] = “65234”; $_POST [Amount] = “3899.00”; $_POST [Domain] = “shopA”; $_POST[VrfKey:]=
“456cf69e5bddfe8ed47371096”;
Variable Name Format Description
StatCode 2-digit numeric Code Status 00 Success 11 Failure 22 Pending StatName Alphabet Code Status
Success captured, settled, ReqCancel, ReqChargeback, authorized Failure failed, cancelled, chargeback,
release, reject, blocked Pending Pending, Unknown, TestOK TranID Integer MOLPay Unique Transaction ID
Amount Floating point Transaction amount in one bill
Domain Alpha-
numeric MOLPay Merchant ID <?php
$skey = md5($txID . $domain. “xxxxxxx” . $amount);
//Replace xxxxxxxx with your MOLPay Verify Key /***************** HTML Format ******************/ echo “ <a href='https://www.onlinepayment.com.my/MOLPay/API/gate- query/index.php?amount=3899&txID=65234&domain=shopA&skey=
e1c4c60c99116fffc3ce77bd5fd0f7b1'> Update payment status for tranID xxx </a>
”;
VrfKey Alpha- numeric
MD5 encrypted string to verify whether the transaction is from valid source. Verify Key
is required.
Was encrypted as :
md5(Amount & xxx & Domain & TranID & StatCode)
iii. Daily PSQ
MOLPay Daily PSQ allow merchant to download a list of transaction of specific date for reconciliation purpose.
Front-end URL :
https://www.onlinepayment.com.my/MOLPay/API/PSQ/psq- daily.php
Parameter passing method
POST or GET Parameters Variable Name Format Description merchantID Alpha- numeric MOLPay Merchant ID rdate YYYY-MM- DD Transaction date. status Alpha- numeric
Status code to filter the output. It could be :
only one status E.g : status=00
combination of more than one status which should be combine using | and must be urlencoded
E.g : status=urlencode(00|22)
let it empty to get the list of transaction for all status. Code Definition 00 Success 11 Failed 22 Pending skey Alpha- numeric
Integration example <?php
$skey = md5($rdate . $merchantID. “xxxxxxx”);
//Replace xxxxxxxx with your MOLPay Verify Key /***************** HTML Format ******************/ echo “ <a href=https://www.onlinepayment.com.my/MOLPay/API/PSQ/psq- daily.php?merchantID=shopA&rdate=2013-04- 01&skey=b9d6619ab70e6a9363e8ab426cce326b&status=”.urlencode(“00|11”).”> Update payment status </a>
”;
Return data
Plain text : each transaction is separated by newline character (\n) and each field is delimited by TAB (\t) character. (type=0)
BillingDate OrderID TranID Channel Amount StatCode StatName BillingName 2013-04-01 18:06:26 A001 12345 MB2u 300.00 22 Pending MOLPay Demo 2013-04-01 18:10:45 B001 67895 MB2u 8.01 22 Pending MOLPay Demo
Variable Name Format Description
BillingDate YYYY-MM-DD Date & time of transaction OrderID Alpha-numeric The bill/invoice number
TranID Integer MOLPay Unique Transaction ID
Channel Alpha-numeric Payment method for that particular transaction
Amount Floating-point Transaction amount in one bill
StatCode 2-digit numeric
Code Status 00 Success 11 Failure 22 Pending StatName Alphabet Code Status
Success captured, settled, ReqCancel, ReqChargeback, authorized Failure failed, cancelled, chargeback,
release, reject, blocked Pending Pending, Unknown, TestOK BillingName Alpha-numeric Name use to make a transaction
iv. Refund Query
Payment request refund query are Merchant initiated process, which means query sent from merchant’s system to MOLPay to request refund or request cancel of any successful transaction.
Currently there’s only 1 type of Payment request refund available under MOLPay : i. Single Request – Single unique transaction ID is compulsory to perform request transaction refund for this option. MOLPay will return single result based on transaction ID given.
Front-end URL:
https://www.onlinepayment.com.my/MOLPay/API/refundAPI/refun d.php
Parameter passing method
POST or GET
Parameters Variable
Name
Format Description
txnID Integer MOLPay unique Transaction ID
domain Alpha-
numeric
MOLPay Merchant ID
type Integer Method for merchant to receive response data.
Code Definition
0 In Plain text (default)
1 By POST
url URL Address URL to receive response data from MOLPay.
Data will be returned to merchant’s system via background (doesn’t required browser)
skey Alpha-
numeric
Integration example
Return data
Plain text with new line character
(type=0) POST (type=1)
TranID: 65234 Domain: shopA StatDate: 2012-08-24 12:05:21 StatCode: 00 VrfKey: 456cf69e5bddfe8ed47371096 $_POST [TranID] = “65234”; $_POST [Domain] = “shopA”; $_POST [StatName] = “2012-08-24 12:05:21”;
$_POST[StatCode] = “00”; $_POST[VrfKey:]=
“456cf69e5bddfe8ed47371096”;
Variable Name Format Description
TranID Integer MOLPay Unique Transaction ID
Domain Alpha-numeric MOLPay Merchant ID StateDate YYYY-MM-DD Response date & time
StatCode 2-digit numeric
Code Definition
00 Success
11 Failure
12 Invalid/unmatch security hash key
13 Not a Credit Card transaction 14 Transaction more than 3 days 15 Requested day is on
settlement day
16 Forbidden transaction
VrfKey Alpha-numeric MD5 encrypted string to verify whether the transaction is from valid source. Verify Key
<?php
$skey = md5($txnID . $domain. “xxxxxxx”);
//Replace xxxxxxxx with your MOLPay Verify Key /***************** HTML Format ******************/ echo “ <a href=’https://www.onlinepayment.com.my/MOLPay/API/refundAPI/refund.php?
txnID=65234&domain=shopA&skey= e1c4c60c99116fffc3ce77bd5fd0f7b1’>