Webhook event for order.refunded.
Sent when an order is fully or partially refunded.
Discord & Slack support: Full
The data field contains a PolarExpress.Schemas.Order struct.
Summary
Functions
Returns the event type string.
Types
@type t() :: %PolarExpress.Events.OrderRefunded{ data: PolarExpress.Schemas.Order.t(), timestamp: String.t(), type: String.t() }
type- Always"order.refunded".data- The event payload. SeePolarExpress.Schemas.Order.timestamp- ISO 8601 timestamp of when the event occurred.
Functions
@spec event_type() :: String.t()
Returns the event type string.