cURL
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" } }
Retrieves a single dispute by ID.
API key passed as a Bearer token. Format: ld_<env>_<prefix>_<secret> where <env> is test or live.
ld_<env>_<prefix>_<secret>
<env>
test
live
The dispute ID (prefixed with dis_).
dis_
"dis_vwx234"
The requested dispute
Indicates the request was successful.
Show child attributes