PlaidEx.API.Signal (plaid_ex v1.0.0)

Copy Markdown View Source

Plaid Signal API — ACH return risk scoring.

Summary

Functions

Returns a Decision Report confirming whether the ACH was initiated.

Evaluates ACH return risk for a transaction.

Prepares items for Signal evaluation.

Functions

decision_report(config, client_transaction_id, initiated, opts \\ [])

@spec decision_report(PlaidEx.Config.t(), String.t(), boolean(), keyword()) ::
  {:ok, map()} | {:error, PlaidEx.Error.t()}

Returns a Decision Report confirming whether the ACH was initiated.

evaluate(config, params, opts \\ [])

@spec evaluate(PlaidEx.Config.t(), map(), keyword()) ::
  {:ok, map()} | {:error, PlaidEx.Error.t()}

Evaluates ACH return risk for a transaction.

prepare(config, access_token, opts \\ [])

@spec prepare(PlaidEx.Config.t(), String.t(), keyword()) ::
  {:ok, map()} | {:error, PlaidEx.Error.t()}

Prepares items for Signal evaluation.

return_report(config, client_transaction_id, return_code, opts \\ [])

@spec return_report(PlaidEx.Config.t(), String.t(), String.t(), keyword()) ::
  {:ok, map()} | {:error, PlaidEx.Error.t()}

Reports the outcome of an ACH return.