WebhookEndpointCreateRequest

    • 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
    • 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.