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

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

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.



9
10
11
12
13
14
15
16
17
# File 'lib/stripe/services/v2/billing/meter_event_adjustment_service.rb', line 9

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