字段名:商户订单号.
变量名:out_trade_no
是否必填:跟transaction_id二选一
类型:String(32)
示例值:1217752501201400000000000000
描述:商户侧传给微信的订单号
字段名:订单金额.
变量名:total_fee
是否必填:是
类型:Int
示例值:100
描述:订单总金额,单位为分,只能为整数,详见支付金额
字段名:退款金额.
变量名:refund_fee
是否必填:是
类型:Int
示例值:100
描述:退款总金额,订单总金额,单位为分,只能为整数,详见支付金额
{
"transactionId": "string",
"outTradeNo": "string",
"totalFee": 0,
"refundFee": 0,
"refundFeeType": "string",
"outRequestNo": "string"
}
curl --location --request POST 'https://test-api.yunjishop.cn/payment/app/v1/pay/refund' \
--header 'Content-Type: application/json' \
--data-raw '{
"transactionId": "string",
"outTradeNo": "string",
"totalFee": 0,
"refundFee": 0,
"refundFeeType": "string",
"outRequestNo": "string"
}'