View Source ExOAPI.Stripe.Schemas.Issuing_dispute (exoapi_stripe v0.1.4)

description: As a card issuer, you can dispute transactions that the cardholder does not recognize, suspects to be fraudulent, or has other issues with.

Related guide: Disputing Transactions

:amount :: :integer

Disputed amount. Usually the amount of the transaction, but can differ (usually because of currency fluctuation).

::balance_transactions :: ExOAPI.Stripe.Schemas.BalanceTransaction

:created :: :integer

Time at which the object was created. Measured in seconds since the Unix epoch.

:currency :: :string

The currency the transaction was made in.

:evidence :: ExOAPI.Stripe.Schemas.IssuingDisputeEvidence

:id :: :string

Unique identifier for the object.

:livemode :: :boolean

Has the value true if the object exists in live mode or the value false if the object exists in test mode.

:metadata :: :map

Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format.

:object :: :string

String representing the object's type. Objects of the same type share the same value.

:status :: :string

Current status of the dispute.

:transaction :: ExOAPI.Stripe.Schemas.Issuing_transaction | :string

The transaction being disputed.

Link to this section Summary

Link to this section Types

@type params() :: map()
@type t() :: %ExOAPI.Stripe.Schemas.Issuing_dispute{
  amount: integer() | nil,
  balance_transactions: [ExOAPI.Stripe.Schemas.BalanceTransaction.t()],
  created: integer() | nil,
  currency: String.t() | nil,
  evidence: ExOAPI.Stripe.Schemas.IssuingDisputeEvidence.t() | nil,
  id: String.t() | nil,
  livemode: boolean() | nil,
  metadata: map() | nil,
  object: :"issuing.dispute" | nil,
  status: (:won | :unsubmitted | :submitted | :lost | :expired) | nil,
  transaction: ExOAPI.EctoTypes.AnyOf.t() | nil
}

Link to this section Functions

Link to this function

changeset(struct \\ %__MODULE__{}, params)

View Source
@spec changeset(t(), params()) :: Ecto.Changeset.t()