Skip to main content
GET
/
v1
/
disputes
List disputes
curl --request GET \
  --url https://api.ledger.so/v1/disputes \
  --header 'Authorization: Bearer <token>'
{
  "ok": true,
  "data": {
    "items": [
      {
        "id": "dis_vwx234",
        "transactionId": "txn_pqr678",
        "customerId": "cus_abc123",
        "status": "pending",
        "disputeType": "fraud",
        "creditAmount": 42.5,
        "createdAt": "2025-01-16T09:00:00Z"
      }
    ],
    "nextCursor": "<string>"
  }
}

Authorizations

Authorization
string
header
required

API key passed as a Bearer token. Format: ld_<env>_<prefix>_<secret> where <env> is test or live.

Query Parameters

limit
integer
default:50

Maximum number of items to return. Defaults to 50, maximum 200.

Required range: 1 <= x <= 200
cursor
string

Pagination cursor from a previous response's nextCursor field.

Response

A paginated list of disputes

ok
boolean
required

Indicates the request was successful.

data
object