SelectwinSelectwin

List disputes

GET/v1/disputes

Authenticate with the header SelectKey: a sk_test_ key works in the sandbox, a sk_live_ key in production.

Query parameters

  • limitinteger

    Page size (items per page).

  • offsetinteger

    Offset of the first item (0-based).

  • sortstring

    Sort expression, e.g. "-createdAt"

  • statusstring

    Only the open (undecided) or only the closed disputes.

    Values:openclosed
  • outcomestring

    Only the disputes decided this way.

    Values:wonlost
  • transactionIdstring

    Only the disputes of this transaction.

  • customerIdstring

    Only the disputes of this customer's transactions.

  • openedrangegtestring (date-time)

    Lower bound (inclusive, ISO instant) on openedAt

  • openedrangeltestring (date-time)

    Upper bound (inclusive, ISO instant) on openedAt

  • updatedrangegtestring (date-time)

    Lower bound (inclusive, ISO instant) on updatedAt

  • updatedrangeltestring (date-time)

    Upper bound (inclusive, ISO instant) on updatedAt

Responses

200OK
  • dataobject[]required

    The items of this page.

    +19 fields in data
    • 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.

  • pageobjectrequired

    Paging cursors of the list.

    +3 fields in page
    • totalintegerrequired

      Total number of pages.

    • offsetobjectrequired

      The offset to request the first, previous, next and last pages.

      +4 fields in offset
      • lastintegerrequired

        Offset of the last page.

      • nextintegerrequired

        Offset of the next page (stays on this page when it is the last one).

      • previntegerrequired

        Offset of the previous page (0 on the first page).

      • firstintegerrequired

        Offset of the first page.

    • currentintegerrequired

      Current page number (1-based).

  • limitintegerrequired

    Page size, as requested.

  • totalintegerrequired

    Total number of items that match the filters.

  • _linksobject

    Links to related operations, keyed by action (self, create, update, delete, list…).

  • offsetintegerrequired

    Offset of the first item of this page, as requested.

  • hasMorebooleanrequired

    true when there are more items after this page.

  • merchantobject

    The account that owns the resource (the merchant of record).

    +3 fields in merchant
    • namestringrequirednullable

      Trading name of the account that owns the resource.

    • merchantIdstringrequirednullable

      Public id of the account that owns the resource (bus_…).

    • isSubAccountbooleanrequired

      true when the resource belongs to a sub-account operated by a marketplace platform.

400Bad request (validation failed)
  • errorobjectrequired
    +8 fields in error
    • codestringrequired
    • paramsobject[]
    • statusstringrequired
    • detailsstring
    • messagestringrequired
    • categorystringrequired
      Values:validationauthenticationauthorizationpaymentclientserverrate_limitpending
    • resourcestringrequired
    • statusCodeintegerrequired
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
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