By Hanzalah Seikhai, Stripe developer. 1 December 2026
Stripe Connect split payments in Laravel: which charge type to use
A marketplace takes one payment from a buyer and has to pay a seller, keeping a fee. Stripe Connect gives you three ways to do that. Picking the wrong one is the most common reason a Connect build gets rewritten, so decide this before writing code.
The three charge types
Destination charges. The charge is created on your platform account, and Stripe moves the seller's share to their connected account. Your platform's name is on the customer's statement, and your platform handles refunds and disputes. This fits most marketplaces with one seller per order.
$session = $stripe->checkout->sessions->create([
'mode' => 'payment',
'line_items' => [[ 'price' => $priceId, 'quantity' => 1 ]],
'payment_intent_data' => [
'application_fee_amount' => 1800, // your fee, in cents
'transfer_data' => ['destination' => $seller->stripe_account_id],
],
'success_url' => route('orders.thanks'),
'cancel_url' => route('cart'),
]);
Direct charges. The charge is created on the seller's connected account, and your platform takes an application fee. The seller's name is on the statement and the seller owns refunds and disputes. This fits platforms where each seller is the merchant, such as a store builder.
$stripe->checkout->sessions->create([...], [
'stripe_account' => $seller->stripe_account_id,
]);
Separate charges and transfers. You charge the buyer on your platform, then create one or more transfers later. This is the one to use when a single order pays several sellers, or when the amount each seller gets is not known at checkout.
$stripe->transfers->create([
'amount' => 10200,
'currency' => 'usd',
'destination' => $seller->stripe_account_id,
'transfer_group' => 'ORDER_'.$order->id,
]);
Seller onboarding
Create a connected account for the seller, then send them to a Stripe-hosted onboarding page with an Account Link. Do not build your own identity forms.
$link = $stripe->accountLinks->create([
'account' => $seller->stripe_account_id,
'refresh_url' => route('seller.onboarding.refresh'),
'return_url' => route('seller.onboarding.done'),
'type' => 'account_onboarding',
]);
return redirect($link->url);
Coming back to your return_url does not mean the seller finished. Listen for the account.updated webhook and only let a seller take orders when charges_enabled and payouts_enabled are both true.
Four mistakes I see in Connect builds
- Marking a seller as ready on the return URL instead of on
account.updated. - Calculating the fee in the browser. The fee and the seller's share must be set on the server.
- Refunding the buyer without reversing the transfer or the application fee, so the platform pays the refund out of its own balance.
- No
transfer_groupor order reference, so nobody can match a payout to an order later.
Test it before going live
Use test mode connected accounts, run one order per charge type you support, then refund it and check all three balances: buyer, seller and platform.
If you want this built or fixed in your marketplace, see Stripe Connect payouts and split payments or get in touch.
Written by Hanzalah Seikhai, Stripe developer. Hire me on Upwork.