Features
Payments and payouts
Use the API to collect payment from users or payout users.
Collecting Payments
First, create the charge on the server using the Whop API. Then you can either:
- Open a modal in your app using the iframe SDK (recommended)
- Redirect the user to Whop’s checkout page
Server-Side: Create the Charge
Client-Side: Handle Payment (Option 1 - Modal)
Use the iframe SDK to open a payment modal (recommended for better UX):
Client-Side: Handle Payment (Option 2 - Redirect)
Alternatively, redirect the user to Whop’s checkout page:
Sending Payouts
You can send payouts to any user using their Whop username. The funds will be transferred from your company’s ledger account.