Skip to content

Commit cf8ef2e

Browse files
author
stlc-bot
committed
feat(payouts): allow platforms to cover withdrawal fees for connected accounts in UI
Stainless-Generated-From: 61ac39b
1 parent e25bbfe commit cf8ef2e

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

‎src/whop_sdk/resources/withdrawals.py‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ def create(
8383
8484
payout_method_id: The ID of the payout method to use for the withdrawal.
8585
86-
platform_covers_fees: Whether the platform covers the payout fees instead of the connected account.
86+
platform_covers_fees: Whether the platform covers the payout fees.
8787
8888
statement_descriptor: Custom statement descriptor for the withdrawal. Must be between 5 and 22
8989
characters and contain only alphanumeric characters.
@@ -285,7 +285,7 @@ async def create(
285285
286286
payout_method_id: The ID of the payout method to use for the withdrawal.
287287
288-
platform_covers_fees: Whether the platform covers the payout fees instead of the connected account.
288+
platform_covers_fees: Whether the platform covers the payout fees.
289289
290290
statement_descriptor: Custom statement descriptor for the withdrawal. Must be between 5 and 22
291291
characters and contain only alphanumeric characters.

‎src/whop_sdk/types/withdrawal_create_params.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ class WithdrawalCreateParams(TypedDict, total=False):
2424
"""The ID of the payout method to use for the withdrawal."""
2525

2626
platform_covers_fees: Optional[bool]
27-
"""Whether the platform covers the payout fees instead of the connected account."""
27+
"""Whether the platform covers the payout fees."""
2828

2929
statement_descriptor: Optional[str]
3030
"""Custom statement descriptor for the withdrawal.

0 commit comments

Comments
 (0)