Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
193 commits
Select commit Hold shift + click to select a range
86cf6c6
Feat(Invoices): Add plan currency to invoice API
Jun 3, 2026
a68e511
fix(backend): update account fields
Jun 3, 2026
f2d8a32
Route pixel conversions through worker proxy with edge geo
Jun 5, 2026
76b9af5
feat(ads): ad campaigns, ad groups, and ads root tables + public API …
Jun 5, 2026
bb2079e
Document swap execute/status endpoints in OpenAPI + SDK
Jun 5, 2026
a374b19
Add GET /api/v1/financial-activity endpoint
Jun 8, 2026
a8c8a33
fix(ads): move ad group titles to `title` column and add indexes
Jun 8, 2026
cb2032d
feat(ads): forward custom pixel events to Meta CAPI (ENG-23505)
Jun 8, 2026
e741c76
Build SDK
danielschwartz4 Jun 9, 2026
d4f4aca
remove stlc
Jun 9, 2026
b13d3f2
feat(ads): normalize and classify ad platform issues
Jun 9, 2026
83f00f7
feat(api): native /users resource + date-based API versioning
Jun 9, 2026
7e71584
feat(pixel): add new conversion events and update dev panel
Jun 10, 2026
d2a0f52
Make /plans a native V1 API resource, unblocking new plan endpoints
Jun 10, 2026
c869b86
Add all-time date range to ads reporting
Jun 10, 2026
9bc9baf
Track stablecoin withdrawals via the native financial-activity API
Jun 10, 2026
acba466
Rename plans API company fields to account
Jun 10, 2026
646d14e
feat(swaps): accept token symbols + add swap id to public swaps API
Jun 10, 2026
1acf284
Serve real Fragment ledger balances on the wallet balance API for sta…
Jun 10, 2026
8c803e3
feat(payments): add POST /api/v1/plans/:id/calculate_tax endpoint for…
Jun 10, 2026
35829b1
Show crypto and wire deposits in the balance page top-ups tab
Jun 11, 2026
f51bbd1
feat(bounties): add business goal type to bounties, scaffold ios anal…
Jun 11, 2026
82fb96f
Create claim links through the wallet Send API
Jun 11, 2026
61a9ac3
Add bank deposit data to deposits API
Jun 11, 2026
e9d984c
Add transaction details to crypto deposit rows in the financial-activ…
Jun 11, 2026
f1e3a44
Products endpoints to v1 API
Jun 11, 2026
68881f0
Move wallet balance onto the Account and User objects
Jun 11, 2026
bb3ab49
Add public GET /payouts API and power the Withdrawals tab with it
Jun 11, 2026
691a4f7
Revert "Products endpoints to v1 API (#13130)"
Jun 11, 2026
9f854ae
Add card transactions and swaps to financial activity endpoint
Jun 11, 2026
e551005
Make POST /transfers the single money-out API (ledger transfers, wall…
Jun 11, 2026
a61c5c6
allow making plans without a product id
Jun 11, 2026
981e1ab
Public hosted deposit page so anyone can fund a business by link
Jun 12, 2026
78db1d7
Rename POST /deposits response field account to account_id
Jun 12, 2026
a16c132
Return cashback on card transactions in the financial activity API
Jun 12, 2026
8551722
feat(ads): sort by any metric company-wide and let internal users see…
Jun 12, 2026
2632eae
Centralize ads writes through platform adapters
Jun 12, 2026
f779c92
Flatten the account/user balance: top-level total_usd + one balances …
Jun 12, 2026
b564ee0
bring hidden product v1 endpoint
Jun 13, 2026
d754ce2
Let advertisers set a desired cost per result on the campaign
Jun 13, 2026
9c51464
Add `ledger_account.funds_available` webhook for when funds become wi…
Jun 13, 2026
0613136
Add `membership.trial_ending_soon` webhook (fires ~72h before a trial…
Jun 13, 2026
98be847
Prevent ads Meta-sync from crashing on over-long campaign/ad-set/ad n…
Jun 14, 2026
745a701
Add public GET /api/v1/cards endpoint for listing issued Whop Cards
Jun 14, 2026
9d54993
feat(payments): add settlement-date dimension to financial-activity API
Jun 14, 2026
3b93111
docs(api): replace "company" with "account" in Experimental API surface
Jun 15, 2026
341bf9a
docs(metadata): fix API metadata limits (100 chars/key, 500 chars/value)
Jun 15, 2026
77d11ed
Expose card_id and per-tx details on financial-activity card_transaction
Jun 15, 2026
6c3135d
feat(identity): verifications REST API (KYC/KYB)
Jun 16, 2026
8b99243
Add GET /cards/:card_id with secrets, remove reveal_secrets from list
Jun 16, 2026
bba0ac7
Feat(Txn Risk Scores): Connect transaction risk scores to dashboard p…
Jun 16, 2026
e262c21
feat: chat webhooks
Jun 16, 2026
a2613c1
feat(backend): endpoint for /referrals/businesses
Jun 16, 2026
8997802
feat: 2fa enforcement on sensitive endpoints (backend only)
Jun 17, 2026
3da2cc9
Add three_ds_verified to payment and setup intent APIs
Jun 17, 2026
f51a243
Add POST /api/v1/cards endpoint for card issuance
Jun 17, 2026
1fe66ea
chore(backend): pagination consolidation
Jun 17, 2026
d504610
Remove the unused wallets REST API
Jun 17, 2026
68c1d3e
Fix cards REST API returning spend limit multiplied by 100
Jun 17, 2026
e25bbfe
Add recommended actions to account API
Jun 17, 2026
cf8ef2e
feat(payouts): allow platforms to cover withdrawal fees for connected…
Jun 17, 2026
96baf1b
chore(backend): remove referred_by_bot_id code references
Jun 17, 2026
1f188d3
Scheduled bounties: auto-publish a bounty on a schedule (one-time or …
Jun 17, 2026
0d68cf1
Add a realistic sample response to the Ledger Activity API docs
Jun 18, 2026
ebb720f
feat(identity): return alpha-2 country code from IdentityProfile GraphQL
Jun 18, 2026
f227fc9
Create IdentityProfile then Provision Payout Account
Jun 18, 2026
45a2beb
Publish brand illustrations publicly + add recommended-action icons t…
Jun 18, 2026
bfa38a0
feat(verifications): persist business_website for individual KYC
Jun 18, 2026
df3ed6a
Enrich top-up activity rows with payment status and method
Jun 18, 2026
747a61a
fix(payments): align tax ID types with Numeral's supported list
Jun 18, 2026
936783e
Checkout sessions v1 port
Jun 18, 2026
38b972a
feat(api): add payment status, capabilities, and actions to accounts
Jun 19, 2026
222bc5a
feat(api): social accounts REST [ENG-23741]
Jun 19, 2026
2521b53
Ads: dashboard Meta connect dual-writes to social_accounts + auto-sha…
Jun 20, 2026
0eda3ed
feat(api): Add delete endpoint to social_accounts resource
Jun 21, 2026
cb0032a
docs(api): clearer account payment-status field descriptions
Jun 22, 2026
e7f957d
feat(backend): update referral fields
Jun 23, 2026
6cbfcac
feat(ads): REST API
Jun 23, 2026
b5bb8e3
Fetch a social account's Facebook/Instagram posts over the REST API
Jun 24, 2026
fdf91d8
Guard Zerion deposit notify on nil ledger account + add aura card brand
Jun 26, 2026
8f2d68b
feat(backend): sortable business referrals + clearer earnings sort keys
Jun 26, 2026
56ed50a
feat(payouts): unify payout verification and audit RMIs as informatio…
Jun 27, 2026
7b1de4b
fix(ads): complete result counts e2e ENG-23970 ENG-23941
Jun 27, 2026
b9a960a
Add custom audience uploads for ads
Jun 27, 2026
3f3381e
fix(backend): sort standardization
Jun 27, 2026
67a9adc
docs(api): show status in referral earnings example
Jun 27, 2026
4677c67
Deposits API: crypto options as a per-network list with tokens & icons
Jun 28, 2026
d3674f6
Issue company cards over the public REST API
Jun 29, 2026
d78fbfe
add product tax code id field to Update Product docs
Jun 29, 2026
869c27a
Whop Tax Service: Add tax settings and update business_address to Pub…
Jun 29, 2026
f16d61c
Improve Cards API resource copy
Jun 29, 2026
8566295
feat(platform-api): unified Stats API
Jun 30, 2026
9aa9180
feat(ads): campaign creation flow uses REST part 1
Jun 30, 2026
e681437
fix: Honor "Accept local currency payments" toggle on invoices
Jun 30, 2026
0a3469a
Rename plans expiration sort key
Jun 30, 2026
b215275
feat(identity): render requested_information + scope verify RFIs to t…
Jun 30, 2026
808096a
feat(backend): add actions to referrals and refactor
Jun 30, 2026
ad29592
Expose the referred account's owner on the business referral API
Jul 1, 2026
5f107f7
fix(backend): business referral api changes
Jul 1, 2026
6ad7b7e
feat(ads): REST ad messaging, existing-post, multi-advertiser, lead f…
Jul 1, 2026
1cb4c9f
Improve Audiences API docs
Jul 1, 2026
357abf7
Require a $5 minimum total budget on workforce bounties
Jul 1, 2026
2a577b6
Fix lead form ad creation by removing the undeliverable cover image a…
Jul 1, 2026
beb3bf4
Show creators specific, actionable ad issue messages
Jul 2, 2026
c951728
feat(ads): migrate dashboard to REST end to end
Jul 2, 2026
0d6b9d7
feat(backend): backfill and update referral caches
Jul 2, 2026
7c0483f
feat(checkout): per-embed shipping address collection (embedded + exp…
Jul 2, 2026
8452acb
add email otp to enhanced session
Jul 2, 2026
d61026f
Show visitor attribution in dashboard users
Jul 2, 2026
682c765
add more richness to transfers in financial activity API
Jul 2, 2026
9c57b1f
Add PATCH /api/v1/cards/:card_id to update, freeze, or cancel cards
Jul 2, 2026
7e3b216
feat(api): business affiliates global mode
Jul 2, 2026
252de6a
Show why an ad campaign, ad group, or ad isn't delivering in the publ…
Jul 2, 2026
9bc74a7
fix(ads): results sorting ranks by the Whop-attributed numbers the ta…
Jul 2, 2026
346d18b
fix(ads): result mapper throwing 200k sentry errors a month
Jul 2, 2026
52a5d1d
feat(ads): report REST ad stats in the caller's timezone
Jul 2, 2026
9ddd70f
Let admins inspect visitors across companies
Jul 2, 2026
f88a37c
feat(backend): business referral stats metrics
Jul 2, 2026
b335df6
Clarify Calculate Tax docs
Jul 2, 2026
2d677ad
Fix Facebook existing-post ads being created as Instagram media
Jul 3, 2026
90a818d
feat(stats): native balance metrics + GMV source breakdown
Jul 3, 2026
52e9f1e
Read existing-post source explicitly in the ad editor (don't guess by…
Jul 3, 2026
17b069e
feat(backend): return income/expense breakdown on referral earnings
Jul 3, 2026
a37168f
fix(backend): clearer field names on referral financial_activity lines
Jul 3, 2026
1638638
feat(backend): business referral leaderboard
Jul 3, 2026
38425fe
feat(backend): Add date/activity filters and a transaction-count metr…
Jul 3, 2026
1c03de3
feat(backend): day/month/year time windows for the business referral …
Jul 4, 2026
1ad1694
feat(backend): self-serve Whop partner enrollment endpoint
Jul 4, 2026
a9df69d
chore(backend): remove unused GET /referrals/businesses/earnings
Jul 4, 2026
4b3ddcc
feat(stats): yearly interval on /stats metrics
Jul 5, 2026
e39f1c0
Add a Checkout Configurations docs overview
Jul 6, 2026
51e332e
Clarify Verifications API docs
Jul 6, 2026
a7739c8
Allow promo codes on off-session API charges
Jul 6, 2026
7d119fc
feat(ads): stats metrics take entity-id arrays and convert_to
Jul 6, 2026
0f7c4e1
Name your business when creating it through the API
Jul 7, 2026
7c988cc
Speed up global people searches
Jul 7, 2026
e2f3951
List saved payout methods with fee quotes on the public API
Jul 7, 2026
b3e2385
Show ads as "Creation failed" instead of a stale "Active" when Meta n…
Jul 7, 2026
bd92164
feat(tax): seed granular numeral product categories
Jul 7, 2026
35c145d
Show no_ads / no_ad_groups on paused campaigns and ad groups after de…
Jul 7, 2026
a9c9b74
[codex] Restore product welcome message API param
Jul 7, 2026
726b5c5
feat(ads): show lead form answers on visitor journey lead events [ENG…
Jul 7, 2026
621af05
Show all available payout rails on the payout methods endpoint
Jul 7, 2026
dda086b
Rename POST /events account identifier
Jul 7, 2026
73c0dbe
Apps can claim a public route: slug resolution, hosted_url, web build…
Jul 7, 2026
db67cee
feat(partners): l30 top earners leaderboard + investigate-mode access
Jul 8, 2026
73d18a1
Campaign bid strategy and budget-level changes now persist instead of…
Jul 8, 2026
058e1d3
feat(payouts): let internal skip masspay account validation
Jul 8, 2026
a8f3054
Standardized balance on the user resource (personal + owned companies)
Jul 9, 2026
ab759bc
iso iso timestamp for checkout dates
Jul 9, 2026
6bb4204
Let app developers store encrypted secrets and use them in hosted app…
Jul 9, 2026
972138d
Let users fetch their own deposit address from the deposits API
Jul 9, 2026
b9b3b8d
Make DELETE /verifications internal-only
Jul 9, 2026
68450e8
Second-tier partner payouts: earn 10% on the partners you refer
Jul 9, 2026
6b4b796
Keep the API, docs, SDKs, and CLI in sync: one public spec, one copy …
Jul 9, 2026
c0f052f
fix(ads): picking an existing Meta lead form no longer strands lead a…
Jul 9, 2026
47d5a91
Ads: crop modal opens matching the preview and restores your saved crop
Jul 9, 2026
a346be3
Ad delivery statuses now tell the truth: drafts cascade, Meta review …
Jul 9, 2026
3e48e01
feat(partners): show who I referred instead of the business owner
Jul 9, 2026
ced3f74
Add personal balance history to the user resource (include_balance_hi…
Jul 9, 2026
e6f95f8
Capture hosted apps' console logs and expose them via the API
Jul 9, 2026
58bc57f
Llm recommends actions based on business context
Jul 9, 2026
8f8efe7
Let advertisers create a Whop-managed Facebook page for ads
Jul 10, 2026
0412591
fix: media API video generation failing when multiple reference image…
Jul 10, 2026
145eecc
LLM-tailored copy + business impact score
Jul 10, 2026
6c1895f
Add Tracking API resource root pages
Jul 10, 2026
4bac549
Add Media API resource root page
Jul 10, 2026
975c36c
Add Social Accounts API resource root page
Jul 10, 2026
a83e1d0
Home Activity now spans all your businesses + personal (not just pers…
Jul 10, 2026
44b652f
feat(ads): add account preferences API, starting with ads payment met…
Jul 10, 2026
8c88265
Add business-structure selection to identity (KYC) onboarding
Jul 10, 2026
02968f3
Partners page now uses the shared web table component for referred bu…
Jul 10, 2026
a0c32a1
/partners: fix column sorting and remove the chart's custom date picker
Jul 10, 2026
917cd71
Create the POST /payouts REST API endpoint
Jul 10, 2026
70833ea
feat: rest user earnings
Jul 10, 2026
715c818
feat(backend): filter business referral stats by referred person
Jul 11, 2026
4b3e358
Improve beta API resource docs
Jul 11, 2026
e0ff002
fix(ads): show video and boosted-post thumbnails in the ads tables
Jul 11, 2026
7d12290
feat(api): workforce bounties join the experimental public API
Jul 11, 2026
2933587
feat(api): move /referrals partner endpoints under /partners
Jul 11, 2026
51e1c5c
recommended actions sub endpoint
Jul 11, 2026
272bd55
fix ledger line type rest API filter in dashboard home page
Jul 12, 2026
67c612d
Revert "fix ledger line type rest API filter in dashboard home page"
Jul 12, 2026
a2ad08b
perf(backend): serve referral leaderboard from clickhouse
Jul 12, 2026
5cec77f
Verify identity via the API in one request — documents inline, nothin…
Jul 13, 2026
01c36e0
Clean up and bucket public Verifications API docs
Jul 13, 2026
4c44ce1
Validate Meta placement positions so bad values are rejected at the A…
Jul 13, 2026
088e7a8
Provision Whop Facebook pages asynchronously to stop orphaned pages
Jul 13, 2026
1ffc960
Target partners_home_page Statsig gate on live is_whop_partner via REST
Jul 13, 2026
5bdcf8d
Return the refund id on the refund payment API response
Jul 14, 2026
b5b5a51
Unfreeze the TypeScript and Ruby SDKs after a month of failed builds
Jul 14, 2026
bfb6588
Show custom audience size and Facebook match estimates
Jul 14, 2026
11e5514
Break custom pixel events out by name in ads reporting
Jul 14, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 1 addition & 1 deletion .stats.yml
Original file line number Diff line number Diff line change
@@ -1 +1 @@
configured_endpoints: 226
configured_endpoints: 271
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ It is generated with [Stainless](https://www.stainless.com/).

Use the Whop MCP Server to enable AI assistants to interact with this API, allowing them to explore endpoints, make test requests, and use documentation to help integrate this SDK into your application.

[![Add to Cursor](https://cursor.com/deeplink/mcp-install-dark.svg)](https://cursor.com/en-US/install-mcp?name=%40whop%2Fmcp&config=eyJjb21tYW5kIjoibnB4IiwiYXJncyI6WyIteSIsIkB3aG9wL21jcCJdLCJlbnYiOnsiV0hPUF9BUElfS0VZIjoiTXkgQVBJIEtleSIsIldIT1BfV0VCSE9PS19TRUNSRVQiOiJNeSBXZWJob29rIEtleSIsIldIT1BfQVBQX0lEIjoiYXBwX3h4eHh4eHh4eHh4eHh4In19)
[![Install in VS Code](https://img.shields.io/badge/_-Add_to_VS_Code-blue?style=for-the-badge&logo=data:image/svg%2bxml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGZpbGw9Im5vbmUiIHZpZXdCb3g9IjAgMCA0MCA0MCI+PHBhdGggZmlsbD0iI0VFRSIgZmlsbC1ydWxlPSJldmVub2RkIiBkPSJNMzAuMjM1IDM5Ljg4NGEyLjQ5MSAyLjQ5MSAwIDAgMS0xLjc4MS0uNzNMMTIuNyAyNC43OGwtMy40NiAyLjYyNC0zLjQwNiAyLjU4MmExLjY2NSAxLjY2NSAwIDAgMS0xLjA4Mi4zMzggMS42NjQgMS42NjQgMCAwIDEtMS4wNDYtLjQzMWwtMi4yLTJhMS42NjYgMS42NjYgMCAwIDEgMC0yLjQ2M0w3LjQ1OCAyMCA0LjY3IDE3LjQ1MyAxLjUwNyAxNC41N2ExLjY2NSAxLjY2NSAwIDAgMSAwLTIuNDYzbDIuMi0yYTEuNjY1IDEuNjY1IDAgMCAxIDIuMTMtLjA5N2w2Ljg2MyA1LjIwOUwyOC40NTIuODQ0YTIuNDg4IDIuNDg4IDAgMCAxIDEuODQxLS43MjljLjM1MS4wMDkuNjk5LjA5MSAxLjAxOS4yNDVsOC4yMzYgMy45NjFhMi41IDIuNSAwIDAgMSAxLjQxNSAyLjI1M3YuMDk5LS4wNDVWMzMuMzd2LS4wNDUuMDk1YTIuNTAxIDIuNTAxIDAgMCAxLTEuNDE2IDIuMjU3bC04LjIzNSAzLjk2MWEyLjQ5MiAyLjQ5MiAwIDAgMS0xLjA3Ny4yNDZabS43MTYtMjguOTQ3LTExLjk0OCA5LjA2MiAxMS45NTIgOS4wNjUtLjAwNC0xOC4xMjdaIi8+PC9zdmc+)](https://vscode.stainless.com/mcp/%7B%22name%22%3A%22%40whop%2Fmcp%22%2C%22command%22%3A%22npx%22%2C%22args%22%3A%5B%22-y%22%2C%22%40whop%2Fmcp%22%5D%2C%22env%22%3A%7B%22WHOP_API_KEY%22%3A%22My%20API%20Key%22%2C%22WHOP_WEBHOOK_SECRET%22%3A%22My%20Webhook%20Key%22%2C%22WHOP_APP_ID%22%3A%22app_xxxxxxxxxxxxxx%22%7D%7D)
[![Add to Cursor](https://cursor.com/deeplink/mcp-install-dark.svg)](https://cursor.com/en-US/install-mcp?name=%40whop%2Fmcp&config=eyJjb21tYW5kIjoibnB4IiwiYXJncyI6WyIteSIsIkB3aG9wL21jcCJdLCJlbnYiOnsiV0hPUF9BUElfS0VZIjoiTXkgQVBJIEtleSIsIldIT1BfV0VCSE9PS19TRUNSRVQiOiJNeSBXZWJob29rIEtleSIsIldIT1BfQVBQX0lEIjoiYXBwX3h4eHh4eHh4eHh4eHh4IiwiV0hPUF9BUElfVkVSU0lPTiI6IjIwMjYtMDctMDgtMSJ9fQ)
[![Install in VS Code](https://img.shields.io/badge/_-Add_to_VS_Code-blue?style=for-the-badge&logo=data:image/svg%2bxml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGZpbGw9Im5vbmUiIHZpZXdCb3g9IjAgMCA0MCA0MCI+PHBhdGggZmlsbD0iI0VFRSIgZmlsbC1ydWxlPSJldmVub2RkIiBkPSJNMzAuMjM1IDM5Ljg4NGEyLjQ5MSAyLjQ5MSAwIDAgMS0xLjc4MS0uNzNMMTIuNyAyNC43OGwtMy40NiAyLjYyNC0zLjQwNiAyLjU4MmExLjY2NSAxLjY2NSAwIDAgMS0xLjA4Mi4zMzggMS42NjQgMS42NjQgMCAwIDEtMS4wNDYtLjQzMWwtMi4yLTJhMS42NjYgMS42NjYgMCAwIDEgMC0yLjQ2M0w3LjQ1OCAyMCA0LjY3IDE3LjQ1MyAxLjUwNyAxNC41N2ExLjY2NSAxLjY2NSAwIDAgMSAwLTIuNDYzbDIuMi0yYTEuNjY1IDEuNjY1IDAgMCAxIDIuMTMtLjA5N2w2Ljg2MyA1LjIwOUwyOC40NTIuODQ0YTIuNDg4IDIuNDg4IDAgMCAxIDEuODQxLS43MjljLjM1MS4wMDkuNjk5LjA5MSAxLjAxOS4yNDVsOC4yMzYgMy45NjFhMi41IDIuNSAwIDAgMSAxLjQxNSAyLjI1M3YuMDk5LS4wNDVWMzMuMzd2LS4wNDUuMDk1YTIuNTAxIDIuNTAxIDAgMCAxLTEuNDE2IDIuMjU3bC04LjIzNSAzLjk2MWEyLjQ5MiAyLjQ5MiAwIDAgMS0xLjA3Ny4yNDZabS43MTYtMjguOTQ3LTExLjk0OCA5LjA2MiAxMS45NTIgOS4wNjUtLjAwNC0xOC4xMjdaIi8+PC9zdmc+)](https://vscode.stainless.com/mcp/%7B%22name%22%3A%22%40whop%2Fmcp%22%2C%22command%22%3A%22npx%22%2C%22args%22%3A%5B%22-y%22%2C%22%40whop%2Fmcp%22%5D%2C%22env%22%3A%7B%22WHOP_API_KEY%22%3A%22My%20API%20Key%22%2C%22WHOP_WEBHOOK_SECRET%22%3A%22My%20Webhook%20Key%22%2C%22WHOP_APP_ID%22%3A%22app_xxxxxxxxxxxxxx%22%2C%22WHOP_API_VERSION%22%3A%222026-07-08-1%22%7D%7D)

> Note: You may need to set environment variables in your MCP client.

Expand Down
357 changes: 284 additions & 73 deletions api.md

Large diffs are not rendered by default.

1,610 changes: 1,165 additions & 445 deletions src/whop_sdk/_client.py

Large diffs are not rendered by default.

196 changes: 154 additions & 42 deletions src/whop_sdk/resources/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,14 @@
AppsResourceWithStreamingResponse,
AsyncAppsResourceWithStreamingResponse,
)
from .cards import (
CardsResource,
AsyncCardsResource,
CardsResourceWithRawResponse,
AsyncCardsResourceWithRawResponse,
CardsResourceWithStreamingResponse,
AsyncCardsResourceWithStreamingResponse,
)
from .files import (
FilesResource,
AsyncFilesResource,
Expand All @@ -32,6 +40,14 @@
LeadsResourceWithStreamingResponse,
AsyncLeadsResourceWithStreamingResponse,
)
from .media import (
MediaResource,
AsyncMediaResource,
MediaResourceWithRawResponse,
AsyncMediaResourceWithRawResponse,
MediaResourceWithStreamingResponse,
AsyncMediaResourceWithStreamingResponse,
)
from .plans import (
PlansResource,
AsyncPlansResource,
Expand All @@ -40,6 +56,14 @@
PlansResourceWithStreamingResponse,
AsyncPlansResourceWithStreamingResponse,
)
from .stats import (
StatsResource,
AsyncStatsResource,
StatsResourceWithRawResponse,
AsyncStatsResourceWithRawResponse,
StatsResourceWithStreamingResponse,
AsyncStatsResourceWithStreamingResponse,
)
from .swaps import (
SwapsResource,
AsyncSwapsResource,
Expand All @@ -56,6 +80,14 @@
UsersResourceWithStreamingResponse,
AsyncUsersResourceWithStreamingResponse,
)
from .events import (
EventsResource,
AsyncEventsResource,
EventsResourceWithRawResponse,
AsyncEventsResourceWithRawResponse,
EventsResourceWithStreamingResponse,
AsyncEventsResourceWithStreamingResponse,
)
from .forums import (
ForumsResource,
AsyncForumsResource,
Expand All @@ -64,6 +96,14 @@
ForumsResourceWithStreamingResponse,
AsyncForumsResourceWithStreamingResponse,
)
from .people import (
PeopleResource,
AsyncPeopleResource,
PeopleResourceWithRawResponse,
AsyncPeopleResourceWithRawResponse,
PeopleResourceWithStreamingResponse,
AsyncPeopleResourceWithStreamingResponse,
)
from .topups import (
TopupsResource,
AsyncTopupsResource,
Expand Down Expand Up @@ -96,6 +136,14 @@
MembersResourceWithStreamingResponse,
AsyncMembersResourceWithStreamingResponse,
)
from .payouts import (
PayoutsResource,
AsyncPayoutsResource,
PayoutsResourceWithRawResponse,
AsyncPayoutsResourceWithRawResponse,
PayoutsResourceWithStreamingResponse,
AsyncPayoutsResourceWithStreamingResponse,
)
from .refunds import (
RefundsResource,
AsyncRefundsResource,
Expand All @@ -112,14 +160,6 @@
ReviewsResourceWithStreamingResponse,
AsyncReviewsResourceWithStreamingResponse,
)
from .wallets import (
WalletsResource,
AsyncWalletsResource,
WalletsResourceWithRawResponse,
AsyncWalletsResourceWithRawResponse,
WalletsResourceWithStreamingResponse,
AsyncWalletsResourceWithStreamingResponse,
)
from .accounts import (
AccountsResource,
AsyncAccountsResource,
Expand Down Expand Up @@ -208,6 +248,14 @@
AdGroupsResourceWithStreamingResponse,
AsyncAdGroupsResourceWithStreamingResponse,
)
from .audiences import (
AudiencesResource,
AsyncAudiencesResource,
AudiencesResourceWithRawResponse,
AsyncAudiencesResourceWithRawResponse,
AudiencesResourceWithStreamingResponse,
AsyncAudiencesResourceWithStreamingResponse,
)
from .companies import (
CompaniesResource,
AsyncCompaniesResource,
Expand All @@ -224,6 +272,14 @@
ReactionsResourceWithStreamingResponse,
AsyncReactionsResourceWithStreamingResponse,
)
from .referrals import (
ReferralsResource,
AsyncReferralsResource,
ReferralsResourceWithRawResponse,
AsyncReferralsResourceWithRawResponse,
ReferralsResourceWithStreamingResponse,
AsyncReferralsResourceWithStreamingResponse,
)
from .shipments import (
ShipmentsResource,
AsyncShipmentsResource,
Expand All @@ -240,6 +296,14 @@
TransfersResourceWithStreamingResponse,
AsyncTransfersResourceWithStreamingResponse,
)
from .workforce import (
WorkforceResource,
AsyncWorkforceResource,
WorkforceResourceWithRawResponse,
AsyncWorkforceResourceWithRawResponse,
WorkforceResourceWithStreamingResponse,
AsyncWorkforceResourceWithStreamingResponse,
)
from .ad_reports import (
AdReportsResource,
AsyncAdReportsResource,
Expand Down Expand Up @@ -272,14 +336,6 @@
DmMembersResourceWithStreamingResponse,
AsyncDmMembersResourceWithStreamingResponse,
)
from .conversions import (
ConversionsResource,
AsyncConversionsResource,
ConversionsResourceWithRawResponse,
AsyncConversionsResourceWithRawResponse,
ConversionsResourceWithStreamingResponse,
AsyncConversionsResourceWithStreamingResponse,
)
from .dm_channels import (
DmChannelsResource,
AsyncDmChannelsResource,
Expand Down Expand Up @@ -408,14 +464,6 @@
DisputeAlertsResourceWithStreamingResponse,
AsyncDisputeAlertsResourceWithStreamingResponse,
)
from .payout_methods import (
PayoutMethodsResource,
AsyncPayoutMethodsResource,
PayoutMethodsResourceWithRawResponse,
AsyncPayoutMethodsResourceWithRawResponse,
PayoutMethodsResourceWithStreamingResponse,
AsyncPayoutMethodsResourceWithStreamingResponse,
)
from .course_chapters import (
CourseChaptersResource,
AsyncCourseChaptersResource,
Expand Down Expand Up @@ -456,6 +504,14 @@
PayoutAccountsResourceWithStreamingResponse,
AsyncPayoutAccountsResourceWithStreamingResponse,
)
from .social_accounts import (
SocialAccountsResource,
AsyncSocialAccountsResource,
SocialAccountsResourceWithRawResponse,
AsyncSocialAccountsResourceWithRawResponse,
SocialAccountsResourceWithStreamingResponse,
AsyncSocialAccountsResourceWithStreamingResponse,
)
from .authorized_users import (
AuthorizedUsersResource,
AsyncAuthorizedUsersResource,
Expand All @@ -472,6 +528,14 @@
SupportChannelsResourceWithStreamingResponse,
AsyncSupportChannelsResourceWithStreamingResponse,
)
from .financial_activity import (
FinancialActivityResource,
AsyncFinancialActivityResource,
FinancialActivityResourceWithRawResponse,
AsyncFinancialActivityResourceWithRawResponse,
FinancialActivityResourceWithStreamingResponse,
AsyncFinancialActivityResourceWithStreamingResponse,
)
from .checkout_configurations import (
CheckoutConfigurationsResource,
AsyncCheckoutConfigurationsResource,
Expand Down Expand Up @@ -530,6 +594,36 @@
"AsyncProductsResourceWithRawResponse",
"ProductsResourceWithStreamingResponse",
"AsyncProductsResourceWithStreamingResponse",
"SocialAccountsResource",
"AsyncSocialAccountsResource",
"SocialAccountsResourceWithRawResponse",
"AsyncSocialAccountsResourceWithRawResponse",
"SocialAccountsResourceWithStreamingResponse",
"AsyncSocialAccountsResourceWithStreamingResponse",
"AudiencesResource",
"AsyncAudiencesResource",
"AudiencesResourceWithRawResponse",
"AsyncAudiencesResourceWithRawResponse",
"AudiencesResourceWithStreamingResponse",
"AsyncAudiencesResourceWithStreamingResponse",
"MediaResource",
"AsyncMediaResource",
"MediaResourceWithRawResponse",
"AsyncMediaResourceWithRawResponse",
"MediaResourceWithStreamingResponse",
"AsyncMediaResourceWithStreamingResponse",
"PeopleResource",
"AsyncPeopleResource",
"PeopleResourceWithRawResponse",
"AsyncPeopleResourceWithRawResponse",
"PeopleResourceWithStreamingResponse",
"AsyncPeopleResourceWithStreamingResponse",
"EventsResource",
"AsyncEventsResource",
"EventsResourceWithRawResponse",
"AsyncEventsResourceWithRawResponse",
"EventsResourceWithStreamingResponse",
"AsyncEventsResourceWithStreamingResponse",
"CompaniesResource",
"AsyncCompaniesResource",
"CompaniesResourceWithRawResponse",
Expand Down Expand Up @@ -734,12 +828,36 @@
"AsyncAccountsResourceWithRawResponse",
"AccountsResourceWithStreamingResponse",
"AsyncAccountsResourceWithStreamingResponse",
"WalletsResource",
"AsyncWalletsResource",
"WalletsResourceWithRawResponse",
"AsyncWalletsResourceWithRawResponse",
"WalletsResourceWithStreamingResponse",
"AsyncWalletsResourceWithStreamingResponse",
"FinancialActivityResource",
"AsyncFinancialActivityResource",
"FinancialActivityResourceWithRawResponse",
"AsyncFinancialActivityResourceWithRawResponse",
"FinancialActivityResourceWithStreamingResponse",
"AsyncFinancialActivityResourceWithStreamingResponse",
"StatsResource",
"AsyncStatsResource",
"StatsResourceWithRawResponse",
"AsyncStatsResourceWithRawResponse",
"StatsResourceWithStreamingResponse",
"AsyncStatsResourceWithStreamingResponse",
"PayoutsResource",
"AsyncPayoutsResource",
"PayoutsResourceWithRawResponse",
"AsyncPayoutsResourceWithRawResponse",
"PayoutsResourceWithStreamingResponse",
"AsyncPayoutsResourceWithStreamingResponse",
"ReferralsResource",
"AsyncReferralsResource",
"ReferralsResourceWithRawResponse",
"AsyncReferralsResourceWithRawResponse",
"ReferralsResourceWithStreamingResponse",
"AsyncReferralsResourceWithStreamingResponse",
"CardsResource",
"AsyncCardsResource",
"CardsResourceWithRawResponse",
"AsyncCardsResourceWithRawResponse",
"CardsResourceWithStreamingResponse",
"AsyncCardsResourceWithStreamingResponse",
"SwapsResource",
"AsyncSwapsResource",
"SwapsResourceWithRawResponse",
Expand Down Expand Up @@ -770,12 +888,6 @@
"AsyncFeeMarkupsResourceWithRawResponse",
"FeeMarkupsResourceWithStreamingResponse",
"AsyncFeeMarkupsResourceWithStreamingResponse",
"PayoutMethodsResource",
"AsyncPayoutMethodsResource",
"PayoutMethodsResourceWithRawResponse",
"AsyncPayoutMethodsResourceWithRawResponse",
"PayoutMethodsResourceWithStreamingResponse",
"AsyncPayoutMethodsResourceWithStreamingResponse",
"VerificationsResource",
"AsyncVerificationsResource",
"VerificationsResourceWithRawResponse",
Expand Down Expand Up @@ -854,6 +966,12 @@
"AsyncBountiesResourceWithRawResponse",
"BountiesResourceWithStreamingResponse",
"AsyncBountiesResourceWithStreamingResponse",
"WorkforceResource",
"AsyncWorkforceResource",
"WorkforceResourceWithRawResponse",
"AsyncWorkforceResourceWithRawResponse",
"WorkforceResourceWithStreamingResponse",
"AsyncWorkforceResourceWithStreamingResponse",
"AdCampaignsResource",
"AsyncAdCampaignsResource",
"AdCampaignsResourceWithRawResponse",
Expand All @@ -872,12 +990,6 @@
"AsyncAdsResourceWithRawResponse",
"AdsResourceWithStreamingResponse",
"AsyncAdsResourceWithStreamingResponse",
"ConversionsResource",
"AsyncConversionsResource",
"ConversionsResourceWithRawResponse",
"AsyncConversionsResourceWithRawResponse",
"ConversionsResourceWithStreamingResponse",
"AsyncConversionsResourceWithStreamingResponse",
"AdReportsResource",
"AsyncAdReportsResource",
"AdReportsResourceWithRawResponse",
Expand Down
4 changes: 0 additions & 4 deletions src/whop_sdk/resources/access_tokens.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,6 @@


class AccessTokensResource(SyncAPIResource):
"""Access tokens"""

@cached_property
def with_raw_response(self) -> AccessTokensResourceWithRawResponse:
"""
Expand Down Expand Up @@ -108,8 +106,6 @@ def create(


class AsyncAccessTokensResource(AsyncAPIResource):
"""Access tokens"""

@cached_property
def with_raw_response(self) -> AsyncAccessTokensResourceWithRawResponse:
"""
Expand Down
4 changes: 0 additions & 4 deletions src/whop_sdk/resources/account_links.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,6 @@


class AccountLinksResource(SyncAPIResource):
"""Account links"""

@cached_property
def with_raw_response(self) -> AccountLinksResourceWithRawResponse:
"""
Expand Down Expand Up @@ -103,8 +101,6 @@ def create(


class AsyncAccountLinksResource(AsyncAPIResource):
"""Account links"""

@cached_property
def with_raw_response(self) -> AsyncAccountLinksResourceWithRawResponse:
"""
Expand Down
Loading