Lithic.Types.Chargeback (Lithic v1.0.0)

Copy Markdown View Source

Type definitions for Lithic Chargeback (legacy dispute) objects.

Fields

  • "token" — unique identifier
  • "transaction_token" — transaction being disputed
  • "amount" — disputed amount (integer, smallest unit)
  • "reason" — chargeback reason code
  • "status""NEW", "PENDING_CUSTOMER", "SUBMITTED", "REPRESENTMENT", "PREARBITRATION", "ARBITRATION", "CASE_WON", "CASE_LOST", "WITHDRAWN"
  • "created" — RFC 3339 timestamp

Summary

Types

create_params()

@type create_params() :: %{
  :transaction_token => String.t(),
  :amount => pos_integer(),
  optional(:reason) => String.t(),
  optional(:customer_filed_date) => String.t(),
  optional(:customer_note) => String.t()
}

t()

@type t() :: %{required(String.t()) => term()}