Marqeta.ThreeDSecure (marqeta v1.0.0)

Copy Markdown View Source

3D Secure (3DS) decision service.

Evaluates each authorization against your SCA rules and decides whether to apply Strong Customer Authentication or grant an exemption.

Exemption types: LOW_VALUE, TRANSACTION_RISK_ANALYSIS, RECURRING, MERCHANT_WHITELIST, SECURE_CORPORATE

Summary

Functions

Retrieves 3DS configuration for the program.

Retrieves a 3DS authentication decision by token.

Retrieves a 3DS authentication decision by token. Raises Marqeta.Error on failure.

Lists 3DS authentication decisions.

Updates 3DS configuration.

Functions

config(opts \\ [])

@spec config(keyword()) :: {:ok, map()} | {:error, Marqeta.Error.t()}

Retrieves 3DS configuration for the program.

get(token, opts \\ [])

@spec get(
  String.t(),
  keyword()
) :: {:ok, map()} | {:error, Marqeta.Error.t()}

Retrieves a 3DS authentication decision by token.

Returns {:ok, map()} on success, {:error, %Marqeta.Error{}} on failure.

get!(token, opts \\ [])

@spec get!(
  String.t(),
  keyword()
) :: map()

Retrieves a 3DS authentication decision by token. Raises Marqeta.Error on failure.

list(params \\ %{}, opts \\ [])

@spec list(
  map(),
  keyword()
) :: {:ok, map()} | {:error, Marqeta.Error.t()}

Lists 3DS authentication decisions.

update_config(params, opts \\ [])

@spec update_config(
  map(),
  keyword()
) :: {:ok, map()} | {:error, Marqeta.Error.t()}

Updates 3DS configuration.