Account links
Create account link
Changed onGenerates a URL that sends a sub-merchant to a hosted Whop page, such as the payouts dashboard or the KYC onboarding flow. Requires an API key.
post/account_links
Request
- Base URL: https://api.whop.com/api/v1
- URL: https://api.whop.com/api/v1/account_links
- Auth: HTTP bearer
Request body
Example request
{
"account_id": "biz_xxxxxxxxxxxxxx"
}Response
A successful response
Example response
{
"expires_at": "2023-12-01T05:00:00.401Z",
"url": "https://whop.com/verify-identity/biz_xxxxxxxxx/"
}Changes
- breaking
added the new required request property
- warning
removed the request property
- breaking