Skip to main content
WEBHOOK
refund.created
{
  "type": "<string>",
  "timestamp": "2023-11-07T05:31:56Z",
  "data": {
    "created_at": "2023-11-07T05:31:56Z",
    "modified_at": "2023-11-07T05:31:56Z",
    "id": "<string>",
    "metadata": {},
    "amount": 123,
    "tax_amount": 123,
    "currency": "<string>",
    "organization_id": "<string>",
    "order_id": "<string>",
    "subscription_id": "<string>",
    "customer_id": "<string>",
    "revoke_benefits": true,
    "dispute": {
      "created_at": "2023-11-07T05:31:56Z",
      "modified_at": "2023-11-07T05:31:56Z",
      "id": "<string>",
      "resolved": true,
      "closed": true,
      "amount": 123,
      "tax_amount": 123,
      "currency": "<string>",
      "order_id": "<string>",
      "payment_id": "<string>"
    }
  }
}
{
  "detail": [
    {
      "loc": [
        "<string>"
      ],
      "msg": "<string>",
      "type": "<string>"
    }
  ]
}

Documentation Index

Fetch the complete documentation index at: https://docs.spairehq.com/llms.txt

Use this file to discover all available pages before exploring further.

Body

application/json

Sent when a refund is created regardless of status.

Discord & Slack support: Full

type
string
required
Allowed value: "refund.created"
Example:

"refund.created"

timestamp
string<date-time>
required
data
Refund · object
required

Response

Successful Response