Skip to main content

Query Transaction

ProTips
  1. Transaction ID is an identifier generated by Revenue Monster.
  2. Reference ID is an identifer generated by Payment Provider, which will generated by the customer's selected payment provider.
  3. Order ID is an identifier generated by Payment Initiator. It will be set by when payment been initiated such as from OpenAPI, Mobile App, Terminal, Recurring Payment.

You should always store either Transaction ID or Order ID for transaction querying.

Query By Order ID

Method : GET
URL : https://open.revenuemonster.my/v3/payment/transaction/order/{id}
Sandbox URL : https://sb-open.revenuemonster.my/v3/payment/transaction/order/{id}

Request Parameters

ParameterTypeValidationRequiredDescription
idParamYesOrder ID

Response Parameters

ParameterTypeValidationDescription
itemJSONTransaction ObjectTransaction response
codeStringENUM("SUCCESS")Determine request have success
error.codeStringError code
error.messageStringError message
error.debugStringDebug message ( sandbox only )

Query By Transaction ID

Method : GET
URL : https://open.revenuemonster.my/v3/payment/transaction/{id}
Sandbox URL : https://sb-open.revenuemonster.my/v3/payment/transaction/{id}

Request Parameters

ParameterTypeValidationRequiredDescription
idParamYesTransaction ID

Response Parameters

ParameterTypeValidationDescription
itemJSONTransaction ObjectTransaction response
codeStringENUM("SUCCESS")Determine request have success
error.codeStringError code
error.messageStringError message
error.debugStringDebug message ( sandbox only )

Get All Transactions

Method : GET
URL :https://open.revenuemonster.my/v3/payment/transactions
Sandbox URL :https://sb-open.revenuemonster.my/v3/payment/transactions
URL with limit : https://sb-open.revenuemonster.my/v3/payment/transactions?limit=1

Request Parameters

ParameterTypeValidationRequiredDescription
limitQueryParamNoTransaction search limit

Response Parameters

ParameterTypeValidationDescription
itemsJSONArrayArray of Transaction ObjectList of transaction response
codeStringENUM("SUCCESS")Determine request have success
error.codeStringError code
error.messageStringError message
error.debugStringDebug message ( sandbox only )

Transaction Object

ParameterTypeValidationRequiredDescription
storeJSONTransaction Object: StoreNoStore details
referenceIdStringNoReference ID
transactionIdStringYesTransaction ID
terminalIdStringNoTerminal ID
currencyTypeStringENUM("MYR")YesCurrency Type ( currently supported MYR only)
balanceAmountUint64YesRemaining balance amount for initiate refund
finalAmountUint64YesAmount after all deductions ( voucher, membership)
platformStringENUM("TERMINAL", "MOBILE_APP", "OPEN_API", "WEB_LOYALTY")YesTransaction platform
typeStringAppendix: TypeYesTransaction type
methodStringAppendix: MethodYesTransaction payment method
regionStringAppendix: RegionYesTransaction pament region
statusStringAppendix: StatusYesTransaction payment status
sourceStringENUM("RECURRING", "ALACARTE")Yes(Internal) Determine initiator source
transactionAtStringRFC3339NoTransaction payment date time ( exists only when SUCCESS )
createdAtStringRFC3339YesTransaction created date time
updatedAtStringRFC3339YesTransaction last updated date time
error.messageStringNoTransaction error message ( exists only when FAIELD )
payee.userIdStringNoPayment provider user id
payee.subUserIdStringNoPayment provider sub user id
order.idStringYesOrder ID
order.titleStringLength(32)YesOrder Title
order.currencyTypeStringENUM("MYR")YesOrder Currency Type ( currently supported MYR only)
order.amountUint64YesOrder Amount
order.detailStringLength(600)NoOrder Detail
order.additionalDataStringLength(128)NoOrder Additional Data
voucher.keyStringNo(Internal) Determine have any vouchers
voucher.discountAmountUint64NoTotal discounted amount from all voucher deductions
voucher.walletJSONTransaction Object: Payment Provider Discount InfoNoPayment provider discount info
voucher.membershipJSONTransaction Object: Membership Discount InfoNoMembership discount info
extendInfo.buyNowPayLaterJSONTransaction Object: BuyNowPayLaterNoBNPL transaction info
extendInfo.inHousePromoJSONTransaction Object: In House PromotionNo(Internal) In house promotion
extraInfo.cardJSONTransaction Object: Card PaymentNoCard payment info
extraInfo.onlineBankingJSONTransaction Object: Online BankingNoFPX online banking transaction info
extraInfo.loyaltyJSONTransaction Object: Spending LoyaltyNoSpending loyalty info
Example Transaction
{
"referenceId": "230522162302AC0570UM",
"transactionId": "230522082259300426500551",
"order": {
"id": "1684743768790895",
"title": "Demo",
"detail": "Demo",
"additionalData": "Demo",
"amount": 120
},
"terminalId": "",
"payee": {
"userId": "",
"subUserId": ""
},
"currencyType": "MYR",
"balanceAmount": 120,
"finalAmount": 120,
"voucher": null,
"platform": "OPEN_API",
"method": "GOBIZ",
"transactionAt": "2023-05-22T08:23:02Z",
"type": "WEB_PAYMENT",
"status": "SUCCESS",
"region": "MALAYSIA",
"source": "",
"createdAt": "2023-05-22T08:23:02Z",
"updatedAt": "2023-05-22T08:23:11Z"
}

Store

ParameterTypeValidationRequiredDescription
idStringYesStore id
nameStringNoStore name
imageUrlStringNoStore image url
addressLine1StringNoStore address line 1
addressLine2StringNoStore address line 2
postCodeStringNoStore postal code
cityStringNoStore city
stateStringNoStore state
countryStringNoStore country
countryCodeStringNoStore country code of phone number
phoneNumberStringNoStore phone number
geoLocation.latitudeFloat64NoStore latitude
geoLocation.longitudeFloat64NoStore longitude
statusStringStore status
createdAtStringRFC3339Store created time
updatedAtStringRFC3339Store last updated time
Example
{
"id": "10946114768247530",
"name": "Utropolis",
"imageUrl": "https://storage.googleapis.com/rm-sandbox-asset/img/store.png",
"addressLine1": "UTROPOLIS GLENMARIE, JALAN KONTRAKTOR U1/14, HICOM-GLENMARIE INDUSTRIAL PARK",
"addressLine2": "UTROPOLIS GLENMARIE, JALAN KONTRAKTOR U1/14, HICOM-GLENMARIE INDUSTRIAL PARK",
"postCode": "40150",
"city": "Shah Alam",
"state": "Selangor",
"country": "Malaysia",
"countryCode": "60",
"phoneNumber": "1123621544",
"geoLocation": {
"latitude": 3.091198,
"longitude": 101.5588264
},
"status": "ACTIVE",
"createdAt": "2020-12-18T11:17:51Z",
"updatedAt": "2023-04-07T06:35:57Z"
}

BuyNowPayLater ( BNPL )

ParameterTypeValidationRequiredDescription
isBuyNowPayLaterboolNoDetermine wether is buy now pay later transaction
installmentMonthUint64NoHow many month selected for BNPL transaction
Example
{
"isBuyNowPayLater": true,
"installmentMonth": 3
}

Online Banking ( FPX )

ParameterTypeValidationRequiredDescription
buyerNameStringNoFPX Buyer Name
bankIDStringNoFPX Bank ID
Example
{
"buyerName": "",
"bankId": "TEST0021"
}

Card Payment

ParameterTypeValidationRequiredDescription
cardType.brandStringNoCard brand
cardType.typeStringNoCard type
cardType.issuerStringNoCard issuer
cardType.alpha2StringISO3166NoCard country in alpha2 code
cardType.alpha3StringISO3166NoCard country in alpha3 code
cardType.countryStringNoCard country full name
providerStringENUM("SC","GOBIZ", "PAYDEE")No(Internal) Determine from which card provider
isTokenizationboolNoDetermine payment using token or PAN
tokenStringNoToken used for payment
maskNoStringLength(4)NoMasked PAN, last four digits
inputTypeStringENUM("MAG", "IC", "NFC")NoCard input type
referenceIdStringNoCard transaction reference number
secondaryReferenceIdStringNoCard transaction invoice number
domainStringNoOnline card payment domain
Example ( Online Payment )
{
"isTokenization": true,
"token": "8814223001082177022",
"domain": "revenuemonster.my",
"maskNo": "XXXX-XXXX-XXXX-2354"
}
Example ( Offline Payment )
{
"cardType": {
"brand": "VISA",
"type": "CREDIT",
"issuer": "WASHINGTON MUTUAL",
"alpha2": "US",
"alpha3": "USA",
"country": "United States"
},
"provider": "SC",
"maskNo": "XXXX-XXXX-XXXX-2354",
"inputType": "NFC",
"referenceId": "313110000027",
"secondaryReferenceId": "000027"
}

Spending Loyalty

Printing Spending Loyalty QR

If you're using QRCODE mode when doing payment, you will receive this object in transaction response. So when receipt printing you can print the qrcode parameters as the qrcode content and customer will able to scan and retrieve the points.

ParameterTypeValidationRequiredDescription
codeStringNoSpending loyalty code
qrcodeStringNoSpending loyalty qrcode content
idStringNoSpending loyalty id
Example
{
"id": "EhQKCE1lcmNoYW50EJXVzd3wraqTORIhChVMb3lhbHR5U3BlbmRpbmdSZXdhcmQQ-qf65Pa6p_kV",
"code": "6ebd1a92c03e7a62580eac7b013c97e8",
"qrcode": "http://api.local.rm:8080/qr/4118165203679668885/loyalty/6ebd1a92c03e7a62580eac7b013c97e8"
}

Payment Provider Discount Info

ParameterTypeValidationRequiredDescription
salesAmountUint64NoOriginal sales amount
discountAmountUint64NoPayment provider discount amount
grossAmountUint64NoSales amount after discount amount
Example
{
"grossAmount": 1875,
"salesAmount": 2500,
"discountAmount": 625
}

Membership Discount Info

ParameterTypeValidationRequiredDescription
memberIdStringNoMembership Member ID
voucherIdStringNoMembership Voucher ID
discountAmountUint64NoMembership Discount Amount
Example
{
"memberId": "28159426363267580029",
"voucherId": "EhQKCE1lcmNoYW50EJXVzd3wraqTORIhChVMb3lhbHR5U3BlbmRpbmdSZXdhcmQQ-qf65Pa6p_kV",
"discountAmount": 10,
}

(Internal) Inhouse Promotion

ParameterTypeValidationRequiredDescription
amountUint64No(Internal) Inhosue promo total amount
info[*].labelStringNo(Internal) Inhouse promo info label
info[*].uniqueIDStringNo(Internal) Inhouse promo unique id
info[*].sourceStringNo(Internal) Inhouse promo info source
info[*].amountStringNo(Internal) Inhouse promo info amount
Example
{
"amount": 25,
"info": [
{
"label": "SMO Campaign",
"amount": 25,
"source": "ALACARTE",
"uniqueID": "ABC-4"
}
]
}

Appendix

Transaction Type

ValueDescription
QUICK_PAYQuickPay transaction
RETAIL_QRPAY(Coming-Soon): Offline RetailQR
BANK_CARDTerminal card transaction
WEB_PAYMENTWeb payment checkout
WEB_MOBILE_PAYMENTH5/Mobile payment checkout
MINI_PROGRAMMiniprogram checkout
RECURRING_PAYMENTRecurring payment transaction
QR_PAY(Deprecated) Platform Specific QR Payment transaction
MOBILE_PAYMENT(Deprecated) Now known as "WEB_MOBILE_PAYMENT"

Transaction Status

ValueDescription
SUCCESSSuccess transaction
FAILEDFailed transaction
IN_PROCESSTransaction in process
FULL_REFUNDEDTransaction fully refunded
PARTIAL_REFUNDEDTransaction partial refunded
REVERSEDTransaction reversed, when timeout our system will initiate reverse automatically

Transaction Method & Region

caution

For online payment checkout you will need to append region name to system method. Example malaysia will be 'MY' and full method name will be 'ALIPAYPLUS_MY'

MethodRegionDescription
WECHATPAYMALAYSIAQuick Pay: ❌
Web Payment: ✅
Web Mobile/Mobile Payment: ✅
Checkout By URL: ❌
Checkout By QRCode: ✅
Retail QRPay: ❌
WECHATPAYCHINAQuick Pay: ✅
Web Payment: ✅
Web Mobile/Mobile Payment: ✅
Checkout By URL: ❌
Checkout By QRCode: ✅
Retail QRPay: ❌
ALIPAYCHINAQuick Pay: ✅
Web Payment: ✅
Web Mobile/Mobile Payment: ✅
Checkout By URL: ✅
Checkout By QRCode: ❌
Retail QRPay: ❌
ALIPAYPLUSMALAYSIAQuick Pay: ❌
Web Payment: ✅
Web Mobile/Mobile Payment: ✅
Checkout By URL: ✅
Checkout By QRCode: ❌
Retail QRPay: ❌
TNGMALAYSIAQuick Pay: ❌
Web Payment: ✅
Web Mobile/Mobile Payment: ✅
Checkout By URL: ✅
Checkout By QRCode: ❌
Retail QRPay: ❌
BOOSTMALAYSIAQuick Pay: ✅
Web Payment: ✅
Web Mobile/Mobile Payment: ✅
Checkout By URL: ✅
Checkout By QRCode: ✅
Retail QRPay: ❌
PRESTOMALAYSIAQuick Pay: ✅
Web Payment: ✅
Web Mobile/Mobile Payment: ✅
Checkout By URL: ✅
Checkout By QRCode: ✅
Retail QRPay: ❌
MAYBANKMALAYSIAQuick Pay: ✅
Web Payment: ✅
Web Mobile/Mobile Payment: ❌
Checkout By URL: ❌
Checkout By QRCode: ✅
Retail QRPay: ❌
GRABPAYMALAYSIAQuick Pay: ✅
Web Payment: ✅
Web Mobile/Mobile Payment: ✅
Checkout By URL: ✅
Checkout By QRCode: ❌
Retail QRPay: ❌
SHOPEEPAYMALAYSIAQuick Pay: ✅
Web Payment: ✅
Web Mobile/Mobile Payment: ✅
Checkout By URL: ✅
Checkout By QRCode: ✅
Retail QRPay: ❌
ZAPPMALAYSIAQuick Pay: ✅
Web Payment: ✅
Web Mobile/Mobile Payment: ✅
Checkout By URL: ✅
Checkout By QRCode: ❌
Retail QRPay: ❌
MCASHMALAYSIAQuick Pay: ✅
Web Payment: ✅
Web Mobile/Mobile Payment: ✅
Checkout By URL: ✅
Checkout By QRCode: ✅
Retail QRPay: ❌
BINFINITEMALAYSIAQuick Pay: ❌
Web Payment: ✅
Web Mobile/Mobile Payment: ❌
Checkout By URL: ❌
Checkout By QRCode: ✅
Retail QRPay: ❌
FPXMALAYSIAQuick Pay: ❌
Web Payment: ✅
Web Mobile/Mobile Payment: ✅
Checkout By URL: ✅
Checkout By QRCode: ❌
Retail QRPay: ❌
PAYDEEMALAYSIAQuick Pay: ❌
Web Payment: ✅
Web Mobile/Mobile Payment: ✅
Checkout By URL: ✅
Checkout By QRCode: ❌
Retail QRPay: ❌
FAVEPAYMALAYSIAQuick Pay: ✅
Web Payment: ✅
Web Mobile/Mobile Payment: ❌
Checkout By URL: ❌
Checkout By QRCode: ✅
Retail QRPay: ❌
SARAWAKPAYMALAYSIAQuick Pay: ✅
Web Payment: ✅
Web Mobile/Mobile Payment: ✅
Checkout By URL: ✅
Checkout By QRCode: ✅
Retail QRPay: ❌
GOBIZMALAYSIAQuick Pay: ❌
Web Payment: ✅
Web Mobile/Mobile Payment: ✅
Checkout By URL: ✅
Checkout By QRCode: ❌
Retail QRPay: ❌
ATOMEMALAYSIAQuick Pay: ✅
Web Payment: ✅
Web Mobile/Mobile Payment: ✅
Checkout By URL: ✅
Checkout By QRCode: ❌
Retail QRPay: ❌
IOUPAYMALAYSIAQuick Pay: ✅
Web Payment: ✅
Web Mobile/Mobile Payment: ✅
Checkout By URL: ✅
Checkout By QRCode: ❌
Retail QRPay: ❌
SPLITMALAYSIAQuick Pay: ❌
Web Payment: ✅
Web Mobile/Mobile Payment: ❌
Checkout By URL: ❌
Checkout By QRCode: ❌
Retail QRPay: ❌
SENHENGPAYMALAYSIAQuick Pay: ❌
Web Payment: ✅
Web Mobile/Mobile Payment: ✅
Checkout By URL: ✅
Checkout By QRCode: ❌
Retail QRPay: ❌
LAZADAMALAYSIAQuick Pay: ❌
Web Payment: ❌
Web Mobile/Mobile Payment: ❌
Checkout By URL: ❌
Checkout By QRCode: ❌
Retail QRPay: ❌
NETSPAYSINGAPOREQuick Pay: ❌
Web Payment: ✅
Web Mobile/Mobile Payment: ❌
Checkout By URL: ❌
Checkout By QRCode: ✅
Retail QRPay: ✅
SETELMALAYSIAQuick Pay: ✅
Web Payment: ✅
Web Mobile/Mobile Payment: ✅
Checkout By URL: ✅
Checkout By QRCode: ❌
Retail QRPay: ❌
TRUEMONEYMALAYSIAQuick Pay: ✅
Web Payment: ❌
Web Mobile/Mobile Payment: ❌
Checkout By URL: ❌
Checkout By QRCode: ❌
Retail QRPay: ❌
HOOLAHMALAYSIAQuick Pay: ❌
Web Payment: ✅
Web Mobile/Mobile Payment: ✅
Checkout By URL: ✅
Checkout By QRCode: ❌
Retail QRPay: ❌
GOPAYZMALAYSIAQuick Pay: ❌
Web Payment: ✅
Web Mobile/Mobile Payment: ✅
Checkout By URL: ✅
Checkout By QRCode: ❌
Retail QRPay: ❌