Skip to content

Search API reference

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

The dispute object

A payment that a cardholder's bank questions, what it needs from you, and by when.

A dispute opens when a cardholder's bank questions a payment. At the inquiry stage the bank asks for information and no money moves. At the chargeback stage the disputed amount and a $15 dispute fee leave your balance.

Attributes

NameTypeDescription
idstringUnique identifier, starting du_.
objectstringAlways dispute.
livemodebooleantrue in live mode.
paymentstringThe payment disputed, pay_....
amountintegerWhat the cardholder disputes, in cents.
currencystringThe payment's currency.
stageenuminquiry or chargeback.
statusenumwarning_needs_response, warning_under_review, warning_closed (inquiries), needs_response, under_review, won or lost.
reasonenumfraudulent, unrecognized, duplicate, subscription_canceled, product_unacceptable, product_not_received, credit_not_processed or general.
networkenumThe card network that opened it: visa or mastercard.
network_reason_codestring or nullThe network's own reason code.
closed_reasonenum or nullWhy it was lost, or why an inquiry closed: accepted, no_response, issuer_decision, not_challengeable, refunded or aged_out.
due_bytimestamp or nullThe end of the day your response is due. null once answered or closed.
createdtimestampWhen it opened.
escalated_attimestamp or nullWhen an inquiry became a chargeback.
withdrawn_attimestamp or nullWhen the money left your balance.
closed_attimestamp or nullWhen it was won, lost or closed.
reinstated_amountintegerWhat came back to your balance, in cents.

You have 14 days to respond, counted from the day after the dispute opens. A dispute you don't answer by due_by is lost. Evidence is sent once at each stage, and a response is final.

Example

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

Endpoints

EndpointWhat it does
GET /v1/disputes/{id}Get a dispute by its ID.
GET /v1/disputesList your disputes, newest first.
POST /v1/disputes/{id}Save evidence for a dispute, and submit your response when it's complete.
POST /v1/disputes/{id}/closeAccept a dispute: it closes as lost, for good.