NICEPAY API
...
API Version 2 (V2)
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 api endpoint /nicepay/api/servicestatus do request method post post description check service status {{api}} 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 {{merchant}} token 141fd2368aa80ea0e600b1b4d7a42c1e731e74a27a03521e8e28150cc00bc05b imid required required an 10 {{merchant}} id ionpaytest response parameter for nicepay service status request parameter type size description example/remark paymethod array {{paymentproduct}} method {} {{payout}} and {{paymethod}} {{qris}} are still on maintenance, other {{paymethod}} s are available message a 255 status message {{nicepay}} not fully operational date n 30 date time check 20180703170410 incidentdetail array if {{service}} 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" }