# Models

## The EventNotificationPayload object

```json
{"openapi":"3.1.0","info":{"title":"Partner Event Notifications API","version":"16"},"components":{"schemas":{"EventNotificationPayload":{"type":"object","description":"Shape of the JSON body impact.com posts to your configured URL. Fields are populated based on the body template you set up in your Event Notifications settings — partners typically include identifiers, status, payout amount, and any product-line detail relevant to their integration.\n","properties":{"campaign_id":{"type":"string","description":"Unique identifier of the brand program the event belongs to."},"action_id":{"type":"string","description":"Unique identifier of the tracked action this notification is about."},"status":{"type":"string","description":"Current status of the action at the time of notification (e.g., `APPROVED`, `PENDING`, `REVERSED`)."},"payout":{"type":"string","description":"Commission amount paid to the partner for this action, as a decimal string."},"items":{"type":"array","description":"Per-line-item detail for the action, when the brand sends SKU-level data.","items":{"$ref":"#/components/schemas/EventNotificationItem"}}}},"EventNotificationItem":{"type":"object","description":"A single product line item attached to the action.","properties":{"sku":{"type":"string","description":"The brand's SKU for the purchased product."},"qty":{"type":"string","description":"Quantity purchased, as a decimal string."},"amt":{"type":"string","description":"Total amount for this line item, as a decimal string."}}}}}}
```

## The EventNotificationItem object

```json
{"openapi":"3.1.0","info":{"title":"Partner Event Notifications API","version":"16"},"components":{"schemas":{"EventNotificationItem":{"type":"object","description":"A single product line item attached to the action.","properties":{"sku":{"type":"string","description":"The brand's SKU for the purchased product."},"qty":{"type":"string","description":"Quantity purchased, as a decimal string."},"amt":{"type":"string","description":"Total amount for this line item, as a decimal string."}}}}}}
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://integrations.impact.com/partner-api-reference/reference/webhooks/models.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
