WebhookEndpointUpdateRequest

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

    The event types this endpoint receives.

    values
    • checkout_session.completed
    • payment_intent.authorized
    • payment_intent.captured
    • account.updated
    • account.external_account.created
    • account.external_account.updated
    • invoice.paid
    • invoice.payment_failed
    • 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.

      • account.updated

        A connected account was updated.

      • account.external_account.created

        An external account was attached to a connected account.

      • account.external_account.updated

        An external account on a connected account was updated.

      • invoice.paid

        An invoice was paid.

      • invoice.payment_failed

        An invoice payment failed.

  • url
    Type: string
    max length:  
    5000
    required

    The URL of the webhook endpoint.