Skip to main content
e-Buy Docs
View All
Search
Shelves
Books
Log in
Info
Content
Books
e-Buy PaaS API
线上支付API
交易查询
交易查询
基本信息
接口名称:
交易查询
状 态:
已完成
接口路径:
POST
/api/queryTrade
更新时间:
2025-05-09 21:16:44
Mock地址:
https://apimock.e-buychina.com/mock/713/api/queryTrade
请求参数
Headers:
参数名称
参数值
是否必填
Content-Type
application/json
是
Body:
参数名称
类型
必填
默认值
备注
其他信息
uuid
string
是
请求序列号
最大长度:50
最小长度:1
Mock:@now('yyyyMMdd')-@string('lower',32)
appId
string
是
请求AppId
最大长度:50
最小长度:1
Mock:@natural
action
string
是
交易类型
最大长度:50
最小长度:1
Mock:queryTrade
timestamp
number
是
请求时间戳
Mock:@timestamp
signType
string
是
签名类型
最大长度:20
最小长度:1
Mock:sha256
sign
string
是
签名值
最大长度:500
最小长度:1
Mock:@natural
lang
string
是
语言
最大长度:50
最小长度:1
Mock:zh_CN
content
object
是
请求报文
outTradeNo
string
是
外部订单号。如果商户同时使用多个渠道,可以选用最小值
最大长度:32
最小长度:32
Mock:@natural(32, 128)
tradeTime
string
否
交易时间,格式YYYYMMDD,不填默认当天
最大长度:8
最小长度:1
Mock:@string
返回数据
参数名称
类型
必填
默认值
备注
其他信息
uuid
string
是
请求序列号
最大长度:50
最小长度:1
Mock:@now('yyyyMMdd')-@string('lower',32)
success
boolean
是
查询请求是否成功,不代表源交易成功与否。
Mock:@boolean
action
string
是
交易类型
最大长度:50
最小长度:1
Mock:queryTrade
timestamp
number
是
返回时间戳
Mock:@timestamp
errorCode
string
是
错误码
最大长度:50
Mock:@word
errorMessage
string
是
错误描述
最大长度:50
Mock:@csentence
signType
string
否
签名类型
最大长度:20
Mock:sha256
sign
string
否
签名值
最大长度:500
Mock:@natural
content
object
是
返回报文
paymentStatus
string
是
交易记录状态Paying支付中
Success成功
Fail失败
SubRefunded部分退款
Refunded已全部退款
最大长度:64
最小长度:1
Mock:@string
paymentChannelType
string
是
支付渠道
最大长度:20
最小长度:1
Mock:@string
orderId
string
否
业务订单 ID
最大长度:128
Mock:@string
totalAmount
number
是
订单支付总金额
Mock:@natural
currency
string
否
币种
最大长度:5
Mock:@string
outTradeNo
string
是
商户交易订单号
最大长度:50
Mock:@string
paidAmount
string
是
支付成功总金额
Mock:@string
userPaid
string
否
用户实付
最大长度:50
Mock:@string
merchantAmount
number
是
商户实收金额
Mock:@float(0, 100, 0, 2)
paymentTime
string
否
支付时间
最大长度:25
Mock:@string
userInfo
object
是
消费用户信息
userId
string
是
用户id
Mock:@string
platform
string
是
平台标识,枚举
Mock:@string
cashPaid
object
是
电子钱包支付信息
paidAmount
string
是
订单金额
最大长度:10
最小长度:1
Mock:@string
merchantAmount
string
是
商户实收金额
最大长度:10
最小长度:1
Mock:@string
userAmount
string
是
用户实付金额
最大长度:10
最小长度:1
Mock:@string
channelTradeNo
string
是
支付宝微信交易单号
Mock:@string
paymentChannelType
string
是
支付渠道 wechat
alipay
Mock:@string
assetType
string
是
cash
Mock:@string
paymentStatus
string
是
支付状态 Success
Fail
Paying
Mock:@string
备注
变更历史
变更日期
变更内容
2025-05-09
{"path":"\/queryTrade","params":[]}
{"path":"\/queryTrade","params":[]}
[{"required":"1","name":"Content-Type","value":"application\/json"}]
[{"required":"1","name":"Content-Type","value":"application\/json"}]
{"req_body_type":"json"}
{"req_body_type":"json"}
{"res_body_type":"json"}
{"res_body_type":"json"}
{"type":"object","title":"empty object","properties":{"uuid":{"type":"string","mock":{"mock":"@now(\'yyyyMMdd\')-@string(\'lower\',32)"},"description":"请求序列号","minLength":1,"maxLength":50},"appId":{"type":"string","mock":{"mock":"@natural"},"description":"请求AppId","minLength":1,"maxLength":50},"action":{"type":"string","mock":{"mock":"queryTrade"},"description":"交易类型","minLength":1,"maxLength":50},"timestamp":{"type":"number","mock":{"mock":"@timestamp"},"description":"请求时间戳","minimum":1,"exclusiveMinimum":true,"maximum":14,"exclusiveMaximum":true},"signType":{"type":"string","mock":{"mock":"sha256"},"description":"签名类型","minLength":1,"maxLength":20},"sign":{"type":"string","mock":{"mock":"@natural"},"description":"签名值","minLength":1,"maxLength":500},"lang":{"type":"string","mock":{"mock":"zh_CN"},"description":"语言","minLength":1,"maxLength":50},"content":{"type":"object","properties":{"outTradeNo":{"type":"string","description":"外部订单号。如果商户同时使用多个渠道,可以选用最小值","mock":{"mock":"@natural(32, 128)"},"minLength":32,"maxLength":32},"tradeTime":{"type":"string","mock":{"mock":"@string"},"description":"交易时间,格式YYYYMMDD,不填默认当天","minLength":1,"maxLength":8}},"required":["outTradeNo"],"description":"请求报文"}},"required":["uuid","appId","action","timestamp","signType","sign","content","lang"]}
{"type":"object","title":"empty object","properties":{"uuid":{"type":"string","mock":{"mock":"@now(\'yyyyMMdd\')-@string(\'lower\',32)"},"description":"请求序列号","minLength":1,"maxLength":50},"appId":{"type":"string","mock":{"mock":"@natural"},"description":"请求AppId","minLength":1,"maxLength":50},"action":{"type":"string","mock":{"mock":"queryTrade"},"description":"交易类型","minLength":1,"maxLength":50},"timestamp":{"type":"number","mock":{"mock":"@timestamp"},"description":"请求时间戳","minimum":1,"exclusiveMinimum":true,"maximum":14,"exclusiveMaximum":true},"signType":{"type":"string","mock":{"mock":"sha256"},"description":"签名类型","minLength":1,"maxLength":20},"sign":{"type":"string","mock":{"mock":"@natural"},"description":"签名值","minLength":1,"maxLength":500},"lang":{"type":"string","mock":{"mock":"zh_CN"},"description":"语言","minLength":1,"maxLength":50},"content":{"type":"object","properties":{"outTradeNo":{"type":"string","description":"外部订单号。如果商户同时使用多个渠道,可以选用最小值","mock":{"mock":"@natural(32, 128)"},"minLength":32,"maxLength":32},"tradeTime":{"type":"string","mock":{"mock":"@string"},"description":"交易时间,格式YYYYMMDD,不填默认当天","minLength":1,"maxLength":8}},"required":["outTradeNo"],"description":"请求报文"}},"required":["uuid","appId","action","timestamp","signType","sign","content","lang"]}
{"$schema":"http://json-schema.org/draft-04/schema#","type":"object","properties":{"uuid":{"type":"string","default":"","minLength":1,"maxLength":50,"description":"请求序列号","mock":{"mock":"@now(\'yyyyMMdd\')-@string(\'lower\',32)"}},"success":{"type":"boolean","description":"查询请求是否成功,不代表源交易成功与否。","mock":{"mock":"@boolean"}},"action":{"type":"string","default":"","minLength":1,"maxLength":50,"description":"交易类型","mock":{"mock":"queryTrade"}},"timestamp":{"type":"number","description":"返回时间戳","mock":{"mock":"@timestamp"}},"errorCode":{"type":"string","default":"","minLength":0,"maxLength":50,"description":"错误码","mock":{"mock":"@word"}},"errorMessage":{"type":"string","default":"","minLength":0,"maxLength":50,"description":"错误描述","mock":{"mock":"@csentence"}},"signType":{"type":"string","default":"","minLength":0,"maxLength":20,"description":"签名类型","mock":{"mock":"sha256"}},"sign":{"type":"string","default":"","minLength":0,"maxLength":500,"description":"签名值","mock":{"mock":"@natural"}},"content":{"type":"object","properties":{"paymentStatus":{"type":"string","mock":{"mock":"@string"},"minLength":1,"maxLength":64,"description":"交易记录状态Paying支付中/Success成功/Fail失败/SubRefunded部分退款/Refunded已全部退款"},"paymentChannelType":{"type":"string","mock":{"mock":"@string"},"description":"支付渠道","minLength":1,"maxLength":20},"orderId":{"type":"string","mock":{"mock":"@string"},"description":"业务订单 ID","minLength":0,"maxLength":128},"totalAmount":{"type":"number","mock":{"mock":"@natural"},"description":"订单支付总金额"},"currency":{"type":"string","mock":{"mock":"@string"},"description":"币种","minLength":0,"maxLength":5},"outTradeNo":{"type":"string","mock":{"mock":"@string"},"description":"商户交易订单号","minLength":0,"maxLength":50},"paidAmount":{"type":"string","mock":{"mock":"@string"},"description":"支付成功总金额"},"userPaid":{"type":"string","mock":{"mock":"@string"},"description":"用户实付","minLength":0,"maxLength":50},"merchantAmount":{"type":"number","mock":{"mock":"@float(0, 100, 0, 2)"},"description":"商户实收金额","minimum":0,"exclusiveMinimum":true,"maximum":10,"exclusiveMaximum":true},"paymentTime":{"type":"string","mock":{"mock":"@string"},"description":"支付时间","minLength":0,"maxLength":25},"userInfo":{"type":"object","properties":{"userId":{"type":"string","mock":{"mock":"@string"},"description":"用户id"},"platform":{"type":"string","mock":{"mock":"@string"},"description":"平台标识,枚举"}},"required":["userId","platform"],"description":"消费用户信息"},"cardPaid":{"type":"object","properties":{"paidAmount":{"type":"string","description":"cashcard 支付结果","mock":{"mock":"@string"},"minLength":1,"maxLength":10},"merchantAmount":{"type":"string","description":"商户实收金额","minLength":1,"maxLength":10},"userAmount":{"type":"string","description":"用户实付金额","minLength":1,"maxLength":10},"channelParams":{"type":"array","items":{"type":"string"},"description":"微信/支付宝调起支付返回值"}},"required":["paidAmount","merchantAmount","userAmount"],"description":"电子钱包支付信息"}},"description":"返回报文","required":["paymentStatus","merchantAmount","totalAmount","outTradeNo","cardPaid","paidAmount","userInfo","paymentChannelType"]}},"required":["uuid","action","timestamp","success","errorCode","errorMessage","content"],"description":"ROOT"}
{"$schema":"http://json-schema.org/draft-04/schema#","type":"object","properties":{"uuid":{"type":"string","default":"","minLength":1,"maxLength":50,"description":"请求序列号","mock":{"mock":"@now(\'yyyyMMdd\')-@string(\'lower\',32)"}},"success":{"type":"boolean","description":"查询请求是否成功,不代表源交易成功与否。","mock":{"mock":"@boolean"}},"action":{"type":"string","default":"","minLength":1,"maxLength":50,"description":"交易类型","mock":{"mock":"queryTrade"}},"timestamp":{"type":"number","description":"返回时间戳","mock":{"mock":"@timestamp"}},"errorCode":{"type":"string","default":"","minLength":0,"maxLength":50,"description":"错误码","mock":{"mock":"@word"}},"errorMessage":{"type":"string","default":"","minLength":0,"maxLength":50,"description":"错误描述","mock":{"mock":"@csentence"}},"signType":{"type":"string","default":"","minLength":0,"maxLength":20,"description":"签名类型","mock":{"mock":"sha256"}},"sign":{"type":"string","default":"","minLength":0,"maxLength":500,"description":"签名值","mock":{"mock":"@natural"}},"content":{"type":"object","properties":{"paymentStatus":{"type":"string","mock":{"mock":"@string"},"minLength":1,"maxLength":64,"description":"交易记录状态Paying支付中/Success成功/Fail失败/SubRefunded部分退款/Refunded已全部退款"},"paymentChannelType":{"type":"string","mock":{"mock":"@string"},"description":"支付渠道","minLength":1,"maxLength":20},"orderId":{"type":"string","mock":{"mock":"@string"},"description":"业务订单 ID","minLength":0,"maxLength":128},"totalAmount":{"type":"number","mock":{"mock":"@natural"},"description":"订单支付总金额"},"currency":{"type":"string","mock":{"mock":"@string"},"description":"币种","minLength":0,"maxLength":5},"outTradeNo":{"type":"string","mock":{"mock":"@string"},"description":"商户交易订单号","minLength":0,"maxLength":50},"paidAmount":{"type":"string","mock":{"mock":"@string"},"description":"支付成功总金额"},"userPaid":{"type":"string","mock":{"mock":"@string"},"description":"用户实付","minLength":0,"maxLength":50},"merchantAmount":{"type":"number","mock":{"mock":"@float(0, 100, 0, 2)"},"description":"商户实收金额","minimum":0,"exclusiveMinimum":true,"maximum":10,"exclusiveMaximum":true},"paymentTime":{"type":"string","mock":{"mock":"@string"},"description":"支付时间","minLength":0,"maxLength":25},"userInfo":{"type":"object","properties":{"userId":{"type":"string","mock":{"mock":"@string"},"description":"用户id"},"platform":{"type":"string","mock":{"mock":"@string"},"description":"平台标识,枚举"}},"required":["userId","platform"],"description":"消费用户信息"},"cashPaid":{"type":"object","properties":{"paidAmount":{"type":"string","description":"订单金额","mock":{"mock":"@string"},"minLength":1,"maxLength":10},"merchantAmount":{"type":"string","description":"商户实收金额","minLength":1,"maxLength":10,"mock":{"mock":"@string"}},"userAmount":{"type":"string","description":"用户实付金额","minLength":1,"maxLength":10,"mock":{"mock":"@string"}},"channelTradeNo":{"type":"string","mock":{"mock":"@string"},"description":"支付宝微信交易单号"},"paymentChannelType":{"type":"string","mock":{"mock":"@string"},"description":"支付渠道 wechat/alipay"},"assetType":{"type":"string","mock":{"mock":"@string"},"description":"cash"},"paymentStatus":{"type":"string","mock":{"mock":"@string"},"description":"支付状态 Success/Fail/Paying"}},"required":["paidAmount","merchantAmount","userAmount","channelTradeNo","paymentChannelType","assetType","paymentStatus"],"description":"电子钱包支付信息"}},"description":"返回报文","required":["paymentStatus","merchantAmount","totalAmount","outTradeNo","cashPaid","paidAmount","userInfo","paymentChannelType"]}},"required":["uuid","action","timestamp","success","errorCode","errorMessage","content"],"description":"ROOT"}
2025-03-17
{"path":"\/queryTrade","params":[]}
{"path":"\/queryTrade","params":[]}
[{"required":"1","name":"Content-Type","value":"application\/json"}]
[{"required":"1","name":"Content-Type","value":"application\/json"}]
{"req_body_type":"json"}
{"req_body_type":"json"}
{"res_body_type":"json"}
{"res_body_type":"json"}
{"type":"object","title":"empty object","properties":{"uuid":{"type":"string","mock":{"mock":"@now(\'yyyyMMdd\')-@string(\'lower\',32)"},"description":"请求序列号","minLength":1,"maxLength":50},"appId":{"type":"string","mock":{"mock":"@natural"},"description":"请求AppId","minLength":1,"maxLength":50},"action":{"type":"string","mock":{"mock":"queryTrade"},"description":"交易类型","minLength":1,"maxLength":50},"timestamp":{"type":"number","mock":{"mock":"@timestamp"},"description":"请求时间戳","minimum":1,"exclusiveMinimum":true,"maximum":14,"exclusiveMaximum":true},"signType":{"type":"string","mock":{"mock":"sha256"},"description":"签名类型","minLength":1,"maxLength":20},"sign":{"type":"string","mock":{"mock":"@natural"},"description":"签名值","minLength":1,"maxLength":500},"lang":{"type":"string","mock":{"mock":"zh_CN"},"description":"语言","minLength":1,"maxLength":50},"content":{"type":"object","properties":{"outTradeNo":{"type":"string","description":"外部订单号。如果商户同时使用多个渠道,可以选用最小值","mock":{"mock":"@natural(32, 128)"},"minLength":32,"maxLength":32},"tradeTime":{"type":"string","mock":{"mock":"@string"},"description":"交易时间,格式YYYYMMDD,不填默认当天","minLength":1,"maxLength":8}},"required":["outTradeNo"],"description":"请求报文"}},"required":["uuid","appId","action","timestamp","signType","sign","content","lang"]}
{"type":"object","title":"empty object","properties":{"uuid":{"type":"string","mock":{"mock":"@now(\'yyyyMMdd\')-@string(\'lower\',32)"},"description":"请求序列号","minLength":1,"maxLength":50},"appId":{"type":"string","mock":{"mock":"@natural"},"description":"请求AppId","minLength":1,"maxLength":50},"action":{"type":"string","mock":{"mock":"queryTrade"},"description":"交易类型","minLength":1,"maxLength":50},"timestamp":{"type":"number","mock":{"mock":"@timestamp"},"description":"请求时间戳","minimum":1,"exclusiveMinimum":true,"maximum":14,"exclusiveMaximum":true},"signType":{"type":"string","mock":{"mock":"sha256"},"description":"签名类型","minLength":1,"maxLength":20},"sign":{"type":"string","mock":{"mock":"@natural"},"description":"签名值","minLength":1,"maxLength":500},"lang":{"type":"string","mock":{"mock":"zh_CN"},"description":"语言","minLength":1,"maxLength":50},"content":{"type":"object","properties":{"outTradeNo":{"type":"string","description":"外部订单号。如果商户同时使用多个渠道,可以选用最小值","mock":{"mock":"@natural(32, 128)"},"minLength":32,"maxLength":32},"tradeTime":{"type":"string","mock":{"mock":"@string"},"description":"交易时间,格式YYYYMMDD,不填默认当天","minLength":1,"maxLength":8}},"required":["outTradeNo"],"description":"请求报文"}},"required":["uuid","appId","action","timestamp","signType","sign","content","lang"]}
{"$schema":"http://json-schema.org/draft-04/schema#","type":"object","properties":{"uuid":{"type":"string","default":"","minLength":1,"maxLength":50,"description":"请求序列号","mock":{"mock":"@now(\'yyyyMMdd\')-@string(\'lower\',32)"}},"success":{"type":"boolean","description":"查询请求是否成功,不代表源交易成功与否。","mock":{"mock":"@boolean"}},"action":{"type":"string","default":"","minLength":1,"maxLength":50,"description":"交易类型","mock":{"mock":"queryTrade"}},"timestamp":{"type":"number","description":"返回时间戳","mock":{"mock":"@timestamp"}},"errorCode":{"type":"string","default":"","minLength":0,"maxLength":50,"description":"错误码","mock":{"mock":"@word"}},"errorMessage":{"type":"string","default":"","minLength":0,"maxLength":50,"description":"错误描述","mock":{"mock":"@csentence"}},"signType":{"type":"string","default":"","minLength":0,"maxLength":20,"description":"签名类型","mock":{"mock":"sha256"}},"sign":{"type":"string","default":"","minLength":0,"maxLength":500,"description":"签名值","mock":{"mock":"@natural"}},"content":{"type":"object","properties":{"paymentStatus":{"type":"string","mock":{"mock":"@string"},"minLength":1,"maxLength":64,"description":"交易记录状态Paying支付中/Success成功/Fail失败/SubRefunded部分退款/Refunded已全部退款"},"paymentChannelType":{"type":"string","mock":{"mock":"@string"},"description":"支付渠道","minLength":1,"maxLength":20},"orderId":{"type":"string","mock":{"mock":"@string"},"description":"业务订单 ID","minLength":0,"maxLength":128},"totalAmount":{"type":"number","mock":{"mock":"@natural"},"description":"订单支付总金额"},"currency":{"type":"string","mock":{"mock":"@string"},"description":"币种","minLength":0,"maxLength":5},"outTradeNo":{"type":"string","mock":{"mock":"@string"},"description":"商户交易订单号","minLength":0,"maxLength":50},"paidAmount":{"type":"string","mock":{"mock":"@string"},"description":"支付成功总金额"},"cashPaid":{"type":"string","mock":{"mock":"@string"},"description":"电子钱包支付金额","minLength":0,"maxLength":10},"userPaid":{"type":"string","mock":{"mock":"@string"},"description":"用户实付","minLength":0,"maxLength":50},"merchantAmount":{"type":"number","mock":{"mock":"@float(0, 100, 0, 2)"},"description":"商户实收金额","minimum":0,"exclusiveMinimum":true,"maximum":10,"exclusiveMaximum":true},"paymentTime":{"type":"string","mock":{"mock":"@string"},"description":"支付时间","minLength":0,"maxLength":25},"userInfo":{"type":"object","properties":{"userId":{"type":"string","mock":{"mock":"@string"},"description":"用户id"},"platform":{"type":"string","mock":{"mock":"@string"},"description":"平台标识,枚举"}},"required":["userId","platform"],"description":"消费用户信息"},"cardPaid":{"type":"object","properties":{"paidAmount":{"type":"string","description":"cashcard 支付结果","mock":{"mock":"@string"},"minLength":1,"maxLength":10},"tenderCode":{"type":"string","description":"商户收入映射码","maxLength":20,"minLength":0},"discountCode":{"type":"string","description":"商户优惠映射码","minLength":0,"maxLength":20},"merchantAmount":{"type":"string","description":"商户实收金额","minLength":1,"maxLength":10},"userAmount":{"type":"string","description":"用户实付金额","minLength":1,"maxLength":10},"cardresult":{"type":"array","items":{"type":"string"},"description":"卡使用结果"}},"required":["paidAmount","merchantAmount","userAmount"],"description":"卡支付结果"},"couponPaid":{"type":"object","properties":{"paidAmount":{"type":"string","description":"此资产支付成功金额","minLength":1,"maxLength":10},"tenderCode":{"type":"string","description":"商户收入映射码","minLength":0,"maxLength":20},"discountCode":{"type":"string","description":"商户优惠映射码","minLength":0,"maxLength":20},"merchantAmount":{"type":"string","description":"商户实收金额","minLength":1,"maxLength":10},"userAmount":{"type":"string","description":"用户实付金额","minLength":1,"maxLength":10},"couponresult":{"type":"array","items":{"type":"string","mock":{"mock":"@string"}},"description":"券使用结果"}},"required":["paidAmount","merchantAmount","userAmount"],"description":"coupon支付结果"},"pointsPaid":{"type":"object","properties":{"paidAmount":{"type":"string","mock":{"mock":"@string"},"description":"此资产支付成功金额","minLength":1,"maxLength":10},"pointsCount":{"type":"string","mock":{"mock":"@string"},"description":"使用积分数","minLength":1,"maxLength":10},"tenderCode":{"type":"string","mock":{"mock":"@string"},"description":"商户收入映射码","minLength":0,"maxLength":20},"discountCode":{"type":"string","mock":{"mock":"@string"},"description":"商户优惠映射码","minLength":0,"maxLength":20},"merchantAmount":{"type":"string","description":"商户实收金额","mock":{"mock":"@string"},"minLength":1,"maxLength":10}},"required":["paidAmount","merchantAmount","pointsCount"],"description":"积分支付结果"}},"description":"返回报文","required":["paymentStatus","merchantAmount","totalAmount","outTradeNo","cardPaid","couponPaid","pointsPaid","paidAmount","userInfo","paymentChannelType"]}},"required":["uuid","action","timestamp","success","errorCode","errorMessage","content"],"description":"ROOT"}
{"$schema":"http://json-schema.org/draft-04/schema#","type":"object","properties":{"uuid":{"type":"string","default":"","minLength":1,"maxLength":50,"description":"请求序列号","mock":{"mock":"@now(\'yyyyMMdd\')-@string(\'lower\',32)"}},"success":{"type":"boolean","description":"查询请求是否成功,不代表源交易成功与否。","mock":{"mock":"@boolean"}},"action":{"type":"string","default":"","minLength":1,"maxLength":50,"description":"交易类型","mock":{"mock":"queryTrade"}},"timestamp":{"type":"number","description":"返回时间戳","mock":{"mock":"@timestamp"}},"errorCode":{"type":"string","default":"","minLength":0,"maxLength":50,"description":"错误码","mock":{"mock":"@word"}},"errorMessage":{"type":"string","default":"","minLength":0,"maxLength":50,"description":"错误描述","mock":{"mock":"@csentence"}},"signType":{"type":"string","default":"","minLength":0,"maxLength":20,"description":"签名类型","mock":{"mock":"sha256"}},"sign":{"type":"string","default":"","minLength":0,"maxLength":500,"description":"签名值","mock":{"mock":"@natural"}},"content":{"type":"object","properties":{"paymentStatus":{"type":"string","mock":{"mock":"@string"},"minLength":1,"maxLength":64,"description":"交易记录状态Paying支付中/Success成功/Fail失败/SubRefunded部分退款/Refunded已全部退款"},"paymentChannelType":{"type":"string","mock":{"mock":"@string"},"description":"支付渠道","minLength":1,"maxLength":20},"orderId":{"type":"string","mock":{"mock":"@string"},"description":"业务订单 ID","minLength":0,"maxLength":128},"totalAmount":{"type":"number","mock":{"mock":"@natural"},"description":"订单支付总金额"},"currency":{"type":"string","mock":{"mock":"@string"},"description":"币种","minLength":0,"maxLength":5},"outTradeNo":{"type":"string","mock":{"mock":"@string"},"description":"商户交易订单号","minLength":0,"maxLength":50},"paidAmount":{"type":"string","mock":{"mock":"@string"},"description":"支付成功总金额"},"userPaid":{"type":"string","mock":{"mock":"@string"},"description":"用户实付","minLength":0,"maxLength":50},"merchantAmount":{"type":"number","mock":{"mock":"@float(0, 100, 0, 2)"},"description":"商户实收金额","minimum":0,"exclusiveMinimum":true,"maximum":10,"exclusiveMaximum":true},"paymentTime":{"type":"string","mock":{"mock":"@string"},"description":"支付时间","minLength":0,"maxLength":25},"userInfo":{"type":"object","properties":{"userId":{"type":"string","mock":{"mock":"@string"},"description":"用户id"},"platform":{"type":"string","mock":{"mock":"@string"},"description":"平台标识,枚举"}},"required":["userId","platform"],"description":"消费用户信息"},"cardPaid":{"type":"object","properties":{"paidAmount":{"type":"string","description":"cashcard 支付结果","mock":{"mock":"@string"},"minLength":1,"maxLength":10},"merchantAmount":{"type":"string","description":"商户实收金额","minLength":1,"maxLength":10},"userAmount":{"type":"string","description":"用户实付金额","minLength":1,"maxLength":10},"channelParams":{"type":"array","items":{"type":"string"},"description":"微信/支付宝调起支付返回值"}},"required":["paidAmount","merchantAmount","userAmount"],"description":"电子钱包支付信息"}},"description":"返回报文","required":["paymentStatus","merchantAmount","totalAmount","outTradeNo","cardPaid","paidAmount","userInfo","paymentChannelType"]}},"required":["uuid","action","timestamp","success","errorCode","errorMessage","content"],"description":"ROOT"}
api-id=37500
entities.pages_pointer_enter_mode
Previous
统一下单
Next
申请退款
No Comments
Add Comment
New Comment
In reply to 1234
Remove
Cancel
Save Comment
Back to top
Entity Select
No Comments