Collect a platform application fee using application_fee_amount on a Connect charge and issue a fee refund when needed

domain: docs.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 docs.stripe.com, checked against official docs, with linked verified routes.

Steps

  1. Add application_fee_amount (in the currency's smallest unit) to a PaymentIntent or charge creation request; this amount is deducted from the charge and held in the platform's balance as an application fee
  2. Retrieve the ApplicationFee object via GET /v1/application_fees/{id} or list fees via GET /v1/application_fees to audit collected fees per connected account
  3. To refund an application fee, POST /v1/application_fees/{id}/refunds with an optional amount; omitting amount refunds the full fee
  4. Understand that application fee refunds do not automatically trigger a refund to the customer — they only return the fee to the connected account's balance; issue the charge refund separately if needed
  5. When a charge is fully refunded, Stripe automatically reverses any application fee; for partial charge refunds, the fee is partially reversed proportionally unless you explicitly issue a fee refund
  6. Monitor fee-related events (application_fee.created, application_fee.refunded) via webhooks to maintain an accurate platform revenue ledger

Known gotchas

Related routes

Collect a platform fee on a Stripe Connect destination charge using application_fee_amount
stripe.com · 6 steps · unrated
Configure Stripe Connect platform fee collection via application_fee on direct charges
stripe.com · 6 steps · unrated
Implement a PayPal Commerce Platform multiparty payment using purchase_unit payee and platform_fees to route funds and collect a fee
developer.paypal.com · 6 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