{
"mchId": "MCH20231120001",
"uniqueOrderNo": "PAY20231120154523001",
"refundNo": "REFUND20231120000001",
"refundAmt": 50,
"description": "用户申请退款",
"memo": "部分退款",
"notifyUrl": "https://merchant.example.com/refund-notify"
}curl --location --request POST 'https://getway.upfreework.com/openapi/v1/refund/apply' \
--header 'appId;' \
--header 'appId;' \
--header 'appSign;' \
--header 'appSign;' \
--header 'timeStamp;' \
--header 'timeStamp;' \
--header 'sign;' \
--header 'sign;' \
--header 'Content-Type: application/json' \
--data-raw '{
"mchId": "MCH20231120001",
"uniqueOrderNo": "PAY20231120154523001",
"refundNo": "REFUND20231120000001",
"refundAmt": 50,
"description": "用户申请退款",
"memo": "部分退款",
"notifyUrl": "https://merchant.example.com/refund-notify"
}'{
"code": 0,
"message": "退款申请成功",
"context": {
"uniqueOrderNo": "PAY20231120154523001",
"refundNo": "REFUND20231120000001",
"uniqueRefundNo": "REF20231120170000001",
"status": "PROCESSING",
"refundAmt": 50
},
"traceId": "trace_20231120170000001",
"spanId": "span_001"
}