NICEPAY API
...
Payment API
API E-Wallet
Notification - API E-Wallet
7 min
tentang api e wallet notification {{nicepay}} mengirimkan push notification {{yang}} dikirim melalui dbprocessurl {{merchant}} {{merchant}} harus memastikan tidak melakukan blacklist ip {{nicepay}} dan melakukan whitelist ip {{nicepay}} untuk mendapatkan push notification {{yang}} hanya dikirim dari server {{nicepay}} request method post post merchant token sha256 ( imid + txid + amt + merchantkey ) ip 103 20 51 0/24 103 117 8 0/24 user agent user agent jakarta commons httpclient/3 1 notification parameter e wallet notification ketika {{notifikasi}} diterima pada dbprocessurl {{anda}} , kami sangat menyarankan {{merchant}} untuk melakukan verifikasi {{notifikasi}} kembali dengan menggunakan status inquiry api e wallet docid s9ys jjpqyzt9varbhsb parameter tipe ukuran deskripsi contoh / catatan merchanttoken an 255 {{merchant}} token f6199198b16b5197afac725f110441bd19a8d8bc4a58830cd9abb544729948ea txid n 30 transaction id ionpaytest05202212141556331691 referenceno ans 40 {{merchant}} order number referenceno=ord20221214151221 paymethod n 2 payment method code docid\ iifmsruuw7j9vmwefjz97 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 {{paymentproduct}} flag notification match amount indicator docid wbzuzhpbdoycdehlbbx9 1 status a 1 deposit status notification status code docid\ ucni27ufonck8 zttm mv 0 deposit 1 reversal 0 additional parameter for others payment method notification parameter tipe ukuran deskripsi mitracd a 4 mitra code docid\ tm257gq3dxgzf98uz0l33 payno n 12 {{paymentproduct}} 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 ) merchant token {{yang}} diterima dari notification , {{merchant}} harus melakukan perbandingan kembali secara internal untuk mencegah {{notifikasi}} palsu/tidak berlaku 💡contoh kasus misalnya, {{anda}} memiliki merchantkey {{yang}} digunakan untuk melakukan generate token, yaitu 1234 ketika merchanttoken {{yang}} di generate {{merchant}} diketahui adalah abcd , sementara merchanttoken {{yang}} didapatkan pada {{notifikasi}} adalah abdd , maka {{notifikasi}} tersebut dianggap palsu/tidak berlaku 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