NICEPAY API
...
API Credit Card
Notification - API Credit Card
9 min
tentang notification api credit card 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 for notification api credit card ketika notifikasi diterima pada dbprocessurl , kami sangat menyarankan untuk melakukan verifikasi kembali dengan menggunakan docid 9ivqi i4yka9s1oz6s ha parameter tipe ukuran deskripsi contoh / catatan txid n 30 transaction id merchanttoken an 255 token referenceno ans 40 order number paymethod n 2 docid\ iifmsruuw7j9vmwefjz97 amt n 12 amount transdt n 8 transaction date transtm n 6 transaction time currency a 3 currency goodsnm an 100 goods name billingnm a 100 billing name matchcl n 1 flag docid wbzuzhpbdoycdehlbbx9 status a 1 deposit status docid\ ucni27ufonck8 zttm mv 0 deposit 1 reversal cpguaranteeablestatus n 2 cp guaranteeable status additional parameter for notification api credit card parameter tipe ukuran deskripsi contoh / catatan authno n 10 approval number issuebankcd a 4 docid\ ky4ppujot06atnie easf issuebanknm a 100 issuing name acqubankcd a 4 docid\ ky4ppujot06atnie easf acqubanknm a 4 acquiring name cardno ans 20 card number with masking cardexpyymm n 4 card expiry ( yymm ) instmntmon n 2 installment month instmnttype n 2 docid\ rt2c32s9hfl aohyoebv5 preauthtoken an 255 pre auth token recurringtoken an 255 recurring token cc trans type a 2 docid 5kylpx5mpjsl96c8mhoik 1 normal 2 recurring 3 pre auth 4 captured vat n 12 number fee n 12 service fee notaxamt n 12 tax free amount token diterima dari notification , harus melakukan perbandingan kembali secara internal untuk mencegah palsu/tidak berlaku sample parameter for notification api credit card request parameter curl curl x post "https //www merchantdbprocessurl com" \\ h "content type application/x www form urlencoded" \\ d "cctranstype=1" \\ d "fee=0" \\ d "txid=ionpaytest01202212141419051594" \\ d "amt=5000" \\ d "notaxamt=0" \\ d "cardno=453211 1111" \\ d "issubankcd=othr" \\ d "matchcl=1" \\ d "preauthtoken=null" \\ d "cardexpyymm=2712" \\ d "acqubanknm=mandiri" \\ d "paymethod=01" \\ d "currency=idr" \\ d "instmntmon=1" \\ d "cc trans type=1" \\ d "issubanknm=" \\ d "merchanttoken=f8e51ce8c14527592c9a5f1df61975759123c93a75861c7629cc20f32b1d376b" \\ d "goodsnm=goods" \\ d "referenceno=ordno20221214141284" \\ d "authno=051594" \\ d "transtm=141905" \\ d "cpguaranteeablestatus=null" \\ d "recurringtoken=null" \\ d "vat=0" \\ d "instmnttype=1" \\ d "billingnm=john+doe" \\ d "acqubankcd=bmri" \\ d "transdt=20221214" \\ d "status=0" response parameter { "responsecode" 200, "responsemessage" "success" }