Paysafe.Types.Payment (Paysafe v1.0.0)

Copy Markdown View Source

Represents a Paysafe Payment response.

Summary

Types

status()

@type status() :: :processing | :completed | :failed | :cancelled | :pending

t()

@type t() :: %Paysafe.Types.Payment{
  amount: pos_integer(),
  authentication: map() | nil,
  card_bin: String.t() | nil,
  card_type: String.t() | nil,
  currency_code: String.t(),
  error: map() | nil,
  id: String.t() | nil,
  last_digits: String.t() | nil,
  merchant_ref_num: String.t(),
  raw: map(),
  settle_with_auth: boolean(),
  settlements: [map()] | [],
  status: status(),
  txn_time: String.t() | nil
}