NICEPAY API
...
Payout API (Disbursement)
Approve - API Payout (Disbursement)
8 min
tentang api payout approve proses approval bertujuan untuk meminta konfirmasi terkait request pengiriman dana beserta rincian penerima dana ini digunakan untuk menyetujui request diajukan pada docid\ gdgvzudout8jc5 mhhqbj api payout approve 331,331 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 approve 132,132,132,132,134 true unhandled content type left unhandled content type left unhandled content type unhandled content type unhandled content type unhandled content type left unhandled content type left unhandled content type unhandled content type unhandled content type unhandled content type left unhandled content type left unhandled content type unhandled content type unhandled content type unhandled content type left unhandled content type left unhandled content type unhandled content type unhandled content type unhandled content type left unhandled content type left unhandled content type unhandled content type unhandled content type response parameter for payout approve apabila terjadi timeout pada saat approve kepada , diharapkan untuk tidak menganggap status transaksi tersebut sukses atau gagal, melainkan suspect sebab, telah terjadi pemotongan dana pada ini transaksi dianggap suspect akan tetap ter , hanya membutuhkan waktu tambahan setelah selesai, maka akan mendapatkan akhir nya dari url callback sudah didaftarkan ke 132,132,132,132,134 true unhandled content type left unhandled content type left unhandled content type unhandled content type unhandled content type unhandled content type left unhandled content type left unhandled content type unhandled content type unhandled content type unhandled content type left unhandled content type left unhandled content type unhandled content type unhandled content type unhandled content type left unhandled content type left unhandled content type unhandled content type unhandled content type unhandled content type left unhandled content type left unhandled content type unhandled content type unhandled content type unhandled content type left unhandled content type left unhandled content type unhandled content type unhandled content type unhandled content type left unhandled content type left unhandled content type unhandled content type unhandled content type unhandled content type left unhandled content type left unhandled content type unhandled content type unhandled content type unhandled content type left unhandled content type left unhandled content type unhandled content type unhandled content type unhandled content type left unhandled content type left unhandled content type unhandled content type unhandled content type unhandled content type left unhandled content type left unhandled content type unhandled content type unhandled content type unhandled content type left unhandled content type left unhandled content type unhandled content type unhandled content type unhandled content type left unhandled content type left unhandled content type unhandled content type unhandled content type unhandled content type left unhandled content type left unhandled content type unhandled content type unhandled content type unhandled content type left unhandled content type left unhandled content type unhandled content type unhandled content type unhandled content type left unhandled content type left unhandled content type unhandled content type unhandled content type sample json for payout approve json request { 	"timestamp" "20221219085959", 	"imid" "ionpaytest", 	"merchanttoken" "9f33948e1ce99b6f42c2a223234ec50ff1bc450c78a16885227c57fae4f4ff80", 	"txid" "ionpaytest07202212191238107952" } json response { 	"resultcd" "0000", 	"resultmsg" "success", 	"txid" "ionpaytest07202212191238107952", 	"referenceno" "ordno 20230504110578", 	"imid" "ionpaytest", 	"benefnm" "pt ionpay networks", 	"accountno" "5345000060", 	"bankcd" "bdin", 	"amt" "100000", 	"transdt" null, 	"transtm" null, 	"validdate" "20230505", //only for cashout 	"validtime" "110217", //only for cashout 	"cashouttoken" "0030456405", //only for cashout 	"mcode" "nicepay cashout test" //only for cashout } java request // approve payout hashmap\<string, object> requestmap = new hashmap\<string, object>(); requestmap put("timestamp", "20221221131217"); requestmap put("imid", "ionpaytest"); requestmap put("merchanttoken",nicepay getmerchanttoken()); requestmap put("txid", "ionpaytest07202212211309324833"); //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/rejectpayout"); 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(); } }