Skip to content

Search API reference

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

Update a dispute

Save evidence for a dispute, and submit your response when it's complete.

POST/v1/disputes/{id}

Saves your evidence as a draft, or submits it. Nothing reaches the card's bank until you submit, and you submit once at each stage: the bank decides on what you send then. A $15 response fee is taken when you submit, and returned if you win.

Never send card numbers

Evidence must never contain a full card number or security code. A value that looks like a card number is refused.

Add files, such as proof of delivery or a signed receipt, to the dispute in the Dashboard: PDF, JPEG or PNG, up to 4.5 MB together. Text evidence can come from your server.

Endpoint

http
POST /v1/disputes/{id}

Path parameters

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

Request body

NameTypeRequiredDescription
evidenceobjectOptionalYour evidence, field by field: customer_name, customer_email_address, billing_address, customer_purchase_ip, product_description, service_date, access_activity_log, shipping_address, shipping_carrier, shipping_tracking_number, shipping_date, refund_policy_disclosure, refund_refusal_explanation, cancellation_policy_disclosure, cancellation_rebuttal, duplicate_charge_id, duplicate_charge_explanation and uncategorized_text. All the text fields together hold up to 150,000 characters.
submitbooleanOptionaltrue sends the response to the card's bank. Default false: the evidence is saved as a draft.

Example request

bash
curl -X POST https://api.sovgate.com/v1/disputes/du_fd042bd1c280ba78b6da2848 \  -H "Authorization: Bearer sov_sk_test_your_key" \  -H "Idempotency-Key: a5a3b72c-4b2a-4c1d-9e3f-f0feca32b0ea" \  -H "Content-Type: application/json" \  -d '{  "evidence": {    "customer_name": "Jenny Rosen",    "shipping_carrier": "UPS",    "shipping_tracking_number": "1Z999AA10123456784",    "shipping_date": "2026-11-20"  },  "submit": false}'

Example response

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}

Errors

CodeWhen
invalid_stateThe dispute doesn't need a response, or one was already sent at this stage.
resource_changedThe evidence was saved by someone else since you read it.