WEBHOOK
refund
{
  "id": "<string>",
  "type": "refund.created",
  "object": "event",
  "created": "2023-11-07T05:31:56Z",
  "data": {
    "createTime": 1754819711382,
    "refundId": "rfd_abc123xyz",
    "orderId": "order_def456uvw",
    "customerId": "cus_ghi789rst",
    "refundAmount": 19.99,
    "refundCurrency": "USD",
    "status": "success",
    "refundReason": "Customer Initiated Refund",
    "metadata": "{\"ARN\":\"8377252556170253\"}"
  }
}

Body

application/json

Refund event payload in json

The body is of type object.

Response

200

Return a 200 status to indicate that the data was received successfully