NICEPAY API
...
Advance API
NICEPAY Service Status API - Advance API
8 min
about nicepay service status api advance api {{nicepay}} {{api}} service status request uses to check {{service}} {{status}} from {{nicepay}} {{system}} this {{api}} assist {{merchant}} and {{nicepay}} team to monitoring {{status}} for each {{paymethod}} and acknowledge incident {{status}} {{service}} detail on {{nicepay}} {{system}} {{merchant}} must register {{the}} {{nicepay}} {{service}} firsthand before using this {{api}} nicepay service status request api 174,567,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 unhandled content type unhandled content type request parameter for nicepay service status request 136,65,75,105,181 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 response parameter for nicepay service status request 136,65,75,105,181 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 unhandled content type 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 parameter for nicepay service status request sample source hashmap < string,object > requestmap = new hashmap < string, object > (); requestmap put(“imid”, ”nicepay get(imid)”); requestmap put(“merchanttoken”, nicepay, maketoken(nicepay get(imid)) try { //make json objectmapper mapper = new objectmapper(); string contents = mapper writevalueasstring(requestmap); url url = new url(mydomain + "/nicepay/servicestatus do"); 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(); } request parameter { "imid" "ionpaytest", "merchanttoken" "d7d5f4873a588bf7199dfd570ce82818e5981df2f5bab9637a943743fc999e9d" } response parameter positive case { "paymethod" { "01" \[ { "bankcd" "bmri", "status" "up" }, { "bankcd" "ibbk", "status" "up" }, { "bankcd" "bnin", "status" "up" }, { "bankcd" "brin", "status" "up" } ], "02" \[ { "bankcd" "bmri", "status" "up" }, { "bankcd" "ibbk", "status" "up" }, { "bankcd" "bbba", "status" "up" }, { "bankcd" "cena", "status" "up" }, { "bankcd" "bnin", "status" "up" }, { "bankcd" "hnbn", "status" "up" }, { "bankcd" "bnia", "status" "up" }, { "bankcd" "brin", "status" "up" }, { "bankcd" "bdin", "status" "up" } ], "03" \[ { "mitracd" "alma", "status" "up" }, { "mitracd" "indo", "status" "up" }, { "mitracd" "losn", "status" "up" }, { "mitracd" "almi", "status" "up" }, { "mitracd" "dndn", "status" "up" } ], "04" \[ { "mitracd" "cmic", "status" "up" }, { "mitracd" "bcac", "status" "up" }, { "mitracd" "mdrc", "status" "up" } ], "05" \[ { "mitracd" "bmre", "status" "up" } ], "06" \[ { "mitracd" "kdv", "status" "up" } ] }, "message" "nicepay full operational", "date" "20180703163639" } response parameter negative case { "incidentdetail" \[ { "incidenttitle" "ini hanya testing", "incidentid" "mnt20180706001", "incidentdesc" "masih testing" }, { "incidenttitle" "test maintenance", "incidentid" "mnt20180925001", "incidentdesc" "sorry for disturb, we are testing for our new fiture" }, { "incidenttitle" "bni already up", "incidentid" "inc20180628001", "incidentdesc" "bni host is up, but others still intermittence" }, { "incidenttitle" "\[ignore] this is just for testing", "incidentid" "inc20190325001", "incidentdesc" "\[ignore] this is just for testing" }, { "incidenttitle" "\[ignore] this is just for testing2", "incidentid" "mnt20190325001", "incidentdesc" "\[ignore] this is just for testing2" } ], "paymethod" { "01" \[ { "bankcd" "bmri", "incidentid" "mnt20180925001", "status" "down" }, { "bankcd" "ibbk", "status" "up" }, { "bankcd" "bnin", "incidentid" "mnt20180925001", "status" "down" }, { "bankcd" "brin", "status" "up" } ], "02" \[ { "bankcd" "bmri", "incidentid" "mnt20180925001", "status" "down" }, { "bankcd" "ibbk", "status" "up" }, { "bankcd" "bbba", "status" "up" }, { "bankcd" "cena", "incidentid" "inc20180628001", "status" "down" }, { "bankcd" "bnin", "status" "up" }, { "bankcd" "hnbn", "status" "up" }, { "bankcd" "bnia", "status" "up" }, { "bankcd" "brin", "status" "up" }, { "bankcd" "bdin", "status" "up" } ], "03" \[ { "mitracd" "alma", "status" "up" }, { "mitracd" "indo", "status" "up" }, { "mitracd" "losn", "status" "up" }, { "mitracd" "almi", "status" "up" }, { "mitracd" "dndn", "status" "up" } ], "04" \[ { "mitracd" "cmic", "status" "up" }, { "mitracd" "bcac", "status" "up" }, { "mitracd" "mdrc", "status" "up" } ], "05" \[ { "mitracd" "bmre", "status" "up" } ], "06" \[ { "mitracd" "kdv", "status" "up" } ] }, "message" "nicepay not fully operational", "date" "20250516145427" }