NICEPAY API
API Version 2 (V2)
Authentication
10 min
authentication process authentication is an security procedure to recognize identity of a foreign request if identity is recognized by , then request can access in this case, first requires an key identity called merchantkey from your request so you can connect with without any obstacles apart from merchantkey , you are also required to send mandatory , namely merchanttoken merchant key keys are divided into two types, namely sandbox credentials and production credentials sandbox credentials if you want to test our first before carrying out with , please use following credentials provided below using imid ionpaytest imid is an identity or your id as a on imid that is only devoted to your usage will be given after you officially register as our to perform , please use imid ionpaytest and specific key in sandbox credentials 177,562,241 true unhandled content type unhandled content type unhandled content type unhandled content type the credentials above are provided for purposes only and will be made successful automatically (autopaid) production/live credentials 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 docid\ s2zo71iysoasepjtevvn7 here are steps to get merchantkey access your docid\ s2zo71iysoasepjtevvn7 dashboard a docid 0sj7jmnwelem0erwc5ho9 a docid\ nb vvz we7tfpvae q bw tab other scroll down to get your merchantkey don't forget to include imid according to registered imid for your when integrating with us merchant token merchanttoken uses by to proceed security authentication with this was created using sha 256 hashing method that includes s imid , merchantkey along with other variables needed here are details of token //generate merchanttoken// merchantdata = timestamp + imid + refno + amount + merchantkey; mertok = cryptojs sha256(merchantdata) tostring(cryptojs enc hex); sample merchantdata = 20221202101271 + ionpaytest + ordno 20221202101271 + 100000 + 33f49gncms1mfylgxisbudzvf2atwcl9k3r++d5hdd3frmuos/xlx8xhxpe+ldyabpgkzyswtlyylots/8ad7a== mertok = d7c10cfccd64fdb21836f4330bb23f9ed357bc4b02420399d48b4661b89a55a0 135 true unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type nicepay api url here's url you can use according to your needs this url must be requested via https protocol to connect with us 171,153,399 trueleft unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type payment method testing after you got all authentication requirements that can interact with our , please visit below to test with our s 228,513,193,145 true unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type see also docid\ gwko d7n1xnzuouj7xlvd to find out how to test by using postman docid\ ndxoeregy9jswxl7rgp9c to find out used sdk on