Skip to main content
PATCH
Update webhook
Use this endpoint to update an existing webhook configuration. You can modify both the webhook URL and the events subscribed to.

Valid Webhook Events

We accept the following Webhook events

Notes

  • Both url and events fields are required in the request body
  • The webhook URL must be unique per merchant - you cannot update to a URL that is already in use by another webhook
  • If the webhook UUID is not found, a 404 error will be returned
  • Event subscriptions are replaced entirely - specify all events you want to receive, not just the changes

Authorizations

Authorization
string
header
required

The authentication token generated from providing API Keys to Sezzle Gateway

Path Parameters

webhooks_uuid
string
required

The webhook UUID to be updated

Body

application/json
url
string
required

The URL you are using to receive webhooks

events
enum<string>[]
required

An array of webhook events you wish to subscribe to

Available options:
customer.tokenized,
order.authorized,
order.captured,
order.refunded,
dispute.merchant_input_requested,
dispute.deadline_approaching,
dispute.closed.customer_win,
dispute.closed.merchant_win,
dispute.closed.neutral

Response

Successful Operation

uuid
string

The unique identifier for this response

Available API links prefilled with UUID with accompanying method