Disputes
A dispute is a bank challenging a payment: an inquiry, a chargeback, or an ACH bank return. Read disputes to work a response queue and reconcile outcomes.
Each dispute links to the payment intent, order, and customer it challenges, and carries the disputed amount_money, the buyer's claim in reason, and the response deadline in evidence_due_at. Flint creates and updates disputes from the payment processor; you don't create them. Your integration notices a case, decides whether to fight it, responds or accepts before the deadline, and reconciles the result. Disputes and chargebacks walks through that workflow end to end.
Kinds of dispute#
case_type decides what you can do with a dispute.
case_type | What it is | What you can do |
|---|---|---|
inquiry | The issuer asks for information before any chargeback. | Respond with evidence, or refund the payment to concede. An inquiry can't be accepted. |
chargeback | The bank reverses the payment. The disputed amount leaves your balance when the case opens. | Respond with evidence, or accept. |
compliance, resolution, block | Other card network cases. | Follow status and is_action_required, as for a chargeback. |
bank_return | An ACH debit came back after it settled. There's no response window. | Nothing to contest. Collect again with a new payment if appropriate. |
other | A non-card case, such as a buy now, pay later claim, or a card case type Flint doesn't list. | Follow status and is_action_required. |
payment_option says how the disputed payment was made: card, apple_pay, google_pay, affirm, or ach_debit. A bank return always has payment_option ach_debit, a reason of insufficient_funds, debit_not_authorized, bank_account_not_found, or other, and response_unavailable_reason bank_return_not_contestable. See Bank returns.
Status#
An inquiry moves from inquiry_needs_response to inquiry_under_review when you respond, then either closes as inquiry_closed or escalates to a chargeback in needs_response.
A chargeback opens in needs_response. Submitting evidence moves it to under_review, and the bank then rules won or lost. Accepting it moves it straight to lost. If a chargeback gets no response by evidence_due_at, the bank records the outcome, normally lost.
status on disputeinquiry_needs_responseThe issuer wants information before any chargeback. Respond byevidence_due_at, or refund the payment to concede.inquiry_under_reviewYou responded and the issuer is reviewing it. Wait for the next event.inquiry_closedFinalThe inquiry closed without becoming a chargeback.needs_responseA chargeback is open. Respond with evidence or accept it byevidence_due_at.under_reviewEvidence was submitted and the bank is deciding. The status doesn't predict the outcome.wonFinalDecided in your favor.lostFinalDecided against you, accepted by you, or a bank return.preventedFinalResolved before it became a chargeback.otherA state Flint doesn't recognize yet. Treat the dispute as open, don't assume an outcome, and read it again later.
A payment's dispute_status, and the dispute_status filter on GET /v1/payment-intents, use the same values plus none for a payment with no dispute.
Whether a response is needed#
Several fields together say whether you can respond and whether you must respond now. Branch on is_action_required, not on status alone.
| Field | Meaning |
|---|---|
is_action_required | true when status is needs_response or inquiry_needs_response, can_respond_with_evidence is true, and evidence_due_at hasn't passed. Keep the case in your queue while it's true. |
evidence_due_at | The response deadline, or null when the dispute has none. |
is_evidence_deadline_passed | true once a dispute with a response window is past evidence_due_at. |
can_respond_with_evidence | Whether the dispute has a response window at all. It stays true after the window closes or a decision is made. |
response_unavailable_reason | Why there's no response window: bank_return_not_contestable, or response_window_unavailable when no deadline was supplied. |
has_evidence | Whether evidence is saved, submitted or not. In test mode, this includes an unsubmitted draft Flint saves when the dispute first needs a response, so it doesn't mean someone started a response. |
evidence_submission_count | How many times evidence was submitted. is_action_required: true and a count of 0 means unanswered, whether or not a draft exists. |
supported_actions | accept when a chargeback is in needs_response with a response window whose evidence_due_at hasn't passed; [] otherwise. |
Flint can't report whether anyone edited a draft. Use is_action_required: true and evidence_submission_count: 0 to find unanswered cases.
is_action_required, is_evidence_deadline_passed, and supported_actions are evaluated when the dispute is read; in a webhook payload, as of when Flint recorded the change. Once evidence_due_at has passed, is_action_required turns false, is_evidence_deadline_passed turns true, and accept leaves supported_actions, with no event. Schedule your own reminder from evidence_due_at and set an internal cutoff before it. The list never depends on your credential; actions still require their scopes.
List the response queue#
is_action_required=true returns the disputes that need a response now, and false returns the rest. Sorting by evidence_due_at puts disputes without a deadline last in either direction. This request lists the queue, soonest deadline first:
curl --get https://api.withflintpay.com/v1/disputes \
-H "Authorization: Bearer YOUR_API_KEY" \
--data-urlencode "is_action_required=true" \
--data-urlencode "sort_by=evidence_due_at" \
--data-urlencode "sort_direction=asc" \
--data-urlencode "page_size=100"
{
"data": [
{
"dispute_id": "du_1kmn0aExample",
"merchant_id": "mer_1kmn0aExample",
"payment_intent_id": "pi_1kmn0aExample",
"order_id": "ord_1kmn0aExample",
"customer_id": "cus_1kmn0aExample",
"payment_option": "card",
"amount_money": { "amount": 5000, "currency": "USD" },
"status": "needs_response",
"status_changed_at": "2026-10-20T16:02:11Z",
"reason": "product_not_received",
"case_type": "chargeback",
"evidence_due_at": "2026-10-30T23:59:59Z",
"can_respond_with_evidence": true,
"is_action_required": true,
"is_evidence_deadline_passed": false,
"supported_actions": ["accept"],
"has_evidence": false,
"evidence_submission_count": 0,
"created_at": "2026-10-20T16:02:11Z",
"updated_at": "2026-10-20T16:02:11Z"
}
],
"request_id": "req_01KWM6ZY4CB4Q2DPHECN2ZJKZM"
}
status, reason, and case_type each take several values, repeated or comma-separated; values within one filter match any of them, and separate filters must all match. To catch anything a missed webhook would have told you, sync by updated_at, which changes whenever a field on the dispute changes. The created_, updated_, and evidence_due_ windows each take one RFC 3339 timestamp per bound. _after is inclusive and _before is exclusive, so consecutive windows never overlap or skip a dispute, and equal bounds return an empty page. An empty, repeated, or malformed bound returns 400 INVALID_REQUEST with detail code INVALID_VALUE and param naming it, and an updated_before earlier than updated_after names updated_before.
Expand related records#
GET /v1/disputes and GET /v1/disputes/{dispute_id} accept expand with payment_intent, order, and customer. Each path adds the related record beside its ID, or null when the dispute has no such ID. Every path needs payments.disputes.read plus the related record's read scope:
expand | Also needs |
|---|---|
payment_intent | payments.payment_intents.read |
order | commerce.orders.read |
customer | customers.read |
A key without a scope a path needs gets 403 INSUFFICIENT_SCOPE with param: expand. An order summary includes the contact the order recorded as buyer_contact, including on guest orders; see Expanded order summaries. Expand related records covers how Flint batches each page and keeps page tokens valid.
Respond, accept, or refund#
Creating a response session and accepting a chargeback need payments.disputes.write. Refunding an inquiry needs commerce.refunds.write. The two dispute routes take an optional Idempotency-Key; creating a refund requires one.
- Respond with evidence.
POST /v1/disputes/{dispute_id}/response-sessionsreturns a single-use session for Stripe's embedded dispute component, where the merchant reads the case, uploads evidence, and submits it. The session'scomponents[0].stripe_payment_intent_idis the Stripe PaymentIntent ID to pass to the component, separate from the dispute's Flintpayment_intent_id. Evidence goes straight to the payment processor; Flint doesn't store it and the API has no route that accepts it. A session opens for any dispute except a bank return, including closed ones. See Respond to a dispute for the server and Connect.js code. - Accept a chargeback.
POST /v1/disputes/{dispute_id}/acceptconcedes it: the dispute becomeslostand Flint sendsdispute.lost. You can accept whensupported_actionscontainsaccept. Accepting can't be undone and moves no money, because the disputed amount left your balance when the chargeback opened. Any other state returns409 ACTION_NOT_ALLOWED; When accepting is refused lists eachreason. - Refund an inquiry. An inquiry can't be accepted. To concede one, refund the payment with
POST /v1/refunds. An accept refusal offerscreate_refundat/v1/refunds, with required fieldpayment_intent_id, required scopecommerce.refunds.write, andtarget_resourcenaming the dispute's Flint payment intent. Sendtarget_resource.resource_idaspayment_intent_id.
Warning: Don't refund a chargeback
While a payment's chargeback is needs_response, under_review, other, or lost, POST /v1/refunds on that payment returns 409 ACTION_NOT_ALLOWED with reason payment_disputed, because the buyer already has the money through their bank. Refunds work again once the dispute is won or prevented. Inquiries never block refunds.
Webhooks#
Drive your queue from events and treat each one as a prompt to read the dispute, since deliveries can repeat or arrive out of order.
- dispute.
created Flint saw the dispute for the first time, in any status. - dispute.
needs_ response The status becameneeds_responseorinquiry_needs_responseand a response is possible now, including when an inquiry escalates. - dispute.
won The status becamewon. - dispute.
lost The status becamelost, including when you accept or a bank return arrives. - dispute.
prevented The status becameprevented. - dispute.
inquiry_ closed The inquiry closed without a chargeback. - dispute.
updated Any other change, such as submitted evidence, a new deadline, or a move toother.
One change sends at most one of dispute.needs_response, an outcome event, or dispute.updated. A new dispute sends dispute.created first, followed by that one event when it applies: a new chargeback sends dispute.created then dispute.needs_response, and a bank return sends dispute.created then dispute.lost. Build the response queue shows a typical sequence, and Dispute events has the payloads.
In test mode, Flint can save an unsubmitted draft and send dispute.updated with has_evidence: true after dispute.needs_response. This doesn't mean someone started or submitted a response.
Money and related records#
A chargeback posts a dispute balance transaction for the disputed amount when it opens. A processor dispute fee deducted from your balance appears on that row as fee_money, with net_money equal to the principal minus the fee. A dispute_reversal returns the principal; its fee_money is negative only if the processor also returns the fee on that row. A separate fee credit appears as its own row. A won status alone doesn't return the fee, and the original payment's processing fee isn't returned either way.
A card dispute carries an event fee on your merchant billing account only when Flint paid the processor's fee. A fee already deducted from your balance carries no additional card_dispute event fee. GET /v1/merchant-billing-entries?dispute_id=... returns any event fee and its later corrections, credits, or collections. Reconcile the result works through the amounts.
When the disputed payment funded gift cards, an open or lost dispute freezes each affected card. The card's restrictions gets a funding_dispute entry with dispute_status open or lost, and each affected load's funding_disputes records the dispute and its outcome. A win clears only that dispute's restriction; other disputes and merchant freezes stay in effect. After a loss, the entry has requires_resolution: true, and balances and reservations are kept but can't be spent. To honor the value, create a gift card funding disposition with the dispute_id. It clears only that dispute's restriction and sets resolution.disposition to honor_value on its funding_disputes entries.
Test in a sandbox#
Pay with the test card for a fraudulent chargeback, or for an inquiry. Then POST /v1/disputes/{dispute_id}/simulate with an outcome stands in for the card network: won or lost for a chargeback in needs_response, and inquiry_closed or escalated for an inquiry in inquiry_needs_response. Flint submits any saved draft, replaces its additional notes with Stripe's test value for that outcome, and returns the dispute, normally under_review or inquiry_under_review; the ruling arrives later through the usual events. The route needs a test-mode credential, and a live one gets 403 FORBIDDEN with reason test_mode_required. Test dispute outcomes lists the events and refusals for each outcome.
Related guides#
Disputes and chargebacksBuild the queue, prepare evidence, respond, accept, and reconcile.RefundsWhat stays refundable, and how disputes block refunds.Risk controlsPayment review and the fraud warnings that can come before a dispute.The Dispute object#
A challenge to a collected payment.
Returned by GET /v1/disputes/{dispute_id} and carried by the endpoints below.
Attributes
amount_moneyobjectRequiredAmount in dispute. For a chargeback, this amount left your balance when the case opened; an inquiry moves no money.
amountintegerRequiredAmount in the currency's minor unit, such as cents for USD.
currencystringRequiredISO 4217 currency code for this amount.
can_respond_with_evidencebooleanRequiredWhether this dispute has an evidence response window. It stays true after the window closes or a decision is made. Use is_action_required to know whether a response is needed now.
case_typeenumRequiredKind of case the card network or bank opened. `status` and `is_action_required` say whether a response is needed.
inquirychargebackcomplianceresolutionblockotherbank_return
created_atstringRequiredRFC3339 timestamp.
customerobject or nullPresent only when `expand` includes `customer`; `null` when expanded and there is no related customer.
created_atstringRFC3339 timestamp.
customer_idstringRequiredUnique identifier for this customer, prefixed `cus_`.
emailstring or nullRequiredCustomer email. `null` when the customer has none. Unique among the environment's customers.
namestring or nullRequiredCustomer name. `null` when none is set.
phonestring or nullRequiredCustomer phone number. `null` when none is set.
statusenumRequiredWhere the customer is in the deletion lifecycle.
activedeletion_processingdeleted
updated_atstringRFC3339 timestamp.
customer_idstringThe customer on the disputed payment. Absent when the payment has none.
dispute_idstringRequiredStable identifier of the dispute.
evidence_due_atstring or nullRequiredDeadline for submitting evidence. Respond before it when is_action_required is true. `null` when the dispute has no response window, such as a bank return or a case your processor gave no deadline for.
evidence_submission_countintegerRequiredHow many times evidence was submitted for this dispute. 0 until you submit.
fraud_warning_idstringThe fraud warning the card network sent for this payment before the dispute. Absent when there was none.
has_evidencebooleanRequiredWhether evidence is saved for this dispute, submitted or not. In test mode this includes an unsubmitted draft Flint saves when the dispute first needs a response, so it doesn't mean someone started a response. evidence_submission_count says whether evidence was submitted.
is_action_requiredbooleanRequiredTrue when status is needs_response or inquiry_needs_response, can_respond_with_evidence is true, and evidence_due_at hasn't passed. Evaluated when the dispute is read; in a webhook payload, as of when Flint recorded the change. It turns false once evidence_due_at has passed, with no event.
is_evidence_deadline_passedbooleanRequiredWhether evidence_due_at has passed on a dispute with a response window. Always false when can_respond_with_evidence is false. Evaluated when the dispute is read; in a webhook payload, as of when Flint recorded the change. It turns true once evidence_due_at has passed, with no event.
merchant_idstringRequiredID of the merchant this resource belongs to.
orderobject or nullPresent only when `expand` includes `order`; `null` when expanded and there is no related order.
buyer_contactobjectBuyer contact recorded on the order, including guest contact when retained. Omitted when the order has no recorded contact.
closed_atstringWhen the order closed. Present exactly when status is closed. Set once at the transition and never changed.
closed_reasonenumWhy the order closed. Present exactly when status is closed. Set once at closure. Unrecognized reasons are returned as other; new values may be added.
paidclosed_by_merchantcheckout_expiredwritten_offsupersededreturn_resolution_canceledother
created_atstringWhen the order was created, in RFC3339 format.
customer_idstringCustomer associated with the order, when one is set.
deferred_promotionsarray of objectRequiredPromotions accepted at subscription signup. They attach when the subscription is provisioned and first discount its first charged cycle. They do not discount this order and are separate from discounts and order totals. Always present; empty when no promotions are deferred.
fulfillment_statusenumAggregate progress across the order's fulfillment quantities.
not_fulfilledpartially_fulfilledfulfilledcancelednot_applicableclosed
governing_delivery_selection_idstring or nullRequiredID of the delivery selection that governs this order. Null when no selection governs the order.
order_idstringRequiredStable identifier of the expanded order.
order_numberstringHuman-readable order number for receipts and merchant reference.
payment_intent_idsarray of stringPayment intents associated with the order.
payment_statusenumRequiredCollection progress. An invoice write-off also completes collection without receiving the written-off amount.
unpaidpartially_paidpaid
pricing_amountsobjectRequiredOrder totals before accounting for collected payments and refunds.
refund_statusenumRequiredRefund progress for collected money.
nonepartially_refundedrefunded
settlement_amountsobjectRequiredPayments, refunds, credits, and amounts still owed for the order.
statusenumRequiredWhether the order still accepts changes and new payments. Refunds, fulfillment, disputes, returns, and metadata or note edits continue on a closed order.
openclosed
updated_atstringWhen the order was last updated, in RFC3339 format.
order_idstringID of the order the disputed payment was for. Absent when Flint can't link the dispute to an order.
payment_intentobject or nullPresent only when `expand` includes `payment_intent`; `null` when expanded and there is no related payment intent.
amount_moneyobjectRequiredThe amount requested from the buyer, including any tip_money. Capturing doesn't change it: after a partial capture it still shows the requested amount, and captured_money shows what was collected. On a standalone payment intent, PATCH can change it only before the first confirmation attempt.
capture_methodenumWhen money is collected. Defaults to automatic.
automaticmanual
created_atstringRFC3339 timestamp.
customer_idstringCustomer linked to this payment intent.
order_idstringOrder this payment intent belongs to. Create it through the order and confirm it with POST /v1/orders/{order_id}/pay. Capture and cancel use POST /v1/payment-intents/{payment_intent_id}/capture or /cancel for every payment intent. Order-owned intents accept PATCH for metadata and external_reference_id.
payment_intent_idstringRequiredFlint payment intent ID.
payment_sourceobjectSummary of the card or bank account used for the payment. Absent until a payment source is attached.
refund_statusenumHow much of captured_money has been refunded, including value issued as store credit, based on refunded_money.
nonepartially_refundedrefunded
statusenumRequiredLifecycle status. requires_payment_method covers both a new payment intent and one whose last attempt failed, so read last_payment_error with it. succeeded, canceled, and expired are final. Refunds and disputes never change status.
requires_payment_methodrequires_confirmationrequires_actionprocessingrequires_capturecanceledsucceededexpired
updated_atstringRFC3339 timestamp.
versionintegerRequiredPersisted version of this resource's owned state. Expanded resources and external observations can change independently.
payment_intent_idstringID of the payment intent that took the disputed payment. Absent when Flint can't link the dispute to a payment intent.
payment_optionenum or nullRequiredHow the buyer paid for the disputed payment. `null` when Flint hasn't linked the dispute to a payment intent that records a payment option.
cardapple_paygoogle_payaffirmach_debitnull
reasonenumRequiredWhy the payment was disputed. A reason Flint doesn't recognize is `other`.
fraudulentunrecognizedduplicateproduct_not_receivedproduct_not_as_describedrefund_not_processedsubscription_cancelednoncompliantinsufficient_fundsdebit_not_authorizedbank_account_not_foundother
response_unavailable_reasonenumWhy a response is unavailable when can_respond_with_evidence is false. Absent when no reason is reported. Current values are bank_return_not_contestable and response_window_unavailable. response_window_unavailable means no evidence deadline was supplied.
bank_return_not_contestableresponse_window_unavailable
statusenumRequiredWhere the dispute stands. `needs_response` and `inquiry_needs_response` ask you to respond; `inquiry_closed`, `won`, `lost`, and `prevented` are final.
inquiry_needs_responseinquiry_under_reviewinquiry_closedneeds_responseunder_reviewwonlostpreventedother
status_changed_atstringRecorded time of the current status. On first observation this is the dispute creation time. Later status changes use the provider event time when available, or the time Flint observed the change. This may not be the exact decision or submission time.
supported_actionsarray of enumRequiredLifecycle actions Flint accepts now. Evaluated when the dispute is read; in a webhook payload, as of when Flint recorded the change. It turns empty once evidence_due_at has passed, with no event.
accept
updated_atstringRequiredRFC3339 timestamp.
{
"amount_money": {
"amount": 5000,
"currency": "USD"
},
"can_respond_with_evidence": true,
"case_type": "chargeback",
"created_at": "2026-03-17T14:30:00Z",
"customer_id": "cus_01KEZF7C003ACYXT6Q5EQZ78EE",
"dispute_id": "du_01KEZF7C00329MTHSY5GX1VZJR",
"evidence_due_at": "2026-03-24T14:30:00Z",
"evidence_submission_count": 0,
"has_evidence": false,
"is_action_required": true,
"is_evidence_deadline_passed": false,
"merchant_id": "mer_01KEZF7C00MPP0T9S0KH5BB4CC",
"order_id": "ord_01KEZF7C00JBKMARG3P06Z224B",
"payment_intent_id": "pi_01KEZF7C0050JFFB0HNCWWV1G3",
"payment_option": "card",
"reason": "fraudulent",
"status": "needs_response",
"status_changed_at": "2026-03-17T14:30:00Z",
"supported_actions": [
"accept"
],
"updated_at": "2026-03-17T14:30:00Z"
}List disputes#
/v1/disputesRequires scope payments.disputes.read or payments.disputes.write
Rate limit: read
Returns a paginated list of disputes for the authenticated merchant with optional payment, customer, status, reason, case type, action required, and timing filters. Defaults to created_at descending. The amount sort compares amount_money.amount in minor units. The evidence_due_at sort places disputes without deadlines last in either direction. Default order: created_at descending, then dispute_id descending.
Query parameters
updated_afterstringInclusive lower bound on updated_at.
updated_beforestringExclusive upper bound on updated_at.
payment_intent_idstringOptional Flint payment intent ID filter.
order_idstringOptional Flint order ID filter.
customer_idstringOptional Flint customer ID filter.
statusarray of enumOptional dispute status filter. Values are trimmed and deduplicated in first-seen order; empty or unknown entries are rejected. Values within this filter are ORed; separate filters are ANDed.
inquiry_needs_responseinquiry_under_reviewinquiry_closedneeds_responseunder_reviewwonlostpreventedother
reasonarray of enumOptional normalized dispute reason filter. Values are trimmed and deduplicated in first-seen order; empty or unknown entries are rejected. Values within this filter are ORed; separate filters are ANDed.
fraudulentunrecognizedduplicateproduct_not_receivedproduct_not_as_describedrefund_not_processedsubscription_cancelednoncompliantinsufficient_fundsdebit_not_authorizedbank_account_not_foundother
case_typearray of enumOptional dispute case type filter. Values are trimmed and deduplicated in first-seen order; empty or unknown entries are rejected. Values within this filter are ORed; separate filters are ANDed.
inquirychargebackcomplianceresolutionblockotherbank_return
is_action_requiredbooleanFilter by whether a merchant response is needed now. True includes needs_response and inquiry_needs_response disputes that allow evidence and whose evidence deadline has not passed; false includes the remaining disputes.
sort_byenumField to sort by. Defaults to created_at; ties are broken by dispute_id.
created_atevidence_due_atamount_money
sort_directionenumSort direction. Defaults to desc.
ascdesc
created_afterstringInclusive lower bound on created_at.
created_beforestringExclusive upper bound on created_at.
evidence_due_afterstringInclusive lower bound on evidence_due_at.
evidence_due_beforestringExclusive upper bound on evidence_due_at.
page_sizeintegerMaximum number of results to return, from 1 to 100. Defaults to 20.
page_tokenstringOpaque next_page_token from the previous response. Omit on the first request. You may change `page_size` between pages. Reuse it with the same endpoint, filters, sort, and request context. Do not parse or construct tokens. An invalid, expired, or mismatched token returns a validation error.
expandarray of enumInclude related objects in the response. Supported expansions: customer, order, payment_intent. Include the requested related resources using scoped batch reads for this page. Each relationship requires its existing target read scopes. Expansion changes the representation without changing pagination tokens. Limits: at most 10 unique expand paths per request.
customerorderpayment_intent
Response · 200
A page of disputes for the authenticated merchant.
dataarray of objectRequiredResource, collection, or operation result returned by this request.
amount_moneyobjectRequiredAmount in dispute. For a chargeback, this amount left your balance when the case opened; an inquiry moves no money.
can_respond_with_evidencebooleanRequiredWhether this dispute has an evidence response window. It stays true after the window closes or a decision is made. Use is_action_required to know whether a response is needed now.
case_typeenumRequiredKind of case the card network or bank opened. `status` and `is_action_required` say whether a response is needed.
inquirychargebackcomplianceresolutionblockotherbank_return
created_atstringRequiredRFC3339 timestamp.
customerobject or nullPresent only when `expand` includes `customer`; `null` when expanded and there is no related customer.
customer_idstringThe customer on the disputed payment. Absent when the payment has none.
dispute_idstringRequiredStable identifier of the dispute.
evidence_due_atstring or nullRequiredDeadline for submitting evidence. Respond before it when is_action_required is true. `null` when the dispute has no response window, such as a bank return or a case your processor gave no deadline for.
evidence_submission_countintegerRequiredHow many times evidence was submitted for this dispute. 0 until you submit.
fraud_warning_idstringThe fraud warning the card network sent for this payment before the dispute. Absent when there was none.
has_evidencebooleanRequiredWhether evidence is saved for this dispute, submitted or not. In test mode this includes an unsubmitted draft Flint saves when the dispute first needs a response, so it doesn't mean someone started a response. evidence_submission_count says whether evidence was submitted.
is_action_requiredbooleanRequiredTrue when status is needs_response or inquiry_needs_response, can_respond_with_evidence is true, and evidence_due_at hasn't passed. Evaluated when the dispute is read; in a webhook payload, as of when Flint recorded the change. It turns false once evidence_due_at has passed, with no event.
is_evidence_deadline_passedbooleanRequiredWhether evidence_due_at has passed on a dispute with a response window. Always false when can_respond_with_evidence is false. Evaluated when the dispute is read; in a webhook payload, as of when Flint recorded the change. It turns true once evidence_due_at has passed, with no event.
merchant_idstringRequiredID of the merchant this resource belongs to.
orderobject or nullPresent only when `expand` includes `order`; `null` when expanded and there is no related order.
order_idstringID of the order the disputed payment was for. Absent when Flint can't link the dispute to an order.
payment_intentobject or nullPresent only when `expand` includes `payment_intent`; `null` when expanded and there is no related payment intent.
payment_intent_idstringID of the payment intent that took the disputed payment. Absent when Flint can't link the dispute to a payment intent.
payment_optionenum or nullRequiredHow the buyer paid for the disputed payment. `null` when Flint hasn't linked the dispute to a payment intent that records a payment option.
cardapple_paygoogle_payaffirmach_debitnull
reasonenumRequiredWhy the payment was disputed. A reason Flint doesn't recognize is `other`.
fraudulentunrecognizedduplicateproduct_not_receivedproduct_not_as_describedrefund_not_processedsubscription_cancelednoncompliantinsufficient_fundsdebit_not_authorizedbank_account_not_foundother
response_unavailable_reasonenumWhy a response is unavailable when can_respond_with_evidence is false. Absent when no reason is reported. Current values are bank_return_not_contestable and response_window_unavailable. response_window_unavailable means no evidence deadline was supplied.
bank_return_not_contestableresponse_window_unavailable
statusenumRequiredWhere the dispute stands. `needs_response` and `inquiry_needs_response` ask you to respond; `inquiry_closed`, `won`, `lost`, and `prevented` are final.
inquiry_needs_responseinquiry_under_reviewinquiry_closedneeds_responseunder_reviewwonlostpreventedother
status_changed_atstringRecorded time of the current status. On first observation this is the dispute creation time. Later status changes use the provider event time when available, or the time Flint observed the change. This may not be the exact decision or submission time.
supported_actionsarray of enumRequiredLifecycle actions Flint accepts now. Evaluated when the dispute is read; in a webhook payload, as of when Flint recorded the change. It turns empty once evidence_due_at has passed, with no event.
accept
updated_atstringRequiredRFC3339 timestamp.
metaobjectAdditional information about this response.
api_versionstringAPI version used to produce this response.
idempotency_replayedbooleanWhether this response replays a stored result for the supplied Idempotency-Key.
trace_idstringTrace identifier to include when contacting Flint about this request.
warningsarray of objectConditions that need attention even though the request succeeded.
next_page_tokenstringOpaque token to send as `page_token` to retrieve the next page. Omitted when there is no next page.
request_idstringRequiredIdentifier of this API request, used to correlate logs and support requests.
curl https://api.withflintpay.com/v1/disputes \
-H "Flint-Version: 2026-09-07" \
-H "Authorization: Bearer YOUR_API_KEY"A page of disputes for the authenticated merchant.
{
"data": [
{
"amount_money": {
"amount": 5000,
"currency": "USD"
},
"can_respond_with_evidence": true,
"case_type": "chargeback",
"created_at": "2026-03-17T14:30:00Z",
"customer_id": "cus_01KEZF7C003ACYXT6Q5EQZ78EE",
"dispute_id": "du_01KEZF7C00329MTHSY5GX1VZJR",
"evidence_due_at": "2026-03-24T14:30:00Z",
"evidence_submission_count": 0,
"has_evidence": false,
"is_action_required": true,
"is_evidence_deadline_passed": false,
"merchant_id": "mer_01KEZF7C00MPP0T9S0KH5BB4CC",
"order_id": "ord_01KEZF7C00JBKMARG3P06Z224B",
"payment_intent_id": "pi_01KEZF7C0050JFFB0HNCWWV1G3",
"payment_option": "card",
"reason": "fraudulent",
"status": "needs_response",
"status_changed_at": "2026-03-17T14:30:00Z",
"supported_actions": [
"accept"
],
"updated_at": "2026-03-17T14:30:00Z"
}
],
"meta": {
"api_version": "2026-09-07"
},
"request_id": "req_01KWM6ZY4CB4Q2DPHECN2ZJKZM"
}Get a dispute#
/v1/disputes/{dispute_id}Requires scope payments.disputes.read or payments.disputes.write
Rate limit: read
Returns one dispute by ID, with optional customer, order, and payment intent expansions.
Path parameters
dispute_idstringRequiredFlint dispute ID.
Query parameters
expandarray of enumInclude related objects in the response. Supported expansions: customer, order, payment_intent. Expansion requires payments.disputes.read plus the read scope for each expanded resource. Limits: at most 10 unique expand paths per request.
customerorderpayment_intent
Response · 200
The requested dispute.
dataobjectRequiredResource, collection, or operation result returned by this request.
amount_moneyobjectRequiredAmount in dispute. For a chargeback, this amount left your balance when the case opened; an inquiry moves no money.
can_respond_with_evidencebooleanRequiredWhether this dispute has an evidence response window. It stays true after the window closes or a decision is made. Use is_action_required to know whether a response is needed now.
case_typeenumRequiredKind of case the card network or bank opened. `status` and `is_action_required` say whether a response is needed.
inquirychargebackcomplianceresolutionblockotherbank_return
created_atstringRequiredRFC3339 timestamp.
customerobject or nullPresent only when `expand` includes `customer`; `null` when expanded and there is no related customer.
customer_idstringThe customer on the disputed payment. Absent when the payment has none.
dispute_idstringRequiredStable identifier of the dispute.
evidence_due_atstring or nullRequiredDeadline for submitting evidence. Respond before it when is_action_required is true. `null` when the dispute has no response window, such as a bank return or a case your processor gave no deadline for.
evidence_submission_countintegerRequiredHow many times evidence was submitted for this dispute. 0 until you submit.
fraud_warning_idstringThe fraud warning the card network sent for this payment before the dispute. Absent when there was none.
has_evidencebooleanRequiredWhether evidence is saved for this dispute, submitted or not. In test mode this includes an unsubmitted draft Flint saves when the dispute first needs a response, so it doesn't mean someone started a response. evidence_submission_count says whether evidence was submitted.
is_action_requiredbooleanRequiredTrue when status is needs_response or inquiry_needs_response, can_respond_with_evidence is true, and evidence_due_at hasn't passed. Evaluated when the dispute is read; in a webhook payload, as of when Flint recorded the change. It turns false once evidence_due_at has passed, with no event.
is_evidence_deadline_passedbooleanRequiredWhether evidence_due_at has passed on a dispute with a response window. Always false when can_respond_with_evidence is false. Evaluated when the dispute is read; in a webhook payload, as of when Flint recorded the change. It turns true once evidence_due_at has passed, with no event.
merchant_idstringRequiredID of the merchant this resource belongs to.
orderobject or nullPresent only when `expand` includes `order`; `null` when expanded and there is no related order.
order_idstringID of the order the disputed payment was for. Absent when Flint can't link the dispute to an order.
payment_intentobject or nullPresent only when `expand` includes `payment_intent`; `null` when expanded and there is no related payment intent.
payment_intent_idstringID of the payment intent that took the disputed payment. Absent when Flint can't link the dispute to a payment intent.
payment_optionenum or nullRequiredHow the buyer paid for the disputed payment. `null` when Flint hasn't linked the dispute to a payment intent that records a payment option.
cardapple_paygoogle_payaffirmach_debitnull
reasonenumRequiredWhy the payment was disputed. A reason Flint doesn't recognize is `other`.
fraudulentunrecognizedduplicateproduct_not_receivedproduct_not_as_describedrefund_not_processedsubscription_cancelednoncompliantinsufficient_fundsdebit_not_authorizedbank_account_not_foundother
response_unavailable_reasonenumWhy a response is unavailable when can_respond_with_evidence is false. Absent when no reason is reported. Current values are bank_return_not_contestable and response_window_unavailable. response_window_unavailable means no evidence deadline was supplied.
bank_return_not_contestableresponse_window_unavailable
statusenumRequiredWhere the dispute stands. `needs_response` and `inquiry_needs_response` ask you to respond; `inquiry_closed`, `won`, `lost`, and `prevented` are final.
inquiry_needs_responseinquiry_under_reviewinquiry_closedneeds_responseunder_reviewwonlostpreventedother
status_changed_atstringRecorded time of the current status. On first observation this is the dispute creation time. Later status changes use the provider event time when available, or the time Flint observed the change. This may not be the exact decision or submission time.
supported_actionsarray of enumRequiredLifecycle actions Flint accepts now. Evaluated when the dispute is read; in a webhook payload, as of when Flint recorded the change. It turns empty once evidence_due_at has passed, with no event.
accept
updated_atstringRequiredRFC3339 timestamp.
metaobjectAdditional information about this response.
api_versionstringAPI version used to produce this response.
idempotency_replayedbooleanWhether this response replays a stored result for the supplied Idempotency-Key.
trace_idstringTrace identifier to include when contacting Flint about this request.
warningsarray of objectConditions that need attention even though the request succeeded.
request_idstringRequiredIdentifier of this API request, used to correlate logs and support requests.
curl https://api.withflintpay.com/v1/disputes/du_01KEZF7C00DEJSF1KTXRT4BBQD \
-H "Flint-Version: 2026-09-07" \
-H "Authorization: Bearer YOUR_API_KEY"The requested dispute.
{
"data": {
"amount_money": {
"amount": 5000,
"currency": "USD"
},
"can_respond_with_evidence": true,
"case_type": "chargeback",
"created_at": "2026-03-17T14:30:00Z",
"customer_id": "cus_01KEZF7C003ACYXT6Q5EQZ78EE",
"dispute_id": "du_01KEZF7C00329MTHSY5GX1VZJR",
"evidence_due_at": "2026-03-24T14:30:00Z",
"evidence_submission_count": 0,
"has_evidence": false,
"is_action_required": true,
"is_evidence_deadline_passed": false,
"merchant_id": "mer_01KEZF7C00MPP0T9S0KH5BB4CC",
"order_id": "ord_01KEZF7C00JBKMARG3P06Z224B",
"payment_intent_id": "pi_01KEZF7C0050JFFB0HNCWWV1G3",
"payment_option": "card",
"reason": "fraudulent",
"status": "needs_response",
"status_changed_at": "2026-03-17T14:30:00Z",
"supported_actions": [
"accept"
],
"updated_at": "2026-03-17T14:30:00Z"
},
"meta": {
"api_version": "2026-09-07"
},
"request_id": "req_01KWM6ZY4CB4Q2DPHECN2ZJKZM"
}Accept a dispute#
/v1/disputes/{dispute_id}/acceptIdempotentRequires scope payments.disputes.write
Rate limit: sensitive_write
Accepts a chargeback: you won't contest it, and the disputed amount stays with the buyer. The dispute becomes `lost`, and Flint sends `dispute.lost`. You can accept while `status` is `needs_response` and `is_action_required` is `true`. An inquiry can't be accepted; refund the payment or respond with evidence instead. Accepting can't be undone. Requires `payments.disputes.write`. Send no body or `{}`. If you don't receive a response, retry with the same idempotency key, or read the dispute: `status: lost` means it was accepted.
Path parameters
dispute_idstringRequiredFlint dispute ID.
curl -X POST https://api.withflintpay.com/v1/disputes/du_01KEZF7C00DEJSF1KTXRT4BBQD/accept \
-H "Flint-Version: 2026-09-07" \
-H "Authorization: Bearer YOUR_API_KEY"Create a dispute response session#
/v1/disputes/{dispute_id}/response-sessionsIdempotentRequires scope payments.disputes.write
Rate limit: external_provider_action
Creates a browser session for responding to or viewing a dispute with Stripe Connect. Requires payments.disputes.write. Allowed for closed disputes; bank returns cannot be contested. Pass the returned payment to setPayment or the React payment prop. Each completed retry creates a fresh single-use client secret. Keep your API key on your server.
Path parameters
dispute_idstringRequiredFlint dispute ID.
Response · 201
Browser instructions for the dispute response session.
dataobjectRequiredResource, collection, or operation result returned by this request.
client_sessionobjectRequiredThe browser session for the response component. It appears only in this response, never on the dispute, in lists, or in webhooks.
dispute_idstringRequiredID of the dispute the session is for.
metaobjectAdditional information about this response.
api_versionstringAPI version used to produce this response.
idempotency_replayedbooleanWhether this response replays a stored result for the supplied Idempotency-Key.
trace_idstringTrace identifier to include when contacting Flint about this request.
warningsarray of objectConditions that need attention even though the request succeeded.
request_idstringRequiredIdentifier of this API request, used to correlate logs and support requests.
curl -X POST https://api.withflintpay.com/v1/disputes/du_01KEZF7C00DEJSF1KTXRT4BBQD/response-sessions \
-H "Flint-Version: 2026-09-07" \
-H "Authorization: Bearer YOUR_API_KEY"Simulate a dispute outcome#
/v1/disputes/{dispute_id}/simulateIdempotentRequires scope payments.disputes.write
Rate limit: external_provider_action
Sandbox only. Simulates the card network's ruling on a dispute that needs a response. Flint submits Stripe's test evidence for the `outcome`, and the ruling arrives through the dispute's usual webhook events, as a real one would. Send `won` or `lost` for a chargeback in `needs_response`, and `inquiry_closed` or `escalated` for an inquiry in `inquiry_needs_response`. The response is the dispute after the evidence is submitted, usually `under_review` or `inquiry_under_review`. Stripe decides shortly after, with no fixed timing. Requires `payments.disputes.write`. If you don't receive a response, retry with the same idempotency key, or read the dispute.
Path parameters
dispute_idstringRequiredFlint dispute ID.
Request body
outcomeenumRequiredThe ruling to simulate. `won` and `lost` decide a chargeback; `inquiry_closed` and `escalated` decide an inquiry.
wonlostinquiry_closedescalated
curl -X POST https://api.withflintpay.com/v1/disputes/du_01KEZF7C00DEJSF1KTXRT4BBQD/simulate \
-H "Flint-Version: 2026-09-07" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: a-unique-key" \
-d '{
"outcome": "won"
}'Was this helpful?
