Passer au contenu principal
GET
/
v2
/
webhooks
/
{webhooks_uuid}
Get webhook
curl --request GET \
  --url https://sandbox.gateway.sezzle.com/v2/webhooks/{webhooks_uuid} \
  --header 'Authorization: <api-key>'
{
  "uuid": "747cf28a-bb5c-46a8-a288-d9b006fd6113",
  "links": [
    {
      "href": "https://sandbox.gateway.sezzle.com/v2/webhooks",
      "rel": "create",
      "method": "POST"
    },
    {
      "href": "https://sandbox.gateway.sezzle.com/v2/webhooks",
      "rel": "list",
      "method": "GET"
    },
    {
      "href": "https://sandbox.gateway.sezzle.com/v2/webhooks/747cf28a-bb5c-46a8-a288-d9b006fd6113",
      "rel": "self",
      "method": "GET"
    },
    {
      "href": "https://sandbox.gateway.sezzle.com/v2/webhooks/747cf28a-bb5c-46a8-a288-d9b006fd6113",
      "rel": "self",
      "method": "PATCH"
    },
    {
      "href": "https://sandbox.gateway.sezzle.com/v2/webhooks/747cf28a-bb5c-46a8-a288-d9b006fd6113",
      "rel": "self",
      "method": "DELETE"
    }
  ],
  "url": "https://example.com/webhooks",
  "events": [
    "customer.tokenized"
  ]
}
Utilisez ce point de terminaison pour récupérer un abonnement webhook unique à partir de son UUID.

Notes

  • Le webhooks_uuid est renvoyé lors de la création d’un webhook et lorsque vous listez vos webhooks.
  • Si l’UUID du webhook est introuvable, une erreur 404 est renvoyée.

Autorisations

Authorization
string
header
requis

The authentication token generated from providing API Keys to Sezzle Gateway

Paramètres de chemin

webhooks_uuid
string
requis

The webhook UUID to retrieve

Réponse

Successful Operation

url
string
requis

The URL you are using to receive webhooks

events
enum<string>[]
requis

An array of webhook events you wish to subscribe to

Options disponibles:
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
uuid
string

The unique identifier for this response

Available API links prefilled with UUID with accompanying method