Create PayPal Link Session
Starts a Log in with PayPal session so PayPal itself can confirm the account holder owns a verified PayPal account. Send the holder to authorize_url; after they log in, PayPal returns them to Whop, and Whop redirects the browser to your return_url with a paypal_link_token query parameter to pass to POST /payouts/methods. If the login fails or is canceled, return_url receives an error query parameter (paypal_login_canceled or paypal_login_failed) instead. The payout method saved this way pays the email on the PayPal account, and its holder name must match the name on the account's payout setup. PayPal login is rolling out per account: until it is enabled for the account this answers 403 forbidden, and supports_paypal_login on GET /payouts/supported_methods is false.
Request
- Base URL: https://api.whop.com/api/v1
- URL: https://api.whop.com/api/v1/payouts/paypal_link_sessions
- Auth: HTTP bearer
Headers
A unique key that makes this request safe to retry. See Idempotent requests.
Request body
Example request
{
"account_id": "biz_xxxxxxxxxxxxxx",
"destination_currency": "usd",
"return_url": "https://example.com/settings/payouts",
"supported_payout_method_id": "podst_xxxxxxxxxxxxxx"
}Response
PayPal login started
Example response
{
"authorize_url": "https://www.paypal.com/connect",
"expires_at": "2026-01-01T12:00:00.000Z"
}Changes
No operation changes recorded.