WebhookEndpointCreateRequest

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

      The event types this endpoint receives.

      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.

    • name
      Type: string
      max length:  
      5000
      required

      Name to help identify the webhook.

    • url
      Type: string
      max length:  
      5000
      required

      The URL of the webhook endpoint.