退款事件

退款事件

请求报文示例

webhook.sh
curl --request POST \
  --url https://{callbackUrl refund} \
  --header 'Content-Type: application/json' \
  --header 'request-id: 58675' \
  --header 'request-time: 1651888520935' \
  --header 'gateway-no: 12345001' \
  --header 'version: V2022-03' \
  --header 'sign-info: 787966BF2479A1BE8E1886CD18E6919447FAF4F357E7056188D4F035661B822B' \
  --data '{
    "data": {
        "reason": "0.11",
        "amount": "0.11",
        "batchNo": "452541",
        "orderAmount": "159.82",
        "orderNo": "NEW_API2437760267049",
        "tradeNo": "2022041810284780668037",
        "orderCurrency": "CNY",
        "noticeDate": "2022-04-26 17:47:18",
        "currency": "CNY"
    },
    "type": "refund.success"
}'

{callbackUrl refund} 地址为交易时填写的 callbackUrl 参数

商户收到该事件通知后,返回"success",则表示通知成功,否则会继续通知

Last updated