支付-申请退款.
微信详见 https://pay.weixin.qq.com/wiki/doc/api/jsapi.php?chapter=9_4
支付宝详见
云闪付详见
参数名 | 类型 | 必填 | 默认值 | 说明 | 支持平台 |
---|
| payChannel | enum | Y | | 支付渠道 | - |
| appid | string | Y | | 支付平台appid | - |
| deviceInfo | string | N | | 终端设备号(门店号或收银设备Id)、支付宝为设备ID | - |
| outTradeNo | string | N | | 商户订单号 与transactionId二选一 | - |
| transactionId | string | N | | 支付流水号 与outTradeNo二选一 | - |
| outRefundNo | string | Y | | 微信必传,商户退款订单号(由商户生成),支付宝部分退款必传。建议都传。 | - |
| totalFee | int | Y | | 订单总金额,支付宝可不传 | 微信 |
| refundFee | int | Y | | 本次退款金额 | - |
| refundFeeType | string | N | | 货币种类 | 微信 |
| opUserId | string | N | | 操作员帐号, 默认为商户号 | 微信 |
| refundDesc | string | N | | 退款备注描述 | - |
参数名 | 类型 | 必填 | 默认值 | 说明 | 支持平台 |
---|
| payChannel | enum | Y | | 支付渠道 | - |
| appid | string | Y | | 支付平台appid | - |
| transactionId | string | Y | | 支付流水号 | - |
| outTradeNo | string | Y | | 商户订单号 | - |
| outRefundNo | string | Y | | 商户退款订单号(由商户生成), | 微信 |
| refundId | string | Y | | 退款流水号 | 微信 |
| refundFee | int | Y | | 退款金额 | - |
| settlementRefundFee | int | N | | 应结退款金额 | 微信 |
| totalFee | int | Y | | 原订单总金额 | 微信 |
| settlementTotalFee | int | | | 应结订单金额 | 微信 |
| feeType | string | | | 标价币种 | 微信 |
| cashFee | int | | | 现金支付金额 | 微信 |
| cashFeeType | string | | | 现金支付币种 | 微信 |
| cashRefundFee | int | | | 现金退款金额 | 微信 |
| couponRefundCount | int | | | 退款代金券使用数量 | 微信 |
| couponRefundFee | int | | | 代金券退款金额 | 微信 |
| refundCoupons | list | | | 优惠券列表 | 微信 |