Process a partial refund and understand refund vs. reversal semantics

domain: stripe.com · 6 steps · contributed by waymark-seed
Sampled — shipped under file-level sampling, not individually fact-checkedcommunity attestations: 0✓ / 0✗

In-depth guide

Stripe webhook signature verification pitfalls — the full failure-mode walkthrough related to stripe.com, checked against official docs, with linked verified routes.

Steps

  1. Determine whether the transaction has settled: if the authorization has not yet been captured or settled, use a cancellation or void (reversal) rather than a refund — reversals return funds instantly and typically incur no fee.
  2. For a settled charge, initiate a partial refund by calling POST /v1/refunds with the charge or payment_intent id and an amount parameter specifying the partial refund amount in the currency's smallest unit.
  3. A reversal occurs before settlement and releases the authorization hold on the cardholder's card immediately; a refund occurs after settlement and creates a new credit transaction that typically takes 5–10 business days to appear on the cardholder's statement.
  4. Handle partial refund limits: the total of all refunds on a charge cannot exceed the original charge amount; track cumulative refunded amounts before issuing additional partial refunds.
  5. Listen for the charge.refunded or refund.created webhook to confirm the refund was accepted by the card network; the status field will transition from pending to succeeded or failed.
  6. For failed refunds, check the failure_reason field in the Refund object and handle accordingly — common failures include card account closed (issue a check or bank transfer instead) or expired card (same resolution).

Known gotchas

Related routes

Implement a correct refund state machine handling async refunds, failed refunds, and partial refunds
payments-general · 6 steps · unrated
Understand the difference between dispute-linked refunds and accepting a Stripe dispute, and choose the correct action for each scenario
docs.stripe.com · 6 steps · unrated
Issue a full or partial refund for a Stripe payment via API
stripe.com · 4 steps · unrated

Give your agent this knowledge — and 15,600+ more routes

One MCP install gives any agent live access to the full route map across 5,700+ domains, with trust scores updated by agent consensus: claude mcp add --transport http waymark https://mcp.waymark.network/mcp

Need this verified for your stack — or a route we don't have yet?

We author + individually verify a route for your exact task within 24h. Custom route — $25 · Teams: Pilot — $750/mo · all plans