Retrieve a dispute
/v1/disputes/{disputeId}Authenticate with the header SelectKey: a sk_test_ key works in the sandbox, a sk_live_ key in production.
Path parameters
disputeIdstringrequired
Responses
200OK
idstringrequiredThe 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.
401Unauthorized (missing or invalid credential)
errorobjectrequired+8 fields in
errorcodestringrequiredparamsobject[]statusstringrequireddetailsstringmessagestringrequiredcategorystringrequiredValues:validationauthenticationauthorizationpaymentclientserverrate_limitpendingresourcestringrequiredstatusCodeintegerrequired
403Forbidden (no permission)
errorobjectrequired+8 fields in
errorcodestringrequiredparamsobject[]statusstringrequireddetailsstringmessagestringrequiredcategorystringrequiredValues:validationauthenticationauthorizationpaymentclientserverrate_limitpendingresourcestringrequiredstatusCodeintegerrequired
404Not found
errorobjectrequired+8 fields in
errorcodestringrequiredparamsobject[]statusstringrequireddetailsstringmessagestringrequiredcategorystringrequiredValues:validationauthenticationauthorizationpaymentclientserverrate_limitpendingresourcestringrequiredstatusCodeintegerrequired
500Internal server error
errorobjectrequired+8 fields in
errorcodestringrequiredparamsobject[]statusstringrequireddetailsstringmessagestringrequiredcategorystringrequiredValues:validationauthenticationauthorizationpaymentclientserverrate_limitpendingresourcestringrequiredstatusCodeintegerrequired