Class WebhookEndpointCreate


  • public final class WebhookEndpointCreate
    extends java.lang.Object
    • Method Detail

      • getObject

        public java.lang.String getObject()
      • getId

        public java.lang.String getId()
        Returns:
        Unique identifier for the webhook endpoint.
      • getUrl

        public java.lang.String getUrl()
        Returns:
        The URL that webhook events are sent to.
      • getName

        public java.lang.String getName()
        Returns:
        A human-readable name for the webhook endpoint.
      • getEnabledEvents

        public java.util.List<WebhookEndpointEventType> getEnabledEvents()
        Returns:
        The list of event types this endpoint is subscribed to at the global level. These are events that are not scoped to a specific resource.
      • getAdvancedOptions

        public java.util.Optional<WebhookAdvancedOptions> getAdvancedOptions()
        Returns:
        Advanced configuration options for the webhook endpoint, including custom headers and payload delivery settings.
      • getSigningSecret

        public java.lang.String getSigningSecret()
        Returns:
        The signing secret used to verify webhook payloads. This is only returned when creating the endpoint and cannot be retrieved again.

        Store it securely — you will need it to verify webhook signatures.

      • getCreatedAt

        public java.time.OffsetDateTime getCreatedAt()
        Returns:
        The date and time the webhook endpoint was created.
      • equals

        public boolean equals​(java.lang.Object other)
        Overrides:
        equals in class java.lang.Object
      • getAdditionalProperties

        public java.util.Map<java.lang.String,​java.lang.Object> getAdditionalProperties()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object