List disputes
/v1/disputesAuthenticate with the header SelectKey: a sk_test_ key works in the sandbox, a sk_live_ key in production.
Query parameters
limitintegerPage size (items per page).
offsetintegerOffset of the first item (0-based).
sortstringSort expression, e.g. "-createdAt"
statusstringOnly the open (undecided) or only the closed disputes.
Values:openclosedoutcomestringOnly the disputes decided this way.
Values:wonlosttransactionIdstringOnly the disputes of this transaction.
customerIdstringOnly the disputes of this customer's transactions.
openedrangegtestring (date-time)Lower bound (inclusive, ISO instant) on
openedAtopenedrangeltestring (date-time)Upper bound (inclusive, ISO instant) on
openedAtupdatedrangegtestring (date-time)Lower bound (inclusive, ISO instant) on
updatedAtupdatedrangeltestring (date-time)Upper bound (inclusive, ISO instant) on
updatedAt
Responses
200OK
dataobject[]requiredThe items of this page.
+19 fields in
dataidstringrequiredThe dispute id.
amountnumberrequirednullableThe disputed amount, in cents.
reasonstringrequirednullableThe reason, as the acquirer sent it.
statusstringrequiredopenwhile undecided;closedonce decided.Values:openclosedoutcomeone ofrequiredHow it ended:
won(the charge stays approved) orlost(chargeback);nullwhile open.string
null
closedAtstringrequirednullableWhen the dispute was closed.
deadlineobjectrequiredThe store's window to send documents.
+4 fields in
deadlineurgentbooleanrequiredThe window is about to close: send the documents now.
expiredbooleanrequiredThe store's window to send documents closed.
deadlineAtstringrequirednullableWhen the store's window to send documents closes;
nullonce the dispute is decided.hoursRemainingnumberrequirednullableWhole hours left in that window (negative once it closed).
evidenceobjectrequiredWhich kinds of document were already attached (their presence, not their content).
+5 fields in
evidencedeliveryProofbooleanrequiredshipmentProofbooleanrequiredfiscalDocumentsbooleanrequireddeliveryReceiptsbooleanrequiredcommunicationProofbooleanrequired
openedAtstringrequirednullableWhen the buyer opened the dispute.
createdAtstringrequirednullabledecidedAtstringrequirednullableWhen the outcome was recorded.
updatedAtstringrequirednullablecustomerIdstringrequirednullableThe customer of the disputed transaction;
nullwhen the sale has none.defensiblebooleanrequiredSending documents can still change the outcome.
reasonCodestringrequirednullableThe card brand's reason code, as the acquirer sent it.
transactionIdstringrequirednullableThe disputed transaction.
reasonCategorystringrequiredThe reason in our words:
fraud(the cardholder did not make the purchase),commercial(the buyer is real and the sale went wrong: not received, not as described, canceled, duplicated) orunknown.Values:fraudcommercialunknownawaitingDocumentsbooleanrequiredDefensible and with no document attached yet.
reasonDescriptionstringrequirednullableThe reason code's description, as the acquirer sent it.
pageobjectrequiredPaging cursors of the list.
+3 fields in
pagetotalintegerrequiredTotal number of pages.
offsetobjectrequiredThe
offsetto request the first, previous, next and last pages.+4 fields in
offsetlastintegerrequiredOffset of the last page.
nextintegerrequiredOffset of the next page (stays on this page when it is the last one).
previntegerrequiredOffset of the previous page (0 on the first page).
firstintegerrequiredOffset of the first page.
currentintegerrequiredCurrent page number (1-based).
limitintegerrequiredPage size, as requested.
totalintegerrequiredTotal number of items that match the filters.
_linksobjectLinks to related operations, keyed by action (
self,create,update,delete,list…).offsetintegerrequiredOffset of the first item of this page, as requested.
hasMorebooleanrequiredtruewhen there are more items after this page.merchantobjectThe account that owns the resource (the merchant of record).
+3 fields in
merchantnamestringrequirednullableTrading name of the account that owns the resource.
merchantIdstringrequirednullablePublic id of the account that owns the resource (
bus_…).isSubAccountbooleanrequiredtruewhen the resource belongs to a sub-account operated by a marketplace platform.
400Bad request (validation failed)
errorobjectrequired+8 fields in
errorcodestringrequiredparamsobject[]statusstringrequireddetailsstringmessagestringrequiredcategorystringrequiredValues:validationauthenticationauthorizationpaymentclientserverrate_limitpendingresourcestringrequiredstatusCodeintegerrequired
401Unauthorized (missing or invalid credential)
errorobjectrequired+8 fields in
errorcodestringrequiredparamsobject[]statusstringrequireddetailsstringmessagestringrequiredcategorystringrequiredValues:validationauthenticationauthorizationpaymentclientserverrate_limitpendingresourcestringrequiredstatusCodeintegerrequired
403Forbidden (no permission)
errorobjectrequired+8 fields in
errorcodestringrequiredparamsobject[]statusstringrequireddetailsstringmessagestringrequiredcategorystringrequiredValues:validationauthenticationauthorizationpaymentclientserverrate_limitpendingresourcestringrequiredstatusCodeintegerrequired
500Internal server error
errorobjectrequired+8 fields in
errorcodestringrequiredparamsobject[]statusstringrequireddetailsstringmessagestringrequiredcategorystringrequiredValues:validationauthenticationauthorizationpaymentclientserverrate_limitpendingresourcestringrequiredstatusCodeintegerrequired