Nombaone.PaymentMethod (Nomba One v0.1.0)

View Source

How a customer pays. Card and mandate are pull rails (the engine initiates the debit); a virtual account is the push rail (the customer sends a transfer and the engine matches it). Never contains a PAN or token.

kind is one of card, mandate, virtual_account; status one of setup_pending, consent_pending, active, removed, expired.

Summary

Types

t()

@type t() :: %Nombaone.PaymentMethod{
  __raw__: term(),
  brand: term(),
  created_at: term(),
  customer_id: term(),
  domain: term(),
  exp_month: term(),
  exp_year: term(),
  id: term(),
  is_default: term(),
  kind: term(),
  last4: term(),
  mode: term(),
  status: term(),
  updated_at: term()
}