From c313038febbe39819ab374aaa0b26a15f1c1a852 Mon Sep 17 00:00:00 2001
From: "fern-api[bot]" <115122769+fern-api[bot]@users.noreply.github.com>
Date: Fri, 25 Sep 2026 20:23:39 +0000
Subject: [PATCH 1/2] [fern-generated] Update SDK
Generated by Fern
CLI Version: unknown
Generators:
- fernapi/fern-python-sdk: 5.28.0
---
.fern/metadata.json | 2 +-
reference.md | 2 +-
src/whop_sdk/confirmation_tokens/client.py | 4 ++--
src/whop_sdk/confirmation_tokens/raw_client.py | 4 ++--
src/whop_sdk/types/confirmation_token.py | 8 +++++++-
5 files changed, 13 insertions(+), 7 deletions(-)
diff --git a/.fern/metadata.json b/.fern/metadata.json
index 2b36fb395..d8155d536 100644
--- a/.fern/metadata.json
+++ b/.fern/metadata.json
@@ -15,7 +15,7 @@
"standardwebhooks": ">=1.0.1,<2"
}
},
- "originGitCommit": "e8fafcb807ed121505a7183190cb33b928cf6621",
+ "originGitCommit": "a2ca13468fab1d8fa43b0669cab0cf74913ca24c",
"originGitCommitIsDirty": false,
"invokedBy": "ci",
"requestedVersion": "2.0.0",
diff --git a/reference.md b/reference.md
index 72b71d3e5..962b97448 100644
--- a/reference.md
+++ b/reference.md
@@ -13185,7 +13185,7 @@ client.company_token_transactions.retrieve(
-
-Retrieves a token's display-safe preview — never the underlying payment credential. Public and rate-limited: the account_id query param must match the account the token was minted for.
+Retrieves a token's payment method and billing details — never the underlying payment credential. Public and rate-limited: the account_id query param must match the account the token was minted for. A bearer credential with payment:basic:read on that account also receives the collected billing address.
diff --git a/src/whop_sdk/confirmation_tokens/client.py b/src/whop_sdk/confirmation_tokens/client.py
index 2d997fae7..dee05634e 100644
--- a/src/whop_sdk/confirmation_tokens/client.py
+++ b/src/whop_sdk/confirmation_tokens/client.py
@@ -27,7 +27,7 @@ def retrieve(
self, id: str, *, account_id: str, request_options: typing.Optional[RequestOptions] = None
) -> ConfirmationToken:
"""
- Retrieves a token's display-safe preview — never the underlying payment credential. Public and rate-limited: the account_id query param must match the account the token was minted for.
+ Retrieves a token's payment method and billing details — never the underlying payment credential. Public and rate-limited: the account_id query param must match the account the token was minted for. A bearer credential with payment:basic:read on that account also receives the collected billing address.
Parameters
----------
@@ -82,7 +82,7 @@ async def retrieve(
self, id: str, *, account_id: str, request_options: typing.Optional[RequestOptions] = None
) -> ConfirmationToken:
"""
- Retrieves a token's display-safe preview — never the underlying payment credential. Public and rate-limited: the account_id query param must match the account the token was minted for.
+ Retrieves a token's payment method and billing details — never the underlying payment credential. Public and rate-limited: the account_id query param must match the account the token was minted for. A bearer credential with payment:basic:read on that account also receives the collected billing address.
Parameters
----------
diff --git a/src/whop_sdk/confirmation_tokens/raw_client.py b/src/whop_sdk/confirmation_tokens/raw_client.py
index 55d464141..b025ead93 100644
--- a/src/whop_sdk/confirmation_tokens/raw_client.py
+++ b/src/whop_sdk/confirmation_tokens/raw_client.py
@@ -23,7 +23,7 @@ def retrieve(
self, id: str, *, account_id: str, request_options: typing.Optional[RequestOptions] = None
) -> HttpResponse[ConfirmationToken]:
"""
- Retrieves a token's display-safe preview — never the underlying payment credential. Public and rate-limited: the account_id query param must match the account the token was minted for.
+ Retrieves a token's payment method and billing details — never the underlying payment credential. Public and rate-limited: the account_id query param must match the account the token was minted for. A bearer credential with payment:basic:read on that account also receives the collected billing address.
Parameters
----------
@@ -89,7 +89,7 @@ async def retrieve(
self, id: str, *, account_id: str, request_options: typing.Optional[RequestOptions] = None
) -> AsyncHttpResponse[ConfirmationToken]:
"""
- Retrieves a token's display-safe preview — never the underlying payment credential. Public and rate-limited: the account_id query param must match the account the token was minted for.
+ Retrieves a token's payment method and billing details — never the underlying payment credential. Public and rate-limited: the account_id query param must match the account the token was minted for. A bearer credential with payment:basic:read on that account also receives the collected billing address.
Parameters
----------
diff --git a/src/whop_sdk/types/confirmation_token.py b/src/whop_sdk/types/confirmation_token.py
index c77386e3b..3212c583a 100644
--- a/src/whop_sdk/types/confirmation_token.py
+++ b/src/whop_sdk/types/confirmation_token.py
@@ -5,14 +5,20 @@
import pydantic
from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel
from .confirmation_token_status import ConfirmationTokenStatus
+from .payment_address import PaymentAddress
from .payment_billing_details_preview import PaymentBillingDetailsPreview
from .payment_method_display import PaymentMethodDisplay
class ConfirmationToken(UniversalBaseModel):
+ billing_address: typing.Optional[PaymentAddress] = pydantic.Field(default=None)
+ """
+ The collected billing address, including the name on the address. Null when not collected or without bearer authentication with payment:basic:read on the token’s account.
+ """
+
billing_details: typing.Optional[PaymentBillingDetailsPreview] = pydantic.Field(default=None)
"""
- Enough of the billing details to raise a customer record and recognise the method — email, name, country and postal code. The street address is collected for the charge but never returned; this endpoint is a display-safe preview.
+ Billing preview supplied at collection: email, name, country and postal code.
"""
created_at: str = pydantic.Field()
From e630fa20e1ffc9a5a46d4938d3fbe492f59dc76b Mon Sep 17 00:00:00 2001
From: "fern-api[bot]" <115122769+fern-api[bot]@users.noreply.github.com>
Date: Fri, 25 Sep 2026 20:23:40 +0000
Subject: [PATCH 2/2] [fern-replay] advance lockfile
---
.fern/replay.lock | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/.fern/replay.lock b/.fern/replay.lock
index f2ae66d7c..8b89caef2 100644
--- a/.fern/replay.lock
+++ b/.fern/replay.lock
@@ -1248,5 +1248,11 @@ generations:
cli_version: unknown
generator_versions:
fernapi/fern-python-sdk: 5.28.0
-current_generation: ea9d6ba2c387b7615d7f5892968b269a33277608
+ - commit_sha: 832c13bfa05376cba80fd29d7fb77f43c611e178
+ tree_hash: f5a46162e35950643a0cd71243252571d9a23130
+ timestamp: 2026-09-25T20:23:36.585Z
+ cli_version: unknown
+ generator_versions:
+ fernapi/fern-python-sdk: 5.28.0
+current_generation: 832c13bfa05376cba80fd29d7fb77f43c611e178
patches: []