-
Notifications
You must be signed in to change notification settings - Fork 0
AccessToken
An access token is a credential issued by Whop that grants scoped, programmatic access to the API on behalf of a company or user. Tokens are typically minted for OAuth-style integrations or for delegating limited permissions to a third party.
$client->accessTokens // Matchable\Whop\Resource\AccessTokenResource| HTTP | POST access_tokens |
| Does | Creates a new access token. |
| Parameters |
$data — token attributes (e.g. scopes, target company/user). |
| Returns |
array — the decoded API response. |
$token = $client->accessTokens->create([
'scopes' => ['read', 'write'],
]);Official Whop documentation: https://docs.whop.com
Core Company · AccountLink · File · AccessToken · AuthorizedUser · User · Member · Webhook
Payments & Billing Payment · Checkout · Plan · Product · Membership · Refund · Invoice · PromoCode · PaymentMethod · SetupIntent
Platform & Finance Transfer · FeeMarkup · Topup · Withdrawal · LedgerAccount · PayoutAccount · PayoutMethod
Disputes Dispute · DisputeAlert · ResolutionCenter
Commerce Shipment · Lead · Entry · Review · Affiliate · Stats
Experiences & Courses Experience · Course · CourseChapter · CourseLesson · CourseLessonInteraction · CourseStudent
Communication ChatChannel · DmChannel · DmMember · Message · Reaction · Forum · ForumPost · SupportChannel · Notification
Advertising AdCampaign · AdGroup · Ad
Apps & AI App · AppBuild · AiChat · CompanyTokenTransaction
Verifications Verification