NICEPAY API
...
Payout (Disbursement) API
Cancel - API Payout (Disbursement)
7 min
about cancel payout (disbursement) to cancel s that are already approved but before is running api cancel payout (disbursement) 201,540,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 (disbursement) cancel 172,99,88,191,191,220 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 response json for payout (disbursement) cancel 148,75,91,213,213,241 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 json sample for payout (disbursement) cancel json request { "timestamp" "20221219235959", "imid" "ionpaytest", "merchanttoken" "bae24edba7badd731c4bca1acd0609377581cd91a47d18d3c24a3c47256161e8", "txid" "ionpaytest07202212191748188703" } json response { "resultcd" "0000", "benefnm" "pt ionpay networks", "transtm" null, "referenceno" "ord12345", "accountno" "5345000060", "bankcd" "bdin", "txid" "ionpaytest07202212191748188703", "amt" "10000", "transdt" null, "resultmsg" "success", "imid" "ionpaytest" } java request // cancel payout hashmap\<string, object> requestmap = new hashmap\<string, object>(); requestmap put("timestamp", "20221219235959"); requestmap put("imid", "ionpaytest"); requestmap put("merchanttoken",nicepay getmerchanttoken()); requestmap put("txid", "ionpaytest07202212191748188703"); //nicepay api domain string mydomain = "https //dev nicepay co id"; //response json string string resultdata = ""; try { objectmapper mapper = new objectmapper(); string contents = mapper writevalueasstring(requestmap); url url = new url(mydomain + "/nicepay/api/direct/v2/cancelpayout"); 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(); } }