NICEPAY API
...
Checkout API
Status Inquiry - API Checkout
12 min
tentang status inquiry api checkout setelah sukses melakukan dengan docid\ fqje 48 bzdt4uimqbfcx , siap untuk melakukan secara real dengan namun, rekomendasikan melakukan docid\ ij7v8nqcgstvouzugsfc7 lainnya seperti inquiry ini ini digunakan untuk memeriksa ajukan pada docid\ fqje 48 bzdt4uimqbfcx sebelumnya seperti berhasil atau gagal nya ketika sudah selesai dilakukan, akan menerima secara otomatis dari kami, sangat merekomendasikan untuk memeriksa kembali tersebut dengan menggunakan docid\ tsmzvn ulka6hnmbkk5wl status inquiry api checkout 330,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 ketika diterima oleh dbprocessurl , kami sangat merekomendasikan untuk melakukan verifikasi dengan menggunakan docid\ tsmzvn ulka6hnmbkk5wl notification handling notification handling berguna untuk meminimalisir aksi penipuan, kami sangat merekomendasikan para untuk melakukan verifikasi notification handling request parameters for status inquiry api checkout 132,132,132,132,133 true left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type response parameters for status inquiry api checkout 130,66,76,305,165 true left unhandled content type left unhandled content type left unhandled content type left unhandled content type unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type unhandled content type additional credit card 171,70,78,292,262 true left unhandled content type left unhandled content type unhandled content type unhandled content type unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type unhandled content type additional virtual account 131,105,105,235,165 true left unhandled content type left unhandled content type left unhandled content type left unhandled content type unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type unhandled content type additional others 125,102,80,270,165 true left unhandled content type left unhandled content type left unhandled content type left unhandled content type unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type unhandled content type sample parameter for status inquiry api checkout request parameter curl curl location 'https //dev nicepay co id/nicepay/direct/v2/inquiry' \\ \ header 'content type application/json' \\ \ data '{ "timestamp" "20251111021168", "imid" "ionpaytest", "txid" "ionpaytest02202511110206549179", "referenceno" "ordno20251111021198", "amt" "10000", "merchanttoken" "3c88adc387f1971beccc7189779281756c11ffcf9337f7ab5e8c8e5e1947be08" }' node js const secondapiversion = require(" /lib/secondapiversion js"); const cons = require(" /sharedconfig js"); const config = { isproduction false, iscloudserver false, merchantkey cons merchantkey, }; const parameter = { "timestamp" "20251111021168", "imid" "ionpaytest", "txid" "ionpaytest02202511110206549179", "referenceno" "ordno20251111021198", "amt" "10000" }; let secondversion = new secondapiversion(config); let response = secondversion requestapi(parameter, "/direct/v2/inquiry");config =nicepay builder() isproduction(false) iscloudserver(false) clientsecret(client secret) partnerid(partner id) externalid(testingconstants external id) timestamp(timestamp) privatekey(private key cloud) build(); string timestamp = "20251111021168"; string imid = "ionpaytest"; string txid = "ionpaytest02202511110206549179"; string reffno = "ordno20251111021198"; string amount = "10000"; inquirystatus requestdata = inquirystatus builder() timestamp(timestamp) txid(txid) imid(imid) merchanttoken(timestamp, imid, reffno, amount, testingconstants merchant key) referenceno(reffno) amt(amount) build(); nicepayresponsev2 result = v2inquirystatusservice callv2inquirystatus(requestdata, config);from python nicepay data builder import builderenvironment from python nicepay data builder v2 professional import builderinquiry from python nicepay data builder v2 professional datagenerator import datagenerator from python nicepay service v2enterpriseservice import servicenicepay bodyinquiry = ( builderinquiry buildinquiry() settxid("ionpaytest02202511110206549179") setreferenceno("ordno20251111021198") setamt("10000") build() ) environment = (builderenvironment buildenvironment() iscloud(false) isproduction(false) build()) response = servicenicepay serviceinquiry(datagenerator getinquirybody(bodyinquiry jsoninquiry()), environment) c# testingconstantservice config = new testingconstantservice(); string merchantkey = config merkey; string clientid = "ionpaytest"; string timestamp = "20251111021168"; string refno = "ordno20251111021198"; string amount = "10000"; bool isproduction = false; bool iscloudserver = false; var builder = new merchanttokenbuilder() settimestamp(timestamp) setimid(clientid) setrefno(refno) setamount(amount) setmerchantkey(merchantkey); // act menghasilkan merchanttoken string merchanttoken = builder buildmerchanttoken(); var bodybuilder = new nicepayrequestbuilder() setcheckstatus( imid clientid, timestamp timestamp, txid "ionpaytest02202511110206549179", amt amount, referenceno refno, merchanttoken merchanttoken ); apiendpoints apiendpoints = new apiendpoints(); dictionary\<string, object> payload = bodybuilder build(); string jsonpayload = newtonsoft json jsonconvert serializeobject(payload); var registrationservice = new nicepayregistrationservice(apiendpoints,isproduction, iscloudserver); var result = await registrationservice sendpostasync(apiendpoints inquiryv2,payload); laravel // endpoint $url = httputil getnicepaydomain($this >useprod, $this >usecloud) $this >inquiry endpoint; // request body parameter $timestamp = "20251111021168"; $txid = "ionpaytest02202511110206549179"; $reference no = "ordno20251111021198"; $amt = "10000"; $merchant token = $this >generatemerchanttoken($timestamp, $this >imid, $reference no, $this >amt, $this >mer key); $body = \[ "timestamp" => $timestamp, "txid" => $txid, "imid" => $this >imid, "merchanttoken" => $merchant token, "referenceno" => $reference no, "amt" => $amt, ]; try { $response = httputil postjsonrequest($url, $body); } catch (throwable $th) { return $this >generateerrorresponse($th); } php native $imidtest = "ionpaytest"; $merchantkey = testconst $merchant key; $config = nicepay builder() >setisproduction(false) >build(); $timestamp = "20251111021168"; $reffno = "ordno20251111021198"; $amount = "10000"; $parameter = inquirystatus builder() >settimestamp($timestamp) >settxid("ionpaytest02202511110206549179") >setimid($imidtest) >setmerchanttoken($timestamp, $imidtest, $reffno, $amount, $this >merchantkey) >setreferenceno($reffno) >setamt($amount) >build(); try { $v2redirectservice = new v2redirectservice($config); $response = $v2redirectservice >inquirystatus($parameter); } catch (nicepayerror $e) { }var config nicepay? = nicepay builder() isproduction(false) clientsecret(testingconstants client secret) partnerid(testingconstants partner id) externalid(testingconstants external id) timestamp(testingconstants timestamp) privatekey(testingconstants private key) build() val timestamp = "20251111021168" val txid = "ionpaytest02202511110206549179" val imid = "ionpaytest" val referenceno = "ordno20251111021198" val amount = "10000" val request directv2checkstatus = directv2checkstatus builder() timestamp(timestamp) txid(txid) imid(imid) merchantkey(default merchant key) referenceno(referenceno) amt(amount) build() val response nicepayresponsev2 = v2virtualaccountservice checkstatus(request, config)!! codeigniter $imidtest = "ionpaytest"; $this >merchantkey = $testconst imid common merchant key; $this >v2config = nicepay builder() >setisproduction(false) >build(); $timestamp = "20251111021168"; $reffno = "ordno20251111021198"; $amount = "10000"; $config = $this >v2config; $parameter = inquirystatus builder() >settimestamp($timestamp) >settxid("ionpaytest02202511110206549179") >setimid($this >imidtest) >setmerchanttoken($timestamp, $this >imidtest, $reffno, $amount, $this >merchantkey) >setreferenceno($reffno) >setamt($amount) >build(); try { $v2vaservice = new v2vaservice($config); // you can use chosen payment method service $response = $v2vaservice >inquirystatus($parameter); } catch (exception $e) { } response parameter sample response { "txid" "ionpaytest02202511110206549179", "imid" "ionpaytest", "currency" "idr", "amt" "10000", "instmntmon" null, "instmnttype" "1", "referenceno" "ordno20251111021198", "goodsnm" "goods", "paymethod" "02", "billingnm" "hantu kesorean", "reqdt" "20251111", "reqtm" "020654", "status" "0", "resultcd" "0000", "resultmsg" "paid", "cardno" null, "preauthtoken" null, "acqubankcd" null, "issubankcd" null, "vacctvaliddt" "20280128", "vacctvalidtm" "235959", "vacctno" "7812001000000605", "bankcd" "ibbk", "payno" null, "mitracd" null, "receiptcode" null, "cancelamt" null, "transdt" "20251111", "transtm" "020654", "recurringtoken" null, "cctranstype" null, "payvaliddt" null, "payvalidtm" null, "mrefno" null, "acqustatus" null, "cardexpyymm" null, "acqubanknm" null, "issubanknm" null, "depositdt" "20251111", "deposittm" "020705", "paymentexpdt" null, "paymentexptm" null, "paymenttrxsn" null, "canceltrxsn" null, "userid" null, "shopid" null }