Connect Platform

Multi-Party Payments

Build marketplaces and platforms with complex payment flows, multi-party transactions, and automated payouts.

Platform Use Cases

Marketplaces
Multi-vendor e-commerce platforms
  • • Split payments to vendors
  • • Platform fee collection
  • • Automated payouts
  • • Vendor onboarding
Service Platforms
On-demand service providers
  • • Service provider payments
  • • Commission management
  • • Instant payouts
  • • Rating and reviews
Crowdfunding
Fundraising and investment platforms
  • • Campaign fund collection
  • • Conditional transfers
  • • Refund management
  • • Investor distributions

How Connect Works

1
Onboard Connected Accounts

Vendors and service providers create accounts on your platform with KYC verification.

2
Process Payments

Collect payments from customers and automatically split funds according to your business logic.

3
Distribute Payouts

Automatically transfer funds to connected accounts with configurable payout schedules.

Implementation

Create Connected Account
Onboard vendors to your platform
const account = await payaiml.accounts.create({
  type: 'express',
  country: 'US',
  email: 'vendor@example.com',
  capabilities: {
    card_payments: { requested: true },
    transfers: { requested: true },
  },
  business_type: 'individual',
  individual: {
    first_name: 'John',
    last_name: 'Doe',
    email: 'vendor@example.com',
  },
});

// Generate onboarding link
const accountLink = await payaiml.accountLinks.create({
  account: account.id,
  refresh_url: 'https://example.com/reauth',
  return_url: 'https://example.com/return',
  type: 'account_onboarding',
});
Split Payments
Automatically distribute funds to multiple parties
const paymentIntent = await payaiml.paymentIntents.create({
  amount: 10000, // $100.00
  currency: 'usd',
  payment_method_types: ['card'],
  // Platform keeps $5.00 as commission
  application_fee_amount: 500,
  // Transfer $95.00 to connected account
  transfer_data: {
    destination: 'acct_connected_account_id',
  },
  metadata: {
    order_id: '12345',
    vendor_id: 'vendor_123',
  },
});

// Or create separate transfers
const transfer = await payaiml.transfers.create({
  amount: 9500,
  currency: 'usd',
  destination: 'acct_connected_account_id',
  transfer_group: 'order_12345',
});

Platform Features

Compliance & KYC
Automated verification and compliance
  • • Identity verification
  • • Document collection
  • • Risk assessment
  • • Ongoing monitoring
Instant Payouts
Real-time fund transfers
  • • Same-day transfers
  • • Instant payouts
  • • Scheduled disbursements
  • • Multi-currency support
Fee Management
Flexible commission structures
  • • Percentage-based fees
  • • Fixed fee amounts
  • • Tiered pricing
  • • Dynamic fee calculation

Build your marketplace today

Start creating multi-party payment flows with PayAiML Connect.