文档
测试

用户主扫退款

POST
{{baseURL}}/pay/native/wechat/v3/refund

接口描述

主扫退款

请求参数

application/json
参数名
类型
描述
必填
outRefundNo
string
退款订单编号
必填
orderNo
string
微信订单编号
必填
amt
string
订单金额分
必填
refund
string
退款金额分
必填
hospitalId
string
医院id
必填

说明 / 示例

```javascript { "code": 200, "data": "{\"amount\":{\"currency\":\"CNY\",\"discount_refund\":0,\"from\":[],\"payer_refund\":2,\"payer_total\":2,\"refund\":2,\"settlement_refund\":2,\"settlement_total\":2,\"total\":2},\"channel\":\"ORIGINAL\",\"create_time\":\"2022-03-24T15:21:02+08:00\",\"funds_account\":\"AVAILABLE\",\"out_refund_no\":\"2022032414282\",\"out_trade_no\":\"20220324163445\",\"promotion_detail\":[],\"refund_id\":\"50302301482022032418616834846\",\"status\":\"PROCESSING\",\"transaction_id\":\"4200001324202203248463657802\",\"user_received_account\":\"支付用户零钱\"}", "msg": null } ```