NICEPAY API
...
API Credit Card
Status Inquiry - API Credit Card
11 min
tentang status inquiry api credit card integrasi dengan status inquiry pada diperlukan supaya dapat memeriksa pada sedang berlangsung baik berstatus success , fail , dan lainnya status inquiry api credit card integrasi inquiry pada bertujuan supaya dapat terhubung dengan untuk melakukan pemeriksaan pada 331,331 unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type ketika diterima dbprocessurl , kami sangat menyarankan untuk melakukan verifikasi tersebut dengan menggunakan docid 9ivqi i4yka9s1oz6s ha notification handling sangat berguna untuk meminimalisir terjadinya fraud kami sangat menganjurkan untuk memverifikasi notification handling dapat membaca lebih rinci mengenai notification handling pada docid\ do348g2rqnzztjpbhei43 request parameter for status inquiry api credit card berikut ini adalah daftar untuk melakukan request inquiry pada 128,63,82,195,234 true unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type response parameter for status inquiry api credit card berikut ini adalah daftar response dari pengajuan inquiry pada 132,132,132,132,134 true unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type additional response parameter for status inquiry api credit card berikut ini adalah daftar response tambahan dari request inquiry pada 132,132,132,132,134 true unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type sample parameter for status inquiry api credit card request parameter curl curl location 'https //dev nicepay co id/nicepay/direct/v2/inquiry' \\ \ header 'content type application/json' \\ \ data '{ 	"timestamp" "20221214091282", 	"txid" "ionpaytest01202212140949101366", 	"imid" "ionpaytest", "merchanttoken" "7eceb5801db4e039223698c4eb9871432217132d8b0483122001a2569e8c7537", 	"referenceno" "ordno20221214091293", 	"amt" "5000" }' node js const config = { isproduction true, iscloudserver false, merchantkey "your merchant key", clientid "ionpaytest", privatekey cons privatekey, clientsecret cons clientsecret, }; const parameter = { timestamp "20221214091282", txid "ionpaytest01202212140949101366", imid "ionpaytest", referenceno "ordno20221214091293", amt "5000", }; const secondversion = new secondapiversion(config); const response = await secondversion requestapi(parameter, "/direct/v2/inquiry"); console log("inquiry response ", response); config = nicepay builder() isproduction(false) iscloudserver(false) timestamp("20221214091282") build(); string timestamp = "20221214091282"; string imid = "ionpaytest"; string merchantkey = testingconstants merchant key; string reffno = "ordno20221214091293"; string amount = "5000"; inquirystatus requestdata = inquirystatus builder() timestamp(timestamp) txid("ionpaytest01202212140949101366") imid(imid) referenceno(reffno) merchanttoken(timestamp, imid, reffno, amount, merchantkey) amt(amount) build(); nicepayresponsev2 result = v2cardservice callv2inquirystatus(requestdata, config); system out println("inquiry response " + result); bodyinquiry = ( builderinquiry buildinquiry() settxid("ionpaytest01202212140949101366") setreferenceno("ordno20221214091293") setamt("5000") build() ) environment = ( builderenvironment buildenvironment() iscloud(false) isproduction(false) build() ) response = servicenicepay serviceinquiry( datagenerator getinquirybody(bodyinquiry jsoninquiry()), environment ) c# string merchantkey = config merkey; string clientid = config clientid; string timestamp = "20221214091282"; string txid = "ionpaytest01202212140949101366"; string refno = "ordno20221214091293"; string amount = "5000"; bool isproduction = true; bool iscloudserver = false; // generate merchant token using provided json values var builder = new merchanttokenbuilder() settimestamp(timestamp) setimid(clientid) settxid(txid) setamount(amount) setmerchantkey(merchantkey); string merchanttoken = builder buildmerchanttoken(); console writeline("create merchant token " + merchanttoken); // build check status request using json values var bodybuilder = new nicepayrequestbuilder() setcheckstatus( imid clientid, timestamp timestamp, txid txid, amt amount, referenceno refno, merchanttoken merchanttoken ); apiendpoints apiendpoints = new apiendpoints(); dictionary\<string, object> payload = bodybuilder build(); string jsonpayload = newtonsoft json jsonconvert serializeobject(payload); var checkstatusservice = new nicepayregistrationservice(apiendpoints, isproduction, iscloudserver); var result = await checkstatusservice sendpostasync(apiendpoints inquiryv2, payload); laravel protected $useprod = false; protected $usecloud = false; protected $inquiry endpoint = "/nicepay/direct/v2/inquiry"; $url = httputil getnicepaydomain($this >useprod, $this >usecloud) $this >inquiry endpoint; // request body parameter from json $timestamp = "20221214091282"; $txid = "ionpaytest01202212140949101366"; $reference no = "ordno20221214091293"; $amt = "5000"; $merchant token = "7eceb5801db4e039223698c4eb9871432217132d8b0483122001a2569e8c7537"; $body = \[ "timestamp" => $timestamp, "txid" => $txid, "imid" => "ionpaytest", "merchanttoken" => $merchant token, "referenceno" => $reference no, "amt" => $amt, ]; try { $response = httputil postjsonrequest($url, $body); } catch (\exception $e) { echo "inquiry failed " $e >getmessage(); } php native $timestamp = "20221214091282"; $txid = "ionpaytest01202212140949101366"; $imid = "ionpaytest"; $referenceno = "ordno20221214091293"; $amount = "5000"; $config = $this >v2config; $parameter = inquirystatus builder() >settimestamp($timestamp) >settxid($txid) >setimid($imid) >setmerchanttoken($timestamp, $imid, $referenceno, $amount, $this >merchantkey) >setreferenceno($referenceno) >setamt($amount) >build(); $cardservice = new v2cardservice($config); $response = $cardservice >inquirystatus($parameter); val request directv2checkstatus = directv2checkstatus builder() timestamp("20221214091282") txid("ionpaytest01202212140949101366") imid("ionpaytest") merchantkey(default merchant key) referenceno("ordno20221214091293") amt("5000") build() val response nicepayresponsev2 = v2cardservice checkstatus(request, config)!! codeigniter $timestamp = "20221214091282"; $reffno = "ordno20221214091293"; $amount = "5000"; $config = $this >v2config; $parameter = inquirystatus builder() >settimestamp($timestamp) >settxid("ionpaytest01202212140949101366") >setimid("ionpaytest") >setmerchanttoken($timestamp, "ionpaytest", $reffno, $amount, $this >merchantkey) >setreferenceno($reffno) >setamt($amount) >build(); $v2cardservice = new v2cardservice($config); $response = $v2cardservice >inquirystatus($parameter); response parameter sample response { "txid" "ionpaytest01202212140949101366", "imid" "ionpaytest", "currency" "idr", "amt" "5000", "instmntmon" "1", "instmnttype" "1", "referenceno" "ordno20221214091293", "goodsnm" "goods", "paymethod" "01", "billingnm" "hantu kesorean", "reqdt" "20221214", "reqtm" "094910", "status" "0", "resultcd" "0000", "resultmsg" "paid", "cardno" "453211 1111", "preauthtoken" null, "acqubankcd" "bmri", "issubankcd" "othr", "vacctvaliddt" null, "vacctvalidtm" null, "vacctno" null, "bankcd" null, "payno" null, "mitracd" null, "receiptcode" null, "cancelamt" null, "transdt" "20221214", "transtm" "094910", "recurringtoken" null, "cctranstype" "1", "payvaliddt" null, "payvalidtm" null, "mrefno" null, "acqustatus" "10", "cardexpyymm" "2712", "acqubanknm" "mandiri", "issubanknm" "other", "depositdt" null, "deposittm" null, "paymentexpdt" null, "paymentexptm" null, "paymenttrxsn" null, "canceltrxsn" null, "userid" null, "shopid" null, "authno" "101366", "acquirerdata" { "rrn" null } }