Class EventService

java.lang.Object
com.stripe.net.ApiService
com.stripe.service.EventService

public final class EventService extends ApiService
  • Constructor Details

  • Method Details

    • list

      public StripeCollection<Event> list(EventListParams params) throws StripeException
      List events, going back up to 30 days. Each event data is rendered according to Stripe API version at its creation time, specified in event object api_version attribute (not according to your current Stripe API version or Stripe-Version header). The list includes only events for the account that makes the request. A platform’s list doesn’t include events from its connected accounts. To list a connected account’s events, make the request as the connected account using the Stripe-Account header.
      Throws:
      StripeException
    • list

      public StripeCollection<Event> list(RequestOptions options) throws StripeException
      List events, going back up to 30 days. Each event data is rendered according to Stripe API version at its creation time, specified in event object api_version attribute (not according to your current Stripe API version or Stripe-Version header). The list includes only events for the account that makes the request. A platform’s list doesn’t include events from its connected accounts. To list a connected account’s events, make the request as the connected account using the Stripe-Account header.
      Throws:
      StripeException
    • list

      public StripeCollection<Event> list() throws StripeException
      List events, going back up to 30 days. Each event data is rendered according to Stripe API version at its creation time, specified in event object api_version attribute (not according to your current Stripe API version or Stripe-Version header). The list includes only events for the account that makes the request. A platform’s list doesn’t include events from its connected accounts. To list a connected account’s events, make the request as the connected account using the Stripe-Account header.
      Throws:
      StripeException
    • list

      public StripeCollection<Event> list(EventListParams params, RequestOptions options) throws StripeException
      List events, going back up to 30 days. Each event data is rendered according to Stripe API version at its creation time, specified in event object api_version attribute (not according to your current Stripe API version or Stripe-Version header). The list includes only events for the account that makes the request. A platform’s list doesn’t include events from its connected accounts. To list a connected account’s events, make the request as the connected account using the Stripe-Account header.
      Throws:
      StripeException
    • retrieve

      public Event retrieve(String id, EventRetrieveParams params) throws StripeException
      Retrieves the details of an event if it was created in the last 30 days. Supply the unique identifier of the event, which you might have received in a webhook.
      Throws:
      StripeException
    • retrieve

      public Event retrieve(String id, RequestOptions options) throws StripeException
      Retrieves the details of an event if it was created in the last 30 days. Supply the unique identifier of the event, which you might have received in a webhook.
      Throws:
      StripeException
    • retrieve

      public Event retrieve(String id) throws StripeException
      Retrieves the details of an event if it was created in the last 30 days. Supply the unique identifier of the event, which you might have received in a webhook.
      Throws:
      StripeException
    • retrieve

      public Event retrieve(String id, EventRetrieveParams params, RequestOptions options) throws StripeException
      Retrieves the details of an event if it was created in the last 30 days. Supply the unique identifier of the event, which you might have received in a webhook.
      Throws:
      StripeException