# Order Webhooks

Order webhooks notify you about events related to orders.

> **Note:** The sample payloads on this page are pretty-printed. The body Glomo sends is the RFC 8785 canonical form of the same object, and the `X-Glomopay-Signature` header is computed over those bytes. See [Webhook Authentication & Security](/platform/webhooks#webhook-authentication--security).


| Event Type | Description |
|  --- | --- |
|  active  | The order has been created and is awaiting payment. |
|  paid  | The order has been paid successfully. |
|  expired  | The order has expired. |
|  action_required  | The order needs more details to be processed. |
|  under_review  | The order is under review. |
|  failed  | The order has failed. |


## Sample Payload

```Sample
{
    "entity_type": "orders",
    "event_type": "paid",
    "data": {
        "id": "order_6819d8046mpKt",
        "customer_id": "cust_6819d7d0lrLvP",
        "document_id": null,
        "status": "paid",
        "currency": "USD",
        "amount": 10000,
        "purpose_code": "P0014",
        "invoice_number": null,
        "invoice_description": "",
        "invoice_amount": 0,
        "reference_number": "REF1234",
        "product": {
            "name": "product name",
            "description": "product description"
        },
        "payment_methods": "card",
        "created_at": "2025-05-06T09:36:04Z",
        "updated_at": "2025-05-08T13:12:54Z",
        "rfi_documents": {
            "rfi_doc_id": "rfi_doc_123",
            "name": "Passport"
        },
        "notes": {
            "key1": "value1",
            "key2": "value2"
        }
    }
}
```