Class MeterEventSessionService

java.lang.Object
com.stripe.net.ApiService
com.stripe.service.v2.billing.MeterEventSessionService

public final class MeterEventSessionService extends ApiService
  • Constructor Details

  • Method Details

    • create

      public MeterEventSession create() throws StripeException
      Creates a meter event session to send usage on the high-throughput meter event stream. Authentication tokens are only valid for 15 minutes, so you will need to create a new meter event session when your token expires.
      Throws:
      StripeException
    • create

      public MeterEventSession create(RequestOptions options) throws StripeException
      Creates a meter event session to send usage on the high-throughput meter event stream. Authentication tokens are only valid for 15 minutes, so you will need to create a new meter event session when your token expires.
      Throws:
      StripeException