Ir a contenido
Crea una cuenta
o
Inicia sesión
Logotipo de Stripe Docs
/
Pregúntale a la IA
Crear una cuenta
Iniciar sesión
Empieza ahora
Pagos
Ingresos
Plataformas y marketplaces
Gestión del dinero
Recursos para desarrolladores
Resumen
Control de versiones
Registro de cambios
Actualiza tu versión de API
Actualiza la versión de SDK
Essentials
SDK
API
Pruebas
CLI de Stripe
Proyectos de muestra
Herramientas
Workbench
    Resumen
    Casos de uso
    Gestiona los destinos de eventos
    Alertas de salud y conclusiones
    Shell y API Explorer
    Métodos abreviados de teclado
Dashboard para desarrolladores
Stripe Shell
Stripe para Visual Studio Code
Funcionalidades
Flujos de trabajo
Destinos de eventos
Alertas de estado de StripeCargas de archivos
Soluciones de IA
Kit de herramientas para agentes
Protocolo de contexto del modelo
Seguridad y privacidad
Seguridad
Privacidad
Amplía Stripe
Crear aplicaciones de Stripe
Usar aplicaciones de Stripe
Socios
Ecosistema de socios
Certificación de socio
InicioRecursos para desarrolladoresWorkbench

Manage event destinations

Use Workbench to set up event destinations and receive events from Stripe.

This guide describes how to set up an event destination using Workbench.

For an overview and best practices on receiving events about your Stripe account, read the events guide.

Create a new event destination

You can create new event destinations for webhook endpoints and AWS EventBridge destinations.

  1. Open the Webhooks tab in Workbench.
  2. Click Create new destination.
  3. Select the API version for the events object you want to consume.
  4. If you’re using Connect, you can listen for Events on connected accounts. Otherwise, choose Events on your account.
  5. Select the event types that you want to send to the destination, then click Continue.
  6. Select Webhook to send events to an HTTPS endpoint.
  7. Provide the Endpoint URL for Stripe to send webhooks to and an optional description for the endpoint.
  8. Click Create destination to create your webhook endpoint.
Register a new webhook endpoint in the Webhooks tab

Configure an existing event destination

You can update or delete existing event destinations in the Webhooks tab. You can also temporarily disable a destination. Stripe won’t attempt to resend any events generated while the destination is disabled. Additionally, you can manage event destinations programmatically.

View event deliveries

Listening with Stripe CLI

You can also use the Stripe CLI to listen for events directly in your terminal.

To view event deliveries:

  1. Open the Webhooks tab in Workbench.
  2. Select the event destination.
  3. Click the Event deliveries tab.

The Event deliveries tab provides a list of events and whether they’re Delivered, Pending, or Failed. Click an event to view the Delivery attempts, which includes the HTTP status code of previous delivery attempts and the time of pending future deliveries.

View event delivery attempts on a webhook endpoint's Event deliveries tab

View event delivery attempts on a webhook endpoint’s Event deliveries tab.

Retry sending an event

In live mode, Stripe attempts to deliver a given event to your webhook endpoint for up to 3 days with an exponential back off. In the Event deliveries section of your webhook endpoint listed on Workbench, you can view when the next retry will occur.

In a sandbox, Stripe retries three times over a few hours. You can manually retry transmitting individual events to your webhook endpoint after this time using the Workbench Webhooks tab by navigating to the Event deliveries listed for your desired endpoint. You can also query for missed events to reconcile the data over any time period.

Retry sending events using a webhook endpoint's Event deliveries tab

Retry sending events using a webhook endpoint’s Event deliveries tab.

Consulta también

  • Interactive webhook endpoint builder
¿Te fue útil esta página?
SíNo
  • ¿Necesitas ayuda? Ponte en contacto con soporte.
  • Únete a nuestro programa de acceso anticipado.
  • Echa un vistazo a nuestro registro de cambios.
  • ¿Tienes alguna pregunta? Contacto.
  • ¿LLM? Lee llms.txt.
  • Con tecnología de Markdoc