Configure Stripe Connect platform fee collection via application_fee on direct charges

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. For direct charges (where the connected account is the merchant of record), create the PaymentIntent using the connected account's API key or with the Stripe-Account header set to the connected account ID.
  2. Include application_fee_amount in the PaymentIntent creation request to specify the platform's fee in the smallest currency unit.
  3. Alternatively, set application_fee on a Charge object if using the legacy Charges API.
  4. The fee is automatically captured when the charge succeeds and appears as an ApplicationFee object on the platform account.
  5. List platform fee income via GET /v1/application_fees filtered by date range; each has a balance_transaction on the platform account.
  6. If you need to refund a fee, create an ApplicationFee Refund via POST /v1/application_fees/{id}/refunds.

Known gotchas

Related routes

Collect a platform fee on a Stripe Connect destination charge using application_fee_amount
stripe.com · 6 steps · unrated
Collect a platform application fee using application_fee_amount on a Connect charge and issue a fee refund when needed
docs.stripe.com · 6 steps · unrated
Set up Stripe Connect destination charges for a marketplace
stripe-connect · 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