Disputes
A dispute is a customer-initiated chargeback against one of your orders. Disputes only ever arise in custodial/fiat flows; under non-custodial on-chain stablecoin settlement there are no chargebacks, and chargebacks on Stripe Connect orders are handled in your own Stripe account. List your disputes and submit a rebuttal to move a dispute that needs_response into under_review.
Disputes against a platform-held balance exist only in custodial/fiat flows enabled for your account. Under non-custodial on-chain stablecoin settlement, the net settles on-chain directly to your own wallet and cannot be reversed by the customer, so disputes do not arise for on-chain orders. A chargeback on a Stripe Connect order is raised on your own Stripe account: respond to it in your Stripe Dashboard. fluxa does not open a dispute here for it; when Stripe withdraws the disputed funds, fluxa only mirrors that onto the order as a refund (refunded / partially_refunded) without touching your fluxa balance. If you settle directly (on-chain or Stripe Connect), this list will be empty. To react to Stripe disputes on any Stripe order (custodial, Connect or your own Stripe key) as they happen, subscribe your webhook to payment.dispute_created and payment.dispute_closed — see Webhooks.
The dispute model
- Name
id- Type
- string
- Description
The dispute id.
- Name
order_id- Type
- string
- Description
The disputed order.
- Name
reason- Type
- string
- Description
The reason given for the chargeback.
- Name
amount- Type
- string
- Description
The disputed amount, as a decimal string.
- Name
currency- Type
- string
- Description
The dispute currency.
- Name
status- Type
- string
- Description
needs_response,under_review,won, orlost.
- Name
customer- Type
- string
- Description
The customer identifier, when known.
- Name
evidence_due- Type
- timestamp
- Description
Deadline to respond, or
null.
- Name
evidence- Type
- string
- Description
Your submitted rebuttal text.
- Name
evidence_files- Type
- array
- Description
References to uploaded evidence attachments (time-limited URLs on read).
- Name
created_at- Type
- timestamp
- Description
When the dispute was opened.
List disputes
Signed locally — your secret stays in this browser and is never sent or stored.
No keys yet? Create an API key pair in the merchant portal — the secret is shown only once. Open the merchant portal →
Return your disputes as a plain data array. Any attachment references are presigned into short-lived URLs.
Request
curl "$BASE/api/v1/disputes" \
-H "X-Api-Key: $KEY_ID" \
-H "X-Timestamp: $TS" \
-H "X-Signature: $SIG"
Response
{
"data": [
{
"id": "dsp_1",
"order_id": "ord_2Zx9Qw8sUaM2",
"reason": "product_not_received",
"amount": "49.90",
"currency": "USD",
"status": "needs_response",
"evidence_due": "2026-06-18T00:00:00Z",
"created_at": "2026-06-11T09:00:00Z"
}
]
}
Submit evidence
Signed locally — your secret stays in this browser and is never sent or stored.
No keys yet? Create an API key pair in the merchant portal — the secret is shown only once. Open the merchant portal →
Submit a rebuttal for a dispute. The optional evidence text is persisted, and a dispute in needs_response moves to under_review. The full dispute is returned.
Optional attributes
- Name
evidence- Type
- string
- Description
Free-text rebuttal describing why the charge is legitimate.
Request
curl "$BASE/api/v1/disputes/dsp_1/evidence" \
-H "X-Api-Key: $KEY_ID" \
-H "X-Timestamp: $TS" \
-H "X-Signature: $SIG" \
-H "Content-Type: application/json" \
-d '{ "evidence": "Tracking 1Z999 shows delivery on 2026-06-09." }'
Response
{
"id": "dsp_1",
"order_id": "ord_2Zx9Qw8sUaM2",
"status": "under_review",
"evidence": "Tracking 1Z999 shows delivery on 2026-06-09.",
"amount": "49.90",
"currency": "USD"
}