Authorization

授权确认以及取消
post
https://{paymentApiUrl}
/V2022-03/AuthorizeInterface
预授权完成/撤销接口

预授权完成/撤销接口请求报文示例

curl --request POST \
--url https://{paymentApiUrl}/V2022-03/AuthorizeInterface \
--header 'Content-Type: application/json' \
--header 'request-id: 58675' \
--header 'request-time: 1651888520935' \
--header 'gateway-no: 12345001' \
--header 'sign-info: 787966BF2479A1BE8E1886CD18E6919447FAF4F357E7056188D4F035661B822B' \
--data '{
"authType": "2",
"operator": "jmtest01",
"remark": "remark1",
"tradeNo": "2022051812003328329425"
}'

结果对象属性描述

property name
type
description
code
String
返回码
message
String
返回信息
data
tradeNo
String
交易流水号
orderNo
String
商户订单号
orderStatus
String
【授权状态】
待处理:pending
成功:success
失败:fail
orderInfo
String
授权操作返回信息