- Direct charges: Create a checkout for the connected account and collect an application fee
- Transfers: Collect payment to your platform account and transfer funds to connected accounts
Direct charges
Create a checkout configuration with a connected account’s company ID to charge customers directly on the connected account. The connected account is responsible for Whop fees, refunds, and disputes.How it works
- Create a checkout configuration for your connected account with an
application_fee_amount - When a customer purchases, the charge is created directly on the connected account
- Your platform collects the application fee, and the remaining amount goes to the connected account
- The connected account handles any disputes or refunds for the transaction
Example
company_idis the connected account’s company ID where the charge will be createdplan.initial_priceis the total payment amount (10.00 USD)plan.application_fee_amountis the fee your platform collects (1.23 USD)- The connected account receives 8.77 USD (10.00 - 1.23)
Limitations
- The
application_fee_amountmust be positive and less than the total payment amount - The application fee collected is capped at the captured amount of the payment
Transfers
Alternatively, collect payment to your platform account and transfer funds to connected accounts after the fact:origin_idis your platform’s company ID (where funds are deducted from)destination_idis the connected account’s company ID (where funds are credited to)amountis the amount to transfermetadatastores custom data for your reference
Which flow should I use?
| Direct charges | Transfers | |
|---|---|---|
| Fees | Connected account pays Whop fees | Platform pays Whop fees |
| Disputes | Connected account handles disputes | Platform handles disputes |
| Refunds | Connected account handles refunds | Platform handles refunds |
API Reference
Create Checkout Configuration
Create checkout configurations with application fees
Create Transfer
Transfer funds between accounts
Related resources
Accept payments
Learn about checkout links and embedded checkout
Enroll connected accounts
Onboard connected accounts to your platform

