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

List Open Disputes

Retrieve a paginated list of open disputes that require your response. Open disputes must be addressed with evidence within the specified timeframe.


๐Ÿ”‘API Credentials

Request Parametersโ€‹

Additional - 5 fieldsAdditional Parameters

Responsesโ€‹

200

Successful retrieval

Returns a list object containing only open dispute objects with status "open".

Open disputes characteristics:
  • status - Always "open" for disputes in this list
  • closed_at - Always null (not yet resolved)
  • message - Usually null (no response submitted yet)
  • Response deadline typically 14-21 days from created_at

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/open \
-u skey_test_5xuy4w91xqz7d1w9u0t: \
-d "limit=20" \
-d "offset=0"

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

Open Dispute Actionsโ€‹

ActionEndpointDescription
View detailsGET /disputes/:idGet full dispute information
Update messagePATCH /disputes/:idAdd response message
Upload evidencePOST /disputes/:id/documentsSubmit supporting documents

Try it outโ€‹

Additional - 5 fields