From e0cd1a1bcfe1c93047161b3d4c4a848eda5e96c5 Mon Sep 17 00:00:00 2001 From: "fern-api[bot]" <115122769+fern-api[bot]@users.noreply.github.com> Date: Mon, 16 Nov 2026 22:14:18 +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 | 2 +- src/whop_sdk/payments/client.py | 4 ++-- src/whop_sdk/payments/raw_client.py | 4 ++-- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.fern/metadata.json b/.fern/metadata.json index 72e2f23ef..57022efa6 100644 --- a/.fern/metadata.json +++ b/.fern/metadata.json @@ -15,7 +15,7 @@ "standardwebhooks": ">=1.0.1,<2" } }, - "originGitCommit": "da70fa1e40946a965238d445a51e71c3b9bbef76", + "originGitCommit": "96f0b4db0efb3bb6d0ee5bd017873a43f4e09f16", "originGitCommitIsDirty": false, "invokedBy": "ci", "requestedVersion": "2.8.1", diff --git a/reference.md b/reference.md index badc40941..8730e2696 100644 --- a/reference.md +++ b/reference.md @@ -36029,7 +36029,7 @@ client.payments.create(
-**setup_future_usage:** `typing.Optional[CreatePaymentsRequestSetupFutureUsage]` — Attests that the buyer was told the payment method will be saved for later charges, and saves it once they approve, so it can be charged with `member_id` and `payment_method_id`. PayPal shows the buyer the agreement to future charges on its approval page. Omit it for a one-time payment that saves nothing. Ignored unless a `paypal` `payment_method` is provided. +**setup_future_usage:** `typing.Optional[CreatePaymentsRequestSetupFutureUsage]` — Attests that the buyer was told the payment method will be saved for later charges. A `paypal` method is saved once the buyer approves on PayPal's page, and can then be charged with `member_id` and `payment_method_id`. A `card_present` method saves the tapped card when the reader collects it. The payment's `payment_method_id` then names the saved card. The point of sale must also pass the buyer's consent to the Terminal SDK as `allow_redisplay`. Omit it for a one-time payment that saves nothing. Other payment methods ignore it.
diff --git a/src/whop_sdk/payments/client.py b/src/whop_sdk/payments/client.py index c34844331..b22b4e097 100644 --- a/src/whop_sdk/payments/client.py +++ b/src/whop_sdk/payments/client.py @@ -391,7 +391,7 @@ def create( Where the buyer continues after completing an off-site step such as 3D Secure. An absolute https URL without credentials, at most 2,048 characters. Required when a saved payment method is charged with `off_session` false; otherwise ignored unless `confirmation_token` or a `paypal` `payment_method` is provided. setup_future_usage : typing.Optional[CreatePaymentsRequestSetupFutureUsage] - Attests that the buyer was told the payment method will be saved for later charges, and saves it once they approve, so it can be charged with `member_id` and `payment_method_id`. PayPal shows the buyer the agreement to future charges on its approval page. Omit it for a one-time payment that saves nothing. Ignored unless a `paypal` `payment_method` is provided. + Attests that the buyer was told the payment method will be saved for later charges. A `paypal` method is saved once the buyer approves on PayPal's page, and can then be charged with `member_id` and `payment_method_id`. A `card_present` method saves the tapped card when the reader collects it. The payment's `payment_method_id` then names the saved card. The point of sale must also pass the buyer's consent to the Terminal SDK as `allow_redisplay`. Omit it for a one-time payment that saves nothing. Other payment methods ignore it. shipping_address : typing.Optional[CreatePaymentsRequestShippingAddress] Where physical goods ship, returned on the payment as `shipping_address`. Only the keys you supply are kept; omit it for digital goods. @@ -1435,7 +1435,7 @@ async def create( Where the buyer continues after completing an off-site step such as 3D Secure. An absolute https URL without credentials, at most 2,048 characters. Required when a saved payment method is charged with `off_session` false; otherwise ignored unless `confirmation_token` or a `paypal` `payment_method` is provided. setup_future_usage : typing.Optional[CreatePaymentsRequestSetupFutureUsage] - Attests that the buyer was told the payment method will be saved for later charges, and saves it once they approve, so it can be charged with `member_id` and `payment_method_id`. PayPal shows the buyer the agreement to future charges on its approval page. Omit it for a one-time payment that saves nothing. Ignored unless a `paypal` `payment_method` is provided. + Attests that the buyer was told the payment method will be saved for later charges. A `paypal` method is saved once the buyer approves on PayPal's page, and can then be charged with `member_id` and `payment_method_id`. A `card_present` method saves the tapped card when the reader collects it. The payment's `payment_method_id` then names the saved card. The point of sale must also pass the buyer's consent to the Terminal SDK as `allow_redisplay`. Omit it for a one-time payment that saves nothing. Other payment methods ignore it. shipping_address : typing.Optional[CreatePaymentsRequestShippingAddress] Where physical goods ship, returned on the payment as `shipping_address`. Only the keys you supply are kept; omit it for digital goods. diff --git a/src/whop_sdk/payments/raw_client.py b/src/whop_sdk/payments/raw_client.py index e70c93869..0d3789882 100644 --- a/src/whop_sdk/payments/raw_client.py +++ b/src/whop_sdk/payments/raw_client.py @@ -474,7 +474,7 @@ def create( Where the buyer continues after completing an off-site step such as 3D Secure. An absolute https URL without credentials, at most 2,048 characters. Required when a saved payment method is charged with `off_session` false; otherwise ignored unless `confirmation_token` or a `paypal` `payment_method` is provided. setup_future_usage : typing.Optional[CreatePaymentsRequestSetupFutureUsage] - Attests that the buyer was told the payment method will be saved for later charges, and saves it once they approve, so it can be charged with `member_id` and `payment_method_id`. PayPal shows the buyer the agreement to future charges on its approval page. Omit it for a one-time payment that saves nothing. Ignored unless a `paypal` `payment_method` is provided. + Attests that the buyer was told the payment method will be saved for later charges. A `paypal` method is saved once the buyer approves on PayPal's page, and can then be charged with `member_id` and `payment_method_id`. A `card_present` method saves the tapped card when the reader collects it. The payment's `payment_method_id` then names the saved card. The point of sale must also pass the buyer's consent to the Terminal SDK as `allow_redisplay`. Omit it for a one-time payment that saves nothing. Other payment methods ignore it. shipping_address : typing.Optional[CreatePaymentsRequestShippingAddress] Where physical goods ship, returned on the payment as `shipping_address`. Only the keys you supply are kept; omit it for digital goods. @@ -2219,7 +2219,7 @@ async def create( Where the buyer continues after completing an off-site step such as 3D Secure. An absolute https URL without credentials, at most 2,048 characters. Required when a saved payment method is charged with `off_session` false; otherwise ignored unless `confirmation_token` or a `paypal` `payment_method` is provided. setup_future_usage : typing.Optional[CreatePaymentsRequestSetupFutureUsage] - Attests that the buyer was told the payment method will be saved for later charges, and saves it once they approve, so it can be charged with `member_id` and `payment_method_id`. PayPal shows the buyer the agreement to future charges on its approval page. Omit it for a one-time payment that saves nothing. Ignored unless a `paypal` `payment_method` is provided. + Attests that the buyer was told the payment method will be saved for later charges. A `paypal` method is saved once the buyer approves on PayPal's page, and can then be charged with `member_id` and `payment_method_id`. A `card_present` method saves the tapped card when the reader collects it. The payment's `payment_method_id` then names the saved card. The point of sale must also pass the buyer's consent to the Terminal SDK as `allow_redisplay`. Omit it for a one-time payment that saves nothing. Other payment methods ignore it. shipping_address : typing.Optional[CreatePaymentsRequestShippingAddress] Where physical goods ship, returned on the payment as `shipping_address`. Only the keys you supply are kept; omit it for digital goods. From 56a5ca15263e94604425e8c6a840b10e16021d33 Mon Sep 17 00:00:00 2001 From: "fern-api[bot]" <115122769+fern-api[bot]@users.noreply.github.com> Date: Mon, 16 Nov 2026 22:14:18 +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 448b4ba78..7354670cb 100644 --- a/.fern/replay.lock +++ b/.fern/replay.lock @@ -5334,5 +5334,11 @@ generations: cli_version: unknown generator_versions: fernapi/fern-python-sdk: 5.39.2 -current_generation: 154070e39ce94b636a42e65725bbdef7da15ebb9 + - commit_sha: 1c141ee135999d42926459cdb1e836ed6960c174 + tree_hash: a210d8042dcc2c3861b8d9f5434a6971f4a86cf3 + timestamp: 2026-11-16T22:14:12.363Z + cli_version: unknown + generator_versions: + fernapi/fern-python-sdk: 5.39.2 +current_generation: 1c141ee135999d42926459cdb1e836ed6960c174 patches: []