Query Status By Order ID

Method : GET
URL :https://open.revenuemonster.my/v3/payment/transaction/order/5fdb13b7e5f337f0332bdd59
Sandbox URL :https://sb-open.revenuemonster.my/v3/payment/transaction/order/5fdb13b7e5f337f0332bdd59

note

Get Payment Transaction By Order ID

Request Parameters#

note

No request parameter is required for this endpoint.

Response Parameters#

ParameterTypeDescriptionExample
itemObjectTransaction object(Refer to explanation below)
codeStringSuccessfully call this endpoint. If fail, will return error code object (Refer Appendix 1: Error Codes)"SUCCESS"

Transaction object (item):
ParameterTypeDescriptionExample
storeObjectStore object(Refer to explanation below)
referenceIdStringTransaction ID (from Payment server)"20201217211212800110171725600805232"
transactionIdStringTransaction ID (from RM server)"152161448229438994"
orderObjectOrder object(Refer to explanation below)
terminalIdStringTerminal ID""
payeeObjectObject of userID made payment (payment sender){"userId": "1000000806040489"}
currencyTypeStringCurrency Type"MYR"
balanceAmountUintIs Sales Amount - Refunded Amount1865
voucherObjectVouchernull
transactionAtDateTimeDate time of transaction"2018-03-21T06:41:22Z"
platformStringCurrently only support "OPEN_API""OPEN_API"
methodStringRM currently supported method"TNG"
typeStringCurrently only support "QUICKPAY" , "WEB_PAYMENT""WEB_PAYMENT"
statusStringStatus returned from server, "SUCCESS" or "IN_PROCESS" or "FAILED". "IN_PROCESS" means user scanned and making payment."SUCCESS"
regionStringRegion of wallet, "MALAYSIA" or "CHINA""MALAYSIA"
extraInfoObject(Refer to explanation below)
createdAtDateTimeCreation date time of transaction"2018-03-21T06:41:22Z"
updatedAtDateTimeLast update date time of transaction"2018-03-21T06:41:22Z"

Store object (store):
ParameterTypeDescriptionExample
idStringStore ID"2808912573238362402"
nameStringStore Name"REVENUE MONSTER"
imageUrlStringYes"https://storage.googleapis.com/rm-prod-asset/img/store.png"
addressLine1StringStore Address 1"B-5-30, 5th Floor, Block Bougainvillea,"
addressLine2StringStore Address 2"PJU 6A, Lebuhraya SPRINT, 10 Boulevard,"
postCodeStringPostcode of store"47400"
cityStringCity of store"Petaling Jaya"
stateStringState of store"Selangor"
countryStringCountry of store"Malaysia"
countryCodeStringCountry code of store contact number"60"
phoneNumberStringPhone number of store"377334080"
geoLocationObjectGeo Location (latitude and longtitude) of store{"latitude": 3.1349857, "latitude": 101.6136659 }
statusStringCurrent status of store"ACTIVE"
createdAtDateTimeCreation date time of store"2020-09-14T03:01:20Z"
updatedAtDateTimeLast update date time of store"2020-09-14T03:01:20Z"

Order object (order):
ParameterTypeDescriptionExample
idStringOrder ID (from Merchant)"134850717797247290"
titleStringOrder title"Sales"
detailsStringOrder details"1 x iPhone X; 2 x SAMSUNG S8"
amountUintAmount of order1865

ExtraInfo object (extraInfo):
ParameterTypeDescriptionExample
cardObject{}

Example Response

{
"item": {
"store": {
"id": "2808912573238362402",
"name": "One Utama",
"imageUrl": "https://storage.googleapis.com/rm-prod-asset/img/store.png",
"addressLine1": "1 UTAMA SHOPPING CENTRE, LEBUH BANDAR UTAMA, BANDAR UTAMA",
"addressLine2": "",
"postCode": "47800",
"city": "Petaling Jaya",
"state": "Selangor",
"country": "Malaysia",
"countryCode": "60",
"phoneNumber": "1123621544",
"geoLocation": {
"latitude": 3.1507599,
"longitude": 101.6154222
},
"status": "ACTIVE",
"createdAt": "2020-09-14T03:01:20Z",
"updatedAt": "2020-09-14T03:01:20Z"
},
"referenceId": "20201217211212800110171725600805232",
"transactionId": "201217081554300427519553",
"order": {
"id": "5fdb13b7e5f337f0332bdd59",
"title": "Pay to One Utama",
"detail": "",
"amount": 1865
},
"terminalId": "",
"payee": {
"userId": "1000000806083034"
},
"currencyType": "MYR",
"balanceAmount": 1865,
"voucher": null,
"platform": "OPEN_API",
"method": "TNG",
"transactionAt": "2020-12-17T08:16:05Z",
"type": "WEB_PAYMENT",
"status": "SUCCESS",
"region": "MALAYSIA",
"extraInfo": {
"card": {}
},
"createdAt": "2020-12-17T08:15:54Z",
"updatedAt": "2020-12-17T08:16:05Z"
},
"code": "SUCCESS"
}