Search documentation of stripe_elixir

# StripeElixir.Resources.Issuing.Dispute (stripe_elixir v0.1.0)

Copy Markdown View Source

IssuingDispute

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: Issuing disputes

## Summary

### Types

t()

### Functions

expandable_fields()
object_name()

## Types

# t()

    @type t() :: %StripeElixir.Resources.Issuing.Dispute{
      amount: integer(),
      balance_transactions: [String.t() | map()] | nil,
      created: integer(),
      currency: String.t(),
      evidence: map(),
      id: String.t(),
      livemode: boolean(),
      loss_reason: String.t() | nil,
      metadata: map(),
      object: String.t(),
      status: String.t(),
      transaction: String.t() | map(),
      treasury: map() | nil
    }

- `amount` - Disputed amount in the card's currency and in the smallest currency unit. Usually the amount of the `transaction`, but can differ (usually because of currency fluctuation).
- `balance_transactions` - List of balance transactions associated with the dispute. Nullable. Expandable.
- `created` - Time at which the object was created. Measured in seconds since the Unix epoch. Format: Unix timestamp.
- `currency` - The currency the `transaction` was made in. Format: ISO 4217 currency code.
- `evidence` - Expandable.
- `id` - Unique identifier for the object. Max length: 5000.
- `livemode` - Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode.
- `loss_reason` - The enum that describes the dispute loss outcome. If the dispute is not lost, this field will be absent. New enum values may be added in the future, so be sure to handle unknown values. Possible values: `cardholder_authentication_issuer_liability`, `eci5_token_transaction_with_tavv`, `excess_disputes_in_timeframe`, `has_not_met_the_minimum_dispute_amount_requirements`, `invalid_duplicate_dispute`, `invalid_incorrect_amount_dispute`, `invalid_no_authorization`, `invalid_use_of_disputes`, `merchandise_delivered_or_shipped`, `merchandise_or_service_as_described`, `not_cancelled`, `other`, `refund_issued`, `submitted_beyond_allowable_time_limit`, `transaction_3ds_required`, `transaction_approved_after_prior_fraud_dispute`, `transaction_authorized`, `transaction_electronically_read`, `transaction_qualifies_for_visa_easy_payment_service`, `transaction_unattended`.
- `metadata` - 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 representing the object's type. Objects of the same type share the same value. Possible values: `issuing.dispute`.
- `status` - Current status of the dispute. Possible values: `expired`, `lost`, `submitted`, `unsubmitted`, `won`.
- `transaction` - The transaction being disputed. Expandable.
- `treasury` - Treasury details related to this dispute if it was created on a [FinancialAccount](/docs/api/treasury/financial_accounts Nullable. Expandable.

## Functions

# expandable_fields()

# object_name()