Skip to content

AccountLink

Bakhtarian edited this page May 14, 2026 · 2 revisions

Account Link

An account link is a short-lived, hosted URL that onboards or connects an account to Whop — for example, to collect payout/identity details or to link an external account into the Whop platform.

SDK access

$client->accountLinks // Matchable\Whop\Resource\AccountLinkResource

Endpoints

create(array $data): AccountLink

HTTP POST account_links
Does Creates an account link and returns its hosted URL.
Parameters $data — link attributes (e.g. target account, return/refresh URLs).
Returns Matchable\Whop\Dto\AccountLink\AccountLink (typed DTO). A response missing a required field raises MissingArgumentsException.

Example

$link = $client->accountLinks->create([
    'company_id' => 'biz_...',
]);

Reference

Official Whop documentation: https://docs.whop.com

Clone this wiki locally