GET
/
disputes
List disputes
curl --request GET \
  --url https://api.paygentic.io/v0/disputes \
  --header 'Authorization: Bearer <token>'
{
  "object": "list",
  "data": [
    {
      "id": "<string>",
      "object": "dispute",
      "usageEventId": "<string>",
      "customerId": "<string>",
      "merchantId": "<string>",
      "customerMessage": "<string>",
      "merchantMessage": "<string>",
      "status": "pending",
      "disputedAmount": "<string>",
      "resolvedAt": "2023-11-07T05:31:56Z",
      "createdAt": "2023-11-07T05:31:56Z",
      "updatedAt": "2023-11-07T05:31:56Z",
      "customer": {
        "id": "<string>",
        "name": "<string>",
        "email": "jsmith@example.com"
      }
    }
  ],
  "pagination": {
    "limit": 123,
    "offset": 123,
    "total": 123,
    "hasMore": true
  }
}

Authorizations

Authorization
string
header
required

API key authentication

Query Parameters

merchantId
string

Filter disputes for a specific merchant. At least one of merchantId, customerId, or consumerId must be provided.

customerId
string

Filter disputes for a specific customer. At least one of merchantId, customerId, or consumerId must be provided.

consumerId
string

Filter disputes for a specific consumer. At least one of merchantId, customerId, or consumerId must be provided.

status
enum<string>

Filter by dispute status

Available options:
pending,
accepted,
declined
limit
integer
default:10

Number of disputes to return

Required range: 1 <= x <= 100
offset
integer
default:0

Number of disputes to skip

Required range: x >= 0

Response

Disputes retrieved successfully

object
enum<string>
required
Available options:
list
data
object[]
required
pagination
object
required