Skip to content

Disputes and chargebacks

When a buyer asks their bank to reverse a payment, you have a fixed window to answer with evidence or concede. Flint records each case as a dispute linked to the payment, order, and customer it challenges, with its deadline and amount. Your integration does four things with it: notice the case, decide whether to fight it, respond or accept before evidence_due_at, and reconcile the result.

Merchants can also respond in the Flint dashboard, or in a payments component mounted in your product. Both use the same disputes and send the same events.

Read dispute state on an order#

For a dispute on an order payment, read the order's dispute_status and settlement_amounts.disputed_money and dispute_lost_money. dispute_status summarizes every payment on the order except payments Flint returned (payment_returned). Open cases win in this order: needs_response, under_review, inquiry_needs_response, inquiry_under_review, other. Otherwise the most severe closed state shows: lost, won, prevented, inquiry_closed. none means no disputes. To act on it, apply the access rules. List individual cases with GET /v1/disputes?order_id=....

On orders, paid_money stays gross of disputes. net_collected_money is paid_money - refunded_money - dispute_lost_money, which can be negative when refunds and lost disputes exceed payments. A lost dispute does not reopen outstanding_money or change payment_status; collecting a card chargeback again requires a new bill. An ACH bank return reopens the invoice balance for collection. A later win removes its principal from dispute_lost_money. For example, a $60.00 payment followed by a $15.00 refund and a lost $60.00 chargeback leaves net_collected_money at −$15.00. Processing and dispute fees are separate; subtract them to reconcile the balance transactions' net_money. Partial disputes count only the disputed principal, inquiries move no money, and disputes on payment_returned payments do not count.

The merchant activity log records dispute_opened and dispute_closed, with a Flint dispute_id, the outcome and amount, and a zero balance delta. Buyer reads omit dispute_status and the dispute activities. Buyer orders still return disputed_money and dispute_lost_money.

Kinds of dispute#

case_type tells you what kind of case you have, and that decides what you can do with it.

Kindcase_typeWhat it isWhat you can do
InquiryinquiryThe issuer asks for information before any chargeback.Respond with evidence, or refund the payment to concede. An inquiry can't be accepted.
ChargebackchargebackThe bank reverses the payment. The disputed amount leaves your balance when the case opens.Respond with evidence, or accept.
Other card network casescompliance, resolution, blockCard network case types other than an inquiry or chargeback.Follow status and is_action_required, as for a chargeback.
Bank returnbank_returnAn ACH debit came back after it settled.Nothing to contest. See Bank returns.
OtherotherA 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. Affirm disputes use the same resource.

Statuses#

A chargeback opens in needs_response and ends won or lost:

Chargeback statusStartFinal
  • needs_response moves to under_review on you submit evidence
  • needs_response moves to lost on you accept
  • under_review moves to won on bank rules for you
  • under_review moves to lost on bank rules against you

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. If a chargeback gets no response by evidence_due_at, the bank records the outcome, normally lost.

status on dispute
Final values do not change again
  • inquiry_needs_response
    The issuer asked for information before any chargeback. Respond by evidence_due_at, or refund to concede.
  • inquiry_under_review
    You responded to the inquiry and the issuer is reviewing it. Nothing to do; wait for the next event.
  • inquiry_closedFinal
    The inquiry closed without becoming a chargeback.
  • needs_response
    A chargeback is open. Respond with evidence or accept by evidence_due_at.
  • under_review
    Evidence was submitted and the bank is deciding. No further response is needed, and the status doesn't predict the outcome.
  • wonFinal
    Decided in your favor.
  • lostFinal
    Decided against you, accepted by you, or a bank return that couldn't be contested.
  • preventedFinal
    Resolved before it became a chargeback.
  • other
    Flint received a state it doesn't recognize yet. Treat the dispute as open, don't assume an outcome, and read it again later. A response session still opens for it.

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.

Build the response queue#

Drive the queue from webhooks and treat each event as a prompt to read the dispute. Deliveries can repeat or arrive after a newer change, so deduplicate on the envelope's webhook_event_id (the webhook-id header) and act on what GET /v1/disputes/{dispute_id} returns, not on the payload alone. Webhooks covers verification and retries.

  • dispute.created
    Flint saw the dispute for the first time, in any status.
  • dispute.needs_response
    The status became needs_response or inquiry_needs_response and a response is possible now. An inquiry that escalates to a chargeback sends it too. Open or reprioritize the case.
  • dispute.won
    The status became won.
  • dispute.lost
    The status became lost, including when you accept a chargeback or a bank return arrives.
  • dispute.prevented
    The status became prevented.
  • dispute.inquiry_closed
    The inquiry closed without a chargeback.
  • dispute.updated
    Any other change, such as evidence being submitted (under_review), a new deadline, or a move to other.

One change sends at most one of dispute.updated, dispute.needs_response, or an outcome event. A dispute Flint sees for the first time sends dispute.created and, when one applies, that one event: a new chargeback sends dispute.created then dispute.needs_response, and a new bank return sends dispute.created then dispute.lost. A dispute is final after exactly one of dispute.won, dispute.lost, dispute.prevented, or dispute.inquiry_closed.

In test mode, Flint can save an unsubmitted draft after the dispute first needs a response. That change can send dispute.updated with has_evidence: true after dispute.needs_response; it doesn't mean someone started or submitted a response.

A typical contested chargeback:

  1. What happens: The buyer's bank opens a chargeback
  2. Flint sends: dispute.created
    The case exists. status is needs_response.
  3. Flint sends: dispute.needs_response
    is_action_required is true and evidence_due_at is set.
  4. What happens: You submit evidence
  5. Flint sends: dispute.updated
    status is under_review and evidence_submission_count is 1.
  6. What happens: The bank decides
  7. Flint sends: dispute.won
    Or dispute.lost when the bank rules against you.

Read the dispute with a key that has payments.disputes.read:

cURL
curl https://api.withflintpay.com/v1/disputes/du_1kmn0aExample \
  -H "Authorization: Bearer YOUR_API_KEY"
Response
{
  "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",
    "network_reason_code": "13.1",
    "recommended_evidence_types": ["shipping_documentation", "service_documentation", "access_activity_log", "customer_communication", "receipt", "product_description"],
    "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_01KWM6A6WW4XN0RJ7G0G8XEYAW"
}

Add expand=order, expand=customer, or expand=payment_intent to include those records; each needs its own read scope as well. These fields decide what your queue does:

FieldUse it for
is_action_requiredWhether a response is needed now: the status is needs_response or inquiry_needs_response, the dispute has a response window, and the deadline hasn't passed. Keep the case in your queue while it is true.
evidence_due_atThe response deadline, or null when there is none.
is_evidence_deadline_passedtrue once evidence_due_at is in the past.
can_respond_with_evidenceWhether the dispute has a response window at all. It stays true after the window closes or a decision is made.
response_unavailable_reasonWhy there's no response window: bank_return_not_contestable or response_window_unavailable. Absent when there's no reason to report.
has_evidenceWhether evidence is saved, submitted or not. In test mode, Flint can save a draft before anyone starts a response.
evidence_submission_countHow many times evidence was submitted. is_action_required: true and a count of 0 means unanswered, whether or not a draft exists.
supported_actionsaccept when a chargeback is in needs_response with a response window whose evidence_due_at hasn't passed; [] otherwise.
reasonWhat the buyer claims, which decides the evidence. See Prepare evidence.
network_reason_codeThe card network's opaque code, or null when unavailable. Read it with the disputed payment's card brand because networks use different codes.
recommended_evidence_typesEvidence types Flint recommends for the stored reason and case type, most useful first. Use the types that fit what you sold; [] means Flint has no recommendation.
status_changed_atWhen the current status was recorded: the processor's event time when available, otherwise when Flint saw the change. It may not be the exact decision time.
fraud_warning_idThe issuer fraud warning that preceded the dispute, when there was one.

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 you read the dispute; in a webhook payload, they reflect 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 well before it, leaving time for review and upload.

List the queue#

Cases that need a response, soonest deadline first:

cURL
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"

To catch anything a missed webhook would have told you, sync the disputes that changed since your last run. Start each window where the previous one ended:

cURL
curl --get https://api.withflintpay.com/v1/disputes \
  -H "Authorization: Bearer YOUR_API_KEY" \
  --data-urlencode "updated_after=2026-10-27T00:00:00Z" \
  --data-urlencode "updated_before=2026-10-28T00:00:00Z" \
  --data-urlencode "page_size=100"

GET /v1/disputes filters by is_action_required, status, reason, case_type, payment_intent_id, order_id, customer_id, and the created_, updated_, and evidence_due_ windows, and sorts by created_at (the default, newest first), evidence_due_at, or amount_money. status, reason, and case_type take several values, repeated or comma-separated. Each window takes RFC 3339 timestamps, with an inclusive _after and an exclusive _before, so consecutive windows never overlap or skip a dispute. Send each bound once: an empty, repeated, or malformed value returns 400 INVALID_REQUEST with param naming it, and an updated_before earlier than updated_after names updated_before. Page with page_token until next_page_token is absent, and start over without a token when you change any filter or sort. The Disputes API reference lists every parameter.

Decide what to do#

SituationDo this
You have evidence that the payment was legitimate or the buyer got what they paid forRespond before evidence_due_at.
A chargeback you agree with, or one too small to justify the workAccept it. The money already left your balance; accepting ends the case.
An inquiry you agree withRefund the payment. An inquiry can't be accepted, and refunds aren't blocked while it is open.
A bank returnNothing to contest. Collect again with a new payment if appropriate.
under_review, inquiry_under_review, or otherWait for the next event.

Don't refund a chargeback to make it go away. While a chargeback is needs_response, under_review, other, or lost, POST /v1/refunds on that payment fails with 409 ACTION_NOT_ALLOWED and reason payment_disputed, because the buyer already has the money through their bank. Refunds work again once the dispute is won or prevented, and inquiries never block them. See Refunds.

Prepare evidence#

Start with recommended_evidence_types, which lists the types Flint recommends for reason, most useful first. Use the ones that fit what you sold. The list is guidance, not a guarantee that evidence is required or that the issuer will accept it. It is empty for bank returns and reasons Flint has no recommendation for. New evidence types can appear; ignore ones your integration doesn't recognize.

A short, consistent package that answers the buyer's claim is easier for the issuer to assess than every document you have. Finish the package before you submit.

reasonRecommended evidence types, most useful first
fraudulent, unrecognizedcustomer_details, customer_communication, customer_signature, receipt, shipping_documentation, service_documentation, access_activity_log
product_not_receivedshipping_documentation, service_documentation, access_activity_log, customer_communication, receipt, product_description
product_not_as_describedproduct_description, refund_policy, customer_communication, receipt
duplicateduplicate_charge_documentation, receipt, customer_communication
refund_not_processedrefund_policy, customer_communication, receipt
subscription_canceledcancellation_policy, customer_communication, service_documentation, receipt
noncompliant, other[]. Read the case in the response component, then answer what it asks.
insufficient_funds, debit_not_authorized, bank_account_not_found[]. These are bank returns.

customer_details connects the buyer to the payment. customer_communication is your correspondence about the purchase. customer_signature records their authorization or acknowledgment. receipt shows what they purchased and paid. shipping_documentation shows physical delivery, service_documentation shows the service provided, and access_activity_log shows use of digital goods or services. product_description is the listing they saw. refund_policy and cancellation_policy include the terms they accepted and relevant refund or cancellation records. duplicate_charge_documentation distinguishes separate purchases or shows how a duplicate was corrected.

network_reason_code can help you interpret a card network's claim alongside the card brand. Treat it as an opaque identifier, not a Flint reason or a value shared across networks. The chargeback reason codes reference lists each network's codes with their time limits, winning evidence, and Flint reason. A code becoming available or changing can send dispute.updated. Webhook payloads freeze the code and recommendations when Flint records the change.

In test mode, for inquiries and chargebacks, Flint saves an unsubmitted evidence draft with the payment processor when the dispute first needs a response. It uses records Flint already holds for the sale, chosen by reason: the buyer's name, email, and billing address, the order and its lines, shipping carrier, tracking, and dates, receipt and shipping emails sent to the buyer, refunds, subscription dates, and your refund policy link. The draft fills only empty fields and stays out of Flint's storage and logs. Creating the draft doesn't submit it. Review it, edit it, and submit it in the response component. Drafts are off in live mode until Flint enables them. Merchants can't opt out of automatic drafts.

Respond to a dispute#

A response session puts Stripe's embedded dispute component in your own interface. The merchant reads the case, uploads evidence, and submits it there, and can later reopen the session to see what was submitted.

Responding to a dispute in your interfaceResponse
BrowserYour serverFlintStripea signed-in user opens the disputePOST /v1/disputes/{dispute_id}/response-sessionspublishable key, client secret, Stripe PaymentIntent IDclient_session.stripethe component loads the case and submits evidencethe dispute moves to under_reviewdispute.updated
  1. Browser sends a signed-in user opens the dispute to Your server
  2. Your server sends POST /v1/disputes/{dispute_id}/response-sessions to Flint
  3. Flint returns publishable key, client secret, Stripe PaymentIntent ID to Your server
  4. Your server returns client_session.stripe to Browser
  5. Browser sends the component loads the case and submits evidence to Stripe
  6. Stripe sends the dispute moves to under_review to Flint
  7. Flint sends dispute.updated to Your server

Create the session from your server with a key that has payments.disputes.write. Merchant API keys in live and test mode can be granted it, and full-access keys include it. A platform can open the session for an installed merchant with its partner app token instead, when the merchant's grant holds the scope; see Read money and answer disputes. Send no body or {}; any field returns 400 INVALID_REQUEST.

cURL
curl -X POST https://api.withflintpay.com/v1/disputes/du_1kmn0aExample/response-sessions \
  -H "Authorization: Bearer $FLINT_API_KEY"

The 201 response holds everything the browser needs:

JSON
{
  "data": {
    "dispute_id": "du_1kmn0aExample",
    "client_session": {
      "expires_at": "2026-10-21T15:30:00Z",
      "stripe": {
        "publishable_key": "pk_live_123",
        "account_session": {
          "stripe_js_call": "load_connect_and_initialize",
          "client_secret": "accs_secret_123"
        },
        "components": [
          { "component": "payment_disputes", "stripe_payment_id": "pi_3Qexample" }
        ]
      }
    }
  },
  "request_id": "req_01KWM6A6WW4XN0RJ7G0G8XEYAW"
}

components has one entry. Its stripe_payment_id is the Stripe payment reference the component needs: a PaymentIntent ID for an ordinary payment, or the destination payment ID beginning py_ for a split payment. It is separate from the Flint payment_intent_id. The session details appear only in this response, never on the dispute, in lists, or in webhooks.

Each call returns a new, single-use client_secret. A completed request retried with the same Idempotency-Key creates a fresh session rather than replaying the old secret, so call the route again whenever Connect asks for a secret. A session opens for a dispute in any status except a bank return, including closed disputes.

  • HTTP 404
    No dispute with that ID in this environment. details[0].resource_type is dispute.
  • HTTP 409
    Reason bank_return_not_contestable: the dispute is a bank return, which has nothing to respond to. Reason dispute_payment_unavailable: the dispute has no linked payment the component can show.
  • HTTP 503
    SERVICE_UNAVAILABLERetry the same request
    The payment processor couldn't create the session. Try again shortly.

Show the component#

Your server calls Flint and passes the response body to a signed-in user. Check that the user may handle disputes for this merchant before calling Flint; a dispute ID from the browser isn't proof of access.

JavaScript
app.post("/disputes/:disputeId/response-session", requireDisputeAccess, async (req, res) => {
  const flint = await fetch(
    `https://api.withflintpay.com/v1/disputes/${encodeURIComponent(req.params.disputeId)}/response-sessions`,
    { method: "POST", headers: { Authorization: `Bearer ${process.env.FLINT_API_KEY}` } },
  );
  res.status(flint.status).json(await flint.json());
});

In the browser, install @stripe/connect-js and initialize Connect with the publishable key. Connect calls fetchClientSecret for the first secret and again whenever it needs a new one. The example hands Connect the secret from the first call, then creates a new session for each later request.

JavaScript
import { loadConnectAndInitialize } from "@stripe/connect-js";

async function createSession(disputeId) {
  const response = await fetch(`/disputes/${encodeURIComponent(disputeId)}/response-session`, {
    method: "POST",
    credentials: "same-origin",
  });
  const body = await response.json();
  if (!response.ok) throw new Error(body.error?.message ?? "The dispute couldn't be opened");
  return body.data.client_session.stripe;
}

const first = await createSession(disputeId);
let firstSecret = first.account_session.client_secret;

const connect = loadConnectAndInitialize({
  publishableKey: first.publishable_key,
  fetchClientSecret: async () => {
    if (firstSecret) {
      const secret = firstSecret;
      firstSecret = null;
      return secret;
    }
    return (await createSession(disputeId)).account_session.client_secret;
  },
});

const disputeComponent = connect.create("payment-disputes");
disputeComponent.setPayment(first.components[0].stripe_payment_id);
document.getElementById("dispute").appendChild(disputeComponent);

With @stripe/react-connect-js, wrap the component in ConnectComponentsProvider and pass the payment as a prop:

jsx
<ConnectComponentsProvider connectInstance={connect}>
  <ConnectPaymentDisputes payment={first.components[0].stripe_payment_id} />
</ConnectComponentsProvider>

Your Content Security Policy must allow Stripe Connect; Browser and security requirements lists the sources.

After a submission, the dispute moves to under_review (or inquiry_under_review) and sends dispute.updated. Remove the case from your response queue then, and wait for the outcome event.

Where evidence goes#

Evidence travels from the component straight to the payment processor. Flint doesn't receive, store, or log the documents, customer messages, or text the merchant enters, and none of it appears in /v1/files, request logs, or webhooks. The dispute reports only whether evidence is saved (has_evidence) and how many times it was submitted (evidence_submission_count). The API has no route that accepts evidence; responses go through a response session, the payments account session component, or the dashboard.

Accept a dispute#

Accepting a chargeback means you won't contest it. The dispute becomes lost and the disputed amount stays with the buyer. Accepting moves no money, because the amount left your balance when the chargeback opened, and it can't be undone: you can't submit evidence afterward.

You can accept when supported_actions contains accept: the case is a chargeback in needs_response with a response window whose deadline hasn't passed. The list never depends on your credential. Use a key with payments.disputes.write, or a partner app token whose grant holds it, send no body or {}, and send an Idempotency-Key so you can retry safely.

cURL
curl -X POST https://api.withflintpay.com/v1/disputes/du_1kmn0aExample/accept \
  -H "Authorization: Bearer $FLINT_API_KEY" \
  -H "Idempotency-Key: accept-du_1kmn0aExample"

The 200 response is the dispute, now lost. Trimmed here to the fields that change:

JSON
{
  "data": {
    "dispute_id": "du_1kmn0aExample",
    "status": "lost",
    "closed_reason": "merchant_accepted",
    "is_action_required": false,
    "supported_actions": [],
    "case_type": "chargeback",
    "reason": "product_not_received",
    "network_reason_code": "13.1",
    "recommended_evidence_types": ["shipping_documentation", "service_documentation", "access_activity_log", "customer_communication", "receipt", "product_description"],
    "amount_money": { "amount": 5000, "currency": "USD" },
    "status_changed_at": "2026-10-22T14:30:00Z",
    "updated_at": "2026-10-22T14:30:00Z"
  },
  "request_id": "req_01KWM6ZY4CB4Q2DPHECN2ZJKZM"
}

Flint sends dispute.lost once. The payment's dispute_status updates a few seconds later, when the processor reports the dispute closed, and Flint then sends payment_intent.updated. Read the dispute rather than the payment for the immediate result.

From the CLI, flint disputes accept du_1kmn0aExample asks you to confirm; scripts pass --confirm. The route uses the sensitive write rate limit.

When accepting is refused#

A dispute in any other state returns 409 ACTION_NOT_ALLOWED with remediation.retry none. Branch on details[0].reason; details[0].current_status is the dispute's status, and details[0].supported_actions lists its available lifecycle actions.

reasonWhenWhat to do
already_appliedThe dispute is already lost, including every bank return.No response is needed. Read closed_reason to check for acceptance.
terminal_statusThe dispute is won, prevented, or inquiry_closed.Nothing. The case is over.
in_progressThe dispute is under_review or inquiry_under_review, its deadline has passed, or another request is accepting it now.Wait for the next event, then read the dispute.
unsupported_stateThe dispute is an inquiry, is other, or has no response window.For an inquiry, remediation.next_actions includes create_refund: refund the payment or respond with evidence. Otherwise read the dispute again later.

For an inquiry, create_refund points to POST /v1/refunds, requires commerce.refunds.write, and lists payment_intent_id and refund_type in required_fields. Its target_resource has resource_type: "payment_intent" and the dispute's Flint payment intent ID as resource_id. To concede the inquiry, send that ID as payment_intent_id and set refund_type to full. See Follow-up actions.

If the payment processor declines to close a dispute that Flint shows as needs_response with is_action_required true, the route returns unsupported_state with a create_dispute_response_session entry in remediation.next_actions. Open a response session and accept the dispute in the component. Retrying the same request returns the same refusal.

404 RESOURCE_NOT_FOUND means no such dispute in this environment. 503 SERVICE_UNAVAILABLE with reason processor_unavailable means the processor didn't answer; the dispute may not have changed.

Recover from a failed request#

If you get no response or a 503, retry with the same Idempotency-Key. If the first request succeeded, the retry returns the same 200 with an Idempotency-Replayed: true header. You can also read the dispute. A closed_reason of merchant_accepted confirms acceptance. A request with a new key on a dispute that is already lost returns already_applied because the dispute is final.

Bank returns#

An ACH debit payment that the buyer's bank pulls back after it settled comes back as a bank return, represented by the same Dispute resource:

  • case_type is bank_return and payment_option is ach_debit.
  • reason is insufficient_funds, debit_not_authorized, bank_account_not_found, or other.
  • There's no response window: can_respond_with_evidence and is_action_required are false, evidence_due_at is null, and response_unavailable_reason is bank_return_not_contestable.

A bank return is final on arrival, so dispute.created and dispute.lost fire together. There is no evidence to prepare and no outcome to influence. Route these to accounting and buyer outreach, and filter your evidence queue on case_type or is_action_required so they never look like work waiting on a deadline. The money has already left your balance, so collecting again means a new payment from the buyer. A bank return also reduces what's left to refund on the payment; see ACH returns and refunds.

Reconcile the result#

The final statuses are won, lost, prevented, and inquiry_closed. When one arrives, reconcile it against the payment, the order, your balance, and any refund already issued. Don't send another refund because a case is lost: the buyer already has the money.

On your balance, a chargeback posts a dispute balance transaction for the disputed amount. Any processor dispute fee deducted from your balance appears as positive fee_money on that row, and net_money includes both deductions. A dispute_reversal returns the principal. The original payment's processing fee isn't returned either way.

A won status doesn't prove the processor returned the dispute fee. A principal-only reversal has fee_money of 0. If the processor returns the fee on the reversal, fee_money is negative. A separate fee credit appears as its own balance transaction. Reconcile the posted returns.

A $50.00 card payment, then a countered chargeback
  • Payment
    $50.005000
  • Processing feeprocessing_fee_money
    −$2.25-225
  • Net
    $47.754775
  • Chargeback principalamount_money
    dispute balance transaction
    −$50.00-5000
  • Received dispute feefee_money
    Deducted from your balance on the dispute row
    −$15.00-1500
  • If you accept the dispute
    −$17.25-1725
  • Countered dispute fee
    Charged when evidence is submitted
    −$15.00-1500
  • If you counter and lose
    −$32.25-3225
  • Principal returned on a full win
    dispute_reversal balance transaction
    $50.005000
  • Countered fee returned on a full win
    $15.001500
  • After a full win
    $32.753275

The received fee Flint bills is not credited on a win. New offers created after the countered-fee release also bill card_dispute_countered at cost when you submit evidence, only if Flint paid that fee. After a full win and the processor's corresponding fee return, Flint issues one billing credit against the countered assessment. A partial win or loss does not qualify. Existing offers stay unchanged. Stripe waives the countered fee for businesses in Mexico or Japan and for Smart Disputes counters; Flint bills no fee when Stripe charges none.

A dispute can carry an event fee on your merchant billing account: $15.00 for a bank return or other dispute on an ACH payment. A card, Apple Pay, or Google Pay dispute carries the card network's cost as an event fee only when Flint paid the processor's fee. A dispute fee already deducted from your balance carries no additional event fee for the same cost. GET /v1/merchant-billing-entries?dispute_id=du_1kmn0aExample returns the dispute's event_fee entry and any later correction, credit_issued, credit_applied, collection, collection_reversal, or write_off entry for it, so you can see whether the fee was collected, credited, or written off. It needs merchant_billing.read. Event fees explains the amounts and Reconciliation covers the balance ledger.

If the payment funded gift cards, an open or lost dispute freezes each affected card and adds a funding_dispute entry to its restrictions, with dispute_status open or lost. Winning clears that restriction. After a loss, balances and pending reservations are preserved but can't be spent or cashed out until you decide; to honor the value, create a gift card funding disposition with the dispute_id. Refunds and funding losses covers the request.

After a fraudulent dispute, review the customer's saved payment methods, unfulfilled orders, and subscriptions under your own policy. A dispute is a signal about one payment, not proof that everything else from that customer is fraudulent.

Disputes on split payments#

When a payment divided between sellers is disputed, you answer as the collecting merchant. Sellers don't answer disputes and can't read the payment.

Dispute.split_reversals lists each seller's allocation of the disputed amount, with the split and reversal IDs. Read the reversals on PaymentSplit for status, shortfall, and reinstated amounts. While a dispute or inquiry is open, splits that haven't transferred stay pending with pending_reason dispute_open. When Stripe withdraws the funds, each split gives back its share by the same proportional rule refunds use, and you fund the rest and every dispute fee. A win reinstates what was taken. See Marketplaces and seller splits.

Invoice balances after a dispute#

For a card chargeback on an invoice payment, paid_money stays gross of the chargeback. Losing the dispute leaves outstanding_money, currently_due_money, and status unchanged, so a paid invoice stays paid. Reminders, late fees, and automatic collection do not restart because of the loss. Collecting the lost amount again requires a new invoice. A later win restores nothing on the invoice because the loss removed no payment.

An ACH bank return reverses the invoice payment, reducing paid_money and restoring the amount due. A fully returned paid invoice reopens; collect its balance through the same invoice. See ACH debits.

Refund behavior and refund capacity are unchanged: a lost dispute still consumes capacity. Inquiries and disputes on payment_returned payments contribute no invoice money. Read the dispute and follow its events for the outcome; a dispute that changes no invoice field sends no invoice event.

Test dispute outcomes#

In a sandbox you can have a dispute decided without waiting for a card network. Create one by paying with a dispute test card:

  • : the payment succeeds, then is disputed as fraudulent (needs_response).
  • : the payment succeeds, then is disputed as an inquiry (inquiry_needs_response).

Then call POST /v1/disputes/{dispute_id}/simulate with the ruling you want. The route needs payments.disputes.write and a test-mode credential, which can be a test partner app token; a live key, live partner app token, or live dashboard session gets 403 FORBIDDEN with reason test_mode_required. It stands in for the card network's ruling and is separate from accepting a dispute, which is your own action.

cURL
curl -X POST https://api.withflintpay.com/v1/disputes/du_1kmn0aExample/simulate \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: simulate-du_1kmn0aExample-won" \
  -d '{"outcome": "won"}'

outcome is required; a missing or unknown value returns 400 INVALID_REQUEST. The route uses the external provider action rate limit.

outcomeAccepted when status isTest evidence Flint submitsStatus after the rulingEvents
wonneeds_responsewinning_evidencewondispute.updated, then dispute.won
lostneeds_responselosing_evidencelostdispute.updated, then dispute.lost
inquiry_closedinquiry_needs_responsewinning_evidenceinquiry_closeddispute.updated, then dispute.inquiry_closed
escalatedinquiry_needs_responseescalate_inquiry_evidenceneeds_responsedispute.needs_response, sometimes after a dispute.updated

The dispute must also have a response window whose deadline hasn't passed, and can't be a bank return. Simulating submits any saved draft and replaces its additional notes with the processor's test value for the chosen outcome. Stripe decides, so the ruling reaches you through the usual events, as a real one would. Flint never writes the outcome itself, and the ruling has no fixed timing.

The 200 response is the dispute right after the evidence is submitted, normally under_review (or inquiry_under_review) with evidence_submission_count 1. Wait for the events in the table, then read the dispute. An escalated inquiry can show inquiry_under_review first and then becomes a chargeback in needs_response. Simulate a dispute outcome walks through the whole test.

When a simulation is refused#

A dispute that can't take the outcome returns 409 ACTION_NOT_ALLOWED with details[0].supported_actions. Simulation is a test tool and never appears in that list. Branch on details[0].reason:

reasonWhen
terminal_statusThe dispute is won, lost, prevented, or inquiry_closed. An accepted dispute is lost, so simulating after an accept returns this.
in_progressThe dispute is under_review or inquiry_under_review, or another request is submitting an outcome now.
bank_return_not_contestableThe dispute is a bank return.
unsupported_stateThe dispute has no response window, its deadline has passed, or Flint doesn't recognize its state. With param outcome, the outcome is for the other kind of case, such as won on an inquiry.

A second simulation with a new Idempotency-Key returns 409 because evidence is already submitted; a retry with the same key replays the first result. 503 SERVICE_UNAVAILABLE with reason processor_unavailable means Stripe didn't take the evidence: retry with the same key, or read the dispute to see whether it was submitted.

Fraud warnings#

An issuer can send a fraud warning before, or instead of, a dispute. fraud_warning.created reports it, with a payment summary and is_actionable. A full refund, a dispute on the payment, or the card network resolving the warning makes it unactionable, and fraud_warning.updated reports the change. When a dispute follows, the dispute's fraud_warning_id links back to it, and Flint sends dispute.updated for the link. If you refund in response, re-read the payment first so a concurrent refund doesn't over-refund. Respond to fraud warnings covers the workflow.

Next steps#

Disputes API referenceEvery field, filter, and error on the dispute routes.Dispute eventsPayloads for each dispute.* event.RefundsWhat stays refundable, and how disputes block refunds.Risk controlsPayment review and fraud warnings that come before disputes.

Was this helpful?