NICEPAY API
API Versi 1
V1 Check Transaction Status
11 min
tentang v1 check transaction status {{api}} ini berguna untuk memeriksa {{status}} {{transaksi}} ketika notifikasi di dbprocessurl sudah diterima, sangat disarankan bagi {{merchant}} untuk melakukan verifikasi menggunakan docid\ o 8bahmphnogvne8gmqcy ketika callbackurl sudah diterima, kami merekomendasikan para {{merchant}} untuk melakukan verifikasi status dengan menggunakan docid\ o 8bahmphnogvne8gmqcy callback handling berguna untuk mengurangi aksi fraud , kami merekomendasikan {{merchant}} untuk melakukan verifikasi dengan callback handling callback handling flow deskripsi langkah {{merchant}} melakukan checkout {{merchant}} mengajukan {{pembayaran}} kepada {{nicepay}} {{nicepay}} mengirimkan response callback dan hasil {{pembayaran}} ( callbackurl ) kepada {{merchant}} {{merchant}} memeriksa {{status}} {{merchant}} mengirimkan {{status}} kepada {{nicepay}} {{nicepay}} mengirimkan response ( final status flag ) kepada {{merchant}} api check transaction status 183,561,117 unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type notification handling tersebut sangat membantu untuk meminimalisir tindakan fraud , sangat disarankan bagi {{merchant}} untuk melakukan notification handling notification handling flow deskripsi langkah {{merchant}} melakukan checkout {{merchant}} mengirimkan {{pembayaran}} kepada {{nicepay}} {{nicepay}} mengirimkan url {{notifikasi}} ( dbprocessurl ) kepada {{merchant}} {{merchant}} memeriksa {{status}} {{merchant}} mengirimkan {{status}} kepada {{nicepay}} {{nicepay}} mengembalikan response ( final status flag ) kepada {{merchant}} request parameters check status check status request parameter // order status mandatory field nicepay settrxid("ionpaytest02201603091207051498"); nicepay setreferenceno("merchantreferencenumber001"); nicepay setamt("1000"); nicepay setmerchanttoken(nicepay maketoken(nicepay getamt(), nicepay getreferenceno())); // order status request nicepay orderstatus(); // order status response system out println("response string " + nicepay getresponsestring()); // json in string format nicepay gethtresponse(); // json in hashtable\<string, string> format string resultcd = nicepay get("resultcd"); string resultmsg = nicepay get("resultmsg"); string txid= nicepay get("txid "); string imid= nicepay get("imid"); string currency= nicepay get("currency"); string amount= nicepay get("amount"); string instmntmon= nicepay get("instmntmon"); string instmnttype= nicepay get("instmnttype"); string referenceno= nicepay get("referenceno"); string goodsnm = nicepay get("goodsnm"); string paymethod = nicepay get("paymethod"); string billingnm= nicepay get("billingnm"); string merchanttoken= nicepay get("merchanttoken"); string reqdt= nicepay get("reqdt"); string reqtm = nicepay get("reqtm"); string status = nicepay get("status"); string bankcd= nicepay get("bankcd"); string vacctvaliddt= nicepay get("vacctvaliddt"); string vacctvalidtm= nicepay get("vacctvalidtm"); string vacctno= nicepay get("vacctno"); 135,72,98,163,275,271 6 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 response parameter check status check status response parameter { "txid" "normaltest01202002031344071337", "imid" "normaltest", "currency" "idr", "amt" "12000", "instmntmon" "1", "instmnttype" "1", "referenceno" "ord20200203130299", "goodsnm" "testing normal full payment cc va", "paymethod" "01", "billingnm" "customer name", "reqdt" "20200203", "reqtm" "134407", "status" "9", "resultcd" "0000", "resultmsg" "init", "cardno" null, "preauthtoken" null, "acqubankcd" null, "issubankcd" null, "vacctvaliddt" null, "vacctvalidtm" null, "vacctno" null, "bankcd" null, "payno" null, "mitracd" null, "receiptcode" null, "cancelamt" null, "transdt" null, "transtm" null, "recurringtoken" null, "cctranstype" null, "payvaliddt" null, "payvalidtm" null, "mrefno" null, "acqustatus" null, "cardexpyymm" null, "acqubanknm" null, "issubanknm" null, "depositdt" null, "deposittm" null, "acquirerdata" { "rrn" "332510237487" } } 208,88,93,354,270,271 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 additional response for virtual account 183,103,93,248 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 additional response for qris 183,100,109,248 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 additional response for others payment method 140,99,97,312 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