NICEPAY API
...
Payout API (Disbursement)
Registration - API Payout (Disbursement)
8 min
tentang registration api payout (disbursement) proses registration api payout (disbursement) merupakan pertama dalam menjalani pengiriman dana ke rekening tujuan ini bertujuan untuk mendaftarkan sebuah request untuk suatu dari ke menghimbau untuk memastikan sudah cukup sebelum melakukan registration ini dengan menggunakan docid\ lgl0m40qmefa6gubz27l7 agar berjalan dengan lancar apabila tidak cukup, silakan lakukan deposit dana terlebih dahulu pada balance kunjungi docid\ vdidxx3ugz0y1dgvucmgp untuk melihat rincian terkait registration api payout (disbursement) 212,532,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 registration 191,71,97,191,191,192 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 response parameter for payout registration 157,93,91,190,190,207 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 sample json for payout registration json request // api url https //www nicepay co id/nicepay/direct/v2/requestpayout // request body { "timestamp" "20221219085959", "imid" "ionpaytest", "msid" "", "merchanttoken" "b252d9f89a448d94e163e913a47b4d5c4c0af82a39b951e18eccdb3d28f59bbf", "accountno" "5345000060", "benefnm" "pt ionpay networks", "benefstatus" "1", "beneftype" "1", "bankcd" "bdin", "amt" "10000", "referenceno" "ord12345", "reserveddt" "", "reservedtm" "", "benefphone" "082111111111", "description" "this is test request", "payoutmethod" "4" } json response { "resultcd" "0000", "benefnm" "pt ionpay networks", "referenceno" "ord12345", "accountno" "5345000060", "bankcd" "bdin", "txid" "ionpaytest07202212191238107952", "amt" "10000", "payoutmethod" "0", "resultmsg" "success", "payouttoken" null } java request //request parameter setting hashmap\<string, object> requestmap = new hashmap\<string, object>(); requestmap put("timestamp", "20221219085959"); requestmap put("imid", "ionpaytest"); requestmap put("msid", ""); requestmap put("amt", "10000"); requestmap put("merchanttoken","b252d9f89a448d94e163e913a47b4d5c4c0af82a39b951e18eccdb3d28f59bbfd"); requestmap put("accountno", "5345000060"); requestmap put("benefnm", "pt ionpay networks"); requestmap put("benefphone", "082111111111"); requestmap put("benefstatus", "1"); requestmap put("beneftype", "1"); requestmap put("bankcd", "bdin"); requestmap put("referenceno", "ord12345"); requestmap put("reserveddt", ""); requestmap put("reservedtm", ""); requestmap put("description", "this is test request"); requestmap put("payoutmethod", "4"); //nicepay api domain string mydomain = "https //www 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/direct/v2/requestpayout"); 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(); }