Class: Stripe::V2::Billing::MeterEventAdjustmentService

Inherits:
StripeService
  • Object
show all
Defined in:
lib/stripe/services/v2/billing/meter_event_adjustment_service.rb

Defined Under Namespace

Classes: CreateParams

Instance Method Summary collapse

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 a meter event adjustment to cancel a previously sent meter event.



32
33
34
35
36
37
38
39
40
# File 'lib/stripe/services/v2/billing/meter_event_adjustment_service.rb', line 32

def create(params = {}, opts = {})
  request(
    method: :post,
    path: "/v2/billing/meter_event_adjustments",
    params: params,
    opts: opts,
    base_address: :api
  )
end