> ## Documentation Index
> Fetch the complete documentation index at: https://docs.orderprotection.com/llms.txt
> Use this file to discover all available pages before exploring further.

# protection.added

<RequestExample>
  ```json Example Webhook Request theme={null}
  {
    "id": "aa58a883-1e6f-4ec1-aa06-556908167f46",
    "topic": "protection.added",
    "created_at": "2024-03-20T10:00:00Z",
    "body": {
      "order_id": "order-1",
      "source_order_id": "100",
      "amount": 5.99,
      "currency": "USD"
    }
  }
  ```
</RequestExample>

This webhook is triggered when protection has been manually added to an order through the Order Protection dashboard.

The `amount` in the webhook payload represents the total charge to be billed to the customer.

## Request Body

The webhook will send a JSON payload with the following structure:

### Properties

<ParamField body="id" type="string">
  Unique identifier for the webhook event
</ParamField>

<ParamField body="topic" type="string">
  The webhook topic
</ParamField>

<ParamField body="created_at" type="string">
  ISO 8601 timestamp of when the webhook was created
</ParamField>

<ParamField body="body" type="object">
  The webhook payload

  <Expandable title="Webhook Payload">
    <ParamField body="order_id" type="string">
      Unique identifier for the order within Order Protection
    </ParamField>

    <ParamField body="source_order_id" type="string">
      Unique identifier for the order within your system
    </ParamField>

    <ParamField body="amount" type="number">
      The cost of protection that will be added to the order
    </ParamField>

    <ParamField body="currency" type="string">
      The currency code (e.g., `USD`, `EUR`, `GBP`)
    </ParamField>
  </Expandable>
</ParamField>
