NICEPAY API
...
Payout API (Disbursement)
Inquiry - API Payout (Disbursement)
7 min
tentang payout (disbursement) inquiry ini digunakan untuk memeriksa dengan success , fail , dan lainnya api payout (disbursement) inquiry 193,549,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 request json for payout inquiry 144,89,87,202,199,195 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 json for payout inquiry 131,88,73,214,215,213 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 json sample for payout inquiry json request { "imid" "ionpaytest", "timestamp" "20221219085959", "merchanttoken" "9fd6e4088eb01d9ff93c9f5799bd3e6995f66990793e0e67ac0f651bc2a6fa78", "accountno" "5345000060", "txid" "ionpaytest07202212191238107952" } json response { "reqtm" "123810", "resultcd" "0000", "transtm" "124824", "referenceno" "ord12345", "txid" "ionpaytest07202212191238107952", "amt" "10000", "benefstatus" "1", "resultmsg" "success", "imid" "ionpaytest", "benefnm" "pt ionpay networks", "beneftype" "1", "accountno" "5345000060", "bankcd" "bdin", "reqdt" "20221219", "transdt" "20221219", "benefid" null, "status" "0" } java request hashmap\<string, object> requestmap = new hashmap\<string, object>(); requestmap put("timestamp", "20221219085959"); requestmap put("imid", "ionpaytest"); requestmap put("accountno", "5345000060"); requestmap put("merchanttoken", "9fd6e4088eb01d9ff93c9f5799bd3e6995f66990793e0e67ac0f651bc2a6fa78"); requestmap put("txid", "ionpaytest07202212191238107952"); //nicepay api domain string mydomain = "https //www nicepay co id"; //response json string string resultdata = ""; try { objectmapper mapper = new objectmapper(); string contents = mapper writevalueasstring(requestmap); url url = new url(mydomain + "/nicepay/direct/v2/inquirypayout"); urlconnection conn = url openconnection(); conn setdooutput(true); conn setusecaches(false); conn setrequestproperty("content type", "application/json"); dataoutputstream os = null; try { os = new dataoutputstream(conn getoutputstream()); os writebytes(contents); os flush(); } finally { if (out != null) os close(); } }