Query API system status

2021-03-23 15:41:43


Type:

GET & POST

URL:

https://api.modenpay.io/pay/inquire/api_status

 

Request parameter


None

 

Request example


 

curl -X POST https://api.modenpay.io/pay/inquire/api_status \
  -H 'Content-Type: application/json' \
  -H 'Accept: application/json' \
  -H 'Authorization: Basic <Your Basic Auth>'

 

Example 200 response


 

{
    "status": "success",
    "data": {
        "apiStatus": "Open"
    }
}

 

Example 412 response


 

{
	"status" : "fail",
	"code" : 10000,
	"message" : "xxxxxxx"
}

This is an error json return, you can find the corresponding error information according to the error code code. Error code reference table