View Source ExOAPI.Stripe.Schemas.SourceRedirectFlow (exoapi_stripe v0.1.4)

:failure_reason :: :string

The failure reason for the redirect, either user_abort (the customer aborted or dropped out of the redirect flow), declined (the authentication failed or the transaction was declined), or processing_error (the redirect failed due to a technical error). Present only if the redirect status is failed.

:return_url :: :string

The URL you provide to redirect the customer to after they authenticated their payment.

:status :: :string

The status of the redirect, either pending (ready to be used by your customer to authenticate the transaction), succeeded (succesful authentication, cannot be reused) or not_required (redirect should not be used) or failed (failed authentication, cannot be reused).

:url :: :string

The URL provided to you to redirect a customer to as part of a redirect authentication flow.

Link to this section Summary

Link to this section Types

@type params() :: map()
@type t() :: %ExOAPI.Stripe.Schemas.SourceRedirectFlow{
  failure_reason: String.t() | nil,
  return_url: String.t() | nil,
  status: String.t() | nil,
  url: String.t() | nil
}

Link to this section Functions

Link to this function

changeset(struct \\ %__MODULE__{}, params)

View Source
@spec changeset(t(), params()) :: Ecto.Changeset.t()