Disputes
On this page
How you learn about a dispute, what it does to your balance and how to send your evidence.
A dispute (chargeback) is opened when the cardholder's bank challenges a captured payment. The bank has already taken the money back from you. You can send evidence, and the bank then decides.
How you learn about a dispute
- Your webhook endpoint receives
dispute.created. Later changes arrive asdispute.updated, and the decision asdispute.closed.data.objectis the dispute. - The payment shows its latest dispute in
dispute, as{"id": "dp_…", "status": "received"}. A payment without a dispute hasdispute: null. To read every dispute of a payment, callGET /v1/disputes?payment_intent=pi_…. GET /v1/payment_intents?disputed=truelists payments that have a dispute.- The Disputes page of the merchant panel lists them with their deadlines.
- The owners, admins and finance users of your merchant account get an email when a dispute is opened, when its evidence deadline is near or has passed without evidence, and when the bank decides it. Each email names the payment, the amount and the reason, and links to the dispute in the panel.
Statuses
status |
Meaning | Your balance |
|---|---|---|
received |
The bank opened the dispute. It waits for your evidence. | The amount was taken from your available balance at once (chargeback). |
under_review |
You sent evidence, and the bank is reviewing it. | Unchanged. |
won |
Decided in your favour. | The amount comes back (chargeback_reversal). |
lost |
Decided for the cardholder. | Nothing more moves. The amount stays with the cardholder. |
The amount is taken even when your available balance is too low, so the balance can go below zero. If it falls below your negative_balance_limit, payouts stop until a credit brings it back within the limit. Balance and payouts explains the limit and how to top up.
While a dispute is open, and after it is lost, its amount cannot be refunded: the cardholder already has that money back. The payment's amount_refundable already leaves it out, so it is always the most a refund can take. A refund above it returns 400 amount_exceeds_refundable. When you win, the amount can be refunded again and amount_refundable grows by it.
Send your evidence
Send it before evidence_due_by. The deadline is the bank's. When the bank gives none, it is 7 days after the dispute was received, unless your payment institution set another period.
curl -X POST https://api.pf.organizer.tr/v1/disputes/dp_01J9ZQH4J6L8N0Q2S4U6W8Y0A2/evidence \
-H "Authorization: Bearer sk_sandbox_YOUR_KEY" \
-H "Idempotency-Key: evidence-SIP-2026-10423-1" \
-F "text=Sipariş SIP-2026-10423 21 Kasım 2026 tarihinde kargoyla teslim edildi. Teslim belgesi ektedir." \
-F "files[]=@kargo-teslim.pdf"
| Rule | Limit |
|---|---|
text |
Up to 20,000 characters, without card numbers. |
files[] |
Up to 5 files of at most 5 MB each, as PDF, PNG or JPEG. |
| When | Before evidence_due_by, while the dispute is received or under_review. You can add more evidence while it is under review. |
| Scope | A restricted key needs disputes:write. Reading needs disputes:read. |
The first evidence moves the dispute to under_review. Match your evidence to the reason. reason_category on the dispute names the kind: fraud, authorization, processing_error, consumer_dispute or general. For a customer who says the goods never came, send the delivery receipt. For a payment the cardholder says they did not make, send the order history and the 3D Secure result. GET /v1/dispute_reasons lists every reason code with its category.
Try it in the sandbox
- Create a payment as in step 4 of the quickstart, with
4109090000008006ascard.number. The file already has the expiry date 12/2030 and the CVC 123. Approve the 3D Secure page with00000. - About a minute after the payment is captured, your webhook endpoint receives
dispute.created. The payment'sdisputeshows it withstatus: received, and your available balance is lower by the amount. The dispute's id isdata.object.idof the event. You can also read it withGET /v1/disputes?payment_intent=pi_…. The quickstart endpoint lists four event types only, so adddispute.created,dispute.updatedanddispute.closedto itsenabled_eventsfirst, or use["*"]. - Send evidence with the word
winning_evidenceintext. Use your dispute's id in place ofdp_…. You receivedispute.updated, and the dispute isunder_review.
curl -X POST https://api.pf.organizer.tr/v1/disputes/dp_01J9ZQH4J6L8N0Q2S4U6W8Y0A2/evidence \
-H "Authorization: Bearer sk_sandbox_YOUR_KEY" \
-H "Idempotency-Key: evidence-test-1" \
-F "text=The order was delivered on 21 November 2026. winning_evidence"
About a minute later the dispute is won. You receive dispute.closed, and the amount is back in your available balance.
Send losing_evidence instead to see a lost dispute. Evidence without either word leaves the dispute under_review, as a bank would until it decides. To see the deadline emails, use the card 4109090000008014: its evidence is due in 24 hours. Testing lists the cards and the words.
In the API reference
Next: See how a dispute changes your balance in Balance and payouts, and get dispute events with Webhooks.