v6

latestOpenAPI 3.1.02026-07-311856741.1 MB

refund.created

Sent when a refund is created regardless of status.

Discord & Slack support: Full

postWebhookrefund.created

Payload

type'refund.created' required
timestampstring date-time required

Example payload

{
  "type": "refund.created",
  "data": {
    "dispute": {
      "amount": 1000,
      "tax_amount": 200,
      "currency": "usd",
      "reason": "fraudulent",
      "order_id": "57107b74-8400-4d80-a2fc-54c2b4239cb3",
      "payment_id": "42b94870-36b9-4573-96b6-b90b1c99a353"
    }
  }
}

Response

Successful Response

{"stackTrail":"webhooks:refund.created:post:responses:200:content:application/json:schema","oasType":"schema","type":"unknown"}