Get QR Code & URL By Checkout ID

Method : POST
URL : https://open.revenuemonster.my/v3/payment/online/checkout
Sandbox URL : https://sb-open.revenuemonster.my/v3/payment/online/checkout

note

To create a unified payment checkout page for your website.

Example of QR Code

Decode your Image using Base64Using qrCodeImageBase64 URL to generate a QR Code
What user will receiveOnce user scan the QR Code it will display

Request Parameters#

ParameterTypeDescriptionExample
checkoutIdStringrefer to web-payment to get your checkoutId"1547775958720585401"
methodStringRM currently supported method"WECHATPAY_MY"
typeStringURL or QRCODE"URL"
curl --location --request POST '{{open_base_path}}/v3/payment/online/checkout' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer {{clientToken}}' \
--header 'X-Nonce-Str: XAYZRZNLGCKSTURRFKBIGYALUKLCLJOG' \
--header 'X-Signature: sha256 RLHmhe9pvCnM6wbp2UcQcyyjBXKbVhlbshaZqUBdgxqdnbM6WsmQuQL1PwhsF6/uOxoXtoXaLIi18zN0IQp5MdxNSiq+6MPLZqmPpiWyJSXpzZsUVst43tKp+JZDF8AWXesrol5vj1RVbxOvCfnkmfghA83mlKc4scXIJkqXpFdyKcRmjT6Bsu9nlMh5IdyBSKv3goatgso/4IsEi8R220ZSHp2Ai//g9iKrKG3cgspM2Uj74ZXIrzt8IB+660btXyoanMuqgqirl1ulj59KciqLKqQMYoHfRywJTH0XLDtV1fQHO1FAECwmMd91Y63acnH3BOxo023tF7AXwNASsg==' \
--header 'X-Timestamp: 1547643342' \
--data-raw '{
"checkoutId": "1582438693268947023",
"method": "TNG_MY",
"type": "URL"
}'

Response Parameters#

ParameterTypeDescriptionExample
itemObjectObject of refund details.(Refer to explanation below)
codeStringStatus returned from Revenue Monster server, whether successfully called our endpoint or not."SUCCESS"

Item Object (item):
ParameterTypeDescriptionExample
typeStringURL or QRCODE"URL"
urlStringOnce you press this link it will redirect to the wallet."Url link show as below"

Example Response for URL

{
"item": {
"type": "URL",
"url": "https://m-sd.tngdigital.com.my/s/cashier/index.html?bizNo=20200223111212800110171545500353322&timestamp=1582439186517&merchantId=217120000000025910811&sign=ckm3a9WHOldNT7fBu7xABQepFPIw6S6A%252FUnsyR6md2W%252FKPekkn1PZw%252BfQeA2Sh8lOjLSHvcm5pjBAONdm%252FvmHaZx7KMqbcuqUTk1YRkrp8jqO7ZvlxW4q0kDR4g71GPnPX4wHHr%252FO967M9T9rT3vYTPmVl4sr18nOtjdTjZgv1zeVVzA2GRV7T8Y4V%252BvY7PX31mWrl4zVnIjlwA3s3OFX%252BKmR1WXvx2QjQaycW38TpLM8xqOSRL4UUW9Md6pG4fWA4zt3uR9fClTiPdJc680x2pXXUp0lATSS9kot37R7MzOUxDLGH9ay8HqVlU3qSb09zNNkw97YquAoeG65fDG8g%253D%253D"
},
"code": "SUCCESS"
}

Example Response for QR Code

{
"item": {
"qrcode": {
"base64Image": "iVBORw0KGgoAAAANSUhEUgAAAPoAAAD6CAYAAACI7Fo9AAAP3ElEQVR42u3d25MU1R3Acf+BPKUiF0HAZS+wLJdFkSDrjShIUEGNF5TyrtFY0UQqmlKJKaPyEITEBHgwiXlQU0ZiUCuawihSwQQvVFSEhYUVRUVg7jM7955fzjm9uzMDu8vO7uxMd8/3V9UFyvR0z0x/+pw+v3M5RQiC8HycwldAEEAnCALoBEEAnSAIoBMEAXSCIIBOEATQCYIoDbp/1mTXb0P9fJUOJ52LW2IkfncvXNdABzrQgQ50oAMd6EAHOtCBDnSgAx3oQAc60IEOdKAD3ZHQvf6Dj8S5jPSP6sULutLfixeua6ADHehABzrQgQ50oAMd6EAHOtCBDnSgAx3oQAc60IHuOuhuyYd7HV6lP3ulv08nFQxO7ecBdKADHehABzrQgQ50oAMd6EAHOtCBDnSgAx3oQAc60IFe4z+cW/sQuOWGC3SgAx3oQAc60IEOdKADHehABzrQgQ50oAMd6EAHOtCBDvSK5ryd9L04KQftpAA60IEOdKADHehABzrQgQ50oAMd6EAHOtCBDnSgAx3oQGcWWNfD8/pncEv/CS9c10AHOtCBDnSgAx3oQAc60IEOdKADHehABzrQgQ50oAPdkd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