Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .fern/metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"standardwebhooks": ">=1.0.1,<2"
}
},
"originGitCommit": "eea321a91ed2676465b46487d515e3f8493188be",
"originGitCommit": "a75ed8a2c4e4c890672ac35738d549022c8eb8fc",
"originGitCommitIsDirty": false,
"invokedBy": "ci",
"requestedVersion": "2.3.0",
Expand Down
8 changes: 7 additions & 1 deletion .fern/replay.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 9 additions & 1 deletion reference.md
Original file line number Diff line number Diff line change
Expand Up @@ -8704,6 +8704,14 @@ client.apps.create(
<dl>
<dd>

**domain_id:** `typing.Optional[str]` — A domain on the account (`dom_` tag) to serve the app at, such as a whop.site address claimed with `POST /domains`. Required with `template_id`.

</dd>
</dl>

<dl>
<dd>

**icon:** `typing.Optional[CreateAppsRequestIcon]` — The icon image for the app in PNG, JPEG, or GIF format, referencing an uploaded file: `{ id }` for an existing attachment or `{ direct_upload_id }` for a new direct upload.

</dd>
Expand All @@ -8728,7 +8736,7 @@ client.apps.create(
<dl>
<dd>

**route:** `typing.Optional[str]` — The subdomain route where the app's hosted web builds are served, such as `myapp` for myapp.whop.site.
**route:** `typing.Optional[str]` — Deprecated: claim an address with `POST /domains` and pass `domain_id`. The subdomain route where the app's hosted web builds are served, such as `myapp` for myapp.whop.site.

</dd>
</dl>
Expand Down
4 changes: 2 additions & 2 deletions src/whop_sdk/access_tokens/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ def create(
from whop_sdk import Whop

client = Whop(
"2026-10-09-1",
"2026-10-09-2",
idempotency_key="YOUR_IDEMPOTENCY_KEY",
token="YOUR_TOKEN",
)
Expand Down Expand Up @@ -138,7 +138,7 @@ async def create(
from whop_sdk import AsyncWhop

client = AsyncWhop(
"2026-10-09-1",
"2026-10-09-2",
idempotency_key="YOUR_IDEMPOTENCY_KEY",
token="YOUR_TOKEN",
)
Expand Down
4 changes: 2 additions & 2 deletions src/whop_sdk/account_links/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ def create(
from whop_sdk import Whop

client = Whop(
"2026-10-09-1",
"2026-10-09-2",
idempotency_key="YOUR_IDEMPOTENCY_KEY",
token="YOUR_TOKEN",
)
Expand Down Expand Up @@ -143,7 +143,7 @@ async def create(
from whop_sdk import AsyncWhop

client = AsyncWhop(
"2026-10-09-1",
"2026-10-09-2",
idempotency_key="YOUR_IDEMPOTENCY_KEY",
token="YOUR_TOKEN",
)
Expand Down
40 changes: 20 additions & 20 deletions src/whop_sdk/accounts/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ def list(
from whop_sdk import Whop

client = Whop(
"2026-10-09-1",
"2026-10-09-2",
idempotency_key="YOUR_IDEMPOTENCY_KEY",
token="YOUR_TOKEN",
)
Expand Down Expand Up @@ -241,7 +241,7 @@ def create(
from whop_sdk import Whop

client = Whop(
"2026-10-09-1",
"2026-10-09-2",
idempotency_key="YOUR_IDEMPOTENCY_KEY",
token="YOUR_TOKEN",
)
Expand Down Expand Up @@ -286,7 +286,7 @@ def me(
from whop_sdk import Whop

client = Whop(
"2026-10-09-1",
"2026-10-09-2",
idempotency_key="YOUR_IDEMPOTENCY_KEY",
token="YOUR_TOKEN",
)
Expand Down Expand Up @@ -326,7 +326,7 @@ def retrieve(
from whop_sdk import Whop

client = Whop(
"2026-10-09-1",
"2026-10-09-2",
idempotency_key="YOUR_IDEMPOTENCY_KEY",
token="YOUR_TOKEN",
)
Expand Down Expand Up @@ -359,7 +359,7 @@ def delete(self, id: str, *, request_options: typing.Optional[RequestOptions] =
from whop_sdk import Whop

client = Whop(
"2026-10-09-1",
"2026-10-09-2",
idempotency_key="YOUR_IDEMPOTENCY_KEY",
token="YOUR_TOKEN",
)
Expand Down Expand Up @@ -587,7 +587,7 @@ def update(
from whop_sdk import Whop

client = Whop(
"2026-10-09-1",
"2026-10-09-2",
idempotency_key="YOUR_IDEMPOTENCY_KEY",
token="YOUR_TOKEN",
)
Expand Down Expand Up @@ -737,7 +737,7 @@ def form_company(
)

client = Whop(
"2026-10-09-1",
"2026-10-09-2",
idempotency_key="YOUR_IDEMPOTENCY_KEY",
token="YOUR_TOKEN",
)
Expand Down Expand Up @@ -833,7 +833,7 @@ def retry_ads_payment(
from whop_sdk import Whop

client = Whop(
"2026-10-09-1",
"2026-10-09-2",
idempotency_key="YOUR_IDEMPOTENCY_KEY",
token="YOUR_TOKEN",
)
Expand Down Expand Up @@ -866,7 +866,7 @@ def suspend(self, id: str, *, request_options: typing.Optional[RequestOptions] =
from whop_sdk import Whop

client = Whop(
"2026-10-09-1",
"2026-10-09-2",
idempotency_key="YOUR_IDEMPOTENCY_KEY",
token="YOUR_TOKEN",
)
Expand Down Expand Up @@ -916,7 +916,7 @@ def transfer_ownership(
from whop_sdk import Whop

client = Whop(
"2026-10-09-1",
"2026-10-09-2",
idempotency_key="YOUR_IDEMPOTENCY_KEY",
token="YOUR_TOKEN",
)
Expand Down Expand Up @@ -1060,7 +1060,7 @@ async def list(
from whop_sdk import AsyncWhop

client = AsyncWhop(
"2026-10-09-1",
"2026-10-09-2",
idempotency_key="YOUR_IDEMPOTENCY_KEY",
token="YOUR_TOKEN",
)
Expand Down Expand Up @@ -1160,7 +1160,7 @@ async def create(
from whop_sdk import AsyncWhop

client = AsyncWhop(
"2026-10-09-1",
"2026-10-09-2",
idempotency_key="YOUR_IDEMPOTENCY_KEY",
token="YOUR_TOKEN",
)
Expand Down Expand Up @@ -1213,7 +1213,7 @@ async def me(
from whop_sdk import AsyncWhop

client = AsyncWhop(
"2026-10-09-1",
"2026-10-09-2",
idempotency_key="YOUR_IDEMPOTENCY_KEY",
token="YOUR_TOKEN",
)
Expand Down Expand Up @@ -1261,7 +1261,7 @@ async def retrieve(
from whop_sdk import AsyncWhop

client = AsyncWhop(
"2026-10-09-1",
"2026-10-09-2",
idempotency_key="YOUR_IDEMPOTENCY_KEY",
token="YOUR_TOKEN",
)
Expand Down Expand Up @@ -1306,7 +1306,7 @@ async def delete(
from whop_sdk import AsyncWhop

client = AsyncWhop(
"2026-10-09-1",
"2026-10-09-2",
idempotency_key="YOUR_IDEMPOTENCY_KEY",
token="YOUR_TOKEN",
)
Expand Down Expand Up @@ -1542,7 +1542,7 @@ async def update(
from whop_sdk import AsyncWhop

client = AsyncWhop(
"2026-10-09-1",
"2026-10-09-2",
idempotency_key="YOUR_IDEMPOTENCY_KEY",
token="YOUR_TOKEN",
)
Expand Down Expand Up @@ -1700,7 +1700,7 @@ async def form_company(
)

client = AsyncWhop(
"2026-10-09-1",
"2026-10-09-2",
idempotency_key="YOUR_IDEMPOTENCY_KEY",
token="YOUR_TOKEN",
)
Expand Down Expand Up @@ -1804,7 +1804,7 @@ async def retry_ads_payment(
from whop_sdk import AsyncWhop

client = AsyncWhop(
"2026-10-09-1",
"2026-10-09-2",
idempotency_key="YOUR_IDEMPOTENCY_KEY",
token="YOUR_TOKEN",
)
Expand Down Expand Up @@ -1845,7 +1845,7 @@ async def suspend(self, id: str, *, request_options: typing.Optional[RequestOpti
from whop_sdk import AsyncWhop

client = AsyncWhop(
"2026-10-09-1",
"2026-10-09-2",
idempotency_key="YOUR_IDEMPOTENCY_KEY",
token="YOUR_TOKEN",
)
Expand Down Expand Up @@ -1903,7 +1903,7 @@ async def transfer_ownership(
from whop_sdk import AsyncWhop

client = AsyncWhop(
"2026-10-09-1",
"2026-10-09-2",
idempotency_key="YOUR_IDEMPOTENCY_KEY",
token="YOUR_TOKEN",
)
Expand Down
8 changes: 4 additions & 4 deletions src/whop_sdk/accounts/fees/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ def retrieve(self, account_id: str, *, request_options: typing.Optional[RequestO
from whop_sdk import Whop

client = Whop(
"2026-10-09-1",
"2026-10-09-2",
idempotency_key="YOUR_IDEMPOTENCY_KEY",
token="YOUR_TOKEN",
)
Expand Down Expand Up @@ -235,7 +235,7 @@ def update(
from whop_sdk import Whop

client = Whop(
"2026-10-09-1",
"2026-10-09-2",
idempotency_key="YOUR_IDEMPOTENCY_KEY",
token="YOUR_TOKEN",
)
Expand Down Expand Up @@ -321,7 +321,7 @@ async def retrieve(
from whop_sdk import AsyncWhop

client = AsyncWhop(
"2026-10-09-1",
"2026-10-09-2",
idempotency_key="YOUR_IDEMPOTENCY_KEY",
token="YOUR_TOKEN",
)
Expand Down Expand Up @@ -487,7 +487,7 @@ async def update(
from whop_sdk import AsyncWhop

client = AsyncWhop(
"2026-10-09-1",
"2026-10-09-2",
idempotency_key="YOUR_IDEMPOTENCY_KEY",
token="YOUR_TOKEN",
)
Expand Down
20 changes: 10 additions & 10 deletions src/whop_sdk/accounts/financing_applications/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ def list(
from whop_sdk import Whop

client = Whop(
"2026-10-09-1",
"2026-10-09-2",
idempotency_key="YOUR_IDEMPOTENCY_KEY",
token="YOUR_TOKEN",
)
Expand Down Expand Up @@ -149,7 +149,7 @@ def create(
from whop_sdk import Whop

client = Whop(
"2026-10-09-1",
"2026-10-09-2",
idempotency_key="YOUR_IDEMPOTENCY_KEY",
token="YOUR_TOKEN",
)
Expand Down Expand Up @@ -187,7 +187,7 @@ def retrieve(
from whop_sdk import Whop

client = Whop(
"2026-10-09-1",
"2026-10-09-2",
idempotency_key="YOUR_IDEMPOTENCY_KEY",
token="YOUR_TOKEN",
)
Expand Down Expand Up @@ -236,7 +236,7 @@ def update(
)

client = Whop(
"2026-10-09-1",
"2026-10-09-2",
idempotency_key="YOUR_IDEMPOTENCY_KEY",
token="YOUR_TOKEN",
)
Expand Down Expand Up @@ -290,7 +290,7 @@ def submit(
)

client = Whop(
"2026-10-09-1",
"2026-10-09-2",
idempotency_key="YOUR_IDEMPOTENCY_KEY",
token="YOUR_TOKEN",
)
Expand Down Expand Up @@ -389,7 +389,7 @@ async def list(
from whop_sdk import AsyncWhop

client = AsyncWhop(
"2026-10-09-1",
"2026-10-09-2",
idempotency_key="YOUR_IDEMPOTENCY_KEY",
token="YOUR_TOKEN",
)
Expand Down Expand Up @@ -449,7 +449,7 @@ async def create(
from whop_sdk import AsyncWhop

client = AsyncWhop(
"2026-10-09-1",
"2026-10-09-2",
idempotency_key="YOUR_IDEMPOTENCY_KEY",
token="YOUR_TOKEN",
)
Expand Down Expand Up @@ -495,7 +495,7 @@ async def retrieve(
from whop_sdk import AsyncWhop

client = AsyncWhop(
"2026-10-09-1",
"2026-10-09-2",
idempotency_key="YOUR_IDEMPOTENCY_KEY",
token="YOUR_TOKEN",
)
Expand Down Expand Up @@ -552,7 +552,7 @@ async def update(
)

client = AsyncWhop(
"2026-10-09-1",
"2026-10-09-2",
idempotency_key="YOUR_IDEMPOTENCY_KEY",
token="YOUR_TOKEN",
)
Expand Down Expand Up @@ -614,7 +614,7 @@ async def submit(
)

client = AsyncWhop(
"2026-10-09-1",
"2026-10-09-2",
idempotency_key="YOUR_IDEMPOTENCY_KEY",
token="YOUR_TOKEN",
)
Expand Down
Loading
Loading