Sumup.Payout (Sumup v1.0.0)

Copy Markdown View Source

A single payout (or payout-adjusting) entry in a merchant's financial report.

Summary

Types

status()

@type status() :: :successful | :failed | :unknown

t()

@type t() :: %Sumup.Payout{
  amount: Sumup.Money.Float.t(),
  date: Date.t() | nil,
  fee: Sumup.Money.Float.t() | nil,
  id: integer() | nil,
  raw: map(),
  reference: String.t() | nil,
  status: status(),
  transaction_code: String.t() | nil,
  type: type()
}

type()

@type type() ::
  :payout
  | :charge_back_deduction
  | :refund_deduction
  | :dd_return_deduction
  | :balance_deduction
  | :unknown