Webhook

You can configure via the API to be notified about events that happen in your account. Most users configure webhooks from the dashboard, which provides a user interface for registering and testing your webhook endpoints.

  • id
    Type: string
    max length:  
    100

    Unique identifier for the object.

  • created
    Type: string Format: date-time

    Time at which the object was created. Measured in seconds since the Unix epoch.

  • name
    Type: string
    max length:  
    5000

    The webhook's name.

  • url
    Type: string
    max length:  
    5000

    The URL of the webhook endpoint.

  • enabled_events
    Type: array string[] · WebhookEventType[]enum

    The event types this endpoint receives.

    values
    • checkout_session.completed
    • payment_intent.authorized
    • payment_intent.captured
    • payment.succeeded
    • payment.captured
    • Type: string · WebhookEventTypeenum

      Event types that webhook endpoints can subscribe to.

      values
      • checkout_session.completed

        A Checkout Session completed successfully.

      • payment_intent.authorized

        A PaymentIntent was authorized and can be captured.

      • payment_intent.captured

        A PaymentIntent was captured.

      • payment.succeeded

        A Payment succeeded.

      • payment.captured

        A Payment was captured.

  • status
    Type: string
    max length:  
    5000

    The status of the webhook. It can be enabled or disabled.

  • secret
    Type: string
    max length:  
    5000

    The endpoint's secret, used to generate webhook signatures.