KashuDocs

Disputes

A dispute is a buyer asking their bank to reverse a payment. Kashu records each dispute against its payment, so you can see it, follow it and act on it in your own systems.

Find disputes

GET /v1/disputes lists disputes, newest first. Add payment to find the dispute on one payment. GET /v1/disputes/{id} reads one:

curl https://api.kashupay.com/v1/disputes/dp_... \
  -H "Authorization: Bearer $KASHU_SECRET_KEY"
{
  "id": "dp_...",
  "object": "dispute",
  "payment": "py_...",
  "amount": 4999,
  "currency": "USD",
  "status": "needs_response",
  "reason": "product_not_received",
  "evidence_due_by": 1762473600,
  "livemode": false,
  "created": 1762473600
}

A payment has at most one dispute. A later dispute of the same payment moves the same record.

Read a dispute

A dispute never changes the payment's amounts. The payment shows disputed true.

Follow disputes by webhook

dispute.created arrives when a dispute is recorded, and dispute.updated each time it moves. Webhooks explains how to receive them.

What is not available yet

For help with a dispute on a live payment, write to help@kashupay.com.