NICEPAY API
...
Payout (Disbursement) API
Check Balance - API Payout (Disbursement)
8 min
about check balance api payout (disbursement) this used to check total on our if your is insufficient, please with fund deposit firsthand on your check docid\ b3gbwzifvfxav30llqfqp to view further related api check balance inquiry payout (disbursement) 199,543,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 parameter for payout check balance 136,87,75,234,234,234,100 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 response parameter for payout check balance 123,83,69,213,249,249 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 sample json for payout check balance json request { "timestamp" "20221219235959", "imid" "ionpaytest", "merchanttoken" "86e63619e2f4187e720840aea9d025fdf2d605c78d0becf9d6679acd63da9440", } json response { "resultcd" "0000", "balance" "8549359050", "scheduled" "0", "resultmsg" "success" } java request // check balance hashmap\<string, object> requestmap = new hashmap\<string, object>(); requestmap put("timestamp", "20221219235959"); requestmap put("imid", "ionpaytest"); requestmap put("merchanttoken",nicepay getmerchanttoken()); //nicepay api domain string mydomain = "https //dev nicepay co id"; //response json string string resultdata = ""; try { //make json objectmapper mapper = new objectmapper(); string contents = mapper writevalueasstring(requestmap); url url = new url(mydomain + "/nicepay/api/direct/v2/balanceinquiry"); 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(); } inputstreamreader isr = new inputstreamreader(conn getinputstream(), "utf 8"); bufferedreader br = new bufferedreader(isr); string str = ""; resultdata = ""; while ((str = br readline()) != null) { resultdata += str; } br close(); } catch (malformedurlexception e) { system out println("the url address is incorrect "); e printstacktrace(); } catch (exception e) { system out println("it can't connect to the web page "); e printstacktrace(); }