Skip to main content
WEBHOOK
refund
{
  "event_type": "subscription",
  "event_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "event_timestamp": "2023-11-07T05:31:56Z",
  "is_livemode": true,
  "subtype": "<string>",
  "trx_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "order_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "user": {
    "external_id": "<string>",
    "email": "<string>",
    "email_aliases": [
      "<string>"
    ]
  },
  "amount_refunded": 123,
  "currency_code": "<string>",
  "external_id": "<string>",
  "refund_at": "2023-11-07T05:31:56Z",
  "created_at": "2023-11-07T05:31:56Z",
  "subs_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}

Body

application/json

Sent when a refund is completed.

event_type
enum<string>
required
Available options:
subscription,
oneoff,
order,
refund,
user
event_id
string<uuid>
required
event_timestamp
string<date-time>
required
is_livemode
boolean
required
subtype
string
required
trx_id
string<uuid>
required
order_id
string<uuid>
required
user
object
required
amount_refunded
required
currency_code
string
required
external_id
string
required
refund_at
string<date-time>
required
created_at
string<date-time> | null
required
order
object
subs_id
string<uuid> | null
subscription
object
oneoff
object