The Dispute object
Attributes
- idstring
Unique identifier for the object.
- amountinteger
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_
transactionsnullable array of MapsExpandable List of balance transactions associated with the dispute.
- currencyenum
The currency the
transaction
was made in. - evidenceMap
Evidence for the dispute. Evidence contains exactly two non-null fields: the
reason
for the dispute and the associated evidence field for the selectedreason
. - metadataMap
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.
- statusenum
Current status of the dispute.
- transactionstringExpandable
The transaction being disputed.
More attributes
- objectstring
- createdtimestamp
- livemodeboolean
Create a dispute
Creates an Issuing Dispute
object. Individual pieces of evidence within the evidence
object are optional at this point. Stripe only validates that required evidence is present during submission. Refer to Dispute reasons and evidence for more details about evidence requirements.
Parameters
- evidenceMap
Evidence provided for the dispute.
- metadataMap
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 to
metadata
. - transactionstring
The ID of the issuing transaction to create a dispute for. For transaction on Treasury FinancialAccounts, use
treasury.received_debit
.
More parameters
- amountinteger
Returns
Returns an Issuing Dispute
object in unsubmitted
status if creation succeeds.
Update a dispute
Updates the specified Issuing Dispute
object by setting the values of the parameters passed. Any parameters not provided will be left unchanged. Properties on the evidence
object can be unset by passing in an empty string.
Parameters
- evidenceMap
Evidence provided for the dispute.
- metadataMap
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 to
metadata
.
More parameters
- amountinteger
Returns
Returns an updated Issuing Dispute
object if a valid identifier was provided.
Retrieve a dispute
Retrieves an Issuing Dispute
object.
Parameters
No parameters.
Returns
Returns an Issuing Dispute
object if a valid identifier was provided.
List all disputes
Returns a list of Issuing Dispute
objects. The objects are sorted in descending order by creation date, with the most recently created object appearing first.
Parameters
- transactionstring
Select the Issuing dispute for the given transaction.
More parameters
- createdMap
- ending_
beforestring - limitinteger
- starting_
afterstring - statusenum
Returns
A Map with a data
property that contains an array of up to limit
disputes, starting after dispute starting_after
. Each entry in the array is a separate Issuing Dispute
object. If no more disputes are available, the resulting array will be empty.