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

Authorizations

Authorization
string
header
required

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

Path Parameters

id
string
required

The dispute ID (prefixed with dis_).

Example:

"dis_vwx234"

Response

The requested dispute

ok
boolean
required

Indicates the request was successful.

data
object