Tools•generator
Stripe Connect for Marketplaces
Generates code snippets for splitting payments between platform and sellers using Stripe Connect's API.
Try the tool
client runnerGenerated Code
Run the tool to see output.
Examples
Basic Split Configuration
{
"platform_fee_percent": 10,
"seller_fee_percent": 5,
"currency": "USD",
"payment_method": "card"
}Expected output
const split = { platform_fee_percent: 10, seller_fee_percent: 5, currency: 'USD', payment_method: 'card' };EUR Split with Bank Transfer
{
"platform_fee_percent": 8,
"seller_fee_percent": 7,
"currency": "EUR",
"payment_method": "bank_transfer"
}Expected output
const split = { platform_fee_percent: 8, seller_fee_percent: 7, currency: 'EUR', payment_method: 'bank_transfer' };How it works
Inputs define the fee structure and payment parameters. The tool generates a JavaScript object literal compatible with Stripe Connect's API for transaction splitting.