NICEPAY API
...
Payment API
API Convenience Store
Notification - API Convenience Store
6min
tentang api convenience store 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 convenience store ketika {{notifikasi}} diterima pada dbprocessurl {{anda}} , kami menyarankan dengan sangat kepada {{merchant}} untuk melakukan verifikasi {{notifikasi}} kembali menggunakan status inquiry api convenience store docid\ ypivnumvfvrkikzinnq48 parameter tipe ukuran deskripsi contoh / catatan txid n 30 transaction id tnicecv03103202212141459041632 merchanttoken an 255 {{merchant}} token 8b5565e793731a1a1c8817c9e42bcbbdc3f5fb6a2785a6e0b19a2d5e3a41a51b referenceno ans 40 {{merchant}} order number ord0123456 mitracd a 4 mitra code docid\ tm257gq3dxgzf98uz0l33 alma paymethod n 2 payment method code docid\ iifmsruuw7j9vmwefjz97 04 payno n 20 {{paymentproduct}} number 504100002539 payvalidtm n 6 cvs expiry time ( hh24miss ) null payvaliddt n 8 cvs expiry date ( yyyymmdd ) (cvs) null amt n 12 {{paymentproduct}} amount 5000 clientuserkey mandatory if tokenize mandatory if tokenize an 100 user key, must be unique for each {{customer}} 1134431 usertoken ans user token 12345eea9 6234 6789 12r3 123re3456tt5 tokenizeuser n 1 transaction tokenize type 1 transdt n 8 transaction date 20221214 transtm n 6 transaction time 150229 currency a 3 currency idr goodsnm an 100 goods name testing billingnm a 100 billing name john doe matchcl n 1 payment 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 instmnttype n 2 installment type code docid\ rt2c32s9hfl aohyoebv5 1 instmntmon n 2 installment month 1 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 convenience store notification sample post for convenience store notification merchanttoken=8b5565e793731a1a1c8817c9e42bcbbdc3f5fb6a2785a6e0b19a2d5e3a41a51b goodsnm=testing referenceno=ord0123456 mitracd=alma transtm=150229 txid=tnicecv03103202212141459041632 amt=5000 instmnttype=1 billingnm=john doe matchcl=1 payno=504100002539 payvalidtm=null paymethod=03 currency=idr instmntmon=1 payvaliddt=null transdt=20221214 status=0