NICEPAY API
...
API E-Wallet
Notification - API E-Wallet
7 min
about api e wallet notification provides push s via dbprocessurl the needs to reassure there is no blacklist ip and should whitelist ip to get push only from server request method post post merchant token sha256 ( imid + txid + amt + merchantkey ) ip ip public environtment production 103 20 51 34 103 20 51 33 ip public environtment dev 103 20 51 39 103 20 51 40 user agent user agent jakarta commons httpclient/3 1 notification parameter e wallet notification when your dbprocessurl received a , strongly recommend to verify using docid\ tegpdwiwlqpwiik9vv3r4 parameter type size description example / notes merchanttoken an 255 token f6199198b16b5197afac725f110441bd19a8d8bc4a58830cd9abb544729948ea txid n 30 transaction id ionpaytest05202212141556331691 referenceno ans 40 order number referenceno=ord20221214151221 paymethod n 2 docid\ ek 0djw7nuhytcda4sa3p 05 transdt n 8 transaction date 20221214 transtm n 6 transaction time 155913 currency a 3 currency idr goodsnm an 100 goods name testing billingnm a 100 billing name john doe matchcl n 1 flag docid yqqe4ju5bjurdxkxdtho 1 status a 1 deposit status docid\ qahrf3q4g85njtqxmwfyk 0 deposit 1 reversal 0 additional parameter for others payment method notification parameter type size description mitracd a 4 docid 0upx1lyg1o2f4biu3ssp payno n 12 number payvaliddt n 8 expiry date ( yyyymmdd ) payvalidtm n 6 expiry time ( hh24miss ) receiptcode ans 20 authorization number mrefno an 18 reference number depositdt n 8 deposit date ( yyyymmdd ) deposittm n 6 deposit time ( hh24miss ) the token received by notification endpoint must compare internally to prevent fake/invalid s 💡example case for example, you have a merchantkey that is used to generate a token, which is 1234 when merchanttoken generated by is known, it is abcd , while merchanttoken obtained in is abdd then is considered fake/invalid sample for e wallet notification sample post for e wallet notification merchanttoken=f6199198b16b5197afac725f110441bd19a8d8bc4a58830cd9abb544729948ea goodsnm=testing referenceno=ord20221214151221 mitracd=ovoe transtm=155913 txid=ionpaytest05202212141556331691 amt=10000 billingnm=john doe matchcl=1 paymethod=05 currency=idr transdt=20221214 status=0