NICEPAY API
...
Payment API
API Credit Card
Notification - API Credit Card
7min
about api credit card notification {{nicepay}} sent push {{notification}} s through {{merchant}} 's dbprocessurl the {{merchant}} needs to reassure there is no blacklist {{nicepay}} ip and should whitelist {{nicepay}} ip to get {{the}} push {{notification}} only from {{nicepay}} 's server 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 credit card when your dbprocessurl received a {{notification}} , {{nicepay}} strongly recommend {{merchant}} to verify {{the}} {{notification}} using {{the}} status inquiry api credit card docid\ fc bkdwkevwf2h9usoc8k parameter type size description example / notes txid n 30 transaction id merchanttoken an 255 {{merchant}} token referenceno ans 40 {{merchant}} order number paymethod n 2 payment method code docid\ ek 0djw7nuhytcda4sa3p 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 payment flag notification match amount indicator docid yqqe4ju5bjurdxkxdtho status a 1 deposit status notification status code docid\ qahrf3q4g85njtqxmwfyk 0 deposit 1 reversal cpguaranteeablestatus n 2 cp guaranteeable status additional parameter for credit card notification parameter type size description example / notes authno n 10 approval number issuebankcd a 4 bank code docid\ qbeq29lj53z vbvxtvb7l issuebanknm a 100 issuing {{bank}} name acqubankcd a 4 bank code docid\ qbeq29lj53z vbvxtvb7l 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 installment type code docid\ wfsinjxqc2s9yubbybpep preauthtoken an 255 preauth token recurringtoken an 255 recurring token cctranstype a 2 payment status code docid 7pas vd5ylg4vdurmygwo 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}} tokens that received from {{the}} notification, {{merchant}} must have an internal comparison to prevent fake/invalid {{notification}} s sample for credit card notification sample post for credit card notification cctranstype=1 fee=0 txid=ionpaytest01202212141419051594 amt=5000 notaxamt=0 cardno=453211 1111 issubankcd=othr matchcl=1 preauthtoken=null cardexpyymm=2712 acqubanknm=mandiri paymethod=01 currency=idr instmntmon=1 cc trans type=1 issubanknm= merchanttoken=f8e51ce8c14527592c9a5f1df61975759123c93a75861c7629cc20f32b1d376b goodsnm=goods referenceno=ordno20221214141284 authno=051594 transtm=141905 cpguaranteeablestatus=null recurringtoken=null vat=0 instmnttype=1 billingnm=john+doe acqubankcd=bmri transdt=20221214 status=0