Interface CheckoutPaymentAuthorizationFailedEvent

All Superinterfaces:
Event

public interface CheckoutPaymentAuthorizationFailedEvent extends Event

Generated when an attempt to authorize a payment fails in Checkout. This failure could result from insufficient funds, incorrect payment details, expired cards, or risk related rejections.


Example to create an instance using the builder pattern

     CheckoutPaymentAuthorizationFailedEvent checkoutPaymentAuthorizationFailedEvent = CheckoutPaymentAuthorizationFailedEvent.builder()
             .id("{id}")
             .notificationType("{notificationType}")
             .resourceType(EventSubscriptionResourceTypeId.CHECKOUT)
             .createdAt(ZonedDateTime.parse("2022-01-01T12:00:00.301Z"))
             .data(dataBuilder -> dataBuilder)
             .build()