NICEPAY API
API Version 2 (V2)
Authentication
10min
iMid (Merchant ID) | IONPAYTEST (AutoPaid) |
---|---|
merchantKey | 33F49GnCMS1mFYlGXisbUDzVf2ATWCl9k3R++d5hDd3Frmuos/XLx8XhXpe+LDYAbpGKZYSwtlyyLOtS/8aD7A== |
If you are already registered as a and want to perform stage with real s, you can view merchantKey that we specifically created with your iMid in portal Merchant Back Office.
- Scroll down to get your merchantKey.

Panduan Melihat M_KEY / Merchant Key
JS
1//Generate merchantToken//
2merchantData = timeStamp + iMid + refNo + amount + merchantKey;
3merTok = CryptoJS.SHA256(merchantData).toString(CryptoJS.enc.Hex);
4
5Sample:
6
7merchantData = 20221202101271 + IONPAYTEST + OrdNo-20221202101271 + 100000 + 33F49GnCMS1mFYlGXisbUDzVf2ATWCl9k3R++d5hDd3Frmuos/XLx8XhXpe+LDYAbpGKZYSwtlyyLOtS/8aD7A==
8merTok = d7c10cfccd64fdb21836f4330bb23f9ed357bc4b02420399d48b4661b89a55a0
Environment | Protocol | Base URL |
---|---|---|
Development | https | https://dev.nicepay.co.id/ |
Staging | https | https://staging.nicepay.co.id/ |
Production | https | https://www.nicepay.co.id/ |
Payment Method | Credential |
---|---|
Credit Card | |
Virtual Account | |
Convenience Store | |
Direct Debit | |
E-Wallet | |
Payloan | |
GPN | |
QRIS | |
Payout |
Postman Collection to find out how to test by using Postman.
NICEPAY Library to find out used SDK on .
Updated 20 Aug 2024
Did this page help you?