Check whether the order is paid interface

API call address

{域名地址}/api/payment/check

illustrate:{域名地址}You need to replace it with your domain address, such ashttps://en.anqicms.com/api/payment/check

Calling methods

GET

Request parameters

Field name type Required illustrate
order_id string yes Order ID

Return parameters

Field name type illustrate
code int Error code
msg string Error Cause Description

Request data example

parameter value
order_id 202211232209080046

Return to the data example

{
  "code": 0,
  "msg": "支付成功"
}
{
  "code": -1,
  "msg": "未支付"
}

Error code

Error code illustrate
0 OK
-1 Error, the error reason is indicated in msg
1001 Not logged in
1002 Unauthorized
200 API Request OK