查询API系统状态

2021-03-22 11:56:10


类型:

GET & POST

URL:

https://api.payotc365.com/pay/inquire/api_status

 

请求参数


 

请求示例


 

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

 

示例 200 响应


 

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

 

示例 412 响应


 

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

这是一个错误的json返回,您可以根据错误 code 代码查找对应错误信息。错误代码参考表