Skip to content

Search API reference

Find an endpoint or a guide of the Sovgate API reference and jump straight to it.

Close a dispute

Accept a dispute: it closes as lost, for good.

POST/v1/disputes/{id}/close

Accepts a dispute while it needs a response. It closes as lost: the disputed amount and the dispute fee stay with the cardholder's bank. Accept when the customer is right, or the amount is small.

Endpoint

http
POST /v1/disputes/{id}/close

Path parameters

NameTypeDescription
idstringThe dispute's ID, du_....

Example request

bash
curl -X POST https://api.sovgate.com/v1/disputes/du_fd042bd1c280ba78b6da2848/close \  -H "Authorization: Bearer sov_sk_test_your_key" \  -H "Idempotency-Key: db8d0cde-4b2a-4c1d-9e3f-a01a91af24bf"

Example response

json
{  "id": "du_fd042bd1c280ba78b6da2848",  "object": "dispute",  "livemode": false,  "payment": "pay_baa7f53c0bc0867df75250d9",  "amount": 2500,  "currency": "usd",  "stage": "chargeback",  "status": "lost",  "reason": "product_not_received",  "network": "visa",  "network_reason_code": "13.1",  "closed_reason": "accepted",  "due_by": null,  "created": "2026-11-27T14:05:12Z",  "escalated_at": null,  "withdrawn_at": "2026-11-27T14:05:12Z",  "closed_at": "2026-11-27T14:05:14Z",  "reinstated_amount": 0}