When developing a multi-merchant platform or marketplace, how to extract commissions from it is the main concern of every operator.Stripe Connect A very sophisticated solution for this need. With proper allocation, you can automate the flow of funds and ensure that every trade generates revenue for the platform at a preset percentage.
Below is a detailed guide on how to set up platform charging through Stripe Connect.
![Image [1] - Stripe Connect Platform Fees Tutorial: How to Quickly Set Up Automatic Commissions and Optimize the Flow of Funds in Merchant Accounts](https://www.361sale.com/wp-content/uploads/2026/03/20260304100104129-image.png)
Understanding Stripe Connect's Fee Logic
Before we start technology integration, we need to be clear Stripe Stripe Connect allows one "platform account" to connect to multiple "sub-accounts" (i.e. your merchants or vendors).
When a user pays on your platform, funds flow to a sub-account. During this process, the platform can set Application Fee to intercept a portion of the funds as your own income. This is the easiest and most common way to do it, as Stripe automatically calculates and separates the funds for you.
![Image [2] - Stripe Connect Platform Fees Tutorial: How to Quickly Set Up Automatic Commissions and Optimize the Flow of Funds in Your Merchant Accounts](https://www.361sale.com/wp-content/uploads/2026/03/20260304100123837-image.png)
Core Fee Model: Application Fee
This is the most direct way for the platform to make money. You directly tell Stripe how much of that order belongs to the platform when you initiate a payment request.
1. Automatic deduction model
When you call the Stripe When using a payment interface such as the Payment Intents API, you need to pass in a parameter:application_fee_amount. This value must be expressed in the smallest currency unit. For example, if you want to charge a commission of 10 RMB, the parameter value would be 1000The
2. Examples of financial flows
Let's say a customer pays $100 and you set a platform fee of $10:
- Customer Payment: 100 dollars.
- Platform Revenue: 10 (deposited into your platform balance).
- Merchant Revenue: 90 (minus Stripe's processing fee to the merchant balance).
- Stripe fees: This part is usually borne by the recipient, depending on your configuration.
![Image [3] - Stripe Connect Platform Fees Tutorial: How to Quickly Set Up Automatic Commissions and Optimize the Flow of Funds in Your Merchant Accounts](https://www.361sale.com/wp-content/uploads/2026/03/20260304100137338-image.png)
Specific steps for setting up platform charges
To realize the above functionality, you need to follow the following logic.
Step 1: Configure Connect Platform Settings
You need to enable Connect in the Stripe admin backend. On the Settings page, you'll need to fill in your platform's business information. This step is crucial because Stripe needs to verify your platform's identity to allow you to collect funds.
![Image [4] - Stripe Connect Platform Fees Tutorial: How to Quickly Set Up Automatic Commissions and Optimize the Flow of Funds in Merchant Accounts](https://www.361sale.com/wp-content/uploads/2026/03/20260304100154866-image.png)
Step 2: Onboarding your merchant account
The merchant must "connect" to your platform before they can be charged. You can generate a connection link and send it to the merchant so they can fill in their bank details. Only when the merchant's status changes to active(active) before you can initiate a transaction with fee parameters on their behalf.
![Image [5] - Stripe Connect Platform Fees Tutorial: How to Quickly Set Up Automatic Commissions and Optimize the Flow of Funds in Your Merchant Accounts](https://www.361sale.com/wp-content/uploads/2026/03/20260304100220422-image.png)
Step 3: Add the charge parameter to the code
This is the core technical aspect. Whether you use PHPThe Payment Intent is created with the following code logic in both Python and Node.js:
JavaScript
const paymentIntent = await stripe.paymentIntents.create({
amount: 10000, // Total amount of the order $100
currency: 'cny', // order total $100
payment_method_types: ['card'], // application_fee_amount: 1000, // platform_fee_amount 10
application_fee_amount: 1000, // platform receives $10
transfer_data: {
destination: 'acct_123456789', // merchant's sub-account ID
}, }
}).
In this example, the system will automatically transfer $10 to your platform account, and the rest of the funds will go to the merchant's account after deducting the Stripe base fee.
Platform fees for processing refunds
Refunds are an easy part to overlook. If a customer requests a full refund, by default, the platform charges a commission ofwill not (act, happen etc)Automatically refunded.
If you want to give the platform fee back to the customer when you refund them as well, you need to set up the refund_application_fee: true. Otherwise, that commission stays in your account and the stress of a refund is all on the merchant. This usually needs to be stated up front in your platform's terms of service.
![Image [6] - Stripe Connect Platform Fees Tutorial: How to Quickly Set Up Automatic Commissions and Optimize the Flow of Funds in Merchant Accounts](https://www.361sale.com/wp-content/uploads/2026/03/20260304100239664-image.png)
Some suggestions for improving the efficiency of fee collection
- Maintain transparency: The platform draw for each order is clearly displayed in the merchant's back office. This reduces subsequent communication costs and billing disputes.
- Flexibility in setting rates: Don't write the rates to death in the code. You can dynamically read the draw rate from the database based on the merchant's tier or item type.
- Focus on tax compliance: Fees charged by the platform are part of your business income. It is recommended to export Stripe's financial statements periodically for accounting purposes.
Stripe Connect Greatly simplifies complex transfer logic. As long as one understands the application_fee_amount usage, you've mastered the core tool of platform monetization.
Link to this article:https://www.361sale.com/en/87085The article is copyrighted and must be reproduced with attribution.




















![Emoji[wozuimei]-Photonflux.com | Professional WordPress repair service, worldwide, rapid response](https://www.361sale.com/wp-content/themes/zibll/img/smilies/wozuimei.gif)
![Emoticon[baoquan] - Photon Wave Network | Professional WordPress Repair Services, Worldwide Coverage, Rapid Response](https://www.361sale.com/wp-content/themes/zibll/img/smilies/baoquan.gif)

No comments