PolarExpress.Schemas.Dispute (polar_express v0.2.2)

Copy Markdown View Source

Dispute

Schema representing a dispute.

A dispute is a challenge raised by a customer or their bank regarding a payment.

Summary

Types

t()

@type t() :: %PolarExpress.Schemas.Dispute{
  amount: term(),
  closed: term(),
  created_at: term(),
  currency: term(),
  id: term(),
  modified_at: term(),
  order_id: term(),
  payment_id: term(),
  resolved: term(),
  status: term(),
  tax_amount: term()
}
  • amount - Amount in cents disputed.
  • closed - Whether the dispute is closed (prevented, won, or lost).
  • created_at - Creation timestamp of the object. Format: date-time.
  • currency - Currency code of the dispute.
  • id - The ID of the object. Format: uuid4.
  • modified_at - Last modification timestamp of the object. Nullable.
  • order_id - The ID of the order associated with the dispute. Format: uuid4.
  • payment_id - The ID of the payment associated with the dispute. Format: uuid4.
  • resolved - Whether the dispute has been resolved (won or lost).
  • status - Status of the dispute. prevented means we issued a refund before the dispute was escalated, avoiding any fees.
  • tax_amount - Tax amount in cents disputed.

Functions

schema_name()