Class: Stripe::SetupAttemptService

Inherits:
StripeService show all
Defined in:
lib/stripe/services/setup_attempt_service.rb

Defined Under Namespace

Classes: ListParams

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

#list(params = {}, opts = {}) ⇒ Object

Returns a list of SetupAttempts that associate with a provided SetupIntent.



58
59
60
61
62
63
64
65
66
# File 'lib/stripe/services/setup_attempt_service.rb', line 58

def list(params = {}, opts = {})
  request(
    method: :get,
    path: "/v1/setup_attempts",
    params: params,
    opts: opts,
    base_address: :api
  )
end