Skip to main content
POST
/
api
/
pay
/
close
关闭订单
curl --request POST \
  --url https://sandbox-pay.epay123.net/api/pay/close \
  --header 'Content-Type: application/json' \
  --data '
{
  "version": "1.0.1",
  "signType": "MD5",
  "sign": "xxxxxx",
  "reqTime": "1622016572190",
  "mchNo": "M1234567890",
  "appId": "88808634c46ff1a7807888888",
  "mchOrderNo": "20160427210604000490",
  "payOrderId": "P202106181104177050002"
}
'
{
  "code": 200,
  "msg": "成功",
  "data": {},
  "sign": "<string>"
}

Body

application/json

关闭订单请求参数

version
string
required

版本号

Example:

"1.0.1"

signType
string
required

签名类型,目前只支持MD5方式

Example:

"MD5"

sign
string
required

签名值,详见签名算法

Example:

"xxxxxx"

reqTime
string
required

时间戳,13位时间戳

Example:

"1622016572190"

mchNo
string
required

商户号

Example:

"M1234567890"

appId
string
required

商户应用ID

Example:

"88808634c46ff1a7807888888"

mchOrderNo
string
required

商户订单号

Example:

"20160427210604000490"

payOrderId
string
required

支付中心生成的订单号,与mchOrderNo二者传一即可

Example:

"P202106181104177050002"

Response

200 - */*

成功返回结果

code
integer<int32>

业务响应码

Example:

200

msg
string

业务响应信息

Example:

"成功"

data
data · object

数据对象

sign
string

签名值