Skip to main content
Version: 2019-05-29 (Current)

List All Disputes

Retrieve a paginated list of all disputes in your account, including open, pending, won, and lost disputes.


๐Ÿ”‘API Credentials

Request Parametersโ€‹

Additional - 5 fieldsAdditional Parameters

Responsesโ€‹

200

Successful retrieval

Returns a list object containing dispute objects and pagination metadata.

Response includes:
  • object - Always "list"
  • data - Array of dispute objects
  • limit - Number of results per page
  • offset - Number of results skipped
  • total - Total number of disputes matching filters
  • from - Start date of filter range
  • to - End date of filter range
  • order - Sort order used

400

Bad request

Request validation failed. Check the error message for details.

Common causes:
  • Invalid date format (must be ISO 8601)
  • Limit exceeds maximum (100)
  • Invalid order parameter
  • Negative offset or limit values

401

Unauthorized

Authentication failed. Invalid or missing API key.

Common causes:
  • Missing Authorization header
  • Invalid secret key
  • Using public key instead of secret key
  • Incorrect HTTP Basic Auth format

Code samplesโ€‹

curl https://api.omise.co/disputes \
-u skey_test_5xuy4w91xqz7d1w9u0t: \
-d "limit=20" \
-d "offset=0" \
-d "order=reverse_chronological"

Error and result codesโ€‹

Common Error Codesโ€‹

CodeDescriptionResolution
bad_requestInvalid parametersCheck date format and parameter values
authentication_failureInvalid API keyVerify your secret key is correct
invalid_date_formatDate not in ISO 8601 formatUse YYYY-MM-DDTHH:MM:SSZ format

Dispute Status Valuesโ€‹

StatusDescription
openNewly initiated, awaiting your response
pendingUnder review with merchant response submitted
wonMerchant won the dispute
lostMerchant lost the dispute

Try it outโ€‹

Additional - 5 fields