文档
测试

支付结果查询

POST
/thirdparty/api/pay/synctrade

接口描述

支付结果查询

请求参数

参数名
类型
描述
必填
payid
string
支付唯一编号
必填

响应参数

参数名
类型
描述
必填
code
int
状态码,成功:0
必填
message
string
错误描述
必填
data
object
返回对象
必填
payid
string
支付唯一编号
必填
orderid
string
商户订单唯一编号
必填
transactionid
string
示例:
必填
gateway
string
示例:
必填
subject
string
示例:
必填
shopcode
string
示例:
必填
terminalid
string
示例:
必填
operatorid
string
示例:
必填
ordertype
int
示例:0
必填
paymode
int
示例:0
必填
status
string
支付状态:("REQUEST", "请求发起"), ("REQUEST_SUCCESS", "请求成功"), ("REQUEST_CLOSE", "交易关闭"), ("FAIL", "支付失败"), ("SUCCESS", "支付成功");
必填
channel
int
示例:0
必填
buyid
string
示例:
必填
totalfee
number
示例:0
必填
tradetime
date
支付时间
必填
thirdpartyuseridentity
string
示例:
必填
shroffaccountidentity
string
示例:
必填
banktype
string
示例:
必填
bankcardtype
string
示例:
必填
traceid
string
必填
now
int
当前时间戳
必填

说明 / 示例

请求参数示例: ```json { "payid": "" } ``` 返回参数示例 ```json { "code": 0, "message": "", "data": { "payid": "", "orderid": "", "transactionid": "", "gateway": "", "subject": "", "shopcode": "", "terminalid": "", "operatorid": "", "ordertype": 0, "paymode": 0, "status": "", "channel": 0, "buyid": "", "totalfee": 0.00, "tradetime": "2021-11-23 17:09:18", "thirdpartyuseridentity": "", "shroffaccountidentity": "", "banktype": "", "bankcardtype": "" }, "traceid ": "aa0add714705f0a0 ", "now ": 1620984883345 } ```