Paysafe.Types.BankVerification (Paysafe v1.0.0)

Copy Markdown View Source

Represents a Bank Account Validation or Interac Verification Service verification session. Both products share this redirect-based shape.

Summary

Functions

Convenience accessor: returns the redirect URL the customer should be sent to, if present in links.

Types

status()

@type status() :: :initiated | :completed | :failed | :cancelled | :expired

t()

@type t() :: %Paysafe.Types.BankVerification{
  account_types: [String.t()] | [],
  bank_scheme: String.t() | nil,
  currency_codes: [String.t()] | [],
  id: String.t() | nil,
  links: [map()] | [],
  merchant_ref_num: String.t() | nil,
  raw: map(),
  session_id: String.t() | nil,
  status: status()
}

Functions

redirect_url(bank_verification)

@spec redirect_url(t()) :: String.t() | nil

Convenience accessor: returns the redirect URL the customer should be sent to, if present in links.