NICEPAY API
...
API Credit Card
Notification - API Credit Card
9 min
tentang notification api credit card {{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 for notification api credit card ketika notifikasi diterima pada dbprocessurl {{anda}} , kami sangat menyarankan {{merchant}} untuk melakukan verifikasi {{notifikasi}} kembali dengan menggunakan docid 9ivqi i4yka9s1oz6s ha parameter tipe ukuran deskripsi contoh / catatan txid n 30 transaction id merchanttoken an 255 {{merchant}} token referenceno ans 40 {{merchant}} order number paymethod n 2 docid\ iifmsruuw7j9vmwefjz97 amt n 12 {{paymentproduct}} 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 {{paymentproduct}} 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 {{bank}} name acqubankcd a 4 docid\ ky4ppujot06atnie easf acqubanknm a 4 acquiring {{bank}} 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 {{vat}} number fee n 12 service fee notaxamt n 12 tax free amount {{merchant}} token {{yang}} diterima dari notification , {{merchant}} harus melakukan perbandingan kembali secara internal untuk mencegah {{notifikasi}} 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" }