Skip to main content

Merchants Info

Method : GET
URL : https://open.revenuemonster.my/v3/partner/merchants
Sandbox URL : https://sb-open.revenuemonster.my/v3/partner/merchants

note

Get Merchants Info

Request Parameters

Example Request

curl --location --request GET "https://sb-open.revenuemonster.my/v3/partner/merchants" \
--header "Content-Type: application/json" \
--header "Authorization: Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6IjIwMTgtMy0xOCIsInR5cCI6IkpXVCJ9.eyJhdWQiOlsiYXBpX2NsaWVudEBFaGNLQzA5QmRYUm9RMnhwWlc1MEVQZUEyYXJ4dk1PSUZnIl0sImV4cCI6MTU5MzU4MDY0NSwiaWF0IjoxNTkwOTg4NjQ1LCJpc3MiOiJodHRwczovL29hdXRoLnJldmVudWVtb25zdGVyLm15IiwianRpIjoiRWh3S0VFOUJkWFJvUVdOalpYTnpWRzlyWlc0UXMtNnI5LVgzbElvVyIsIm5iZiI6MTU5MDk4ODY0NSwic3ViIjoiRWhRS0NFMWxjbU5vWVc1MEVMUF9wNlNKNnFQN0ZSSVFDZ1JWYzJWeUVPaXZfb1dKNnFQN0ZRIn0.RKtXykw3y0ov3mKKa_K2h5FZB2jXtqf3gNRwwnzzA4xTMdY09mEHlFupMeUmchFW2XHYK254LdMYbF4ZhjxK9K51UUdQBYH-zZpo0WWtPSZqrPGtT-c4z_sEO73EDVcek3rDwyWiXvjSKDpsZM7NOdKRm5tvT3qNK-7C7WMUjSXDcBzbTFhwfOAOO1n-wMR9H_w0DuIE-yMjEZkOdt7GUIBC8F5izATlZH0FRTx4VAwQWY4gjjQ9-3PbUbHx-NKiFXwCOAsxu-79PiF0HDEHb6ZOCGywNmKuanEXqLonli0caZiUZfrdT53y3Xnd3W2SEr6s7ZQxWnQO5PeOU7BQYA" \
--header "X-Signature: sha256 bFGc2JOEFqdI91DE5VXYBUllr+9DHcrrylRFU3i1r72aPmJreljn0dU+nwPSwTH/dTQUiZ9C2aQSF8AuT959EW4WEyEZ6VWgt9gCyZaU/bcOQ/ZIhKc06+uwzivVhAzpbUtG5tm5/sBp4ig6Sk7L6SE0Ecu6Tm0FhYl0qdgZvrTh4EEpLs3kHIuYL9QXKJILfKlu4gTX1Exrt7nNyEr8ndeUMaKYrj3FckMbRtmCwc829SsVp6FAgvoDPnguUJ+VjLF1e9NXhar2JwYjuqMkwsmUWRDbittqCgCCfaPF8anarlLsoXbdYEa7bp9BYp2U/Dw3Xd2MlamEZSR8H+Dosw==" \
--header "X-Nonce-Str: VYNknZohxwicZMaWbNdBKUrnrxDtaRhN" \
--header "X-Timestamp: 1528450585" \

Response Parameters

ParameterTypeDescriptionExample
itemObject[](Refer to explanation below)
codeStringSuccessfully call this endpoint. If fail, will return error code object (Refer Appendix 1: Error Codes)"SUCCESS"
metaObject{}

Merchant Info (item):
ParameterTypeDescriptionExample
idStringStore ID"6170506694335521334"
companyNameStringCompany name of merchant"REVENUE MONSTER"
brandNameStringBrand name of merchant"REVENUE MONSTER"
companyTypeStringType of company incorporation"SOLE PROPRIETOR"
companyLogoUrlStringPublic URL to show merchant's logo"https://storage.googleapis.com/rm-dev-asset/img/merchant.png"
registrationNumberStringRegistration number of merchant“12344”
businessCategoryStringBusiness category of merchant"SOFTWARE AND IT"
businessScopeStringBusiness category of merchant"SOFTWARE AND IT"
sourceOfFundsStringBusiness category of merchant"SOFTWARE AND IT"
customerOriginStringBusiness category of merchant"SOFTWARE AND IT"
websiteUrlStringBusiness category of merchant"SOFTWARE AND IT"
establishedAtDateTimeEstablished date time of merchant"2018-03-26T04:50:57Z"
countryCodeStringCountry code of merchant contact number"60"
phoneNumberStringPhone number of merchant"377334080"
addressLine1StringAddress 1 of merchant"20, JALAN JASA 38, TAMAN MUTIARA RINI"
addressLine2StringAddress 2 of merchant""
postcodeStringPostcode of merchant“81300”
cityStringCity of merchant"Selangor"
stateStringState of merchant"Selangor"
countryStringCountry of merchant"Malaysia"
invoiceAddressObjectObject of Invoice Address(Refer below)
isActiveBooleanMerchant active or deactivated statustrue
statusStringCurrent status of merchant“REVIEWING”
isMasterMerchantBoolMaster Merchant flagtrue
masterMerchantIdStringMaster Merchant ID, if any"2301663653361832803"
isPartnerBoolPartner Merchant flagtrue
partnerIdStringPartner Merchant ID, if any"2301663653361832803"
gstNoStringGST No, if any""
paymentSubscriptionString""
subscriptionObjectRefer Below
registrationSourceStringRegister From"OPEN_API"
createdAtDateTimeCreation date time of merchant"2018-02-12T08:53:13Z"
updatedAtDateTimeLast update date time of merchant"2018-02-12T08:53:13Z"

Subscription object :
ParameterTypeDescriptionExample
terminalOfflineEWalletBoolfalse
terminalOfflineCreditCardBoolfalse
onlineCreditCardBoolfalse

Example Response

{
"items": [
{
"id": "1629258448138509563",
"companyName": "Ed Testing",
"brandName": "",
"companyType": "",
"companyLogoUrl": "https://storage.googleapis.com/rm-sandbox-asset/img/merchant.png",
"registrationNumber": "",
"businessCategory": "",
"businessScope": "",
"sourceOfFunds": "",
"customerOrigin": "",
"websiteUrl": "",
"establishedAt": "0001-01-01T00:00:00Z",
"countryCode": "60",
"phoneNumber": "164699197",
"addressLine1": "",
"addressLine2": "",
"postcode": "",
"city": "",
"state": "",
"country": "",
"invoiceAddress": null,
"isActive": true,
"status": "REVIEWING",
"isMasterMerchant": false,
"masterMerchantId": "",
"isPartner": true,
"partnerId": "1629257189967895215",
"gstNo": "",
"extraInfo": {
"contactInfo": [],
"businessHour": []
},
"paymentSubscription": "",
"subscription": {
"terminalOfflineEWallet": false,
"terminalOfflineCreditCard": false,
"onlineCreditCard": false
},
"registrationSource": "OPEN_API",
"createdAt": "2021-08-18T03:47:28Z",
"updatedAt": "2021-08-18T03:47:28Z"
}
],
"code": "SUCCESS",
"meta": {}
}