Class: Stripe::V2::Billing::MeterEventStreamService
- Inherits:
-
StripeService
- Object
- StripeService
- Stripe::V2::Billing::MeterEventStreamService
- Defined in:
- lib/stripe/services/v2/billing/meter_event_stream_service.rb
Instance Method Summary collapse
-
#create(params = {}, opts = {}) ⇒ Object
Creates meter events.
Methods inherited from StripeService
#initialize, #request, #request_stream
Constructor Details
This class inherits a constructor from Stripe::StripeService
Instance Method Details
#create(params = {}, opts = {}) ⇒ Object
Creates meter events. Events are processed asynchronously, including validation. Requires a meter event session for authentication. Supports up to 10,000 requests per second in livemode. For even higher rate-limits, contact sales.
** raises TemporarySessionExpiredError
11 12 13 14 15 16 17 18 19 |
# File 'lib/stripe/services/v2/billing/meter_event_stream_service.rb', line 11 def create(params = {}, opts = {}) request( method: :post, path: "/v2/billing/meter_event_stream", params: params, opts: opts, base_address: :meter_events ) end |