# WebhookRequest

> A schema in the One API reference. Source: https://hub.ozow.com/api-reference/one-api/schemas/webhook-request/

## Fields

- `endpoint` (string, uri, required) - The uri of the webhook receiver. Must be reachable from the internet. `localhost` is rejected with a 403, so a local integration needs a tunnel rather than the address the browser uses.
- `eventType` (any, required, one of "transaction.complete", "refund.complete") - The type of event the webhook subscribes to.
- `messageType` (any, one of "thin", "full") - Defaults to `thin`. Specify `full` to receive a larger payload with as much detail as possible.
