diff --git a/OPENAPI_VERSION b/OPENAPI_VERSION index 0fef50283..32518f99b 100644 --- a/OPENAPI_VERSION +++ b/OPENAPI_VERSION @@ -1 +1 @@ -v1640 \ No newline at end of file +v1642 \ No newline at end of file diff --git a/stripe/_invoice.py b/stripe/_invoice.py index 3014f7d36..2b4452640 100644 --- a/stripe/_invoice.py +++ b/stripe/_invoice.py @@ -4297,7 +4297,6 @@ class VoidInvoiceParams(RequestOptions): The status of the invoice, one of `draft`, `open`, `paid`, `uncollectible`, or `void`. [Learn more](https://stripe.com/docs/billing/invoices/workflow#workflow-overview) """ status_transitions: StatusTransitions - subscription: Optional[ExpandableField["Subscription"]] subtotal: int """ Total of all subscriptions, invoice items, and prorations on the invoice before any invoice level discount or exclusive tax is applied. Item discounts are already incorporated diff --git a/stripe/_subscription.py b/stripe/_subscription.py index 71d1b35a9..d9329cecf 100644 --- a/stripe/_subscription.py +++ b/stripe/_subscription.py @@ -2014,7 +2014,7 @@ class SearchParams(RequestOptions): """ A date in the future at which the subscription will automatically get canceled """ - cancel_at_period_end: Optional[bool] + cancel_at_period_end: bool """ Whether this subscription will (if `status=active`) or did (if `status=canceled`) cancel at the end of the current billing period. """