# `PolarExpress.Events.OrderPaid`
[🔗](https://github.com/jeffhuen/polar_express/blob/main/lib/polar_express/events/order_paid.ex#L2)

Webhook event for `order.paid`.

Sent when an order is paid.

When you receive this event, the order is fully processed and payment has been received.

**Discord & Slack support:** Full

The `data` field contains a `PolarExpress.Schemas.Order` struct.

# `t`

```elixir
@type t() :: %PolarExpress.Events.OrderPaid{
  data: PolarExpress.Schemas.Order.t(),
  timestamp: String.t(),
  type: String.t()
}
```

* `type` - Always `"order.paid"`.
* `data` - The event payload. See `PolarExpress.Schemas.Order`.
* `timestamp` - ISO 8601 timestamp of when the event occurred.

# `event_type`

```elixir
@spec event_type() :: String.t()
```

Returns the event type string.

---

*Consult [api-reference.md](api-reference.md) for complete listing*
