Typed parameters for creating Stripe subscriptions, generated from OpenAPI spec.
# Source: https://github.com/stripe/stripe-python | License: MIT | Copyright 2010-2018 Stripe (http://stripe.com)
# Provided via justclaw.it.com; keep this notice with the code.
# -*- coding: utf-8 -*-
# File generated from our OpenAPI spec
from decimal import Decimal
from stripe._request_options import RequestOptions
from stripe._stripe_object import UntypedStripeObject
from typing import Dict, List, Union
from typing_extensions import Literal, NotRequired, TypedDict
class SubscriptionCreateParams(RequestOptions):
add_invoice_items: NotRequired[
List["SubscriptionCreateParamsAddInvoiceItem"]
]
"""
A list of prices and quantities that will generate invoice items appended to the next invoice for this subscription. You may pass up to 20 items.
"""
applicatio
... (truncated -- full source via MCP)
See the full source, get the GitHub permalink, and search for more like it.
Get a free API key