Package com.stripe
Class StripeEventNotificationHandlerWithoutVerification
java.lang.Object
com.stripe.StripeEventNotificationHandlerWithoutVerification
A variant of StripeEventNotificationHandler that parses events without verifying webhook
signatures. Intended for pre-authenticated channels like AWS EventBridge or Azure Event Grid.
Because this is a sibling of StripeEventNotificationHandler rather than a subclass, it
does not expose that class's two-argument handle at all — passing a signature header here
is a compile error rather than a runtime one.
Do not instantiate directly. Use StripeEventNotificationHandler.withoutVerification(StripeClient, EventNotificationFallbackCallback) or StripeClient.notificationHandlerWithoutVerification(EventNotificationFallbackCallback) instead.
-
Method Summary
Modifier and TypeMethodDescriptionGet a sorted list of all registered event types.voidHandle an incoming webhook event notification without signature verification.onV1BillingMeterErrorReportTriggered(EventNotificationCallback<V1BillingMeterErrorReportTriggeredEventNotification> callback) onV1BillingMeterNoMeterFound(EventNotificationCallback<V1BillingMeterNoMeterFoundEventNotification> callback) onV2CommerceProductCatalogImportsFailed(EventNotificationCallback<V2CommerceProductCatalogImportsFailedEventNotification> callback) onV2CommerceProductCatalogImportsProcessing(EventNotificationCallback<V2CommerceProductCatalogImportsProcessingEventNotification> callback) onV2CommerceProductCatalogImportsSucceeded(EventNotificationCallback<V2CommerceProductCatalogImportsSucceededEventNotification> callback) onV2CommerceProductCatalogImportsSucceededWithErrors(EventNotificationCallback<V2CommerceProductCatalogImportsSucceededWithErrorsEventNotification> callback) onV2CoreAccountIncludingConfigurationCustomerCapabilityStatusUpdated(EventNotificationCallback<V2CoreAccountIncludingConfigurationCustomerCapabilityStatusUpdatedEventNotification> callback) onV2CoreAccountIncludingConfigurationCustomerUpdated(EventNotificationCallback<V2CoreAccountIncludingConfigurationCustomerUpdatedEventNotification> callback) onV2CoreAccountIncludingConfigurationMerchantCapabilityStatusUpdated(EventNotificationCallback<V2CoreAccountIncludingConfigurationMerchantCapabilityStatusUpdatedEventNotification> callback) onV2CoreAccountIncludingConfigurationMerchantUpdated(EventNotificationCallback<V2CoreAccountIncludingConfigurationMerchantUpdatedEventNotification> callback) onV2CoreAccountIncludingConfigurationRecipientCapabilityStatusUpdated(EventNotificationCallback<V2CoreAccountIncludingConfigurationRecipientCapabilityStatusUpdatedEventNotification> callback) onV2CoreAccountIncludingConfigurationRecipientUpdated(EventNotificationCallback<V2CoreAccountIncludingConfigurationRecipientUpdatedEventNotification> callback) onV2CoreAccountIncludingDefaultsUpdated(EventNotificationCallback<V2CoreAccountIncludingDefaultsUpdatedEventNotification> callback) onV2CoreAccountIncludingFutureRequirementsUpdated(EventNotificationCallback<V2CoreAccountIncludingFutureRequirementsUpdatedEventNotification> callback) onV2CoreAccountIncludingIdentityUpdated(EventNotificationCallback<V2CoreAccountIncludingIdentityUpdatedEventNotification> callback) onV2CoreAccountIncludingRequirementsUpdated(EventNotificationCallback<V2CoreAccountIncludingRequirementsUpdatedEventNotification> callback) onV2CoreAccountLinkReturned(EventNotificationCallback<V2CoreAccountLinkReturnedEventNotification> callback) onV2CoreAccountPersonCreated(EventNotificationCallback<V2CoreAccountPersonCreatedEventNotification> callback) onV2CoreAccountPersonDeleted(EventNotificationCallback<V2CoreAccountPersonDeletedEventNotification> callback) onV2CoreAccountPersonUpdated(EventNotificationCallback<V2CoreAccountPersonUpdatedEventNotification> callback) onV2CoreEventDestinationPing(EventNotificationCallback<V2CoreEventDestinationPingEventNotification> callback) preHandle(EventNotificationPreHandleCallback callback) Registers a function that will be run before any event-specific callbacks.
-
Method Details
-
handle
Handle an incoming webhook event notification without signature verification.- Parameters:
webhookBody- the incoming webhook body
-
preHandle
public StripeEventNotificationHandlerWithoutVerification preHandle(EventNotificationPreHandleCallback callback) Registers a function that will be run before any event-specific callbacks. A useful place to store event-agnostic logic, such as logging or checking for duplicate event deliveries.Returning
truecauses handling to continue as normal; returningfalsereturns fromhandle()immediately, so neither the registered callback nor the fallback callback are called.- Parameters:
callback- the hook to run before handling continues- Returns:
- this handler, for chaining
-
onV1BillingMeterErrorReportTriggered
public StripeEventNotificationHandlerWithoutVerification onV1BillingMeterErrorReportTriggered(EventNotificationCallback<V1BillingMeterErrorReportTriggeredEventNotification> callback) -
onV1BillingMeterNoMeterFound
public StripeEventNotificationHandlerWithoutVerification onV1BillingMeterNoMeterFound(EventNotificationCallback<V1BillingMeterNoMeterFoundEventNotification> callback) -
onV2CommerceProductCatalogImportsFailed
public StripeEventNotificationHandlerWithoutVerification onV2CommerceProductCatalogImportsFailed(EventNotificationCallback<V2CommerceProductCatalogImportsFailedEventNotification> callback) -
onV2CommerceProductCatalogImportsProcessing
public StripeEventNotificationHandlerWithoutVerification onV2CommerceProductCatalogImportsProcessing(EventNotificationCallback<V2CommerceProductCatalogImportsProcessingEventNotification> callback) -
onV2CommerceProductCatalogImportsSucceeded
public StripeEventNotificationHandlerWithoutVerification onV2CommerceProductCatalogImportsSucceeded(EventNotificationCallback<V2CommerceProductCatalogImportsSucceededEventNotification> callback) -
onV2CommerceProductCatalogImportsSucceededWithErrors
public StripeEventNotificationHandlerWithoutVerification onV2CommerceProductCatalogImportsSucceededWithErrors(EventNotificationCallback<V2CommerceProductCatalogImportsSucceededWithErrorsEventNotification> callback) -
onV2CoreAccountClosed
public StripeEventNotificationHandlerWithoutVerification onV2CoreAccountClosed(EventNotificationCallback<V2CoreAccountClosedEventNotification> callback) -
onV2CoreAccountCreated
public StripeEventNotificationHandlerWithoutVerification onV2CoreAccountCreated(EventNotificationCallback<V2CoreAccountCreatedEventNotification> callback) -
onV2CoreAccountUpdated
public StripeEventNotificationHandlerWithoutVerification onV2CoreAccountUpdated(EventNotificationCallback<V2CoreAccountUpdatedEventNotification> callback) -
onV2CoreAccountIncludingConfigurationCustomerCapabilityStatusUpdated
public StripeEventNotificationHandlerWithoutVerification onV2CoreAccountIncludingConfigurationCustomerCapabilityStatusUpdated(EventNotificationCallback<V2CoreAccountIncludingConfigurationCustomerCapabilityStatusUpdatedEventNotification> callback) -
onV2CoreAccountIncludingConfigurationCustomerUpdated
public StripeEventNotificationHandlerWithoutVerification onV2CoreAccountIncludingConfigurationCustomerUpdated(EventNotificationCallback<V2CoreAccountIncludingConfigurationCustomerUpdatedEventNotification> callback) -
onV2CoreAccountIncludingConfigurationMerchantCapabilityStatusUpdated
public StripeEventNotificationHandlerWithoutVerification onV2CoreAccountIncludingConfigurationMerchantCapabilityStatusUpdated(EventNotificationCallback<V2CoreAccountIncludingConfigurationMerchantCapabilityStatusUpdatedEventNotification> callback) -
onV2CoreAccountIncludingConfigurationMerchantUpdated
public StripeEventNotificationHandlerWithoutVerification onV2CoreAccountIncludingConfigurationMerchantUpdated(EventNotificationCallback<V2CoreAccountIncludingConfigurationMerchantUpdatedEventNotification> callback) -
onV2CoreAccountIncludingConfigurationRecipientCapabilityStatusUpdated
public StripeEventNotificationHandlerWithoutVerification onV2CoreAccountIncludingConfigurationRecipientCapabilityStatusUpdated(EventNotificationCallback<V2CoreAccountIncludingConfigurationRecipientCapabilityStatusUpdatedEventNotification> callback) -
onV2CoreAccountIncludingConfigurationRecipientUpdated
public StripeEventNotificationHandlerWithoutVerification onV2CoreAccountIncludingConfigurationRecipientUpdated(EventNotificationCallback<V2CoreAccountIncludingConfigurationRecipientUpdatedEventNotification> callback) -
onV2CoreAccountIncludingDefaultsUpdated
public StripeEventNotificationHandlerWithoutVerification onV2CoreAccountIncludingDefaultsUpdated(EventNotificationCallback<V2CoreAccountIncludingDefaultsUpdatedEventNotification> callback) -
onV2CoreAccountIncludingFutureRequirementsUpdated
public StripeEventNotificationHandlerWithoutVerification onV2CoreAccountIncludingFutureRequirementsUpdated(EventNotificationCallback<V2CoreAccountIncludingFutureRequirementsUpdatedEventNotification> callback) -
onV2CoreAccountIncludingIdentityUpdated
public StripeEventNotificationHandlerWithoutVerification onV2CoreAccountIncludingIdentityUpdated(EventNotificationCallback<V2CoreAccountIncludingIdentityUpdatedEventNotification> callback) -
onV2CoreAccountIncludingRequirementsUpdated
public StripeEventNotificationHandlerWithoutVerification onV2CoreAccountIncludingRequirementsUpdated(EventNotificationCallback<V2CoreAccountIncludingRequirementsUpdatedEventNotification> callback) -
onV2CoreAccountLinkReturned
public StripeEventNotificationHandlerWithoutVerification onV2CoreAccountLinkReturned(EventNotificationCallback<V2CoreAccountLinkReturnedEventNotification> callback) -
onV2CoreAccountPersonCreated
public StripeEventNotificationHandlerWithoutVerification onV2CoreAccountPersonCreated(EventNotificationCallback<V2CoreAccountPersonCreatedEventNotification> callback) -
onV2CoreAccountPersonDeleted
public StripeEventNotificationHandlerWithoutVerification onV2CoreAccountPersonDeleted(EventNotificationCallback<V2CoreAccountPersonDeletedEventNotification> callback) -
onV2CoreAccountPersonUpdated
public StripeEventNotificationHandlerWithoutVerification onV2CoreAccountPersonUpdated(EventNotificationCallback<V2CoreAccountPersonUpdatedEventNotification> callback) -
onV2CoreEventDestinationPing
public StripeEventNotificationHandlerWithoutVerification onV2CoreEventDestinationPing(EventNotificationCallback<V2CoreEventDestinationPingEventNotification> callback) -
getRegisteredEventTypes
Get a sorted list of all registered event types.- Returns:
- A sorted list of event type strings
-