Notification - API Credit Card
9 min
about notification api credit card sent push s through 's dbprocessurl the needs to reassure there is no blacklist ip and should whitelist ip to get push only from 's server request method \<font color="#3b9f0f"> post \</font> merchant token sha256 ( imid + txid + amt + merchantkey ) ip ip public environtment production 103 20 51 34 103 20 51 33 18 98 96 50 ip public environtment dev 103 20 51 39 103 20 51 40 18 98 96 54 user agent user agent jakarta commons httpclient/3 1 notification parameter for notification api credit card when your dbprocessurl received a , strongly recommend to verify using status inquiry api credit card docid\ ntp9jtssg4rtkebeoh dr parameter type size description example / notes txid n 30 transaction id merchanttoken an 255 token referenceno ans 40 order number paymethod n 2 payment method code docid\ nq1y7vma25ztvqhn5he6w 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 payment flag notification match amount indicator docid\ hhezyw5ikliptkqyya5bi status a 1 deposit status notification status code docid\ qumt9fmvjdh5gjhd2pwy8 0 deposit 1 reversal cpguaranteeablestatus n 2 cp guaranteeable status additional parameter for notification api credit card parameter type size description example / notes authno n 10 approval number issuebankcd a 4 issuing bank code docid\ hlxvgrxvxwd90n8ohnkm0 issuebanknm a 100 issuing name acqubankcd a 4 acquiring bank code docid\ hlxvgrxvxwd90n8ohnkm0 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 installment type code docid wzur5wjwhrdr8yxi ppi preauthtoken an 255 preauth token recurringtoken an 255 recurring token cctranstype a 2 credit card trans type docid 7pas vd5ylg4vdurmygwo 1 normal 2 recurring 3 pre auth 4 captured vat n 12 number fee n 12 service fee notaxamt n 12 tax free amount tokens that received from notification, must have an internal comparison to prevent fake/invalid s 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" }