-
Notifications
You must be signed in to change notification settings - Fork 1
How to get your credential
SnorSnor edited this page Oct 20, 2022
·
1 revision
Please sign in to the merchant portal first.
- https://sb-merchant.revenuemonster.my/ (Sandbox)
- https://merchant.revenuemonster.my/ (Production)
After sign in look the navigation bar on the left, under Developer
there is a option name Application
Press the New App
button locate at the top right corner.
Label & Save it.
And you will able to get you Client ID & Secret, remember to enable your application by press the toggle button on the top right corner.
And scroll the webpage down to bottom at the section RSA Key
press Generate
button.
You will get your Private Key
but before that copy Public Key
and scroll up ⬆️ and paste it to the Client public key
textbox and save it.
And here you are.
val config = Config(
clientID = "",
clientSecret = "",
privateKey = "",
sandbox = true
)
val auth = RevenueMonsterAuth(config).getAccessToken()
val sdk = RevenueMonsterSDK(auth)