NICEPAY API
...
Advance API
NICEPAY Service Status API - Advance API
8 min
about nicepay service status api advance api service status request uses to check from this assist and team to monitoring for each and acknowledge incident detail on must register firsthand before using this nicepay service status request api api endpoint /nicepay/api/servicestatus do request method post post description check service status merchant token sha256( imid + merchantkey ) request format application/json request parameter for nicepay service status request parameter type size description example/remark merchanttoken required required an 255 token 141fd2368aa80ea0e600b1b4d7a42c1e731e74a27a03521e8e28150cc00bc05b imid required required an 10 id ionpaytest response parameter for nicepay service status request parameter type size description example/remark paymethod array method {} and are still on maintenance, other s are available message a 255 status message not fully operational date n 30 date time check 20180703170410 incidentdetail array if have down \[{}] 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" }