Sha256: 330c64e77d692558703bf25b5d83aa3124746d644398baf02c1f44c33bdff71d

Contents?: true

Size: 650 Bytes

Versions: 13

Compression:

Stored size: 650 Bytes

Contents

# File generated from our OpenAPI spec
# frozen_string_literal: true

module Stripe
  module V2
    module Billing
      class MeterEventService < StripeService
        # Creates a meter event. Events are validated synchronously, but are processed asynchronously. Supports up to 1,000 events per second in livemode. For higher rate-limits, please use meter event streams instead.
        def create(params = {}, opts = {})
          request(
            method: :post,
            path: "/v2/billing/meter_events",
            params: params,
            opts: opts,
            base_address: :api
          )
        end
      end
    end
  end
end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
stripe-13.3.0.pre.beta.1 lib/stripe/services/v2/billing/meter_event_service.rb
stripe-13.2.0 lib/stripe/services/v2/billing/meter_event_service.rb
stripe-13.1.2 lib/stripe/services/v2/billing/meter_event_service.rb
stripe-13.2.0.pre.beta.3 lib/stripe/services/v2/billing/meter_event_service.rb
stripe-13.2.0.pre.beta.2 lib/stripe/services/v2/billing/meter_event_service.rb
stripe-13.1.1 lib/stripe/services/v2/billing/meter_event_service.rb
stripe-13.2.0.pre.beta.1 lib/stripe/services/v2/billing/meter_event_service.rb
stripe-13.1.0 lib/stripe/services/v2/billing/meter_event_service.rb
stripe-13.0.2 lib/stripe/services/v2/billing/meter_event_service.rb
stripe-13.1.0.pre.beta.3 lib/stripe/services/v2/billing/meter_event_service.rb
stripe-13.0.1 lib/stripe/services/v2/billing/meter_event_service.rb
stripe-13.1.0.pre.beta.2 lib/stripe/services/v2/billing/meter_event_service.rb
stripe-13.0.0 lib/stripe/services/v2/billing/meter_event_service.rb