ClearBank.Webhook.Events.CopOutboundResponse (ClearBank v1.0.0)

Copy Markdown View Source

Fired when a CoP outbound name verification response is received.

Summary

Types

match_result()

@type match_result() ::
  :match
  | :close_match
  | :no_match
  | :account_type_mismatch
  | :partial_match
  | nil

t()

@type t() :: %ClearBank.Webhook.Events.CopOutboundResponse{
  account_name: String.t() | nil,
  account_number: String.t() | nil,
  account_type: String.t() | nil,
  match_result: match_result(),
  request_id: String.t() | nil,
  sort_code: String.t() | nil,
  timestamp: String.t() | nil
}

Functions

from_payload(payload)

@spec from_payload(map()) :: t()