Parameters for dispute create.
Summary
Types
@type evidence() :: %{ optional(:canceled) => map() | nil, optional(:duplicate) => map() | nil, optional(:fraudulent) => map() | nil, optional(:merchandise_not_as_described) => map() | nil, optional(:no_valid_authorization) => map() | nil, optional(:not_received) => map() | nil, optional(:other) => map() | nil, optional(:reason) => String.t() | nil, optional(:service_not_as_described) => map() | nil, optional(String.t()) => term() }
canceled- Evidence provided whenreasonis 'canceled'.duplicate- Evidence provided whenreasonis 'duplicate'.fraudulent- Evidence provided whenreasonis 'fraudulent'.merchandise_not_as_described- Evidence provided whenreasonis 'merchandise_not_as_described'.no_valid_authorization- Evidence provided whenreasonis 'no_valid_authorization'.not_received- Evidence provided whenreasonis 'not_received'.other- Evidence provided whenreasonis 'other'.reason- The reason for filing the dispute. The evidence should be submitted in the field of the same name. Possible values:canceled,duplicate,fraudulent,merchandise_not_as_described,no_valid_authorization,not_received,other,service_not_as_described.service_not_as_described- Evidence provided whenreasonis 'service_not_as_described'.
@type t() :: %Stripe.Params.Issuing.DisputeCreateParams{ amount: integer() | nil, evidence: evidence() | nil, expand: [String.t()] | nil, metadata: %{required(String.t()) => String.t()} | nil, transaction: String.t() | nil, treasury: treasury() | nil }
amount- The dispute amount in the card's currency and in the smallest currency unit. If not set, defaults to the full transaction amount.evidence- Evidence provided for the dispute.expand- Specifies which fields in the response should be expanded.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. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value tometadata.transaction- The ID of the issuing transaction to create a dispute for. For transaction on Treasury FinancialAccounts, usetreasury.received_debit. Max length: 5000.treasury- Params for disputes related to Treasury FinancialAccounts
@type treasury() :: %{ optional(:received_debit) => String.t() | nil, optional(String.t()) => term() }
received_debit- The ID of the ReceivedDebit to initiate an Issuings dispute for. Max length: 5000.