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

Link to this section Summary

Functions

description: <p>Retrieves a 3D Secure object.</p>

description: <p>Initiate 3D Secure authentication.</p>

Link to this section Types

Link to this type

get3d_secure_three_d_secure_opts()

View Source
@type get3d_secure_three_d_secure_opts() :: {:expand, String.t()}

Link to this section Functions

Link to this function

get3d_secure_three_d_secure(client, three_d_secure, opts \\ [])

View Source
@spec get3d_secure_three_d_secure(
  client :: ExOAPI.Client.t(),
  three_d_secure :: String.t(),
  [get3d_secure_three_d_secure_opts()]
) ::
  {:ok,
   ExOAPI.Stripe.Schemas.Error.t()
   | ExOAPI.Stripe.Schemas.ThreeDSecure.t()
   | map()}
  | {:error, any()}

description: <p>Retrieves a 3D Secure object.</p>

Link to this function

post3d_secure(client, body)

View Source
@spec post3d_secure(
  client :: ExOAPI.Client.t(),
  body ::
    %{
      return_url: String.t(),
      expand: [String.t()],
      customer: String.t(),
      currency: String.t(),
      card: String.t(),
      amount: integer()
    }
    | map()
) ::
  {:ok,
   ExOAPI.Stripe.Schemas.Error.t()
   | ExOAPI.Stripe.Schemas.ThreeDSecure.t()
   | map()}
  | {:error, any()}

description: <p>Initiate 3D Secure authentication.</p>