Monzo.Receipt.Payment (monzo_client v1.0.0)

Copy Markdown View Source

One payment method applied to the receipt.

Summary

Types

payment_type()

@type payment_type() :: :card | :cash | :gift_card

t()

@type t() :: %Monzo.Receipt.Payment{
  aid: String.t() | nil,
  amount: integer(),
  auth_code: String.t() | nil,
  bin: String.t() | nil,
  currency: String.t(),
  gift_card_type: String.t() | nil,
  last_four: String.t() | nil,
  mid: String.t() | nil,
  tid: String.t() | nil,
  type: payment_type()
}