From 59aecb407eaf7d108cf5aed753d28519f21c3aac Mon Sep 17 00:00:00 2001 From: "fern-api[bot]" <115122769+fern-api[bot]@users.noreply.github.com> Date: Fri, 23 Oct 2026 23:41:26 +0000 Subject: [PATCH 1/2] [fern-generated] Update SDK Generated by Fern CLI Version: unknown Generators: - fernapi/fern-python-sdk: 5.39.2 --- .fern/metadata.json | 2 +- reference.md | 6 +++--- src/whop_sdk/invoices/client.py | 12 ++++++------ src/whop_sdk/invoices/raw_client.py | 12 ++++++------ 4 files changed, 16 insertions(+), 16 deletions(-) diff --git a/.fern/metadata.json b/.fern/metadata.json index 32967485..759b0e5c 100644 --- a/.fern/metadata.json +++ b/.fern/metadata.json @@ -15,7 +15,7 @@ "standardwebhooks": ">=1.0.1,<2" } }, - "originGitCommit": "32ca9f76e87b06a7567500ae2875ff3ce3012f24", + "originGitCommit": "7f4874492ea69bebb374c4938000c7eec0c1504c", "originGitCommitIsDirty": false, "invokedBy": "ci", "requestedVersion": "2.6.0", diff --git a/reference.md b/reference.md index 93468903..71713fa3 100644 --- a/reference.md +++ b/reference.md @@ -26424,7 +26424,7 @@ client.invoices.create(
-**payment_method_id:** `typing.Optional[str]` — A saved payment method belonging to the member. +**payment_method_id:** `typing.Optional[str]` — A saved payment method belonging to the member. Issuing the invoice charges it.
@@ -26642,7 +26642,7 @@ client.invoices.update(
-**payment_method_id:** `typing.Optional[str]` — A saved payment method belonging to the member. +**payment_method_id:** `typing.Optional[str]` — A saved payment method belonging to the member. Issuing the invoice charges it.
@@ -26682,7 +26682,7 @@ client.invoices.update(
-Resolves final tax and opens a draft invoice. Issuing an open invoice again retains its totals. +Resolves final tax and opens a draft invoice. An invoice with a `payment_method_id` is then charged to it off-session, as `POST /payments` charges a saved payment method, and issuing it requires `payment:charge`. Issuing an open invoice again retains its totals and charges nothing.
diff --git a/src/whop_sdk/invoices/client.py b/src/whop_sdk/invoices/client.py index 22c03174..db077cc3 100644 --- a/src/whop_sdk/invoices/client.py +++ b/src/whop_sdk/invoices/client.py @@ -183,7 +183,7 @@ def create( Up to 50 caller-owned string key/value pairs. payment_method_id : typing.Optional[str] - A saved payment method belonging to the member. + A saved payment method belonging to the member. Issuing the invoice charges it. recipient_emails : typing.Optional[typing.Sequence[str]] Email addresses saved for invoice delivery, independent of the billed customer. Saving them sends no email. Defaults to the customer email when omitted on create. Can be updated on draft, open, or uncollectible invoices. @@ -305,7 +305,7 @@ def update( Up to 50 caller-owned string key/value pairs. payment_method_id : typing.Optional[str] - A saved payment method belonging to the member. + A saved payment method belonging to the member. Issuing the invoice charges it. recipient_emails : typing.Optional[typing.Sequence[str]] Email addresses saved for invoice delivery, independent of the billed customer. Saving them sends no email. Defaults to the customer email when omitted on create. Can be updated on draft, open, or uncollectible invoices. @@ -348,7 +348,7 @@ def update( def issue(self, id: str, *, request_options: typing.Optional[RequestOptions] = None) -> Invoice: """ - Resolves final tax and opens a draft invoice. Issuing an open invoice again retains its totals. + Resolves final tax and opens a draft invoice. An invoice with a `payment_method_id` is then charged to it off-session, as `POST /payments` charges a saved payment method, and issuing it requires `payment:charge`. Issuing an open invoice again retains its totals and charges nothing. Parameters ---------- @@ -617,7 +617,7 @@ async def create( Up to 50 caller-owned string key/value pairs. payment_method_id : typing.Optional[str] - A saved payment method belonging to the member. + A saved payment method belonging to the member. Issuing the invoice charges it. recipient_emails : typing.Optional[typing.Sequence[str]] Email addresses saved for invoice delivery, independent of the billed customer. Saving them sends no email. Defaults to the customer email when omitted on create. Can be updated on draft, open, or uncollectible invoices. @@ -755,7 +755,7 @@ async def update( Up to 50 caller-owned string key/value pairs. payment_method_id : typing.Optional[str] - A saved payment method belonging to the member. + A saved payment method belonging to the member. Issuing the invoice charges it. recipient_emails : typing.Optional[typing.Sequence[str]] Email addresses saved for invoice delivery, independent of the billed customer. Saving them sends no email. Defaults to the customer email when omitted on create. Can be updated on draft, open, or uncollectible invoices. @@ -806,7 +806,7 @@ async def main() -> None: async def issue(self, id: str, *, request_options: typing.Optional[RequestOptions] = None) -> Invoice: """ - Resolves final tax and opens a draft invoice. Issuing an open invoice again retains its totals. + Resolves final tax and opens a draft invoice. An invoice with a `payment_method_id` is then charged to it off-session, as `POST /payments` charges a saved payment method, and issuing it requires `payment:charge`. Issuing an open invoice again retains its totals and charges nothing. Parameters ---------- diff --git a/src/whop_sdk/invoices/raw_client.py b/src/whop_sdk/invoices/raw_client.py index 75e80ba7..d6352cdd 100644 --- a/src/whop_sdk/invoices/raw_client.py +++ b/src/whop_sdk/invoices/raw_client.py @@ -258,7 +258,7 @@ def create( Up to 50 caller-owned string key/value pairs. payment_method_id : typing.Optional[str] - A saved payment method belonging to the member. + A saved payment method belonging to the member. Issuing the invoice charges it. recipient_emails : typing.Optional[typing.Sequence[str]] Email addresses saved for invoice delivery, independent of the billed customer. Saving them sends no email. Defaults to the customer email when omitted on create. Can be updated on draft, open, or uncollectible invoices. @@ -484,7 +484,7 @@ def update( Up to 50 caller-owned string key/value pairs. payment_method_id : typing.Optional[str] - A saved payment method belonging to the member. + A saved payment method belonging to the member. Issuing the invoice charges it. recipient_emails : typing.Optional[typing.Sequence[str]] Email addresses saved for invoice delivery, independent of the billed customer. Saving them sends no email. Defaults to the customer email when omitted on create. Can be updated on draft, open, or uncollectible invoices. @@ -578,7 +578,7 @@ def update( def issue(self, id: str, *, request_options: typing.Optional[RequestOptions] = None) -> HttpResponse[Invoice]: """ - Resolves final tax and opens a draft invoice. Issuing an open invoice again retains its totals. + Resolves final tax and opens a draft invoice. An invoice with a `payment_method_id` is then charged to it off-session, as `POST /payments` charges a saved payment method, and issuing it requires `payment:charge`. Issuing an open invoice again retains its totals and charges nothing. Parameters ---------- @@ -1075,7 +1075,7 @@ async def create( Up to 50 caller-owned string key/value pairs. payment_method_id : typing.Optional[str] - A saved payment method belonging to the member. + A saved payment method belonging to the member. Issuing the invoice charges it. recipient_emails : typing.Optional[typing.Sequence[str]] Email addresses saved for invoice delivery, independent of the billed customer. Saving them sends no email. Defaults to the customer email when omitted on create. Can be updated on draft, open, or uncollectible invoices. @@ -1303,7 +1303,7 @@ async def update( Up to 50 caller-owned string key/value pairs. payment_method_id : typing.Optional[str] - A saved payment method belonging to the member. + A saved payment method belonging to the member. Issuing the invoice charges it. recipient_emails : typing.Optional[typing.Sequence[str]] Email addresses saved for invoice delivery, independent of the billed customer. Saving them sends no email. Defaults to the customer email when omitted on create. Can be updated on draft, open, or uncollectible invoices. @@ -1399,7 +1399,7 @@ async def issue( self, id: str, *, request_options: typing.Optional[RequestOptions] = None ) -> AsyncHttpResponse[Invoice]: """ - Resolves final tax and opens a draft invoice. Issuing an open invoice again retains its totals. + Resolves final tax and opens a draft invoice. An invoice with a `payment_method_id` is then charged to it off-session, as `POST /payments` charges a saved payment method, and issuing it requires `payment:charge`. Issuing an open invoice again retains its totals and charges nothing. Parameters ---------- From d3c3c042ddf1fd3aeaf454180cf361501a95c39a Mon Sep 17 00:00:00 2001 From: "fern-api[bot]" <115122769+fern-api[bot]@users.noreply.github.com> Date: Fri, 23 Oct 2026 23:41:26 +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 01623bba..1d6303b3 100644 --- a/.fern/replay.lock +++ b/.fern/replay.lock @@ -3282,5 +3282,11 @@ generations: cli_version: unknown generator_versions: fernapi/fern-python-sdk: 5.39.2 -current_generation: b0f66de11fad2d73e22a15a387c31a64a32503a8 + - commit_sha: f1ff928cdb565996b0928fafb97337b365057463 + tree_hash: db54f8a784ad6e0197c4035ed3ee0b7b3f71cc0d + timestamp: 2026-10-23T23:41:20.996Z + cli_version: unknown + generator_versions: + fernapi/fern-python-sdk: 5.39.2 +current_generation: f1ff928cdb565996b0928fafb97337b365057463 patches: []