List Disputes

🔒

Requires read_finance access scope.

List Disputes

The List Disputes API retrieves a list of dispute objects sorted in descending order by their creation date. The most recently created dispute appears first.

This API is especially useful for:

  1. Monitoring the status and details of multiple dispute cases.
  2. Filtering disputes based on their creation timeline and status.
  3. Paginating dispute records using cursors for better management.

Request Parameters

Public Request Parameters

📘

Public Request Parameters

Query Parameters

FieldTypeRequiredExampleDescription
cursorstringNo"abc123"Cursor for pagination, use the cursor from the response for pagination.
limitint32No10A limit on the number of objects to be returned. Range: 1–100. Default is 10.
statusstringNo"won"Filter option for dispute status. Accepted values: lost, won, warning_closed, needs_response, under_review, warning_under_review, warning_needs_response.
Status Values

- lost: The dispute was resolved against the merchant, and the funds were not recovered.
- won: The dispute resolved in favor of the merchant, and the funds were retained or recovered.
- warning_closed: The dispute case was closed following a warning; no further action is required.
- needs_response: The dispute requires a response or evidence from the merchant to proceed.
- under_review: The dispute is currently under review by the payment processor or financial institution.
- warning_under_review: The dispute received a warning and is under review; further action may be needed.
- warning_needs_response: The dispute has a warning and requires a response from the merchant to avoid escalation.
created_at_minstringNo"1714104673"Filter option: dispute creation start time (Unix timestamp).
created_at_maxstringNo"1714105273"Filter option: dispute creation end time (Unix timestamp).

Response Explanation

Public Response Parameters

📘

Public Response Parameters

Successful Response

FieldTypeExampleDescription
codestring"Success"Response code indicating the status of the API call.
messagestring"Success"Response message providing additional information.
dataobjectContains the list of dispute objects and pagination details.
data.has_morebooleantrueIndicates if more results are available beyond the current list.
data.cursorstring"abc123"Cursor for pagination to retrieve the next set of results.
data.listarrayList of dispute objects.
data.list[].idstring"123456"Unique identifier for the dispute.
data.list[].transaction_order_idstring"order_7890"Transaction order ID related to the dispute.
data.list[].original_order_idstring"order_1234"Original order ID related to the transaction.
data.list[].store_idstring"store_5678"Unique identifier for the store.
data.list[].currencystring"USD"Currency code of the dispute amount.
data.list[].created_atstring"2024-04-28T12:34:56Z"Creation time of the dispute in ISO 8601 format.
data.list[].updated_atstring"2024-04-29T15:20:10Z"Last updated time of the dispute in ISO 8601 format.
data.list[].expiration_timestring"2024-05-05T00:00:00Z"Expiration time for responding to the dispute.
data.list[].dispute_reasonstring"Fraudulent"Reason provided for the dispute.
data.list[].original_order_amountstring"100.00"Total amount of the original order.
data.list[].dispute_amountstring"50.00"Amount of the dispute.
data.list[].statusstring"won"Current status of the dispute. Possible values: won, lost, under_review, etc.
data.list[].feestring"10.00"Fees associated with the dispute.
data.list[].fee_currencystring"USD"Currency of the associated fee.

Error Response

Error responses in the API can be represented using two different fields: errors and error. Both fields provide details about issues encountered during request processing. Below is an explanation of the fields with their respective examples and descriptions.

FieldTypeDescriptionExample
codestringThe error code indicating the type of issue.InvalidParameter
messagestringA detailed message describing the error.wrong cursor
FieldTypeExampleDescription
errorString "store is not active"Indicates an error encountered during the process

Error Detail

Status CodeMessagePossible ReasonExample Response
400Bad RequestInvalid input format or request structure (e.g., missing required fields or incorrect data types).Bad Request
UnauthorizedThe request is missing valid authentication credentials or the credentials provided are invalid.Unauthorized

API Structure Overview

Language
Credentials
Header
URL
Click Try It! to start a request and see the response here!