View Source ExOAPI.Stripe.SDK.SetupAttempts (exoapi_stripe v0.1.4)

Link to this section Summary

Functions

description: <p>Returns a list of SetupAttempts associated with a provided SetupIntent.</p>

Link to this section Types

Link to this type

get_setup_attempts_opts()

View Source
@type get_setup_attempts_opts() ::
  {:starting_after, String.t()}
  | {:limit, String.t()}
  | {:expand, String.t()}
  | {:ending_before, String.t()}
  | {:created, String.t()}

Link to this section Functions

Link to this function

get_setup_attempts(client, setup_intent, opts \\ [])

View Source
@spec get_setup_attempts(
  client :: ExOAPI.Client.t(),
  setup_intent :: String.t(),
  [get_setup_attempts_opts()]
) ::
  {:ok,
   ExOAPI.Stripe.Schemas.Error.t()
   | %{
       url: String.t(),
       object: String.t() | :list,
       has_more: boolean(),
       data: [ExOAPI.Stripe.Schemas.SetupAttempt.t()]
     }
   | map()}
  | {:error, any()}

description: <p>Returns a list of SetupAttempts associated with a provided SetupIntent.</p>