NICEPAY API
...
API QRIS
Notification - API QRIS
7 min
tentang api qris notification mengirimkan push notification dikirim melalui dbprocessurl harus memastikan tidak melakukan blacklist ip dan melakukan whitelist ip untuk mendapatkan push notification hanya dikirim dari 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 qris notification ketika diterima pada dbprocessurl , kami sangat menyarankan untuk melakukan verifikasi kembali dengan menggunakan docid\ jcwrygsjvj1sguu6dxmfj parameter tipe ukuran deskripsi contoh / catatan txid n 30 transaction id ionpaytest08202212141041407785 merchanttoken an 255 token 69ba08191f47af25dd3ea089a99f89a6cb05295f9e641a78e8e44f5f75891cc7 referenceno ans 40 order number ord54321 paymethod n 2 docid\ iifmsruuw7j9vmwefjz97 08 paymenttrxsn an 32 transaction number 112160983971452364 userid an 128 user id hash 8bf254cdb4dfff447233a67e796556db7653c40234edb979614f007dfa8eb7c1 amt n 12 amount 5 mitracd n 4 docid\ tm257gq3dxgzf98uz0l33 qshp transdt n 8 transaction date 20221214 transtm n 6 transaction time 104140 currency a 3 currency idr goodsnm an 100 goods name test+transaction+ billingnm a 100 billing name andi+pamungkas matchcl n 1 flag docid wbzuzhpbdoycdehlbbx9 1 status a 1 deposit status docid\ ucni27ufonck8 zttm mv 0 deposit 1 reversal 0 shopid required for qris required for qris an 32 shop id additional parameter for qris notification parameter tipe ukuran deskripsi paymenttrxsn an 32 transaction number userid an 128 user id hash shopid an 32 shop id merchant token diterima dari notification , harus melakukan perbandingan kembali secara internal untuk mencegah palsu/tidak berlaku 💡contoh kasus misalnya, memiliki merchantkey digunakan untuk melakukan generate token, yaitu 1234 ketika merchanttoken di generate diketahui adalah abcd , sementara merchanttoken didapatkan pada adalah abdd , maka tersebut dianggap palsu/tidak berlaku sample for qris notification sample post for qris notification merchanttoken = 69ba08191f47af25dd3ea089a99f89a6cb05295f9e641a78e8e44f5f75891cc7 goodsnm = test+transaction+nicepay referenceno = ord54321 transtm = 104140 mitracd = qshp txid = ionpaytest08202212141041407785 amt = 5 paymenttrxsn = 112160983971452364 userid = 8bf254cdb4dfff447233a67e796556db7653c40234edb979614f007dfa8eb7c1 billingnm = andi+pamungkas matchcl = 1 paymethod = 08 currency = idr shopid = nicepay transdt = 20221214 status = 0