Skip to main content
e-Buy Docs
View All
Search
Shelves
Books
Log in
Info
Content
Books
e-Buy PaaS API
易百收银插件api
交易退款
交易退款
基本信息
接口名称:
交易退款
状 态:
已完成
接口路径:
POST
/paas/app/cashier/refund
更新时间:
2021-07-07 23:54:46
Mock地址:
https://apimock.e-buychina.com/mock/605/paas/app/cashier/refund
请求参数
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:refund
timestamp
number
是
请求时间戳
Mock:@timestamp
lang
string
是
语言
最大长度:50
最小长度:1
Mock:zh_CN
content
object
是
请求报文
outTradeNo
string
是
外部商户订单号
最大长度:32
最小长度:1
Mock:mock100100
refundTradeNo
string
是
退款交易编号
最大长度:32
最小长度:1
Mock:mock100100
tradeTime
string
是
交易时间,格式YYYYMMDD,不填默认当天
refundReason
string
否
退款原因
refundMethod
array
是
assetType
string
是
refundAmount
string
是
返回数据
参数名称
类型
必填
默认值
备注
其他信息
uuid
string
是
请求序列号
最大长度:50
最小长度:1
Mock:@now('yyyyMMdd')-@string('lower',32)
success
boolean
是
交易成功与否
Mock:@boolean
action
string
是
交易类型
最大长度:50
最小长度:1
Mock:refund
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
是
返回报文
outTradeNo
string
是
流水号
最大长度:64
最小长度:1
Mock:@string
refundTime
string
是
退款时间
最大长度:19
最小长度:1
Mock:@date
refundAmount
string
是
退款金额
最大长度:11
最小长度:1
Mock:@integer
cardRefund
object
是
卡退款明细
refundAmount
string
是
退款金额
最大长度:11
最小长度:1
refundStatus
string
是
退款状态
最大长度:32
最小长度:1
useList
array
否
code
string
是
errorCode
string
是
errorMsg
string
是
paidAmount
string
是
useRule
string
是
fromGoodsIds
string
是
forGoodsIds
string
是
couponRefund
object
是
券退款明细
refundAmount
string
是
退款金额
最大长度:11
最小长度:1
refundStatus
string
是
退款状态
最大长度:32
最小长度:1
useList
array
否
code
string
是
errorCode
string
是
errorMsg
string
是
paidAmount
string
是
useRule
string
是
fromGoodsIds
string
是
forGoodsIds
string
是
pointsRefund
object
是
积分退款明细
refundAmount
string
是
退款金额
最大长度:11
最小长度:1
refundStatus
string
是
退款状态
最大长度:32
最小长度:1
useList
array
否
code
string
是
errorCode
string
是
errorMsg
string
是
paidAmount
string
是
useRule
string
是
fromGoodsIds
string
是
forGoodsIds
string
是
cashRefund
object
是
电子现金退款明细
refundAmount
string
是
退款金额
最大长度:11
最小长度:1
refundStatus
string
是
退款状态
最大长度:32
最小长度:1
备注
变更历史
变更日期
变更内容
2021-07-07
{"path":"\/refund","params":[]}
{"path":"\/refund","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":"raw"}
{"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":"refund"},"description":"交易类型","minLength":1,"maxLength":50},"timestamp":{"type":"number","mock":{"mock":"@timestamp"},"description":"请求时间戳","minimum":0,"exclusiveMinimum":true,"maximum":14,"exclusiveMaximum":true},"lang":{"type":"string","mock":{"mock":"zh_CN"},"description":"语言","minLength":1,"maxLength":50},"content":{"type":"object","properties":{"outTradeNo":{"type":"string","mock":{"mock":"mock100100"},"minLength":1,"maxLength":32,"description":"外部商户订单号"},"refundTradeNo":{"type":"string","mock":{"mock":"mock100100"},"description":"退款交易编号","minLength":1,"maxLength":32},"tradeTime":{"type":"string","description":"交易时间,格式YYYYMMDD,不填默认当天"},"refundReason":{"type":"string","description":"退款原因"},"refundMethod":{"type":"array","items":{"type":"object","properties":{"assetType":{"type":"string"},"refundAmount":{"type":"string"}},"required":["assetType","refundAmount"]}}},"description":"请求报文","required":["outTradeNo","refundTradeNo","tradeTime","refundMethod"]}},"required":["uuid","appId","action","timestamp","lang","content"]}
{"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":"refund"},"description":"交易类型","minLength":1,"maxLength":50},"timestamp":{"type":"number","mock":{"mock":"@timestamp"},"description":"请求时间戳","minimum":0,"exclusiveMinimum":true,"maximum":14,"exclusiveMaximum":true},"lang":{"type":"string","mock":{"mock":"zh_CN"},"description":"语言","minLength":1,"maxLength":50},"content":{"type":"object","properties":{"outTradeNo":{"type":"string","mock":{"mock":"mock100100"},"minLength":1,"maxLength":32,"description":"外部商户订单号"},"refundTradeNo":{"type":"string","mock":{"mock":"mock100100"},"description":"退款交易编号","minLength":1,"maxLength":32},"tradeTime":{"type":"string","description":"交易时间,格式YYYYMMDD,不填默认当天"},"refundReason":{"type":"string","description":"退款原因"},"refundMethod":{"type":"array","items":{"type":"object","properties":{"assetType":{"type":"string"},"refundAmount":{"type":"string"}},"required":["assetType","refundAmount"]}}},"description":"请求报文","required":["outTradeNo","refundTradeNo","tradeTime","refundMethod"]}},"required":["uuid","appId","action","timestamp","lang","content"]}
{ "$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": "refund" } }, "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": { "outTradeNo": { "type": "string", "mock": { "mock": "@string" }, "description": "流水号", "minLength": 1, "maxLength": 64 }, "refundTime": { "type": "string", "mock": { "mock": "@date" }, "description": "退款时间", "minLength": 1, "maxLength": 19 }, "refundAmount": { "type": "string", "mock": { "mock": "@integer" }, "description": "退款金额", "minLength": 1, "maxLength": 11 }, "cardRefund": { "type": "object", "properties": { "refundAmount": { "type": "string", "description": "退款金额", "minLength": 1, "maxLength": 11 }, "refundStatus": { "type": "string", "description": "退款状态", "minLength": 1, "maxLength": 32 }, "useList": { "type": "array", "items": { "type": "object", "properties": { "code": { "type": "string" }, "errorCode": { "type": "string" }, "errorMsg": { "type": "string" }, "paidAmount": { "type": "string" }, "useRule": { "type": "string" }, "fromGoodsIds": { "type": "string" }, "forGoodsIds": { "type": "string" } }, "required": [ "code", "fromGoodsIds", "useRule", "paidAmount", "errorMsg", "errorCode", "forGoodsIds" ] } } }, "description": "卡退款明细", "required": ["refundAmount", "refundStatus"] }, "couponRefund": { "type": "object", "properties": { "refundAmount": { "type": "string", "description": "退款金额", "minLength": 1, "maxLength": 11 }, "refundStatus": { "type": "string", "description": "退款状态", "minLength": 1, "maxLength": 32 }, "useList": { "type": "array", "items": { "type": "object", "properties": { "code": { "type": "string" }, "errorCode": { "type": "string" }, "errorMsg": { "type": "string" }, "paidAmount": { "type": "string" }, "useRule": { "type": "string" }, "fromGoodsIds": { "type": "string" }, "forGoodsIds": { "type": "string" } }, "required": [ "code", "fromGoodsIds", "useRule", "paidAmount", "errorMsg", "errorCode", "forGoodsIds" ] } } }, "description": "券退款明细", "required": ["refundAmount", "refundStatus"] }, "pointsRefund": { "type": "object", "properties": { "refundAmount": { "type": "string", "description": "退款金额", "minLength": 1, "maxLength": 11 }, "refundStatus": { "type": "string", "description": "退款状态", "minLength": 1, "maxLength": 32 }, "useList": { "type": "array", "items": { "type": "object", "properties": { "code": { "type": "string" }, "errorCode": { "type": "string" }, "errorMsg": { "type": "string" }, "paidAmount": { "type": "string" }, "useRule": { "type": "string" }, "fromGoodsIds": { "type": "string" }, "forGoodsIds": { "type": "string" } }, "required": [ "code", "fromGoodsIds", "useRule", "paidAmount", "errorMsg", "errorCode", "forGoodsIds" ] } } }, "description": "积分退款明细", "required": ["refundAmount", "refundStatus"] }, "cashRefund": { "type": "object", "properties": { "refundAmount": { "type": "string", "description": "退款金额", "minLength": 1, "maxLength": 11 }, "refundStatus": { "type": "string", "description": "退款状态", "minLength": 1, "maxLength": 32 } }, "description": "电子现金退款明细", "required": ["refundAmount", "refundStatus"] } }, "description": "返回报文", "required": [ "outTradeNo", "refundTime", "refundAmount", "cardRefund", "couponRefund", "pointsRefund", "cashRefund" ] } }, "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":"refund"}},"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":{"outTradeNo":{"type":"string","mock":{"mock":"@string"},"description":"流水号","minLength":1,"maxLength":64},"refundTime":{"type":"string","mock":{"mock":"@date"},"description":"退款时间","minLength":1,"maxLength":19},"refundAmount":{"type":"string","mock":{"mock":"@integer"},"description":"退款金额","minLength":1,"maxLength":11},"cardRefund":{"type":"object","properties":{"refundAmount":{"type":"string","description":"退款金额","minLength":1,"maxLength":11},"refundStatus":{"type":"string","description":"退款状态","minLength":1,"maxLength":32},"useList":{"type":"array","items":{"type":"object","properties":{"code":{"type":"string"},"errorCode":{"type":"string"},"errorMsg":{"type":"string"},"paidAmount":{"type":"string"},"useRule":{"type":"string"},"fromGoodsIds":{"type":"string"},"forGoodsIds":{"type":"string"}},"required":["code","fromGoodsIds","useRule","paidAmount","errorMsg","errorCode","forGoodsIds"]}}},"description":"卡退款明细","required":["refundAmount","refundStatus"]},"couponRefund":{"type":"object","properties":{"refundAmount":{"type":"string","description":"退款金额","minLength":1,"maxLength":11},"refundStatus":{"type":"string","description":"退款状态","minLength":1,"maxLength":32},"useList":{"type":"array","items":{"type":"object","properties":{"code":{"type":"string"},"errorCode":{"type":"string"},"errorMsg":{"type":"string"},"paidAmount":{"type":"string"},"useRule":{"type":"string"},"fromGoodsIds":{"type":"string"},"forGoodsIds":{"type":"string"}},"required":["code","fromGoodsIds","useRule","paidAmount","errorMsg","errorCode","forGoodsIds"]}}},"description":"券退款明细","required":["refundAmount","refundStatus"]},"pointsRefund":{"type":"object","properties":{"refundAmount":{"type":"string","description":"退款金额","minLength":1,"maxLength":11},"refundStatus":{"type":"string","description":"退款状态","minLength":1,"maxLength":32},"useList":{"type":"array","items":{"type":"object","properties":{"code":{"type":"string"},"errorCode":{"type":"string"},"errorMsg":{"type":"string"},"paidAmount":{"type":"string"},"useRule":{"type":"string"},"fromGoodsIds":{"type":"string"},"forGoodsIds":{"type":"string"}},"required":["code","fromGoodsIds","useRule","paidAmount","errorMsg","errorCode","forGoodsIds"]}}},"description":"积分退款明细","required":["refundAmount","refundStatus"]},"cashRefund":{"type":"object","properties":{"refundAmount":{"type":"string","description":"退款金额","minLength":1,"maxLength":11},"refundStatus":{"type":"string","description":"退款状态","minLength":1,"maxLength":32}},"description":"电子现金退款明细","required":["refundAmount","refundStatus"]}},"description":"返回报文","required":["outTradeNo","refundTime","refundAmount","cardRefund","couponRefund","pointsRefund","cashRefund"]}},"required":["uuid","action","timestamp","success","errorCode","errorMessage","content"],"description":"ROOT"}
2021-07-07
{"path":"\/refund","params":[]}
{"path":"\/refund","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":"raw"}
{"res_body_type":"raw"}
{"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":"refund"},"description":"交易类型","minLength":1,"maxLength":50},"timestamp":{"type":"number","mock":{"mock":"@timestamp"},"description":"请求时间戳","minimum":0,"exclusiveMinimum":true,"maximum":14,"exclusiveMaximum":true},"lang":{"type":"string","mock":{"mock":"zh_CN"},"description":"语言","minLength":1,"maxLength":50},"content":{"type":"object","properties":{"outTradeNo":{"type":"string","mock":{"mock":"mock100100"},"minLength":1,"maxLength":32,"description":"外部商户订单号"},"refundTradeNo":{"type":"string","mock":{"mock":"mock100100"},"description":"退款交易编号","minLength":1,"maxLength":32},"tradeTime":{"type":"string","description":"交易时间,格式YYYYMMDD,不填默认当天"},"refundReason":{"type":"string","description":"退款原因"},"refundMethod":{"type":"array","items":{"type":"object","properties":{"assetType":{"type":"string"},"refundAmount":{"type":"string"}},"required":["assetType","refundAmount"]}}},"description":"请求报文","required":["outTradeNo","refundTradeNo","tradeTime","refundMethod"]}},"required":["uuid","appId","action","timestamp","lang","content"]}
{"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":"refund"},"description":"交易类型","minLength":1,"maxLength":50},"timestamp":{"type":"number","mock":{"mock":"@timestamp"},"description":"请求时间戳","minimum":0,"exclusiveMinimum":true,"maximum":14,"exclusiveMaximum":true},"lang":{"type":"string","mock":{"mock":"zh_CN"},"description":"语言","minLength":1,"maxLength":50},"content":{"type":"object","properties":{"outTradeNo":{"type":"string","mock":{"mock":"mock100100"},"minLength":1,"maxLength":32,"description":"外部商户订单号"},"refundTradeNo":{"type":"string","mock":{"mock":"mock100100"},"description":"退款交易编号","minLength":1,"maxLength":32},"tradeTime":{"type":"string","description":"交易时间,格式YYYYMMDD,不填默认当天"},"refundReason":{"type":"string","description":"退款原因"},"refundMethod":{"type":"array","items":{"type":"object","properties":{"assetType":{"type":"string"},"refundAmount":{"type":"string"}},"required":["assetType","refundAmount"]}}},"description":"请求报文","required":["outTradeNo","refundTradeNo","tradeTime","refundMethod"]}},"required":["uuid","appId","action","timestamp","lang","content"]}
{ "$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": "refund" } }, "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": { "outTradeNo": { "type": "string", "mock": { "mock": "@string" }, "description": "流水号", "minLength": 1, "maxLength": 64 }, "refundTime": { "type": "string", "mock": { "mock": "@date" }, "description": "退款时间", "minLength": 1, "maxLength": 19 }, "refundAmount": { "type": "string", "mock": { "mock": "@integer" }, "description": "退款金额", "minLength": 1, "maxLength": 11 }, "cardRefund": { "type": "object", "properties": { "refundAmount": { "type": "string", "description": "退款金额", "minLength": 1, "maxLength": 11 }, "refundStatus": { "type": "string", "description": "退款状态", "minLength": 1, "maxLength": 32 } }, "description": "卡退款明细", "required": ["refundAmount", "refundStatus"] }, "couponRefund": { "type": "object", "properties": { "refundAmount": { "type": "string", "description": "退款金额", "minLength": 1, "maxLength": 11 }, "refundStatus": { "type": "string", "description": "退款状态", "minLength": 1, "maxLength": 32 } }, "description": "券退款明细", "required": ["refundAmount", "refundStatus"] }, "pointsRefund": { "type": "object", "properties": { "refundAmount": { "type": "string", "description": "退款金额", "minLength": 1, "maxLength": 11 }, "refundStatus": { "type": "string", "description": "退款状态", "minLength": 1, "maxLength": 32 } }, "description": "积分退款明细", "required": ["refundAmount", "refundStatus"] }, "cashRefund": { "type": "object", "properties": { "refundAmount": { "type": "string", "description": "退款金额", "minLength": 1, "maxLength": 11 }, "refundStatus": { "type": "string", "description": "退款状态", "minLength": 1, "maxLength": 32 } }, "description": "电子现金退款明细", "required": ["refundAmount", "refundStatus"] } }, "description": "返回报文", "required": [ "outTradeNo", "refundTime", "refundAmount", "cardRefund", "couponRefund", "pointsRefund", "cashRefund" ] } }, "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": "refund" } }, "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": { "outTradeNo": { "type": "string", "mock": { "mock": "@string" }, "description": "流水号", "minLength": 1, "maxLength": 64 }, "refundTime": { "type": "string", "mock": { "mock": "@date" }, "description": "退款时间", "minLength": 1, "maxLength": 19 }, "refundAmount": { "type": "string", "mock": { "mock": "@integer" }, "description": "退款金额", "minLength": 1, "maxLength": 11 }, "cardRefund": { "type": "object", "properties": { "refundAmount": { "type": "string", "description": "退款金额", "minLength": 1, "maxLength": 11 }, "refundStatus": { "type": "string", "description": "退款状态", "minLength": 1, "maxLength": 32 }, "useList": { "type": "array", "items": { "type": "object", "properties": { "code": { "type": "string" }, "errorCode": { "type": "string" }, "errorMsg": { "type": "string" }, "paidAmount": { "type": "string" }, "useRule": { "type": "string" }, "fromGoodsIds": { "type": "string" }, "forGoodsIds": { "type": "string" } }, "required": [ "code", "fromGoodsIds", "useRule", "paidAmount", "errorMsg", "errorCode", "forGoodsIds" ] } } }, "description": "卡退款明细", "required": ["refundAmount", "refundStatus"] }, "couponRefund": { "type": "object", "properties": { "refundAmount": { "type": "string", "description": "退款金额", "minLength": 1, "maxLength": 11 }, "refundStatus": { "type": "string", "description": "退款状态", "minLength": 1, "maxLength": 32 }, "useList": { "type": "array", "items": { "type": "object", "properties": { "code": { "type": "string" }, "errorCode": { "type": "string" }, "errorMsg": { "type": "string" }, "paidAmount": { "type": "string" }, "useRule": { "type": "string" }, "fromGoodsIds": { "type": "string" }, "forGoodsIds": { "type": "string" } }, "required": [ "code", "fromGoodsIds", "useRule", "paidAmount", "errorMsg", "errorCode", "forGoodsIds" ] } } }, "description": "券退款明细", "required": ["refundAmount", "refundStatus"] }, "pointsRefund": { "type": "object", "properties": { "refundAmount": { "type": "string", "description": "退款金额", "minLength": 1, "maxLength": 11 }, "refundStatus": { "type": "string", "description": "退款状态", "minLength": 1, "maxLength": 32 }, "useList": { "type": "array", "items": { "type": "object", "properties": { "code": { "type": "string" }, "errorCode": { "type": "string" }, "errorMsg": { "type": "string" }, "paidAmount": { "type": "string" }, "useRule": { "type": "string" }, "fromGoodsIds": { "type": "string" }, "forGoodsIds": { "type": "string" } }, "required": [ "code", "fromGoodsIds", "useRule", "paidAmount", "errorMsg", "errorCode", "forGoodsIds" ] } } }, "description": "积分退款明细", "required": ["refundAmount", "refundStatus"] }, "cashRefund": { "type": "object", "properties": { "refundAmount": { "type": "string", "description": "退款金额", "minLength": 1, "maxLength": 11 }, "refundStatus": { "type": "string", "description": "退款状态", "minLength": 1, "maxLength": 32 } }, "description": "电子现金退款明细", "required": ["refundAmount", "refundStatus"] } }, "description": "返回报文", "required": [ "outTradeNo", "refundTime", "refundAmount", "cardRefund", "couponRefund", "pointsRefund", "cashRefund" ] } }, "required": [ "uuid", "action", "timestamp", "success", "errorCode", "errorMessage", "content" ], "description": "ROOT"}
2021-07-07
{"path":"\/refund","params":[]}
{"path":"\/refund","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":"raw"}
{"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":"refund"},"description":"交易类型","minLength":1,"maxLength":50},"timestamp":{"type":"number","mock":{"mock":"@timestamp"},"description":"请求时间戳","minimum":0,"exclusiveMinimum":true,"maximum":14,"exclusiveMaximum":true},"lang":{"type":"string","mock":{"mock":"zh_CN"},"description":"语言","minLength":1,"maxLength":50},"content":{"type":"object","properties":{"outTradeNo":{"type":"string","mock":{"mock":"mock100100"},"minLength":1,"maxLength":32,"description":"外部商户订单号"},"refundTradeNo":{"type":"string","mock":{"mock":"mock100100"},"description":"退款交易编号","minLength":1,"maxLength":32},"tradeTime":{"type":"string","description":"交易时间,格式YYYYMMDD,不填默认当天"},"refundReason":{"type":"string","description":"退款原因"},"refundMethod":{"type":"array","items":{"type":"object","properties":{"assetType":{"type":"string"},"refundAmount":{"type":"string"}},"required":["assetType","refundAmount"]}}},"description":"请求报文","required":["outTradeNo","refundTradeNo","tradeTime","refundMethod"]}},"required":["uuid","appId","action","timestamp","lang","content"]}
{"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":"refund"},"description":"交易类型","minLength":1,"maxLength":50},"timestamp":{"type":"number","mock":{"mock":"@timestamp"},"description":"请求时间戳","minimum":0,"exclusiveMinimum":true,"maximum":14,"exclusiveMaximum":true},"lang":{"type":"string","mock":{"mock":"zh_CN"},"description":"语言","minLength":1,"maxLength":50},"content":{"type":"object","properties":{"outTradeNo":{"type":"string","mock":{"mock":"mock100100"},"minLength":1,"maxLength":32,"description":"外部商户订单号"},"refundTradeNo":{"type":"string","mock":{"mock":"mock100100"},"description":"退款交易编号","minLength":1,"maxLength":32},"tradeTime":{"type":"string","description":"交易时间,格式YYYYMMDD,不填默认当天"},"refundReason":{"type":"string","description":"退款原因"},"refundMethod":{"type":"array","items":{"type":"object","properties":{"assetType":{"type":"string"},"refundAmount":{"type":"string"}},"required":["assetType","refundAmount"]}}},"description":"请求报文","required":["outTradeNo","refundTradeNo","tradeTime","refundMethod"]}},"required":["uuid","appId","action","timestamp","lang","content"]}
{"$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":"refund"}},"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":{"outTradeNo":{"type":"string","mock":{"mock":"@string"},"description":"流水号","minLength":1,"maxLength":64},"refundTime":{"type":"string","mock":{"mock":"@date"},"description":"退款时间","minLength":1,"maxLength":19},"refundAmount":{"type":"string","mock":{"mock":"@integer"},"description":"退款金额","minLength":1,"maxLength":11},"cardRefund":{"type":"object","properties":{"refundAmount":{"type":"string","description":"退款金额","minLength":1,"maxLength":11},"refundStatus":{"type":"string","description":"退款状态","minLength":1,"maxLength":32}},"description":"卡退款明细","required":["refundAmount","refundStatus"]},"couponRefund":{"type":"object","properties":{},"description":"券退款明细"},"pointsRefund":{"type":"object","properties":{},"description":"积分退款明细"},"cashRefund":{"type":"object","properties":{},"description":"电子现金退款明细"}},"description":"返回报文","required":["outTradeNo","refundTime","refundAmount","cardRefund","couponRefund","pointsRefund","cashRefund"]}},"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": "refund" } }, "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": { "outTradeNo": { "type": "string", "mock": { "mock": "@string" }, "description": "流水号", "minLength": 1, "maxLength": 64 }, "refundTime": { "type": "string", "mock": { "mock": "@date" }, "description": "退款时间", "minLength": 1, "maxLength": 19 }, "refundAmount": { "type": "string", "mock": { "mock": "@integer" }, "description": "退款金额", "minLength": 1, "maxLength": 11 }, "cardRefund": { "type": "object", "properties": { "refundAmount": { "type": "string", "description": "退款金额", "minLength": 1, "maxLength": 11 }, "refundStatus": { "type": "string", "description": "退款状态", "minLength": 1, "maxLength": 32 } }, "description": "卡退款明细", "required": ["refundAmount", "refundStatus"] }, "couponRefund": { "type": "object", "properties": { "refundAmount": { "type": "string", "description": "退款金额", "minLength": 1, "maxLength": 11 }, "refundStatus": { "type": "string", "description": "退款状态", "minLength": 1, "maxLength": 32 } }, "description": "券退款明细", "required": ["refundAmount", "refundStatus"] }, "pointsRefund": { "type": "object", "properties": { "refundAmount": { "type": "string", "description": "退款金额", "minLength": 1, "maxLength": 11 }, "refundStatus": { "type": "string", "description": "退款状态", "minLength": 1, "maxLength": 32 } }, "description": "积分退款明细", "required": ["refundAmount", "refundStatus"] }, "cashRefund": { "type": "object", "properties": { "refundAmount": { "type": "string", "description": "退款金额", "minLength": 1, "maxLength": 11 }, "refundStatus": { "type": "string", "description": "退款状态", "minLength": 1, "maxLength": 32 } }, "description": "电子现金退款明细", "required": ["refundAmount", "refundStatus"] } }, "description": "返回报文", "required": [ "outTradeNo", "refundTime", "refundAmount", "cardRefund", "couponRefund", "pointsRefund", "cashRefund" ] } }, "required": [ "uuid", "action", "timestamp", "success", "errorCode", "errorMessage", "content" ], "description": "ROOT"}
2021-07-07
{"path":"\/refund","params":[]}
{"path":"\/refund","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":"refund"},"description":"交易类型","minLength":1,"maxLength":50},"timestamp":{"type":"number","mock":{"mock":"@timestamp"},"description":"请求时间戳","minimum":0,"exclusiveMinimum":true,"maximum":14,"exclusiveMaximum":true},"lang":{"type":"string","mock":{"mock":"zh_CN"},"description":"语言","minLength":1,"maxLength":50},"content":{"type":"object","properties":{"outTradeNo":{"type":"string","mock":{"mock":"mock100100"},"minLength":1,"maxLength":32,"description":"外部商户订单号"},"refundTradeNo":{"type":"string","mock":{"mock":"mock100100"},"description":"退款交易编号","minLength":1,"maxLength":32},"tradeTime":{"type":"string","description":"交易时间,格式YYYYMMDD,不填默认当天"},"refundReason":{"type":"string","description":"退款原因"},"refundMethod":{"type":"array","items":{"type":"object","properties":{"assetType":{"type":"string"},"refundAmount":{"type":"string"}},"required":["assetType","refundAmount"]}}},"description":"请求报文","required":["outTradeNo","refundTradeNo","tradeTime","refundMethod"]}},"required":["uuid","appId","action","timestamp","lang","content"]}
{"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":"refund"},"description":"交易类型","minLength":1,"maxLength":50},"timestamp":{"type":"number","mock":{"mock":"@timestamp"},"description":"请求时间戳","minimum":0,"exclusiveMinimum":true,"maximum":14,"exclusiveMaximum":true},"lang":{"type":"string","mock":{"mock":"zh_CN"},"description":"语言","minLength":1,"maxLength":50},"content":{"type":"object","properties":{"outTradeNo":{"type":"string","mock":{"mock":"mock100100"},"minLength":1,"maxLength":32,"description":"外部商户订单号"},"refundTradeNo":{"type":"string","mock":{"mock":"mock100100"},"description":"退款交易编号","minLength":1,"maxLength":32},"tradeTime":{"type":"string","description":"交易时间,格式YYYYMMDD,不填默认当天"},"refundReason":{"type":"string","description":"退款原因"},"refundMethod":{"type":"array","items":{"type":"object","properties":{"assetType":{"type":"string"},"refundAmount":{"type":"string"}},"required":["assetType","refundAmount"]}}},"description":"请求报文","required":["outTradeNo","refundTradeNo","tradeTime","refundMethod"]}},"required":["uuid","appId","action","timestamp","lang","content"]}
{"$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":"refund"}},"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":{"outTradeNo":{"type":"string","mock":{"mock":"@string"},"description":"流水号","minLength":1,"maxLength":64},"refundTime":{"type":"string","mock":{"mock":"@date"},"description":"退款时间","minLength":1,"maxLength":19},"refundAmount":{"type":"string","mock":{"mock":"@integer"},"description":"退款金额","minLength":1,"maxLength":11},"cardRefund":{"type":"object","properties":{},"description":"卡退款明细"},"couponRefund":{"type":"object","properties":{},"description":"券退款明细"},"pointsRefund":{"type":"object","properties":{},"description":"积分退款明细"},"cashRefund":{"type":"object","properties":{},"description":"电子现金退款明细"}},"description":"返回报文","required":["outTradeNo","refundTime","refundAmount","cardRefund","couponRefund","pointsRefund","cashRefund"]}},"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":"refund"}},"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":{"outTradeNo":{"type":"string","mock":{"mock":"@string"},"description":"流水号","minLength":1,"maxLength":64},"refundTime":{"type":"string","mock":{"mock":"@date"},"description":"退款时间","minLength":1,"maxLength":19},"refundAmount":{"type":"string","mock":{"mock":"@integer"},"description":"退款金额","minLength":1,"maxLength":11},"cardRefund":{"type":"object","properties":{"refundAmount":{"type":"string","description":"退款金额","minLength":1,"maxLength":11},"refundStatus":{"type":"string","description":"退款状态","minLength":1,"maxLength":32}},"description":"卡退款明细","required":["refundAmount","refundStatus"]},"couponRefund":{"type":"object","properties":{},"description":"券退款明细"},"pointsRefund":{"type":"object","properties":{},"description":"积分退款明细"},"cashRefund":{"type":"object","properties":{},"description":"电子现金退款明细"}},"description":"返回报文","required":["outTradeNo","refundTime","refundAmount","cardRefund","couponRefund","pointsRefund","cashRefund"]}},"required":["uuid","action","timestamp","success","errorCode","errorMessage","content"],"description":"ROOT"}
2021-07-07
{"path":"\/refund","params":[]}
{"path":"\/refund","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":"refund"},"description":"交易类型","minLength":1,"maxLength":50},"timestamp":{"type":"number","mock":{"mock":"@timestamp"},"description":"请求时间戳","minimum":0,"exclusiveMinimum":true,"maximum":14,"exclusiveMaximum":true},"lang":{"type":"string","mock":{"mock":"zh_CN"},"description":"语言","minLength":1,"maxLength":50},"content":{"type":"object","properties":{"outTradeNo":{"type":"string","mock":{"mock":"mock100100"},"minLength":1,"maxLength":32,"description":"外部商户订单号"},"refundTradeNo":{"type":"string","mock":{"mock":"mock100100"},"description":"退款交易编号","minLength":1,"maxLength":32},"refundAmount":{"type":"number","description":"退款金额","mock":{"mock":"0.01"},"minimum":1,"exclusiveMinimum":true,"maximum":10,"exclusiveMaximum":true},"tradeTime":{"type":"string","description":"交易时间,格式YYYYMMDD,不填默认当天"},"refundReason":{"type":"string","description":"退款原因"},"refundMethod":{"type":"array","items":{"type":"object","properties":{"assetType":{"type":"string"},"refundAmount":{"type":"string"}},"required":["assetType","refundAmount"]}}},"description":"请求报文","required":["outTradeNo","refundTradeNo","refundAmount","tradeTime","refundMethod"]}},"required":["uuid","appId","action","timestamp","lang","content"]}
{"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":"refund"},"description":"交易类型","minLength":1,"maxLength":50},"timestamp":{"type":"number","mock":{"mock":"@timestamp"},"description":"请求时间戳","minimum":0,"exclusiveMinimum":true,"maximum":14,"exclusiveMaximum":true},"lang":{"type":"string","mock":{"mock":"zh_CN"},"description":"语言","minLength":1,"maxLength":50},"content":{"type":"object","properties":{"outTradeNo":{"type":"string","mock":{"mock":"mock100100"},"minLength":1,"maxLength":32,"description":"外部商户订单号"},"refundTradeNo":{"type":"string","mock":{"mock":"mock100100"},"description":"退款交易编号","minLength":1,"maxLength":32},"tradeTime":{"type":"string","description":"交易时间,格式YYYYMMDD,不填默认当天"},"refundReason":{"type":"string","description":"退款原因"},"refundMethod":{"type":"array","items":{"type":"object","properties":{"assetType":{"type":"string"},"refundAmount":{"type":"string"}},"required":["assetType","refundAmount"]}}},"description":"请求报文","required":["outTradeNo","refundTradeNo","tradeTime","refundMethod"]}},"required":["uuid","appId","action","timestamp","lang","content"]}
{"$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":"refund"}},"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":{"refundResult":{"type":"string","mock":{"mock":"@string"},"description":"退款结果","minLength":1,"maxLength":64}},"description":"返回报文","required":["refundResult"]}},"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":"refund"}},"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":{"outTradeNo":{"type":"string","mock":{"mock":"@string"},"description":"流水号","minLength":1,"maxLength":64},"refundTime":{"type":"string","mock":{"mock":"@date"},"description":"退款时间","minLength":1,"maxLength":19},"refundAmount":{"type":"string","mock":{"mock":"@integer"},"description":"退款金额","minLength":1,"maxLength":11},"cardRefund":{"type":"object","properties":{},"description":"卡退款明细"},"couponRefund":{"type":"object","properties":{},"description":"券退款明细"},"pointsRefund":{"type":"object","properties":{},"description":"积分退款明细"},"cashRefund":{"type":"object","properties":{},"description":"电子现金退款明细"}},"description":"返回报文","required":["outTradeNo","refundTime","refundAmount","cardRefund","couponRefund","pointsRefund","cashRefund"]}},"required":["uuid","action","timestamp","success","errorCode","errorMessage","content"],"description":"ROOT"}
2021-07-07
{"path":"\/refund","params":[]}
{"path":"\/refund","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":"refund"},"description":"交易类型","minLength":1,"maxLength":50},"timestamp":{"type":"number","mock":{"mock":"@timestamp"},"description":"请求时间戳","minimum":0,"exclusiveMinimum":true,"maximum":14,"exclusiveMaximum":true},"lang":{"type":"string","mock":{"mock":"zh_CN"},"description":"语言","minLength":1,"maxLength":50},"content":{"type":"object","properties":{"outTradeNo":{"type":"string","mock":{"mock":"mock100100"},"minLength":1,"maxLength":32,"description":"外部商户订单号"},"refundTradeNo":{"type":"string","mock":{"mock":"mock100100"},"description":"退款交易编号","minLength":1,"maxLength":32},"refundAmount":{"type":"number","description":"退款金额","mock":{"mock":"0.01"},"minimum":1,"exclusiveMinimum":true,"maximum":10,"exclusiveMaximum":true},"tradeTime":{"type":"string"},"refundReason":{"type":"string"},"refundMethod":{"type":"array","items":{"type":"object","properties":{"assetType":{"type":"string"},"refundAmount":{"type":"string"}},"required":["assetType","refundAmount"]}}},"description":"请求报文","required":["outTradeNo","refundTradeNo","refundAmount","tradeTime","refundReason","refundMethod"]}},"required":["uuid","appId","action","timestamp","lang","content"]}
{"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":"refund"},"description":"交易类型","minLength":1,"maxLength":50},"timestamp":{"type":"number","mock":{"mock":"@timestamp"},"description":"请求时间戳","minimum":0,"exclusiveMinimum":true,"maximum":14,"exclusiveMaximum":true},"lang":{"type":"string","mock":{"mock":"zh_CN"},"description":"语言","minLength":1,"maxLength":50},"content":{"type":"object","properties":{"outTradeNo":{"type":"string","mock":{"mock":"mock100100"},"minLength":1,"maxLength":32,"description":"外部商户订单号"},"refundTradeNo":{"type":"string","mock":{"mock":"mock100100"},"description":"退款交易编号","minLength":1,"maxLength":32},"refundAmount":{"type":"number","description":"退款金额","mock":{"mock":"0.01"},"minimum":1,"exclusiveMinimum":true,"maximum":10,"exclusiveMaximum":true},"tradeTime":{"type":"string","description":"交易时间,格式YYYYMMDD,不填默认当天"},"refundReason":{"type":"string","description":"退款原因"},"refundMethod":{"type":"array","items":{"type":"object","properties":{"assetType":{"type":"string"},"refundAmount":{"type":"string"}},"required":["assetType","refundAmount"]}}},"description":"请求报文","required":["outTradeNo","refundTradeNo","refundAmount","tradeTime","refundMethod"]}},"required":["uuid","appId","action","timestamp","lang","content"]}
{"$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":"refund"}},"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":{"refundResult":{"type":"string","mock":{"mock":"@string"},"description":"退款结果","minLength":1,"maxLength":64}},"description":"返回报文","required":["refundResult"]}},"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":"refund"}},"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":{"refundResult":{"type":"string","mock":{"mock":"@string"},"description":"退款结果","minLength":1,"maxLength":64}},"description":"返回报文","required":["refundResult"]}},"required":["uuid","action","timestamp","success","errorCode","errorMessage","content"],"description":"ROOT"}
2021-06-30
{"path":"\/refund","params":[]}
{"path":"\/refund","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":"refund"},"description":"交易类型","minLength":1,"maxLength":50},"timestamp":{"type":"number","mock":{"mock":"@timestamp"},"description":"请求时间戳","minimum":0,"exclusiveMinimum":true,"maximum":14,"exclusiveMaximum":true},"lang":{"type":"string","mock":{"mock":"zh_CN"},"description":"语言","minLength":1,"maxLength":50},"content":{"type":"object","properties":{"outTradeNo":{"type":"string","mock":{"mock":"mock100100"},"minLength":1,"maxLength":32,"description":"外部商户订单号"},"refundTradeNo":{"type":"string","mock":{"mock":"mock100100"},"description":"退款交易编号","minLength":1,"maxLength":32},"refundAmount":{"type":"number","description":"退款金额","mock":{"mock":"0.01"},"minimum":1,"exclusiveMinimum":true,"maximum":10,"exclusiveMaximum":true},"tradeTime":{"type":"string"},"refundReason":{"type":"string"},"refundMethod":{"type":"array","items":{"type":"object","properties":{"assetType":{"type":"string"},"refundAmount":{"type":"string"}},"required":["assetType","refundAmount"]}}},"description":"请求报文","required":["outTradeNo","refundTradeNo","refundAmount","tradeTime","refundReason","refundMethod"]}},"required":["uuid","appId","action","timestamp","lang","content"]}
{"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":"refund"},"description":"交易类型","minLength":1,"maxLength":50},"timestamp":{"type":"number","mock":{"mock":"@timestamp"},"description":"请求时间戳","minimum":0,"exclusiveMinimum":true,"maximum":14,"exclusiveMaximum":true},"lang":{"type":"string","mock":{"mock":"zh_CN"},"description":"语言","minLength":1,"maxLength":50},"content":{"type":"object","properties":{"outTradeNo":{"type":"string","mock":{"mock":"mock100100"},"minLength":1,"maxLength":32,"description":"外部商户订单号"},"refundTradeNo":{"type":"string","mock":{"mock":"mock100100"},"description":"退款交易编号","minLength":1,"maxLength":32},"refundAmount":{"type":"number","description":"退款金额","mock":{"mock":"0.01"},"minimum":1,"exclusiveMinimum":true,"maximum":10,"exclusiveMaximum":true},"tradeTime":{"type":"string"},"refundReason":{"type":"string"},"refundMethod":{"type":"array","items":{"type":"object","properties":{"assetType":{"type":"string"},"refundAmount":{"type":"string"}},"required":["assetType","refundAmount"]}}},"description":"请求报文","required":["outTradeNo","refundTradeNo","refundAmount","tradeTime","refundReason","refundMethod"]}},"required":["uuid","appId","action","timestamp","lang","content"]}
{"$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":{"refundResult":{"type":"string","mock":{"mock":"@string"},"description":"退款结果","minLength":1,"maxLength":64}},"description":"返回报文","required":["refundResult"]}},"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":"refund"}},"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":{"refundResult":{"type":"string","mock":{"mock":"@string"},"description":"退款结果","minLength":1,"maxLength":64}},"description":"返回报文","required":["refundResult"]}},"required":["uuid","action","timestamp","success","errorCode","errorMessage","content"],"description":"ROOT"}
2021-06-27
{"path":"\/refund","params":[]}
{"path":"\/refund","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":"refund"},"description":"交易类型","minLength":1,"maxLength":50},"timestamp":{"type":"number","mock":{"mock":"@timestamp"},"description":"请求时间戳","minimum":0,"exclusiveMinimum":true,"maximum":14,"exclusiveMaximum":true},"lang":{"type":"string","mock":{"mock":"zh_CN"},"description":"语言","minLength":1,"maxLength":50},"content":{"type":"object","properties":{"outTradeNo":{"type":"string","mock":{"mock":"mock100100"},"minLength":1,"maxLength":32,"description":"外部商户订单号"},"refundTradeNo":{"type":"string","mock":{"mock":"mock100100"},"description":"退款交易编号","minLength":1,"maxLength":32},"refundAmount":{"type":"number","description":"退款金额","mock":{"mock":"0.01"},"minimum":1,"exclusiveMinimum":true,"maximum":10,"exclusiveMaximum":true}},"description":"请求报文","required":["outTradeNo","refundTradeNo","refundAmount"]}},"required":["uuid","appId","action","timestamp","lang","content"]}
{"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":"refund"},"description":"交易类型","minLength":1,"maxLength":50},"timestamp":{"type":"number","mock":{"mock":"@timestamp"},"description":"请求时间戳","minimum":0,"exclusiveMinimum":true,"maximum":14,"exclusiveMaximum":true},"lang":{"type":"string","mock":{"mock":"zh_CN"},"description":"语言","minLength":1,"maxLength":50},"content":{"type":"object","properties":{"outTradeNo":{"type":"string","mock":{"mock":"mock100100"},"minLength":1,"maxLength":32,"description":"外部商户订单号"},"refundTradeNo":{"type":"string","mock":{"mock":"mock100100"},"description":"退款交易编号","minLength":1,"maxLength":32},"refundAmount":{"type":"number","description":"退款金额","mock":{"mock":"0.01"},"minimum":1,"exclusiveMinimum":true,"maximum":10,"exclusiveMaximum":true},"tradeTime":{"type":"string"},"refundReason":{"type":"string"},"refundMethod":{"type":"array","items":{"type":"object","properties":{"assetType":{"type":"string"},"refundAmount":{"type":"string"}},"required":["assetType","refundAmount"]}}},"description":"请求报文","required":["outTradeNo","refundTradeNo","refundAmount","tradeTime","refundReason","refundMethod"]}},"required":["uuid","appId","action","timestamp","lang","content"]}
{"$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":{"refundResult":{"type":"string","mock":{"mock":"@string"},"description":"退款结果","minLength":1,"maxLength":64}},"description":"返回报文","required":["refundResult"]}},"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":{"refundResult":{"type":"string","mock":{"mock":"@string"},"description":"退款结果","minLength":1,"maxLength":64}},"description":"返回报文","required":["refundResult"]}},"required":["uuid","action","timestamp","success","errorCode","errorMessage","content"],"description":"ROOT"}
2021-05-10
{"path":"\/refund","params":[]}
{"path":"\/refund","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":0,"exclusiveMinimum":true,"maximum":14,"exclusiveMaximum":true},"lang":{"type":"string","mock":{"mock":"zh_CN"},"description":"语言","minLength":1,"maxLength":50},"content":{"type":"object","properties":{"outTradeNo":{"type":"string","mock":{"mock":"mock100100"},"minLength":1,"maxLength":32,"description":"外部商户订单号"},"refundTradeNo":{"type":"string","mock":{"mock":"mock100100"},"description":"退款交易编号","minLength":1,"maxLength":32},"refundAmount":{"type":"number","description":"退款金额","mock":{"mock":"0.01"},"minimum":1,"exclusiveMinimum":true,"maximum":10,"exclusiveMaximum":true}},"description":"请求报文","required":["outTradeNo","refundTradeNo","refundAmount"]}},"required":["uuid","appId","action","timestamp","lang","content"]}
{"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":"refund"},"description":"交易类型","minLength":1,"maxLength":50},"timestamp":{"type":"number","mock":{"mock":"@timestamp"},"description":"请求时间戳","minimum":0,"exclusiveMinimum":true,"maximum":14,"exclusiveMaximum":true},"lang":{"type":"string","mock":{"mock":"zh_CN"},"description":"语言","minLength":1,"maxLength":50},"content":{"type":"object","properties":{"outTradeNo":{"type":"string","mock":{"mock":"mock100100"},"minLength":1,"maxLength":32,"description":"外部商户订单号"},"refundTradeNo":{"type":"string","mock":{"mock":"mock100100"},"description":"退款交易编号","minLength":1,"maxLength":32},"refundAmount":{"type":"number","description":"退款金额","mock":{"mock":"0.01"},"minimum":1,"exclusiveMinimum":true,"maximum":10,"exclusiveMaximum":true}},"description":"请求报文","required":["outTradeNo","refundTradeNo","refundAmount"]}},"required":["uuid","appId","action","timestamp","lang","content"]}
{"$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":{"refundResult":{"type":"string","mock":{"mock":"@string"},"description":"退款结果","minLength":1,"maxLength":64}},"description":"返回报文","required":["refundResult"]}},"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":{"refundResult":{"type":"string","mock":{"mock":"@string"},"description":"退款结果","minLength":1,"maxLength":64}},"description":"返回报文","required":["refundResult"]}},"required":["uuid","action","timestamp","success","errorCode","errorMessage","content"],"description":"ROOT"}
2021-05-10
{"path":"\/paas\/app\/cashier\/refund","params":[]}
{"path":"\/refund","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":0,"exclusiveMinimum":true,"maximum":14,"exclusiveMaximum":true},"lang":{"type":"string","mock":{"mock":"zh_CN"},"description":"语言","minLength":1,"maxLength":50},"content":{"type":"object","properties":{"outTradeNo":{"type":"string","mock":{"mock":"mock100100"},"minLength":1,"maxLength":32,"description":"外部商户订单号"},"refundTradeNo":{"type":"string","mock":{"mock":"mock100100"},"description":"退款交易编号","minLength":1,"maxLength":32},"refundAmount":{"type":"number","description":"退款金额","mock":{"mock":"0.01"},"minimum":1,"exclusiveMinimum":true,"maximum":10,"exclusiveMaximum":true}},"description":"请求报文","required":["outTradeNo","refundTradeNo","refundAmount"]}},"required":["uuid","appId","action","timestamp","lang","content"]}
{"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":0,"exclusiveMinimum":true,"maximum":14,"exclusiveMaximum":true},"lang":{"type":"string","mock":{"mock":"zh_CN"},"description":"语言","minLength":1,"maxLength":50},"content":{"type":"object","properties":{"outTradeNo":{"type":"string","mock":{"mock":"mock100100"},"minLength":1,"maxLength":32,"description":"外部商户订单号"},"refundTradeNo":{"type":"string","mock":{"mock":"mock100100"},"description":"退款交易编号","minLength":1,"maxLength":32},"refundAmount":{"type":"number","description":"退款金额","mock":{"mock":"0.01"},"minimum":1,"exclusiveMinimum":true,"maximum":10,"exclusiveMaximum":true}},"description":"请求报文","required":["outTradeNo","refundTradeNo","refundAmount"]}},"required":["uuid","appId","action","timestamp","lang","content"]}
{"$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":{"refundResult":{"type":"string","mock":{"mock":"@string"},"description":"退款结果","minLength":1,"maxLength":64}},"description":"返回报文","required":["refundResult"]}},"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":{"refundResult":{"type":"string","mock":{"mock":"@string"},"description":"退款结果","minLength":1,"maxLength":64}},"description":"返回报文","required":["refundResult"]}},"required":["uuid","action","timestamp","success","errorCode","errorMessage","content"],"description":"ROOT"}
2021-05-10
{"path":"\/paas\/app\/cashier\/refund","params":[]}
{"path":"\/paas\/app\/cashier\/refund","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":0,"exclusiveMinimum":true,"maximum":14,"exclusiveMaximum":true},"lang":{"type":"string","mock":{"mock":"zh_CN"},"description":"语言","minLength":1,"maxLength":50},"content":{"type":"object","properties":{"outTradeNo":{"type":"string","mock":{"mock":"mock100100"},"minLength":1,"maxLength":128,"description":"外部商户订单号"}},"description":"请求报文","required":["outTradeNo"]}},"required":["uuid","appId","action","timestamp","lang","content"]}
{"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":0,"exclusiveMinimum":true,"maximum":14,"exclusiveMaximum":true},"lang":{"type":"string","mock":{"mock":"zh_CN"},"description":"语言","minLength":1,"maxLength":50},"content":{"type":"object","properties":{"outTradeNo":{"type":"string","mock":{"mock":"mock100100"},"minLength":1,"maxLength":32,"description":"外部商户订单号"},"refundTradeNo":{"type":"string","mock":{"mock":"mock100100"},"description":"退款交易编号","minLength":1,"maxLength":32},"refundAmount":{"type":"number","description":"退款金额","mock":{"mock":"0.01"},"minimum":1,"exclusiveMinimum":true,"maximum":10,"exclusiveMaximum":true}},"description":"请求报文","required":["outTradeNo","refundTradeNo","refundAmount"]}},"required":["uuid","appId","action","timestamp","lang","content"]}
{"$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"},"description":"交易结果","minLength":1,"maxLength":64},"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},"buyerId":{"type":"string","mock":{"mock":"@string"},"description":"买家id","minLength":0,"maxLength":50},"paymentTime":{"type":"string","mock":{"mock":"@string"},"description":"支付时间","minLength":0,"maxLength":25}},"description":"返回报文","required":["paymentStatus"]}},"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":{"refundResult":{"type":"string","mock":{"mock":"@string"},"description":"退款结果","minLength":1,"maxLength":64}},"description":"返回报文","required":["refundResult"]}},"required":["uuid","action","timestamp","success","errorCode","errorMessage","content"],"description":"ROOT"}
2021-05-10
{"path":"\/paas\/app\/cashier\/cancel_1620611547039","params":[]}
{"path":"\/paas\/app\/cashier\/refund","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":0,"exclusiveMinimum":true,"maximum":14,"exclusiveMaximum":true},"lang":{"type":"string","mock":{"mock":"zh_CN"},"description":"语言","minLength":1,"maxLength":50},"content":{"type":"object","properties":{"outTradeNo":{"type":"string","mock":{"mock":"mock100100"},"minLength":1,"maxLength":128,"description":"外部商户订单号"}},"description":"请求报文","required":["outTradeNo"]}},"required":["uuid","appId","action","timestamp","lang","content"]}
{"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":0,"exclusiveMinimum":true,"maximum":14,"exclusiveMaximum":true},"lang":{"type":"string","mock":{"mock":"zh_CN"},"description":"语言","minLength":1,"maxLength":50},"content":{"type":"object","properties":{"outTradeNo":{"type":"string","mock":{"mock":"mock100100"},"minLength":1,"maxLength":128,"description":"外部商户订单号"}},"description":"请求报文","required":["outTradeNo"]}},"required":["uuid","appId","action","timestamp","lang","content"]}
{"$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"},"description":"交易结果","minLength":1,"maxLength":64},"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},"buyerId":{"type":"string","mock":{"mock":"@string"},"description":"买家id","minLength":0,"maxLength":50},"paymentTime":{"type":"string","mock":{"mock":"@string"},"description":"支付时间","minLength":0,"maxLength":25}},"description":"返回报文","required":["paymentStatus"]}},"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"},"description":"交易结果","minLength":1,"maxLength":64},"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},"buyerId":{"type":"string","mock":{"mock":"@string"},"description":"买家id","minLength":0,"maxLength":50},"paymentTime":{"type":"string","mock":{"mock":"@string"},"description":"支付时间","minLength":0,"maxLength":25}},"description":"返回报文","required":["paymentStatus"]}},"required":["uuid","action","timestamp","success","errorCode","errorMessage","content"],"description":"ROOT"}
api-id=28972
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