SelectwinSelectwin

Retrieve a dispute

GET/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
  • idstringrequired

    The dispute id.

  • amountnumberrequirednullable

    The disputed amount, in cents.

  • reasonstringrequirednullable

    The reason, as the acquirer sent it.

  • statusstringrequired

    open while undecided; closed once decided.

    Values:openclosed
  • outcomeone ofrequired

    How it ended: won (the charge stays approved) or lost (chargeback); null while open.

    string
    null
  • closedAtstringrequirednullable

    When the dispute was closed.

  • deadlineobjectrequired

    The store's window to send documents.

    +4 fields in deadline
    • urgentbooleanrequired

      The window is about to close: send the documents now.

    • expiredbooleanrequired

      The store's window to send documents closed.

    • deadlineAtstringrequirednullable

      When the store's window to send documents closes; null once the dispute is decided.

    • hoursRemainingnumberrequirednullable

      Whole hours left in that window (negative once it closed).

  • evidenceobjectrequired

    Which kinds of document were already attached (their presence, not their content).

    +5 fields in evidence
    • deliveryProofbooleanrequired
    • shipmentProofbooleanrequired
    • fiscalDocumentsbooleanrequired
    • deliveryReceiptsbooleanrequired
    • communicationProofbooleanrequired
  • openedAtstringrequirednullable

    When the buyer opened the dispute.

  • createdAtstringrequirednullable
  • decidedAtstringrequirednullable

    When the outcome was recorded.

  • updatedAtstringrequirednullable
  • customerIdstringrequirednullable

    The customer of the disputed transaction; null when the sale has none.

  • defensiblebooleanrequired

    Sending documents can still change the outcome.

  • reasonCodestringrequirednullable

    The card brand's reason code, as the acquirer sent it.

  • transactionIdstringrequirednullable

    The disputed transaction.

  • reasonCategorystringrequired

    The 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) or unknown.

    Values:fraudcommercialunknown
  • awaitingDocumentsbooleanrequired

    Defensible and with no document attached yet.

  • reasonDescriptionstringrequirednullable

    The reason code's description, as the acquirer sent it.

401Unauthorized (missing or invalid credential)
  • errorobjectrequired
    +8 fields in error
    • codestringrequired
    • paramsobject[]
    • statusstringrequired
    • detailsstring
    • messagestringrequired
    • categorystringrequired
      Values:validationauthenticationauthorizationpaymentclientserverrate_limitpending
    • resourcestringrequired
    • statusCodeintegerrequired
403Forbidden (no permission)
  • errorobjectrequired
    +8 fields in error
    • codestringrequired
    • paramsobject[]
    • statusstringrequired
    • detailsstring
    • messagestringrequired
    • categorystringrequired
      Values:validationauthenticationauthorizationpaymentclientserverrate_limitpending
    • resourcestringrequired
    • statusCodeintegerrequired
404Not found
  • errorobjectrequired
    +8 fields in error
    • codestringrequired
    • paramsobject[]
    • statusstringrequired
    • detailsstring
    • messagestringrequired
    • categorystringrequired
      Values:validationauthenticationauthorizationpaymentclientserverrate_limitpending
    • resourcestringrequired
    • statusCodeintegerrequired
500Internal server error
  • errorobjectrequired
    +8 fields in error
    • codestringrequired
    • paramsobject[]
    • statusstringrequired
    • detailsstring
    • messagestringrequired
    • categorystringrequired
      Values:validationauthenticationauthorizationpaymentclientserverrate_limitpending
    • resourcestringrequired
    • statusCodeintegerrequired

Preferências de cookies

Hoje o site usa só cookies essenciais: nenhuma ferramenta de medição ou de anúncios está ligada, e nada é compartilhado com terceiros. Se isso mudar, você decide aqui antes de qualquer coisa ser carregada.

  • Mantêm o site funcionando: segurança, a sua escolha sobre cookies e preferências como o idioma e a versão da documentação. Não dependem de consentimento.

    Sempre ativos