Skip to main content

Create Merchant

Create a new merchant account under your Partner account. This endpoint submits merchant information for review. Once approved, the merchant can access RM services.

When to Use​

▾

Use this endpoint when:

  • A new merchant signs up through your platform
  • You need to programmatically create merchant accounts
  • You want to onboard merchants in bulk
note

This endpoint is for merchants with a Partner account. To activate a Partner account, contact us.

How to Use​

▾
Endpoint
POST/v3/partner/merchant

Step 1: Get Your Partner Credentials​

▾

Obtain your clientId and clientSecret from the RM Merchant Portal > Developer > Application.

Step 2: Prepare Merchant Information​

▾

Collect the required merchant details:

  • Company name
  • Country code and phone number
  • Email address
  • Contact person's first and last name

Step 3: Make the API Request​

▾

Send the merchant information to this endpoint with your authenticated headers.

Step 4: Review the Response​

▾

Check the code field in the response. If "SUCCESS", the merchant was created. The merchant and store objects will be returned.


Request Parameters​

▾
companyNameSTRINGrequired

Registered company name

Example: "Revenue Monster"

countryCodeSTRINGrequired

Country code for phone number (e.g., "60" for Malaysia)

Example: "60"

emailSTRINGrequired

Contact email address

Example: "[email protected]"

firstNameSTRINGrequired

Contact person's first name

Example: "Edwin"

lastNameSTRINGrequired

Contact person's last name

Example: "Testing"

phoneNumberSTRINGrequired

Contact phone number (without country code)

Example: "164699177"


Response Parameters​

▾
itemOBJECT

Contains merchant, store, and user objects

merchantOBJECT

Merchant details

idSTRING

Unique merchant ID

Example: "1629292083526787883"

companyNameSTRING

Registered company name

Example: "Revenue Monster"

brandNameSTRING

Brand name if different from company

Example: ""

shortNameSTRING

Short name / alias for the merchant

Example: ""

companyTypeSTRING

Type of company incorporation

Example: ""

companyLogoUrlSTRING

Public URL for company logo

Example: "https://storage.googleapis.com/rm-sandbox-asset/img/merchant.png"

registrationNumberSTRING

Company registration number

Example: ""

businessCategorySTRING

Business category

Example: ""

businessScopeSTRING

Scope of business activities

Example: ""

sourceOfFundsSTRING

Source of the merchant's funds

Example: ""

customerOriginSTRING

Origin/channel of the merchant's customers

Example: ""

websiteUrlSTRING

Merchant's website URL

Example: ""

establishedAtDATETIME

Established date time of the company

Example: "0001-01-01T00:00:00Z"

countryCodeSTRING

Country code for contact

Example: "60"

phoneNumberSTRING

Contact phone number

Example: ""

addressLine1STRING

Street address line 1

Example: ""

addressLine2STRING

Street address line 2

Example: ""

citySTRING

City

Example: ""

stateSTRING

State/Province

Example: ""

postcodeSTRING

Postal/ZIP code

Example: ""

countrySTRING

Country

Example: ""

invoiceAddressOBJECT

Merchant's invoice/billing address

addressLine1STRING

Invoice address line 1

Example: ""

addressLine2STRING

Invoice address line 2

Example: ""

postcodeSTRING

Invoice address postcode

Example: ""

citySTRING

Invoice address city

Example: ""

stateSTRING

Invoice address state

Example: ""

countrySTRING

Invoice address country

Example: ""

isActiveBOOLEAN

Whether the merchant account is active

Example: true

statusSTRING

Merchant status (e.g., "UNVERIFIED", "REVIEWING", "ACTIVE")

Example: "UNVERIFIED"

isMasterMerchantBOOLEAN

Whether this merchant is a master merchant

Example: false

masterMerchantIdSTRING

Master merchant ID, if any

Example: ""

isPartnerBOOLEAN

Whether this is a partner merchant

Example: true

partnerIdSTRING

Partner ID if applicable

Example: ""

gstNoSTRING

GST registration number, if any

Example: ""

paymentSubscriptionSTRING

Payment subscription plan

Example: ""

subscriptionOBJECT

Subscription flags

terminalOfflineEWalletBOOLEAN

Offline e-wallet terminal enabled

Example: false

terminalOfflineCreditCardBOOLEAN

Offline credit card terminal enabled

Example: false

onlineCreditCardBOOLEAN

Online credit card enabled

Example: false

onlineCreditCardWhitelistCountriesARRAY

Countries whitelisted for online credit card payment

Example: []

partialRefundBOOLEAN

Partial refund enabled

Example: false

smsOpenApiBOOLEAN

SMS Open API enabled

Example: false

recurringPaymentsBOOLEAN

Recurring payments enabled

Example: false

tokenizedPaymentsBOOLEAN

Tokenized payments enabled

Example: false

merchantWalletBOOLEAN

Merchant wallet enabled

Example: false

vopApiBOOLEAN

VOP API enabled

Example: false

registrationSourceSTRING

Channel through which the merchant registered

Example: "OPEN_API"

createdAtDATETIME

Account creation timestamp

Example: "2021-08-18T13:08:03.530Z"

updatedAtDATETIME

Last update timestamp

Example: "2021-08-18T13:08:03.530Z"

storeOBJECT

Store details

idSTRING

Unique store ID

Example: "1629292083696729288"

merchantSettlementIdSTRING

Merchant settlement ID

Example: ""

nameSTRING

Store name

Example: "Revenue Monster"

imageUrlSTRING

Store image URL

Example: "https://storage.googleapis.com/rm-prod-asset/img/store.png"

addressLine1STRING

Street address line 1

Example: ""

addressLine2STRING

Street address line 2

Example: ""

postCodeSTRING

Postal code

Example: ""

citySTRING

City

Example: ""

stateSTRING

State

Example: ""

countrySTRING

Country

Example: ""

countryCodeSTRING

Country code

Example: ""

phoneNumberSTRING

Store phone number

Example: ""

geoLocationOBJECT

Latitude and longitude

latitudeNUMBER

Latitude

Example: 0

longitudeNUMBER

Longitude

Example: 0

statusSTRING

Store status ("ACTIVE", "INACTIVE")

Example: "ACTIVE"

createdAtDATETIME

Creation timestamp

Example: "2021-08-18T13:08:03.535Z"

updatedAtDATETIME

Last update timestamp

Example: "2021-08-18T13:08:03.535Z"

userOBJECT

User details

idSTRING

Unique user ID

Example: "1629292083650514742"

firstNameSTRING

User's first name

Example: "EDWIN"

lastNameSTRING

User's last name

Example: "TESTING"

countryCodeSTRING

Country code

Example: "60"

phoneNumberSTRING

Phone number

Example: "164699177"

emailSTRING

Email address

Example: "[email protected]"

avatarUrlSTRING

Avatar image URL

Example: "https://storage.googleapis.com/rm-sandbox-asset/img/avatar.png"

statusSTRING

User status ("ACTIVE", "INACTIVE")

Example: "ACTIVE"

settlementAccountIdARRAY

Settlement account IDs linked to the user

Example: []

storeIdARRAY

Store IDs the user has access to

Example: []

isActiveBOOLEAN

Whether user is active

Example: true

currentStoreIdSTRING

Current store ID

Example: ""

merchantIdSTRING

Merchant ID the user belongs to

Example: "1629292083526787883"

createdAtDATETIME

Creation timestamp

Example: "2021-08-18T13:08:03.537Z"

updatedAtDATETIME

Last update timestamp

Example: "2021-08-18T13:08:03.537Z"

codeSTRING

"SUCCESS" if the merchant was created. Otherwise returns an error code.

Example: "SUCCESS"