Developers

Search for documents

Dev

Disputes

Operations related to disputes

All endpoints require a JWT Bearer token in the Authorization header.

GET /v1/disputes

Get a list of disputes with pagination

Parameters

Name

In

Type

Required

Description

limit

query

integer

Yes

Maximum number of records to return. Starts from 1 to 1000.

page

query

integer

Yes

Page number to retrieve, starting from 0.

selectFields

query

string

No

Choose specific fields to include in the response (comma-separated).

filter

query

string

No

A JSON object representing the filter criteria in MongoDB Query Language (MQL) format.

sort

query

string

No

A JSON object representing the sort criteria in MongoDB Query Language (MQL) format.

populateOptions

query

string

No

Include related data in query results using a JSON object.

Responses

Status

Description

200

Successfully retrieved a paginated list of disputes.

GET /v1/disputes/{id}

Get a specific dispute by ID

Parameters

Name

In

Type

Required

Description

id

path

string

Yes

The disputeId field

enriched

query

boolean

No

Include transaction data in the response. When true, enriches the dispute with transaction data where dispute.paymentPspReference === transaction.transactionId.

selectFields

query

string

No

Choose specific fields to include in the response (comma-separated).

populateOptions

query

string

No

Include related data in query results using a JSON object.

Responses

Status

Description

200

Dispute details retrieved successfully

PATCH /v1/disputes/{id}

Update a dispute by ID

Parameters

Name

In

Type

Required

Description

id

path

string

Yes

The disputeId field

Request body (required)

At least one of status or defendable must be provided.

Field

Type

Required

Description

status

string (enum)

No

The dispute status

defendable

boolean

No

Whether the dispute is defendable

Responses

Status

Description

200

Dispute updated successfully