Upgrading stripe 6 to 7
Breaking6.7.1 → 7.14.1Breaking22Platform1Deprecated6New106Changed10Fixed8Other19
Fetching 34 releases from GitHub…33 / 34
BreakingUpgrade verdict
22 breaking changes and a platform requirement change.
In plain terms
- Some balance transaction type values are no longer accepted.
- The obligation reporting category is no longer accepted when creating report runs.
- The api_base option is no longer part of RequestOptions.
- Removes support for value `various` from enum `Climate.Supplier.removal_pathway`.
Must act Top 5 of 29 that need code or config changes
What you must change
Breaking22
Removes the values
obligation_inbound, obligation_payout_failure, obligation_payout, and obligation_reversal_outbound from enum BalanceTransaction.type.BalanceTransaction.typeRemoves the value
obligation from enum Reporting.ReportRunCreateParams.parameters.reporting_category.Reporting.ReportRunCreateParams.parameters.reporting_categoryRemoves api_base from the RequestOptions type.
RequestOptionsapi_baseRemoves support for value
various from enum Climate.Supplier.removal_pathway.Climate.Supplier.removal_pathwayRemoves support for values
challenge_only and challenge from enum PaymentIntent.payment_method_options.card.request_three_d_secure.PaymentIntent.payment_method_options.card.request_three_d_secureRenames
receipient to recipient beneath PaymentDetails on Charge and PaymentIntent APIs.Charge.PaymentDetails.receipientCharge.PaymentDetails.recipientPaymentIntent.PaymentDetails.receipientPaymentIntent.PaymentDetails.recipientRemoves support for the draft_quote and mark_stale_quote methods on the Quote resource.
Quote.draft_quoteQuote.mark_stale_quoteQuote.mark_draftQuote.mark_staleRenames preview_invoice_lines to list_preview_invoice_lines on the Quote resource.
Quote.preview_invoice_linesQuote.list_preview_invoice_linesRenames Issuing.CardDesign and Issuing.CardBundle to Issuing.PersonalizationDesign and Issuing.PhysicalBundle.
Issuing.CardDesignIssuing.CardBundleIssuing.PersonalizationDesignIssuing.PhysicalBundleMakes
Invoice.AutomaticTax.liability, Invoice.issuer, and Subscription.AutomaticTax.liability required.Invoice.AutomaticTax.liabilityInvoice.issuerSubscription.AutomaticTax.liabilityMakes CustomerSession.Components.buy_button and pricing_table required.
CustomerSession.Components.buy_buttonCustomerSession.Components.pricing_tableChanges
payment_details on AccountSession.Components from Optional[PaymentDetails] to PaymentDetails.AccountSession.Componentspayment_detailsPaymentDetailsChanges
payments on AccountSession.Components from Optional[Payments] to Payments.AccountSession.ComponentspaymentsPaymentsChanges
payouts on AccountSession.Components from Optional[Payouts] to Payouts.AccountSession.ComponentspayoutsPayoutsChanges
features from Optional[Features] to Features on AccountSession.Components.PaymentDetails, .Payments, and .Payouts.AccountSession.Components.PaymentDetailsAccountSession.Components.PaymentsAccountSession.Components.PayoutsfeaturesFeaturesChanges
invoice_settings on SubscriptionSchedule.DefaultSettings from Optional[InvoiceSettings] to InvoiceSettings.SubscriptionSchedule.DefaultSettingsinvoice_settingsInvoiceSettingsChanges financial_connections.prefetch[] type from literal('balances') to enum('balances'|'transactions') across many params and resources.
Checkout.Session.payment_method_options.us_bank_account.financial_connections.prefetch[]Invoice.payment_settings.payment_method_options.us_bank_account.financial_connections.prefetch[]PaymentIntent.payment_method_options.us_bank_account.financial_connections.prefetch[]SetupIntent.payment_method_options.us_bank_account.financial_connections.prefetch[]Subscription.payment_settings.payment_method_options.us_bank_account.financial_connections.prefetch[]Changes Quote.invoice_settings type from InvoiceSettingQuoteSetting | null to InvoiceSettingQuoteSetting.
Quote.invoice_settingsInvoiceSettingQuoteSettingMakes
Climate.Product.metric_tons_available a required field.Climate.Product.metric_tons_availableNested JSON objects now deserialize into specific StripeObject subclasses instead of generic StripeObject instances.
StripeObjectPromotionCode.restrictions.currency_options now deserializes into a dict instead of a StripeObject.
PromotionCode.restrictions.currency_optionsStripeObjectPins the API version to 2023-10-16, which may break callers relying on prior API behavior.
Platform1
Adds support for Python 3.11 and 3.12.
Deprecations to plan for
Deprecated6
Reports uses of the deprecated .save method in X-Stripe-Client-Telemetry, disableable via stripe.enable_telemetry = false.
.saveX-Stripe-Client-Telemetrystripe.enable_telemetryMarks defunct and internal methods as deprecated.
Deprecates
stripe.app_info, stripe.http_client, stripe.oauth, stripe.util, stripe.version, and stripe.webhook modules; import types from stripe instead.stripe.app_infostripe.http_clientstripe.oauthstripe.utilstripe.versionstripe.webhookDeprecates
stripe.api_version, stripe.multipart_data_generator, and stripe.request_metrics, which will be fully removed in the future.stripe.api_versionstripe.multipart_data_generatorstripe.request_metricsDeprecates
stripe.error, stripe.stripe_object, stripe.api_requestor, stripe.stripe_response, stripe.request_options, stripe.api_resources.*, and stripe.api_resources.abstract.*…stripe.errorstripe.stripe_objectstripe.api_requestorstripe.stripe_responsestripe.request_optionsstripe.api_resources.*stripe.api_resources.abstract.*Adds a util.deprecated decorator and deprecates save.
util.deprecatedsaveAPI changes
Generated by DepDelta from published Python source. Not mixed with prose notes.
- removed:
export abstract - changed:
function set_app_info(name, partner_id=…, url=…, version=…) → function set_app_info(name: str, partner_id: Optional[str]=…, url: Optional[str]=…, version: Optional[str]=…) - changed:
variable api_base → variable api_base: str - changed:
variable api_key → variable api_key: Optional[str] - changed:
variable api_version → variable api_version: str - changed:
variable app_info → variable app_info: Optional[AppInfo] - changed:
variable ca_bundle_path → variable ca_bundle_path: str - changed:
variable client_id → variable client_id: Optional[str] - changed:
variable connect_api_base → variable connect_api_base: str - changed:
variable default_http_client → variable default_http_client: Optional[HTTPClient] - changed:
variable enable_telemetry → variable enable_telemetry: bool - changed:
variable log: Optional[Union[Literal['debug'], Literal['info']]] → variable log: Optional[Literal['debug', 'info']] - changed:
variable max_network_retries → variable max_network_retries: int - changed:
variable proxy → variable proxy: Optional[str] - changed:
variable upload_api_base → variable upload_api_base: str - changed:
variable verify_ssl_certs → variable verify_ssl_certs: bool - added:
export APIConnectionError - added:
export APIError - added:
export APIRequestor - added:
export APIResource - added:
export APIResourceTestHelpers - added:
export Account - added:
export AccountLink - added:
export AccountSession - added:
export AppInfo - added:
export ApplePayDomain - added:
export Application - added:
export ApplicationFee - added:
export ApplicationFeeRefund - added:
export AuthenticationError - added:
export Balance - added:
export BalanceTransaction - added:
export BankAccount - added:
export Capability - added:
export Card - added:
export CardError - added:
export CashBalance - added:
export Charge - added:
export ConnectCollectionTransfer - added:
export CountrySpec - added:
export Coupon - added:
export CreateableAPIResource - added:
export CreditNote - added:
export CreditNoteLineItem - added:
export Customer - added:
export CustomerBalanceTransaction - added:
export CustomerCashBalanceTransaction - added:
export CustomerSession - added:
export DeletableAPIResource - added:
export Discount - added:
export Dispute - added:
export EphemeralKey - added:
export ErrorObject - added:
export Event - added:
export ExchangeRate - added:
export File - added:
export FileLink - added:
export FileUpload - added:
export FundingInstructions - added:
export HTTPClient - added:
export IdempotencyError - added:
export InvalidRequestError - added:
export Invoice - added:
export InvoiceItem - added:
export InvoiceLineItem - added:
export LineItem - added:
export ListObject - added:
export ListableAPIResource - added:
export LoginLink - added:
export Mandate - added:
export OAuthErrorObject - added:
export PaymentIntent - added:
export PaymentLink - added:
export PaymentMethod - added:
export PaymentMethodConfiguration - added:
export PaymentMethodDomain - added:
export Payout - added:
export PermissionError - added:
export Person - added:
export Plan - added:
export PlatformTaxFee - added:
export Price - added:
export Product - added:
export PromotionCode - added:
export PycurlClient - added:
export Quote - added:
export RateLimitError - added:
export Refund - added:
export RequestOptions - added:
export RequestsClient - added:
export ReserveTransaction - added:
export Reversal - added:
export Review - added:
export SearchResultObject - added:
export SearchableAPIResource - added:
export SetupAttempt - added:
export SetupIntent - added:
export ShippingRate - added:
export SignatureVerificationError - added:
export SingletonAPIResource - added:
export Source - added:
export SourceMandateNotification - added:
export SourceTransaction - added:
export StripeError - added:
export StripeErrorWithParamCode - added:
export StripeObject - added:
export StripeResponse - added:
export StripeResponseBase - added:
export StripeStreamResponse - added:
export Subscription - added:
export SubscriptionItem - added:
export SubscriptionSchedule - added:
export TaxCode - added:
export TaxDeductedAtSource - added:
export TaxId - added:
export TaxRate - added:
export Token - added:
export Topup - added:
export Transfer - added:
export UpdateableAPIResource - added:
export UrlFetchClient - added:
export UsageRecord - added:
export UsageRecordSummary - added:
export VERSION - added:
export VerifyMixin - added:
export WebhookEndpoint - added:
export api_requestor - added:
export apps - added:
export billing_portal - added:
export checkout - added:
export climate - added:
export convert_to_stripe_object - added:
export custom_method - added:
export error - added:
export error_object - added:
export financial_connections - added:
export http_client - added:
export identity - added:
export issuing - added:
export multipart_data_generator - added:
export nested_resource_class_methods - added:
export new_default_http_client - added:
export oauth - added:
export radar - added:
export reporting - added:
export request_metrics - added:
export sigma - added:
export stripe - added:
export tax - added:
export terminal - added:
export test_helpers - added:
export treasury - added:
export util - added:
export webhook
- removed:
class APIRequestor(object) - removed:
constructor APIRequestor(key=…, client=…, api_base=…, api_version=…, account=…) - removed:
method APIRequestor.handle_error_response(rbody, rcode, resp, rheaders) - removed:
method APIRequestor.interpret_response(rbody, rcode, rheaders) -> StripeResponse - removed:
method APIRequestor.interpret_streaming_response(stream, rcode, rheaders) - removed:
method APIRequestor.request(method, url, params=…, headers=…) -> Tuple[StripeResponse, str] - removed:
method APIRequestor.request_headers(api_key, method) - removed:
method APIRequestor.request_raw(method, url, params=…, supplied_headers=…, is_streaming=…) - removed:
method APIRequestor.request_stream(method, url, params=…, headers=…) - removed:
method APIRequestor.specific_api_error(rbody, rcode, resp, rheaders, error_data) - removed:
method APIRequestor.specific_oauth_error(rbody, rcode, resp, rheaders, error_code) - removed:
static method APIRequestor.format_app_info(info)
- added:
export CustomerSession - added:
export RecipientTransfer - added:
export climate
- removed:
class APIResource(StripeObject, Generic[T]) - removed:
field APIResource.OBJECT_NAME: ClassVar[str] - removed:
method APIResource.instance_url() - removed:
method APIResource.refresh() - removed:
static method APIResource.class_url() - removed:
static method APIResource.retrieve(id, api_key=…, **params) -> T - removed:
variable T
- removed:
class CreateableAPIResource(APIResource[T]) - removed:
static method CreateableAPIResource.create(api_key=…, idempotency_key=…, stripe_version=…, stripe_account=…, **params) -> T - removed:
variable T
- removed:
function custom_method(name, http_verb, http_path=…, is_streaming=…)
- removed:
class DeletableAPIResource(APIResource[T]) - removed:
method DeletableAPIResource.delete(**params) -> T - removed:
variable T
- removed:
class ListableAPIResource(APIResource[T]) - removed:
static method ListableAPIResource.auto_paging_iter(*args, **params) - removed:
static method ListableAPIResource.list(api_key=…, stripe_version=…, stripe_account=…, **params) -> ListObject[T] - removed:
variable T
- removed:
function nested_resource_class_methods(resource, path=…, operations=…, resource_plural=…)
- removed:
class SearchableAPIResource(APIResource[T]) - removed:
static method SearchableAPIResource.search(*args, **kwargs) - removed:
static method SearchableAPIResource.search_auto_paging_iter(*args, **kwargs) - removed:
variable T
- removed:
class SingletonAPIResource(APIResource[T]) - removed:
method SingletonAPIResource.instance_url() - removed:
static method SingletonAPIResource.class_url() - removed:
static method SingletonAPIResource.retrieve(**params) -> T - removed:
variable T
- removed:
class APIResourceTestHelpers(Protocol[T]) - removed:
constructor APIResourceTestHelpers(resource) - removed:
field APIResourceTestHelpers.resource: T - removed:
method APIResourceTestHelpers.instance_url() - removed:
static method APIResourceTestHelpers.class_url() - removed:
variable T
- removed:
class UpdateableAPIResource(APIResource[T]) - removed:
method UpdateableAPIResource.save(idempotency_key=…) - removed:
static method UpdateableAPIResource.modify(sid, **params) -> T - removed:
variable T
- removed:
class VerifyMixin(object) - removed:
method VerifyMixin.verify(idempotency_key=…, **params)
- removed:
class Account(CreateableAPIResource['Account'], DeletableAPIResource['Account'], ListableAPIResource['Account'], UpdateableAPIResource['Account']) - removed:
field Account.OBJECT_NAME - removed:
field Account.business_profile: Optional[StripeObject] - removed:
field Account.business_type: Optional[Literal['company', 'government_entity', 'individual', 'non_profit']] - removed:
field Account.capabilities: Optional[StripeObject] - removed:
field Account.charges_enabled: Optional[bool] - removed:
field Account.company: Optional[StripeObject] - removed:
field Account.controller: Optional[StripeObject] - removed:
field Account.country: Optional[str] - removed:
field Account.created: Optional[int] - removed:
field Account.default_currency: Optional[str] - removed:
field Account.deleted: Optional[Literal[True]] - removed:
field Account.details_submitted: Optional[bool] - removed:
field Account.email: Optional[str] - removed:
field Account.external_accounts: Optional[ListObject[Any]] - removed:
field Account.future_requirements: Optional[StripeObject] - removed:
field Account.id: str - removed:
field Account.individual: Optional[Person] - removed:
field Account.metadata: Optional[Dict[str, str]] - removed:
field Account.object: Literal['account'] - removed:
field Account.payouts_enabled: Optional[bool] - removed:
field Account.requirements: Optional[StripeObject] - removed:
field Account.settings: Optional[StripeObject] - removed:
field Account.tos_acceptance: Optional[StripeObject] - removed:
field Account.type: Optional[Literal['custom', 'express', 'standard']] - removed:
method Account.deauthorize(**params) - removed:
method Account.delete(**params: Any) -> Account - removed:
method Account.instance_url() - removed:
method Account.persons(idempotency_key: Optional[str]=…, **params: Any) - removed:
method Account.reject(idempotency_key: Optional[str]=…, **params: Any) - removed:
method Account.serialize(previous) - removed:
static method Account.create(api_key: Optional[str]=…, idempotency_key: Optional[str]=…, stripe_version: Optional[str]=…, stripe_account: Optional[str]=…, **params: Any) -> Account - removed:
static method Account.create_external_account(account: str, api_key: Optional[str]=…, stripe_version: Optional[str]=…, stripe_account: Optional[str]=…, **params: Any) - removed:
static method Account.create_login_link(account: str, api_key: Optional[str]=…, stripe_version: Optional[str]=…, stripe_account: Optional[str]=…, **params: Any) - removed:
static method Account.create_person(account: str, api_key: Optional[str]=…, stripe_version: Optional[str]=…, stripe_account: Optional[str]=…, **params: Any) - removed:
static method Account.delete_external_account(account: str, id: str, api_key: Optional[str]=…, stripe_version: Optional[str]=…, stripe_account: Optional[str]=…, **params: Any) - removed:
static method Account.delete_person(account: str, person: str, api_key: Optional[str]=…, stripe_version: Optional[str]=…, stripe_account: Optional[str]=…, **params: Any) - removed:
static method Account.list(api_key: Optional[str]=…, stripe_version: Optional[str]=…, stripe_account: Optional[str]=…, **params: Any) -> ListObject[Account] - removed:
static method Account.list_capabilities(account: str, api_key: Optional[str]=…, stripe_version: Optional[str]=…, stripe_account: Optional[str]=…, **params: Any) - removed:
static method Account.list_external_accounts(account: str, api_key: Optional[str]=…, stripe_version: Optional[str]=…, stripe_account: Optional[str]=…, **params: Any) - removed:
static method Account.list_persons(account: str, api_key: Optional[str]=…, stripe_version: Optional[str]=…, stripe_account: Optional[str]=…, **params: Any) - removed:
static method Account.modify(id=…, **params) - removed:
static method Account.modify_capability(account: str, capability: str, api_key: Optional[str]=…, stripe_version: Optional[str]=…, stripe_account: Optional[str]=…, **params: Any) - removed:
static method Account.modify_external_account(account: str, id: str, api_key: Optional[str]=…, stripe_version: Optional[str]=…, stripe_account: Optional[str]=…, **params: Any) - removed:
static method Account.modify_person(account: str, person: str, api_key: Optional[str]=…, stripe_version: Optional[str]=…, stripe_account: Optional[str]=…, **params: Any) - removed:
static method Account.retrieve(id=…, api_key=…, **params) - removed:
static method Account.retrieve_capability(account: str, capability: str, api_key: Optional[str]=…, stripe_version: Optional[str]=…, stripe_account: Optional[str]=…, **params: Any) - removed:
static method Account.retrieve_external_account(account: str, id: str, api_key: Optional[str]=…, stripe_version: Optional[str]=…, stripe_account: Optional[str]=…, **params: Any) - removed:
static method Account.retrieve_person(account: str, person: str, api_key: Optional[str]=…, stripe_version: Optional[str]=…, stripe_account: Optional[str]=…, **params: Any)
- removed:
class AccountLink(CreateableAPIResource['AccountLink']) - removed:
field AccountLink.OBJECT_NAME - removed:
field AccountLink.created: int - removed:
field AccountLink.expires_at: int - removed:
field AccountLink.object: Literal['account_link'] - removed:
field AccountLink.url: str - removed:
static method AccountLink.create(api_key: Optional[str]=…, idempotency_key: Optional[str]=…, stripe_version: Optional[str]=…, stripe_account: Optional[str]=…, **params: Any) -> AccountLink
- removed:
class AccountSession(CreateableAPIResource['AccountSession']) - removed:
field AccountSession.OBJECT_NAME - removed:
field AccountSession.account: str - removed:
field AccountSession.client_secret: str - removed:
field AccountSession.components: StripeObject - removed:
field AccountSession.expires_at: int - removed:
field AccountSession.livemode: bool - removed:
field AccountSession.object: Literal['account_session'] - removed:
static method AccountSession.create(api_key: Optional[str]=…, idempotency_key: Optional[str]=…, stripe_version: Optional[str]=…, stripe_account: Optional[str]=…, **params: Any) -> AccountSession
- removed:
class ApplePayDomain(CreateableAPIResource['ApplePayDomain'], DeletableAPIResource['ApplePayDomain'], ListableAPIResource['ApplePayDomain']) - removed:
field ApplePayDomain.OBJECT_NAME - removed:
field ApplePayDomain.created: int - removed:
field ApplePayDomain.deleted: Optional[Literal[True]] - removed:
field ApplePayDomain.domain_name: str - removed:
field ApplePayDomain.id: str - removed:
field ApplePayDomain.livemode: bool - removed:
field ApplePayDomain.object: Literal['apple_pay_domain'] - removed:
method ApplePayDomain.delete(**params: Any) -> ApplePayDomain - removed:
static method ApplePayDomain.class_url() - removed:
static method ApplePayDomain.create(api_key: Optional[str]=…, idempotency_key: Optional[str]=…, stripe_version: Optional[str]=…, stripe_account: Optional[str]=…, **params: Any) -> ApplePayDomain - removed:
static method ApplePayDomain.list(api_key: Optional[str]=…, stripe_version: Optional[str]=…, stripe_account: Optional[str]=…, **params: Any) -> ListObject[ApplePayDomain] - removed:
static method ApplePayDomain.retrieve(id: str, api_key: Optional[str]=…, **params: Any) -> ApplePayDomain
- removed:
class Application(StripeObject) - removed:
field Application.OBJECT_NAME - removed:
field Application.deleted: Optional[Literal[True]] - removed:
field Application.id: str - removed:
field Application.name: Optional[str] - removed:
field Application.object: Literal['application']
- removed:
class ApplicationFee(ListableAPIResource['ApplicationFee']) - removed:
field ApplicationFee.OBJECT_NAME - removed:
field ApplicationFee.account: ExpandableField[Account] - removed:
field ApplicationFee.amount: int - removed:
field ApplicationFee.amount_refunded: int - removed:
field ApplicationFee.application: ExpandableField[Application] - removed:
field ApplicationFee.balance_transaction: Optional[ExpandableField[BalanceTransaction]] - removed:
field ApplicationFee.charge: ExpandableField[Charge] - removed:
field ApplicationFee.created: int - removed:
field ApplicationFee.currency: str - removed:
field ApplicationFee.id: str - removed:
field ApplicationFee.livemode: bool - removed:
field ApplicationFee.object: Literal['application_fee'] - removed:
field ApplicationFee.originating_transaction: Optional[ExpandableField[Charge]] - removed:
field ApplicationFee.refunded: bool - removed:
field ApplicationFee.refunds: ListObject[ApplicationFeeRefund] - removed:
method ApplicationFee.refund(idempotency_key: Optional[str]=…, **params: Any) - removed:
static method ApplicationFee.create_refund(id: str, api_key: Optional[str]=…, stripe_version: Optional[str]=…, stripe_account: Optional[str]=…, **params: Any) - removed:
static method ApplicationFee.list(api_key: Optional[str]=…, stripe_version: Optional[str]=…, stripe_account: Optional[str]=…, **params: Any) -> ListObject[ApplicationFee] - removed:
static method ApplicationFee.list_refunds(id: str, api_key: Optional[str]=…, stripe_version: Optional[str]=…, stripe_account: Optional[str]=…, **params: Any) - removed:
static method ApplicationFee.modify_refund(fee: str, id: str, api_key: Optional[str]=…, stripe_version: Optional[str]=…, stripe_account: Optional[str]=…, **params: Any) - removed:
static method ApplicationFee.retrieve(id: str, api_key: Optional[str]=…, **params: Any) -> ApplicationFee - removed:
static method ApplicationFee.retrieve_refund(fee: str, id: str, api_key: Optional[str]=…, stripe_version: Optional[str]=…, stripe_account: Optional[str]=…, **params: Any)
- removed:
class ApplicationFeeRefund(UpdateableAPIResource['ApplicationFeeRefund']) - removed:
field ApplicationFeeRefund.OBJECT_NAME - removed:
field ApplicationFeeRefund.amount: int - removed:
field ApplicationFeeRefund.balance_transaction: Optional[ExpandableField[BalanceTransaction]] - removed:
field ApplicationFeeRefund.created: int - removed:
field ApplicationFeeRefund.currency: str - removed:
field ApplicationFeeRefund.fee: ExpandableField[ApplicationFee] - removed:
field ApplicationFeeRefund.id: str - removed:
field ApplicationFeeRefund.metadata: Optional[Dict[str, str]] - removed:
field ApplicationFeeRefund.object: Literal['fee_refund'] - removed:
method ApplicationFeeRefund.instance_url() - removed:
static method ApplicationFeeRefund.modify(fee, sid, **params) - removed:
static method ApplicationFeeRefund.retrieve(id, api_key=…, **params)
- removed:
class Secret(CreateableAPIResource['Secret'], ListableAPIResource['Secret']) - removed:
field Secret.OBJECT_NAME - removed:
field Secret.created: int - removed:
field Secret.deleted: Optional[bool] - removed:
field Secret.expires_at: Optional[int] - removed:
field Secret.id: str - removed:
field Secret.livemode: bool - removed:
field Secret.name: str - removed:
field Secret.object: Literal['apps.secret'] - removed:
field Secret.payload: Optional[str] - removed:
field Secret.scope: StripeObject - removed:
static method Secret.create(api_key: Optional[str]=…, idempotency_key: Optional[str]=…, stripe_version: Optional[str]=…, stripe_account: Optional[str]=…, **params: Any) -> Secret - removed:
static method Secret.delete_where(api_key: Optional[str]=…, stripe_version: Optional[str]=…, stripe_account: Optional[str]=…, **params: Any) - removed:
static method Secret.find(api_key: Optional[str]=…, stripe_version: Optional[str]=…, stripe_account: Optional[str]=…, **params: Any) - removed:
static method Secret.list(api_key: Optional[str]=…, stripe_version: Optional[str]=…, stripe_account: Optional[str]=…, **params: Any) -> ListObject[Secret]
- removed:
class Balance(SingletonAPIResource['Balance']) - removed:
field Balance.OBJECT_NAME - removed:
field Balance.available: List[StripeObject] - removed:
field Balance.connect_reserved: Optional[List[StripeObject]] - removed:
field Balance.instant_available: Optional[List[StripeObject]] - removed:
field Balance.issuing: Optional[StripeObject] - removed:
field Balance.livemode: bool - removed:
field Balance.object: Literal['balance'] - removed:
field Balance.pending: List[StripeObject] - removed:
static method Balance.class_url() - removed:
static method Balance.retrieve(**params: Any) -> Balance
- removed:
class BalanceTransaction(ListableAPIResource['BalanceTransaction']) - removed:
field BalanceTransaction.OBJECT_NAME - removed:
field BalanceTransaction.amount: int - removed:
field BalanceTransaction.available_on: int - removed:
field BalanceTransaction.created: int - removed:
field BalanceTransaction.currency: str - removed:
field BalanceTransaction.description: Optional[str] - removed:
field BalanceTransaction.exchange_rate: Optional[float] - removed:
field BalanceTransaction.fee: int - removed:
field BalanceTransaction.fee_details: List[StripeObject] - removed:
field BalanceTransaction.id: str - removed:
field BalanceTransaction.net: int - removed:
field BalanceTransaction.object: Literal['balance_transaction'] - removed:
field BalanceTransaction.reporting_category: str - removed:
field BalanceTransaction.source: Optional[ExpandableField[Any]] - removed:
field BalanceTransaction.status: str - removed:
field BalanceTransaction.type: Literal['adjustment', 'advance', 'advance_funding', 'anticipation_repayment', 'application_fee', 'application_fee_refund', 'charge', 'connect_collection_transfer', 'contribution', 'issuing_authorization_hold', 'issuing_authorization_release', 'issuing_dispute', 'issuing_transaction', 'obligation_inbound', 'obligation_outbound', 'obligation_payout', 'obligation_payou… - removed:
static method BalanceTransaction.list(api_key: Optional[str]=…, stripe_version: Optional[str]=…, stripe_account: Optional[str]=…, **params: Any) -> ListObject[BalanceTransaction] - removed:
static method BalanceTransaction.retrieve(id: str, api_key: Optional[str]=…, **params: Any) -> BalanceTransaction
- removed:
class BankAccount(DeletableAPIResource['BankAccount'], UpdateableAPIResource['BankAccount'], VerifyMixin) - removed:
field BankAccount.OBJECT_NAME - removed:
field BankAccount.account: Optional[ExpandableField[Account]] - removed:
field BankAccount.account_holder_name: Optional[str] - removed:
field BankAccount.account_holder_type: Optional[str] - removed:
field BankAccount.account_type: Optional[str] - removed:
field BankAccount.available_payout_methods: Optional[List[Literal['instant', 'standard']]] - removed:
field BankAccount.bank_name: Optional[str] - removed:
field BankAccount.country: str - removed:
field BankAccount.currency: str - removed:
field BankAccount.customer: Optional[ExpandableField[Customer]] - removed:
field BankAccount.default_for_currency: Optional[bool] - removed:
field BankAccount.deleted: Optional[Literal[True]] - removed:
field BankAccount.fingerprint: Optional[str] - removed:
field BankAccount.future_requirements: Optional[StripeObject] - removed:
field BankAccount.id: str - removed:
field BankAccount.last4: str - removed:
field BankAccount.metadata: Optional[Dict[str, str]] - removed:
field BankAccount.object: Literal['bank_account'] - removed:
field BankAccount.requirements: Optional[StripeObject] - removed:
field BankAccount.routing_number: Optional[str] - removed:
field BankAccount.status: str - removed:
method BankAccount.delete(**params: Any) -> Any - removed:
method BankAccount.instance_url() - removed:
static method BankAccount.modify(sid, **params) - removed:
static method BankAccount.retrieve(id, api_key=…, stripe_version=…, stripe_account=…, **params)
- removed:
class Configuration(CreateableAPIResource['Configuration'], ListableAPIResource['Configuration'], UpdateableAPIResource['Configuration']) - removed:
field Configuration.OBJECT_NAME - removed:
field Configuration.active: bool - removed:
field Configuration.application: Optional[ExpandableField[Application]] - removed:
field Configuration.business_profile: StripeObject - removed:
field Configuration.created: int - removed:
field Configuration.default_return_url: Optional[str] - removed:
field Configuration.features: StripeObject - removed:
field Configuration.id: str - removed:
field Configuration.is_default: bool - removed:
field Configuration.livemode: bool - removed:
field Configuration.login_page: StripeObject - removed:
field Configuration.metadata: Optional[Dict[str, str]] - removed:
field Configuration.object: Literal['billing_portal.configuration'] - removed:
field Configuration.updated: int - removed:
static method Configuration.create(api_key: Optional[str]=…, idempotency_key: Optional[str]=…, stripe_version: Optional[str]=…, stripe_account: Optional[str]=…, **params: Any) -> Configuration - removed:
static method Configuration.list(api_key: Optional[str]=…, stripe_version: Optional[str]=…, stripe_account: Optional[str]=…, **params: Any) -> ListObject[Configuration] - removed:
static method Configuration.modify(id, **params: Any) -> Configuration - removed:
static method Configuration.retrieve(id: str, api_key: Optional[str]=…, **params: Any) -> Configuration
- removed:
class Session(CreateableAPIResource['Session']) - removed:
field Session.OBJECT_NAME - removed:
field Session.configuration: ExpandableField[Configuration] - removed:
field Session.created: int - removed:
field Session.customer: str - removed:
field Session.flow: Optional[StripeObject] - removed:
field Session.id: str - removed:
field Session.livemode: bool - removed:
field Session.locale: Optional[Literal['auto', 'bg', 'cs', 'da', 'de', 'el', 'en', 'en-AU', 'en-CA', 'en-GB', 'en-IE', 'en-IN', 'en-NZ', 'en-SG', 'es', 'es-419', 'et', 'fi', 'fil', 'fr', 'fr-CA', 'hr', 'hu', 'id', 'it', 'ja', 'ko', 'lt', 'lv', 'ms', 'mt', 'nb', 'nl', 'pl', 'pt', 'pt-BR', 'ro', 'ru', 'sk', 'sl', 'sv', 'th', 'tr', 'vi', 'zh', 'zh-HK', 'zh-TW']] - removed:
field Session.object: Literal['billing_portal.session'] - removed:
field Session.on_behalf_of: Optional[str] - removed:
field Session.return_url: Optional[str] - removed:
field Session.url: str - removed:
static method Session.create(api_key: Optional[str]=…, idempotency_key: Optional[str]=…, stripe_version: Optional[str]=…, stripe_account: Optional[str]=…, **params: Any) -> Session
- removed:
class Capability(UpdateableAPIResource['Capability']) - removed:
field Capability.OBJECT_NAME - removed:
field Capability.account: ExpandableField[Account] - removed:
field Capability.future_requirements: Optional[StripeObject] - removed:
field Capability.id: str - removed:
field Capability.object: Literal['capability'] - removed:
field Capability.requested: bool - removed:
field Capability.requested_at: Optional[int] - removed:
field Capability.requirements: Optional[StripeObject] - removed:
field Capability.status: Literal['active', 'disabled', 'inactive', 'pending', 'unrequested'] - removed:
method Capability.instance_url() - removed:
static method Capability.modify(sid, **params) - removed:
static method Capability.retrieve(id, api_key=…, **params)
- removed:
class Card(DeletableAPIResource['Card'], UpdateableAPIResource['Card']) - removed:
field Card.OBJECT_NAME - removed:
field Card.account: Optional[ExpandableField[Account]] - removed:
field Card.address_city: Optional[str] - removed:
field Card.address_country: Optional[str] - removed:
field Card.address_line1: Optional[str] - removed:
field Card.address_line1_check: Optional[str] - removed:
field Card.address_line2: Optional[str] - removed:
field Card.address_state: Optional[str] - removed:
field Card.address_zip: Optional[str] - removed:
field Card.address_zip_check: Optional[str] - removed:
field Card.available_payout_methods: Optional[List[Literal['instant', 'standard']]] - removed:
field Card.brand: str - removed:
field Card.country: Optional[str] - removed:
field Card.currency: Optional[str] - removed:
field Card.customer: Optional[ExpandableField[Customer]] - removed:
field Card.cvc_check: Optional[str] - removed:
field Card.default_for_currency: Optional[bool] - removed:
field Card.deleted: Optional[Literal[True]] - removed:
field Card.description: Optional[str] - removed:
field Card.dynamic_last4: Optional[str] - removed:
field Card.exp_month: int - removed:
field Card.exp_year: int - removed:
field Card.fingerprint: Optional[str] - removed:
field Card.funding: str - removed:
field Card.id: str - removed:
field Card.iin: Optional[str] - removed:
field Card.issuer: Optional[str] - removed:
field Card.last4: str - removed:
field Card.metadata: Optional[Dict[str, str]] - removed:
field Card.name: Optional[str] - removed:
field Card.object: Literal['card'] - removed:
field Card.status: Optional[str] - removed:
field Card.tokenization_method: Optional[str] - removed:
method Card.delete(**params: Any) -> Any - removed:
method Card.instance_url() - removed:
static method Card.modify(sid, **params) - removed:
static method Card.retrieve(id, api_key=…, stripe_version=…, stripe_account=…, **params)
- removed:
class CashBalance(StripeObject) - removed:
field CashBalance.OBJECT_NAME - removed:
field CashBalance.available: Optional[Dict[str, int]] - removed:
field CashBalance.customer: str - removed:
field CashBalance.livemode: bool - removed:
field CashBalance.object: Literal['cash_balance'] - removed:
field CashBalance.settings: StripeObject - removed:
method CashBalance.instance_url() - removed:
static method CashBalance.retrieve(id, api_key=…, **params)
- removed:
class Charge(CreateableAPIResource['Charge'], ListableAPIResource['Charge'], SearchableAPIResource['Charge'], UpdateableAPIResource['Charge']) - removed:
field Charge.OBJECT_NAME - removed:
field Charge.amount: int - removed:
field Charge.amount_captured: int - removed:
field Charge.amount_refunded: int - removed:
field Charge.application: Optional[ExpandableField[Application]] - removed:
field Charge.application_fee: Optional[ExpandableField[ApplicationFee]] - removed:
field Charge.application_fee_amount: Optional[int] - removed:
field Charge.authorization_code: Optional[str] - removed:
field Charge.balance_transaction: Optional[ExpandableField[BalanceTransaction]] - removed:
field Charge.billing_details: StripeObject - removed:
field Charge.calculated_statement_descriptor: Optional[str] - removed:
field Charge.captured: bool - removed:
field Charge.created: int - removed:
field Charge.currency: str - removed:
field Charge.customer: Optional[ExpandableField[Customer]] - removed:
field Charge.description: Optional[str] - removed:
field Charge.disputed: bool - removed:
field Charge.failure_balance_transaction: Optional[ExpandableField[BalanceTransaction]] - removed:
field Charge.failure_code: Optional[str] - removed:
field Charge.failure_message: Optional[str] - removed:
field Charge.fraud_details: Optional[StripeObject] - removed:
field Charge.id: str - removed:
field Charge.invoice: Optional[ExpandableField[Invoice]] - removed:
field Charge.level3: Optional[StripeObject] - removed:
field Charge.livemode: bool - removed:
field Charge.metadata: Dict[str, str] - removed:
field Charge.object: Literal['charge'] - removed:
field Charge.on_behalf_of: Optional[ExpandableField[Account]] - removed:
field Charge.outcome: Optional[StripeObject] - removed:
field Charge.paid: bool - removed:
field Charge.payment_intent: Optional[ExpandableField[PaymentIntent]] - removed:
field Charge.payment_method: Optional[str] - removed:
field Charge.payment_method_details: Optional[StripeObject] - removed:
field Charge.radar_options: Optional[StripeObject] - removed:
field Charge.receipt_email: Optional[str] - removed:
field Charge.receipt_number: Optional[str] - removed:
field Charge.receipt_url: Optional[str] - removed:
field Charge.refunded: bool - removed:
field Charge.refunds: Optional[ListObject[Refund]] - removed:
field Charge.review: Optional[ExpandableField[Review]] - removed:
field Charge.shipping: Optional[StripeObject] - removed:
field Charge.source: Optional[Any] - removed:
field Charge.source_transfer: Optional[ExpandableField[Transfer]] - removed:
field Charge.statement_descriptor: Optional[str] - removed:
field Charge.statement_descriptor_suffix: Optional[str] - removed:
field Charge.status: Literal['failed', 'pending', 'succeeded'] - removed:
field Charge.transfer: Optional[ExpandableField[Transfer]] - removed:
field Charge.transfer_data: Optional[StripeObject] - removed:
field Charge.transfer_group: Optional[str] - removed:
method Charge.capture(idempotency_key: Optional[str]=…, **params: Any) - removed:
method Charge.mark_as_fraudulent(idempotency_key=…) - removed:
method Charge.mark_as_safe(idempotency_key=…) - removed:
static method Charge.create(api_key: Optional[str]=…, idempotency_key: Optional[str]=…, stripe_version: Optional[str]=…, stripe_account: Optional[str]=…, **params: Any) -> Charge - removed:
static method Charge.list(api_key: Optional[str]=…, stripe_version: Optional[str]=…, stripe_account: Optional[str]=…, **params: Any) -> ListObject[Charge] - removed:
static method Charge.modify(id, **params: Any) -> Charge - removed:
static method Charge.retrieve(id: str, api_key: Optional[str]=…, **params: Any) -> Charge - removed:
static method Charge.search(*args, **kwargs) -> Any - removed:
static method Charge.search_auto_paging_iter(*args, **kwargs) -> Any
- removed:
class Session(CreateableAPIResource['Session'], ListableAPIResource['Session']) - removed:
field Session.OBJECT_NAME - removed:
field Session.after_expiration: Optional[StripeObject] - removed:
field Session.allow_promotion_codes: Optional[bool] - removed:
field Session.amount_subtotal: Optional[int] - removed:
field Session.amount_total: Optional[int] - removed:
field Session.automatic_tax: StripeObject - removed:
field Session.billing_address_collection: Optional[Literal['auto', 'required']] - removed:
field Session.cancel_url: Optional[str] - removed:
field Session.client_reference_id: Optional[str] - removed:
field Session.consent: Optional[StripeObject] - removed:
field Session.consent_collection: Optional[StripeObject] - removed:
field Session.created: int - removed:
field Session.currency: Optional[str] - removed:
field Session.currency_conversion: Optional[StripeObject] - removed:
field Session.custom_fields: List[StripeObject] - removed:
field Session.custom_text: StripeObject - removed:
field Session.customer: Optional[ExpandableField[Customer]] - removed:
field Session.customer_creation: Optional[Literal['always', 'if_required']] - removed:
field Session.customer_details: Optional[StripeObject] - removed:
field Session.customer_email: Optional[str] - removed:
field Session.expires_at: int - removed:
field Session.id: str - removed:
field Session.invoice: Optional[ExpandableField[Invoice]] - removed:
field Session.invoice_creation: Optional[StripeObject] - removed:
field Session.line_items: Optional[ListObject[LineItem]] - removed:
field Session.livemode: bool - removed:
field Session.locale: Optional[Literal['auto', 'bg', 'cs', 'da', 'de', 'el', 'en', 'en-GB', 'es', 'es-419', 'et', 'fi', 'fil', 'fr', 'fr-CA', 'hr', 'hu', 'id', 'it', 'ja', 'ko', 'lt', 'lv', 'ms', 'mt', 'nb', 'nl', 'pl', 'pt', 'pt-BR', 'ro', 'ru', 'sk', 'sl', 'sv', 'th', 'tr', 'vi', 'zh', 'zh-HK', 'zh-TW']] - removed:
field Session.metadata: Optional[Dict[str, str]] - removed:
field Session.mode: Literal['payment', 'setup', 'subscription'] - removed:
field Session.object: Literal['checkout.session'] - removed:
field Session.payment_intent: Optional[ExpandableField[PaymentIntent]] - removed:
field Session.payment_link: Optional[ExpandableField[PaymentLink]] - removed:
field Session.payment_method_collection: Optional[Literal['always', 'if_required']] - removed:
field Session.payment_method_configuration_details: Optional[StripeObject] - removed:
field Session.payment_method_options: Optional[StripeObject] - removed:
field Session.payment_method_types: List[str] - removed:
field Session.payment_status: Literal['no_payment_required', 'paid', 'unpaid'] - removed:
field Session.phone_number_collection: Optional[StripeObject] - removed:
field Session.recovered_from: Optional[str] - removed:
field Session.setup_intent: Optional[ExpandableField[SetupIntent]] - removed:
field Session.shipping_address_collection: Optional[StripeObject] - removed:
field Session.shipping_cost: Optional[StripeObject] - removed:
field Session.shipping_details: Optional[StripeObject] - removed:
field Session.shipping_options: List[StripeObject] - removed:
field Session.status: Optional[Literal['complete', 'expired', 'open']] - removed:
field Session.submit_type: Optional[Literal['auto', 'book', 'donate', 'pay']] - removed:
field Session.subscription: Optional[ExpandableField[Subscription]] - removed:
field Session.success_url: Optional[str] - removed:
field Session.tax_id_collection: Optional[StripeObject] - removed:
field Session.total_details: Optional[StripeObject] - removed:
field Session.url: Optional[str] - removed:
method Session.expire(idempotency_key: Optional[str]=…, **params: Any) - removed:
method Session.list_line_items(idempotency_key: Optional[str]=…, **params: Any) - removed:
static method Session.create(api_key: Optional[str]=…, idempotency_key: Optional[str]=…, stripe_version: Optional[str]=…, stripe_account: Optional[str]=…, **params: Any) -> Session - removed:
static method Session.list(api_key: Optional[str]=…, stripe_version: Optional[str]=…, stripe_account: Optional[str]=…, **params: Any) -> ListObject[Session] - removed:
static method Session.retrieve(id: str, api_key: Optional[str]=…, **params: Any) -> Session
- added:
export Order - added:
export Product - added:
export Supplier
- removed:
class ConnectCollectionTransfer(StripeObject) - removed:
field ConnectCollectionTransfer.OBJECT_NAME - removed:
field ConnectCollectionTransfer.amount: int - removed:
field ConnectCollectionTransfer.currency: str - removed:
field ConnectCollectionTransfer.destination: ExpandableField[Account] - removed:
field ConnectCollectionTransfer.id: str - removed:
field ConnectCollectionTransfer.livemode: bool - removed:
field ConnectCollectionTransfer.object: Literal['connect_collection_transfer']
- removed:
class CountrySpec(ListableAPIResource['CountrySpec']) - removed:
field CountrySpec.OBJECT_NAME - removed:
field CountrySpec.default_currency: str - removed:
field CountrySpec.id: str - removed:
field CountrySpec.object: Literal['country_spec'] - removed:
field CountrySpec.supported_bank_account_currencies: Dict[str, List[str]] - removed:
field CountrySpec.supported_payment_currencies: List[str] - removed:
field CountrySpec.supported_payment_methods: List[str] - removed:
field CountrySpec.supported_transfer_countries: List[str] - removed:
field CountrySpec.verification_fields: StripeObject - removed:
static method CountrySpec.list(api_key: Optional[str]=…, stripe_version: Optional[str]=…, stripe_account: Optional[str]=…, **params: Any) -> ListObject[CountrySpec] - removed:
static method CountrySpec.retrieve(id: str, api_key: Optional[str]=…, **params: Any) -> CountrySpec
- removed:
class Coupon(CreateableAPIResource['Coupon'], DeletableAPIResource['Coupon'], ListableAPIResource['Coupon'], UpdateableAPIResource['Coupon']) - removed:
field Coupon.OBJECT_NAME - removed:
field Coupon.amount_off: Optional[int] - removed:
field Coupon.applies_to: Optional[StripeObject] - removed:
field Coupon.created: int - removed:
field Coupon.currency: Optional[str] - removed:
field Coupon.currency_options: Optional[Dict[str, StripeObject]] - removed:
field Coupon.deleted: Optional[Literal[True]] - removed:
field Coupon.duration: Literal['forever', 'once', 'repeating'] - removed:
field Coupon.duration_in_months: Optional[int] - removed:
field Coupon.id: str - removed:
field Coupon.livemode: bool - removed:
field Coupon.max_redemptions: Optional[int] - removed:
field Coupon.metadata: Optional[Dict[str, str]] - removed:
field Coupon.name: Optional[str] - removed:
field Coupon.object: Literal['coupon'] - removed:
field Coupon.percent_off: Optional[float] - removed:
field Coupon.redeem_by: Optional[int] - removed:
field Coupon.times_redeemed: int - removed:
field Coupon.valid: bool - removed:
method Coupon.delete(**params: Any) -> Coupon - removed:
static method Coupon.create(api_key: Optional[str]=…, idempotency_key: Optional[str]=…, stripe_version: Optional[str]=…, stripe_account: Optional[str]=…, **params: Any) -> Coupon - removed:
static method Coupon.list(api_key: Optional[str]=…, stripe_version: Optional[str]=…, stripe_account: Optional[str]=…, **params: Any) -> ListObject[Coupon] - removed:
static method Coupon.modify(id, **params: Any) -> Coupon - removed:
static method Coupon.retrieve(id: str, api_key: Optional[str]=…, **params: Any) -> Coupon
- removed:
class CreditNote(CreateableAPIResource['CreditNote'], ListableAPIResource['CreditNote'], UpdateableAPIResource['CreditNote']) - removed:
field CreditNote.OBJECT_NAME - removed:
field CreditNote.amount: int - removed:
field CreditNote.amount_shipping: int - removed:
field CreditNote.created: int - removed:
field CreditNote.currency: str - removed:
field CreditNote.customer: ExpandableField[Customer] - removed:
field CreditNote.customer_balance_transaction: Optional[ExpandableField[CustomerBalanceTransaction]] - removed:
field CreditNote.discount_amount: int - removed:
field CreditNote.discount_amounts: List[StripeObject] - removed:
field CreditNote.effective_at: Optional[int] - removed:
field CreditNote.id: str - removed:
field CreditNote.invoice: ExpandableField[Invoice] - removed:
field CreditNote.lines: ListObject[CreditNoteLineItem] - removed:
field CreditNote.livemode: bool - removed:
field CreditNote.memo: Optional[str] - removed:
field CreditNote.metadata: Optional[Dict[str, str]] - removed:
field CreditNote.number: str - removed:
field CreditNote.object: Literal['credit_note'] - removed:
field CreditNote.out_of_band_amount: Optional[int] - removed:
field CreditNote.pdf: str - removed:
field CreditNote.reason: Optional[Literal['duplicate', 'fraudulent', 'order_change', 'product_unsatisfactory']] - removed:
field CreditNote.refund: Optional[ExpandableField[Refund]] - removed:
field CreditNote.shipping_cost: Optional[StripeObject] - removed:
field CreditNote.status: Literal['issued', 'void'] - removed:
field CreditNote.subtotal: int - removed:
field CreditNote.subtotal_excluding_tax: Optional[int] - removed:
field CreditNote.tax_amounts: List[StripeObject] - removed:
field CreditNote.total: int - removed:
field CreditNote.total_excluding_tax: Optional[int] - removed:
field CreditNote.type: Literal['post_payment', 'pre_payment'] - removed:
field CreditNote.voided_at: Optional[int] - removed:
method CreditNote.void_credit_note(idempotency_key: Optional[str]=…, **params: Any) - removed:
static method CreditNote.create(api_key: Optional[str]=…, idempotency_key: Optional[str]=…, stripe_version: Optional[str]=…, stripe_account: Optional[str]=…, **params: Any) -> CreditNote - removed:
static method CreditNote.list(api_key: Optional[str]=…, stripe_version: Optional[str]=…, stripe_account: Optional[str]=…, **params: Any) -> ListObject[CreditNote] - removed:
static method CreditNote.list_lines(credit_note: str, api_key: Optional[str]=…, stripe_version: Optional[str]=…, stripe_account: Optional[str]=…, **params: Any) - removed:
static method CreditNote.modify(id, **params: Any) -> CreditNote - removed:
static method CreditNote.preview(api_key: Optional[str]=…, stripe_version: Optional[str]=…, stripe_account: Optional[str]=…, **params: Any) - removed:
static method CreditNote.preview_lines(api_key: Optional[str]=…, stripe_version: Optional[str]=…, stripe_account: Optional[str]=…, **params: Any) - removed:
static method CreditNote.retrieve(id: str, api_key: Optional[str]=…, **params: Any) -> CreditNote
- removed:
class CreditNoteLineItem(ListableAPIResource['CreditNoteLineItem']) - removed:
field CreditNoteLineItem.OBJECT_NAME - removed:
field CreditNoteLineItem.amount: int - removed:
field CreditNoteLineItem.amount_excluding_tax: Optional[int] - removed:
field CreditNoteLineItem.description: Optional[str] - removed:
field CreditNoteLineItem.discount_amount: int - removed:
field CreditNoteLineItem.discount_amounts: List[StripeObject] - removed:
field CreditNoteLineItem.id: str - removed:
field CreditNoteLineItem.invoice_line_item: Optional[str] - removed:
field CreditNoteLineItem.livemode: bool - removed:
field CreditNoteLineItem.object: Literal['credit_note_line_item'] - removed:
field CreditNoteLineItem.quantity: Optional[int] - removed:
field CreditNoteLineItem.tax_amounts: List[StripeObject] - removed:
field CreditNoteLineItem.tax_rates: List[TaxRate] - removed:
field CreditNoteLineItem.type: Literal['custom_line_item', 'invoice_line_item'] - removed:
field CreditNoteLineItem.unit_amount: Optional[int] - removed:
field CreditNoteLineItem.unit_amount_decimal: Optional[float] - removed:
field CreditNoteLineItem.unit_amount_excluding_tax: Optional[float] - removed:
static method CreditNoteLineItem.list(api_key: Optional[str]=…, stripe_version: Optional[str]=…, stripe_account: Optional[str]=…, **params: Any) -> ListObject[CreditNoteLineItem]
- removed:
class Customer(CreateableAPIResource['Customer'], DeletableAPIResource['Customer'], ListableAPIResource['Customer'], SearchableAPIResource['Customer'], UpdateableAPIResource['Customer']) - removed:
class Customer.TestHelpers(APIResourceTestHelpers['Customer']) - removed:
field Customer.OBJECT_NAME - removed:
field Customer.address: Optional[StripeObject] - removed:
field Customer.balance: Optional[int] - removed:
field Customer.cash_balance: Optional[CashBalance] - removed:
field Customer.created: int - removed:
field Customer.currency: Optional[str] - removed:
field Customer.default_source: Optional[ExpandableField[Any]] - removed:
field Customer.deleted: Optional[Literal[True]] - removed:
field Customer.delinquent: Optional[bool] - removed:
field Customer.description: Optional[str] - removed:
field Customer.discount: Optional[Discount] - removed:
field Customer.email: Optional[str] - removed:
field Customer.id: str - removed:
field Customer.invoice_credit_balance: Optional[Dict[str, int]] - removed:
field Customer.invoice_prefix: Optional[str] - removed:
field Customer.invoice_settings: Optional[StripeObject] - removed:
field Customer.livemode: bool - removed:
field Customer.metadata: Optional[Dict[str, str]] - removed:
field Customer.name: Optional[str] - removed:
field Customer.next_invoice_sequence: Optional[int] - removed:
field Customer.object: Literal['customer'] - removed:
field Customer.phone: Optional[str] - removed:
field Customer.preferred_locales: Optional[List[str]] - removed:
field Customer.shipping: Optional[StripeObject] - removed:
field Customer.sources: Optional[ListObject[Any]] - removed:
field Customer.subscriptions: Optional[ListObject[Subscription]] - removed:
field Customer.tax: Optional[StripeObject] - removed:
field Customer.tax_exempt: Optional[Literal['exempt', 'none', 'reverse']] - removed:
field Customer.tax_ids: Optional[ListObject[TaxId]] - removed:
field Customer.test_clock: Optional[ExpandableField[TestClock]] - removed:
method Customer.TestHelpers.fund_cash_balance(idempotency_key: Optional[str]=…, **params: Any) - removed:
method Customer.create_funding_instructions(idempotency_key: Optional[str]=…, **params: Any) - removed:
method Customer.delete(**params: Any) -> Customer - removed:
method Customer.delete_discount(idempotency_key: Optional[str]=…, **params: Any) - removed:
method Customer.list_payment_methods(idempotency_key: Optional[str]=…, **params: Any) - removed:
method Customer.retrieve_payment_method(payment_method: str, idempotency_key: Optional[str]=…, **params: Any) - removed:
property Customer.test_helpers - removed:
static method Customer.create(api_key: Optional[str]=…, idempotency_key: Optional[str]=…, stripe_version: Optional[str]=…, stripe_account: Optional[str]=…, **params: Any) -> Customer - removed:
static method Customer.create_balance_transaction(customer: str, api_key: Optional[str]=…, stripe_version: Optional[str]=…, stripe_account: Optional[str]=…, **params: Any) - removed:
static method Customer.create_source(customer: str, api_key: Optional[str]=…, stripe_version: Optional[str]=…, stripe_account: Optional[str]=…, **params: Any) - removed:
static method Customer.create_tax_id(customer: str, api_key: Optional[str]=…, stripe_version: Optional[str]=…, stripe_account: Optional[str]=…, **params: Any) - removed:
static method Customer.delete_source(customer: str, id: str, api_key: Optional[str]=…, stripe_version: Optional[str]=…, stripe_account: Optional[str]=…, **params: Any) - removed:
static method Customer.delete_tax_id(customer: str, id: str, api_key: Optional[str]=…, stripe_version: Optional[str]=…, stripe_account: Optional[str]=…, **params: Any) - removed:
static method Customer.list(api_key: Optional[str]=…, stripe_version: Optional[str]=…, stripe_account: Optional[str]=…, **params: Any) -> ListObject[Customer] - removed:
static method Customer.list_balance_transactions(customer: str, api_key: Optional[str]=…, stripe_version: Optional[str]=…, stripe_account: Optional[str]=…, **params: Any) - removed:
static method Customer.list_cash_balance_transactions(customer: str, api_key: Optional[str]=…, stripe_version: Optional[str]=…, stripe_account: Optional[str]=…, **params: Any) - removed:
static method Customer.list_sources(customer: str, api_key: Optional[str]=…, stripe_version: Optional[str]=…, stripe_account: Optional[str]=…, **params: Any) - removed:
static method Customer.list_tax_ids(customer: str, api_key: Optional[str]=…, stripe_version: Optional[str]=…, stripe_account: Optional[str]=…, **params: Any) - removed:
static method Customer.modify(id, **params: Any) -> Customer - removed:
static method Customer.modify_balance_transaction(customer: str, transaction: str, api_key: Optional[str]=…, stripe_version: Optional[str]=…, stripe_account: Optional[str]=…, **params: Any) - removed:
static method Customer.modify_cash_balance(customer: str, api_key: Optional[str]=…, stripe_version: Optional[str]=…, stripe_account: Optional[str]=…, **params: Any) - removed:
static method Customer.modify_source(customer: str, id: str, api_key: Optional[str]=…, stripe_version: Optional[str]=…, stripe_account: Optional[str]=…, **params: Any) - removed:
static method Customer.retrieve(id: str, api_key: Optional[str]=…, **params: Any) -> Customer - removed:
static method Customer.retrieve_balance_transaction(customer: str, transaction: str, api_key: Optional[str]=…, stripe_version: Optional[str]=…, stripe_account: Optional[str]=…, **params: Any) - removed:
static method Customer.retrieve_cash_balance(customer: str, api_key: Optional[str]=…, stripe_version: Optional[str]=…, stripe_account: Optional[str]=…, **params: Any) - removed:
static method Customer.retrieve_cash_balance_transaction(customer: str, transaction: str, api_key: Optional[str]=…, stripe_version: Optional[str]=…, stripe_account: Optional[str]=…, **params: Any) - removed:
static method Customer.retrieve_source(customer: str, id: str, api_key: Optional[str]=…, stripe_version: Optional[str]=…, stripe_account: Optional[str]=…, **params: Any) - removed:
static method Customer.retrieve_tax_id(customer: str, id: str, api_key: Optional[str]=…, stripe_version: Optional[str]=…, stripe_account: Optional[str]=…, **params: Any) - removed:
static method Customer.search(*args, **kwargs) -> Any - removed:
static method Customer.search_auto_paging_iter(*args, **kwargs) -> Any
- removed:
class CustomerBalanceTransaction(APIResource['CustomerBalanceTransaction']) - removed:
field CustomerBalanceTransaction.OBJECT_NAME - removed:
field CustomerBalanceTransaction.amount: int - removed:
field CustomerBalanceTransaction.created: int - removed:
field CustomerBalanceTransaction.credit_note: Optional[ExpandableField[CreditNote]] - removed:
field CustomerBalanceTransaction.currency: str - removed:
field CustomerBalanceTransaction.customer: ExpandableField[Customer] - removed:
field CustomerBalanceTransaction.description: Optional[str] - removed:
field CustomerBalanceTransaction.ending_balance: int - removed:
field CustomerBalanceTransaction.id: str - removed:
field CustomerBalanceTransaction.invoice: Optional[ExpandableField[Invoice]] - removed:
field CustomerBalanceTransaction.livemode: bool - removed:
field CustomerBalanceTransaction.metadata: Optional[Dict[str, str]] - removed:
field CustomerBalanceTransaction.object: Literal['customer_balance_transaction'] - removed:
field CustomerBalanceTransaction.type: Literal['adjustment', 'applied_to_invoice', 'credit_note', 'initial', 'invoice_overpaid', 'invoice_too_large', 'invoice_too_small', 'migration', 'unapplied_from_invoice', 'unspent_receiver_credit'] - removed:
method CustomerBalanceTransaction.instance_url() - removed:
static method CustomerBalanceTransaction.retrieve(id, api_key=…, **params)
- removed:
class CustomerCashBalanceTransaction(ListableAPIResource['CustomerCashBalanceTransaction']) - removed:
field CustomerCashBalanceTransaction.OBJECT_NAME - removed:
field CustomerCashBalanceTransaction.adjusted_for_overdraft: Optional[StripeObject] - removed:
field CustomerCashBalanceTransaction.applied_to_payment: Optional[StripeObject] - removed:
field CustomerCashBalanceTransaction.created: int - removed:
field CustomerCashBalanceTransaction.currency: str - removed:
field CustomerCashBalanceTransaction.customer: ExpandableField[Customer] - removed:
field CustomerCashBalanceTransaction.ending_balance: int - removed:
field CustomerCashBalanceTransaction.funded: Optional[StripeObject] - removed:
field CustomerCashBalanceTransaction.id: str - removed:
field CustomerCashBalanceTransaction.livemode: bool - removed:
field CustomerCashBalanceTransaction.net_amount: int - removed:
field CustomerCashBalanceTransaction.object: Literal['customer_cash_balance_transaction'] - removed:
field CustomerCashBalanceTransaction.refunded_from_payment: Optional[StripeObject] - removed:
field CustomerCashBalanceTransaction.type: Literal['adjusted_for_overdraft', 'applied_to_payment', 'funded', 'funding_reversed', 'refunded_from_payment', 'return_canceled', 'return_initiated', 'unapplied_from_payment'] - removed:
field CustomerCashBalanceTransaction.unapplied_from_payment: Optional[StripeObject] - removed:
static method CustomerCashBalanceTransaction.list(api_key: Optional[str]=…, stripe_version: Optional[str]=…, stripe_account: Optional[str]=…, **params: Any) -> ListObject[CustomerCashBalanceTransaction] - removed:
static method CustomerCashBalanceTransaction.retrieve(id: str, api_key: Optional[str]=…, **params: Any) -> CustomerCashBalanceTransaction
- removed:
class Discount(StripeObject) - removed:
field Discount.OBJECT_NAME - removed:
field Discount.checkout_session: Optional[str] - removed:
field Discount.coupon: Coupon - removed:
field Discount.customer: Optional[ExpandableField[Customer]] - removed:
field Discount.deleted: Optional[Literal[True]] - removed:
field Discount.end: Optional[int] - removed:
field Discount.id: str - removed:
field Discount.invoice: Optional[str] - removed:
field Discount.invoice_item: Optional[str] - removed:
field Discount.object: Literal['discount'] - removed:
field Discount.promotion_code: Optional[ExpandableField[PromotionCode]] - removed:
field Discount.start: int - removed:
field Discount.subscription: Optional[str]
- removed:
class Dispute(ListableAPIResource['Dispute'], UpdateableAPIResource['Dispute']) - removed:
field Dispute.OBJECT_NAME - removed:
field Dispute.amount: int - removed:
field Dispute.balance_transactions: List[BalanceTransaction] - removed:
field Dispute.charge: ExpandableField[Charge] - removed:
field Dispute.created: int - removed:
field Dispute.currency: str - removed:
field Dispute.evidence: StripeObject - removed:
field Dispute.evidence_details: StripeObject - removed:
field Dispute.id: str - removed:
field Dispute.is_charge_refundable: bool - removed:
field Dispute.livemode: bool - removed:
field Dispute.metadata: Dict[str, str] - removed:
field Dispute.network_reason_code: Optional[str] - removed:
field Dispute.object: Literal['dispute'] - removed:
field Dispute.payment_intent: Optional[ExpandableField[PaymentIntent]] - removed:
field Dispute.payment_method_details: Optional[StripeObject] - removed:
field Dispute.reason: str - removed:
field Dispute.status: Literal['lost', 'needs_response', 'under_review', 'warning_closed', 'warning_needs_response', 'warning_under_review', 'won'] - removed:
method Dispute.close(idempotency_key: Optional[str]=…, **params: Any) - removed:
static method Dispute.list(api_key: Optional[str]=…, stripe_version: Optional[str]=…, stripe_account: Optional[str]=…, **params: Any) -> ListObject[Dispute] - removed:
static method Dispute.modify(id, **params: Any) -> Dispute - removed:
static method Dispute.retrieve(id: str, api_key: Optional[str]=…, **params: Any) -> Dispute
- removed:
class EphemeralKey(DeletableAPIResource['EphemeralKey']) - removed:
field EphemeralKey.OBJECT_NAME - removed:
field EphemeralKey.created: int - removed:
field EphemeralKey.expires: int - removed:
field EphemeralKey.id: str - removed:
field EphemeralKey.livemode: bool - removed:
field EphemeralKey.object: Literal['ephemeral_key'] - removed:
field EphemeralKey.secret: Optional[str] - removed:
method EphemeralKey.delete(**params: Any) -> EphemeralKey - removed:
static method EphemeralKey.create(api_key=…, idempotency_key=…, stripe_version=…, stripe_account=…, **params)
- removed:
class ErrorObject(StripeObject) - removed:
class OAuthErrorObject(StripeObject) - removed:
method ErrorObject.refresh_from(values, api_key=…, partial=…, stripe_version=…, stripe_account=…, last_response=…) - removed:
method OAuthErrorObject.refresh_from(values, api_key=…, partial=…, stripe_version=…, stripe_account=…, last_response=…)
- removed:
class Event(ListableAPIResource['Event']) - removed:
field Event.OBJECT_NAME - removed:
field Event.account: Optional[str] - removed:
field Event.api_version: Optional[str] - removed:
field Event.created: int - removed:
field Event.data: StripeObject - removed:
field Event.id: str - removed:
field Event.livemode: bool - removed:
field Event.object: Literal['event'] - removed:
field Event.pending_webhooks: int - removed:
field Event.request: Optional[StripeObject] - removed:
field Event.type: Literal['account.application.authorized', 'account.application.deauthorized', 'account.external_account.created', 'account.external_account.deleted', 'account.external_account.updated', 'account.updated', 'application_fee.created', 'application_fee.refund.updated', 'application_fee.refunded', 'balance.available', 'billing_portal.configuration.created', 'billing_portal.configurat… - removed:
static method Event.list(api_key: Optional[str]=…, stripe_version: Optional[str]=…, stripe_account: Optional[str]=…, **params: Any) -> ListObject[Event] - removed:
static method Event.retrieve(id: str, api_key: Optional[str]=…, **params: Any) -> Event
- removed:
class ExchangeRate(ListableAPIResource['ExchangeRate']) - removed:
field ExchangeRate.OBJECT_NAME - removed:
field ExchangeRate.id: str - removed:
field ExchangeRate.object: Literal['exchange_rate'] - removed:
field ExchangeRate.rates: Dict[str, float] - removed:
static method ExchangeRate.list(api_key: Optional[str]=…, stripe_version: Optional[str]=…, stripe_account: Optional[str]=…, **params: Any) -> ListObject[ExchangeRate] - removed:
static method ExchangeRate.retrieve(id: str, api_key: Optional[str]=…, **params: Any) -> ExchangeRate
- removed:
variable ExpandableField - removed:
variable T
- removed:
class File(ListableAPIResource['File']) - removed:
field File.OBJECT_NAME - removed:
field File.OBJECT_NAME_ALT - removed:
field File.created: int - removed:
field File.expires_at: Optional[int] - removed:
field File.filename: Optional[str] - removed:
field File.id: str - removed:
field File.links: Optional[ListObject[FileLink]] - removed:
field File.object: Literal['file'] - removed:
field File.purpose: Literal['account_requirement', 'additional_verification', 'business_icon', 'business_logo', 'customer_signature', 'dispute_evidence', 'document_provider_identity_document', 'finance_report_run', 'identity_document', 'identity_document_downloadable', 'pci_document', 'selfie', 'sigma_scheduled_query', 'tax_document_user_upload', 'terminal_reader_splashscreen'] - removed:
field File.size: int - removed:
field File.title: Optional[str] - removed:
field File.type: Optional[str] - removed:
field File.url: Optional[str] - removed:
static method File.class_url() - removed:
static method File.create(api_key=…, api_version=…, stripe_version=…, stripe_account=…, **params) - removed:
static method File.list(api_key: Optional[str]=…, stripe_version: Optional[str]=…, stripe_account: Optional[str]=…, **params: Any) -> ListObject[File] - removed:
static method File.retrieve(id: str, api_key: Optional[str]=…, **params: Any) -> File - removed:
variable FileUpload
- removed:
class FileLink(CreateableAPIResource['FileLink'], ListableAPIResource['FileLink'], UpdateableAPIResource['FileLink']) - removed:
field FileLink.OBJECT_NAME - removed:
field FileLink.created: int - removed:
field FileLink.expired: bool - removed:
field FileLink.expires_at: Optional[int] - removed:
field FileLink.file: ExpandableField[File] - removed:
field FileLink.id: str - removed:
field FileLink.livemode: bool - removed:
field FileLink.metadata: Dict[str, str] - removed:
field FileLink.object: Literal['file_link'] - removed:
field FileLink.url: Optional[str] - removed:
static method FileLink.create(api_key: Optional[str]=…, idempotency_key: Optional[str]=…, stripe_version: Optional[str]=…, stripe_account: Optional[str]=…, **params: Any) -> FileLink - removed:
static method FileLink.list(api_key: Optional[str]=…, stripe_version: Optional[str]=…, stripe_account: Optional[str]=…, **params: Any) -> ListObject[FileLink] - removed:
static method FileLink.modify(id, **params: Any) -> FileLink - removed:
static method FileLink.retrieve(id: str, api_key: Optional[str]=…, **params: Any) -> FileLink
- added:
export Transaction
- removed:
class Account(ListableAPIResource['Account']) - removed:
field Account.OBJECT_NAME - removed:
field Account.account_holder: Optional[StripeObject] - removed:
field Account.balance: Optional[StripeObject] - removed:
field Account.balance_refresh: Optional[StripeObject] - removed:
field Account.category: Literal['cash', 'credit', 'investment', 'other'] - removed:
field Account.created: int - removed:
field Account.display_name: Optional[str] - removed:
field Account.id: str - removed:
field Account.institution_name: str - removed:
field Account.last4: Optional[str] - removed:
field Account.livemode: bool - removed:
field Account.object: Literal['financial_connections.account'] - removed:
field Account.ownership: Optional[ExpandableField[AccountOwnership]] - removed:
field Account.ownership_refresh: Optional[StripeObject] - removed:
field Account.permissions: Optional[List[Literal['balances', 'ownership', 'payment_method', 'transactions']]] - removed:
field Account.status: Literal['active', 'disconnected', 'inactive'] - removed:
field Account.subcategory: Literal['checking', 'credit_card', 'line_of_credit', 'mortgage', 'other', 'savings'] - removed:
field Account.supported_payment_method_types: List[Literal['link', 'us_bank_account']] - removed:
method Account.disconnect(idempotency_key: Optional[str]=…, **params: Any) - removed:
method Account.list_owners(idempotency_key: Optional[str]=…, **params: Any) - removed:
method Account.refresh_account(idempotency_key: Optional[str]=…, **params: Any) - removed:
static method Account.list(api_key: Optional[str]=…, stripe_version: Optional[str]=…, stripe_account: Optional[str]=…, **params: Any) -> ListObject[Account] - removed:
static method Account.retrieve(id: str, api_key: Optional[str]=…, **params: Any) -> Account
- removed:
class AccountOwner(StripeObject) - removed:
field AccountOwner.OBJECT_NAME - removed:
field AccountOwner.email: Optional[str] - removed:
field AccountOwner.id: str - removed:
field AccountOwner.name: str - removed:
field AccountOwner.object: Literal['financial_connections.account_owner'] - removed:
field AccountOwner.ownership: str - removed:
field AccountOwner.phone: Optional[str] - removed:
field AccountOwner.raw_address: Optional[str] - removed:
field AccountOwner.refreshed_at: Optional[int]
- removed:
class AccountOwnership(StripeObject) - removed:
field AccountOwnership.OBJECT_NAME - removed:
field AccountOwnership.created: int - removed:
field AccountOwnership.id: str - removed:
field AccountOwnership.object: Literal['financial_connections.account_ownership'] - removed:
field AccountOwnership.owners: ListObject[AccountOwner]
- removed:
class Session(CreateableAPIResource['Session']) - removed:
field Session.OBJECT_NAME - removed:
field Session.account_holder: Optional[StripeObject] - removed:
field Session.accounts: ListObject[Account] - removed:
field Session.client_secret: str - removed:
field Session.filters: Optional[StripeObject] - removed:
field Session.id: str - removed:
field Session.livemode: bool - removed:
field Session.object: Literal['financial_connections.session'] - removed:
field Session.permissions: List[Literal['balances', 'ownership', 'payment_method', 'transactions']] - removed:
field Session.prefetch: Optional[List[Literal['balances', 'ownership']]] - removed:
field Session.return_url: Optional[str] - removed:
static method Session.create(api_key: Optional[str]=…, idempotency_key: Optional[str]=…, stripe_version: Optional[str]=…, stripe_account: Optional[str]=…, **params: Any) -> Session - removed:
static method Session.retrieve(id: str, api_key: Optional[str]=…, **params: Any) -> Session
- removed:
class FundingInstructions(StripeObject) - removed:
field FundingInstructions.OBJECT_NAME - removed:
field FundingInstructions.bank_transfer: StripeObject - removed:
field FundingInstructions.currency: str - removed:
field FundingInstructions.funding_type: Literal['bank_transfer'] - removed:
field FundingInstructions.livemode: bool - removed:
field FundingInstructions.object: Literal['funding_instructions']
- removed:
class VerificationReport(ListableAPIResource['VerificationReport']) - removed:
field VerificationReport.OBJECT_NAME - removed:
field VerificationReport.created: int - removed:
field VerificationReport.document: Optional[StripeObject] - removed:
field VerificationReport.id: str - removed:
field VerificationReport.id_number: Optional[StripeObject] - removed:
field VerificationReport.livemode: bool - removed:
field VerificationReport.object: Literal['identity.verification_report'] - removed:
field VerificationReport.options: Optional[StripeObject] - removed:
field VerificationReport.selfie: Optional[StripeObject] - removed:
field VerificationReport.type: Optional[Literal['document', 'id_number']] - removed:
field VerificationReport.verification_session: Optional[str] - removed:
static method VerificationReport.list(api_key: Optional[str]=…, stripe_version: Optional[str]=…, stripe_account: Optional[str]=…, **params: Any) -> ListObject[VerificationReport] - removed:
static method VerificationReport.retrieve(id: str, api_key: Optional[str]=…, **params: Any) -> VerificationReport
- removed:
class VerificationSession(CreateableAPIResource['VerificationSession'], ListableAPIResource['VerificationSession'], UpdateableAPIResource['VerificationSession']) - removed:
field VerificationSession.OBJECT_NAME - removed:
field VerificationSession.client_secret: Optional[str] - removed:
field VerificationSession.created: int - removed:
field VerificationSession.id: str - removed:
field VerificationSession.last_error: Optional[StripeObject] - removed:
field VerificationSession.last_verification_report: Optional[ExpandableField[VerificationReport]] - removed:
field VerificationSession.livemode: bool - removed:
field VerificationSession.metadata: Dict[str, str] - removed:
field VerificationSession.object: Literal['identity.verification_session'] - removed:
field VerificationSession.options: Optional[StripeObject] - removed:
field VerificationSession.redaction: Optional[StripeObject] - removed:
field VerificationSession.status: Literal['canceled', 'processing', 'requires_input', 'verified'] - removed:
field VerificationSession.type: Optional[Literal['document', 'id_number']] - removed:
field VerificationSession.url: Optional[str] - removed:
field VerificationSession.verified_outputs: Optional[StripeObject] - removed:
method VerificationSession.cancel(idempotency_key: Optional[str]=…, **params: Any) - removed:
method VerificationSession.redact(idempotency_key: Optional[str]=…, **params: Any) - removed:
static method VerificationSession.create(api_key: Optional[str]=…, idempotency_key: Optional[str]=…, stripe_version: Optional[str]=…, stripe_account: Optional[str]=…, **params: Any) -> VerificationSession - removed:
static method VerificationSession.list(api_key: Optional[str]=…, stripe_version: Optional[str]=…, stripe_account: Optional[str]=…, **params: Any) -> ListObject[VerificationSession] - removed:
static method VerificationSession.modify(id, **params: Any) -> VerificationSession - removed:
static method VerificationSession.retrieve(id: str, api_key: Optional[str]=…, **params: Any) -> VerificationSession
- removed:
class Invoice(CreateableAPIResource['Invoice'], DeletableAPIResource['Invoice'], ListableAPIResource['Invoice'], SearchableAPIResource['Invoice'], UpdateableAPIResource['Invoice']) - removed:
field Invoice.OBJECT_NAME - removed:
field Invoice.account_country: Optional[str] - removed:
field Invoice.account_name: Optional[str] - removed:
field Invoice.account_tax_ids: Optional[List[ExpandableField[TaxId]]] - removed:
field Invoice.amount_due: int - removed:
field Invoice.amount_paid: int - removed:
field Invoice.amount_remaining: int - removed:
field Invoice.amount_shipping: int - removed:
field Invoice.application: Optional[ExpandableField[Application]] - removed:
field Invoice.application_fee_amount: Optional[int] - removed:
field Invoice.attempt_count: int - removed:
field Invoice.attempted: bool - removed:
field Invoice.auto_advance: Optional[bool] - removed:
field Invoice.automatic_tax: StripeObject - removed:
field Invoice.billing_reason: Optional[Literal['automatic_pending_invoice_item_invoice', 'manual', 'quote_accept', 'subscription', 'subscription_create', 'subscription_cycle', 'subscription_threshold', 'subscription_update', 'upcoming']] - removed:
field Invoice.charge: Optional[ExpandableField[Charge]] - removed:
field Invoice.collection_method: Literal['charge_automatically', 'send_invoice'] - removed:
field Invoice.created: int - removed:
field Invoice.currency: str - removed:
field Invoice.custom_fields: Optional[List[StripeObject]] - removed:
field Invoice.customer: Optional[ExpandableField[Customer]] - removed:
field Invoice.customer_address: Optional[StripeObject] - removed:
field Invoice.customer_email: Optional[str] - removed:
field Invoice.customer_name: Optional[str] - removed:
field Invoice.customer_phone: Optional[str] - removed:
field Invoice.customer_shipping: Optional[StripeObject] - removed:
field Invoice.customer_tax_exempt: Optional[Literal['exempt', 'none', 'reverse']] - removed:
field Invoice.customer_tax_ids: Optional[List[StripeObject]] - removed:
field Invoice.default_payment_method: Optional[ExpandableField[PaymentMethod]] - removed:
field Invoice.default_source: Optional[ExpandableField[Any]] - removed:
field Invoice.default_tax_rates: List[TaxRate] - removed:
field Invoice.deleted: Optional[Literal[True]] - removed:
field Invoice.description: Optional[str] - removed:
field Invoice.discount: Optional[Discount] - removed:
field Invoice.discounts: Optional[List[ExpandableField[Discount]]] - removed:
field Invoice.due_date: Optional[int] - removed:
field Invoice.effective_at: Optional[int] - removed:
field Invoice.ending_balance: Optional[int] - removed:
field Invoice.footer: Optional[str] - removed:
field Invoice.from_invoice: Optional[StripeObject] - removed:
field Invoice.hosted_invoice_url: Optional[str] - removed:
field Invoice.id: Optional[str] - removed:
field Invoice.invoice_pdf: Optional[str] - removed:
field Invoice.last_finalization_error: Optional[StripeObject] - removed:
field Invoice.latest_revision: Optional[ExpandableField[Invoice]] - removed:
field Invoice.lines: ListObject[InvoiceLineItem] - removed:
field Invoice.livemode: bool - removed:
field Invoice.metadata: Optional[Dict[str, str]] - removed:
field Invoice.next_payment_attempt: Optional[int] - removed:
field Invoice.number: Optional[str] - removed:
field Invoice.object: Literal['invoice'] - removed:
field Invoice.on_behalf_of: Optional[ExpandableField[Account]] - removed:
field Invoice.paid: bool - removed:
field Invoice.paid_out_of_band: bool - removed:
field Invoice.payment_intent: Optional[ExpandableField[PaymentIntent]] - removed:
field Invoice.payment_settings: StripeObject - removed:
field Invoice.period_end: int - removed:
field Invoice.period_start: int - removed:
field Invoice.post_payment_credit_notes_amount: int - removed:
field Invoice.pre_payment_credit_notes_amount: int - removed:
field Invoice.quote: Optional[ExpandableField[Quote]] - removed:
field Invoice.receipt_number: Optional[str] - removed:
field Invoice.rendering: Optional[StripeObject] - removed:
field Invoice.rendering_options: Optional[StripeObject] - removed:
field Invoice.shipping_cost: Optional[StripeObject] - removed:
field Invoice.shipping_details: Optional[StripeObject] - removed:
field Invoice.starting_balance: int - removed:
field Invoice.statement_descriptor: Optional[str] - removed:
field Invoice.status: Optional[Literal['draft', 'open', 'paid', 'uncollectible', 'void']] - removed:
field Invoice.status_transitions: StripeObject - removed:
field Invoice.subscription: Optional[ExpandableField[Subscription]] - removed:
field Invoice.subscription_details: Optional[StripeObject] - removed:
field Invoice.subscription_proration_date: Optional[int] - removed:
field Invoice.subtotal: int - removed:
field Invoice.subtotal_excluding_tax: Optional[int] - removed:
field Invoice.tax: Optional[int] - removed:
field Invoice.test_clock: Optional[ExpandableField[TestClock]] - removed:
field Invoice.threshold_reason: Optional[StripeObject] - removed:
field Invoice.total: int - removed:
field Invoice.total_discount_amounts: Optional[List[StripeObject]] - removed:
field Invoice.total_excluding_tax: Optional[int] - removed:
field Invoice.total_tax_amounts: List[StripeObject] - removed:
field Invoice.transfer_data: Optional[StripeObject] - removed:
field Invoice.webhooks_delivered_at: Optional[int] - removed:
method Invoice.delete(**params: Any) -> Invoice - removed:
method Invoice.finalize_invoice(idempotency_key: Optional[str]=…, **params: Any) - removed:
method Invoice.mark_uncollectible(idempotency_key: Optional[str]=…, **params: Any) - removed:
method Invoice.pay(idempotency_key: Optional[str]=…, **params: Any) - removed:
method Invoice.send_invoice(idempotency_key: Optional[str]=…, **params: Any) - removed:
method Invoice.void_invoice(idempotency_key: Optional[str]=…, **params: Any) - removed:
static method Invoice.create(api_key: Optional[str]=…, idempotency_key: Optional[str]=…, stripe_version: Optional[str]=…, stripe_account: Optional[str]=…, **params: Any) -> Invoice - removed:
static method Invoice.list(api_key: Optional[str]=…, stripe_version: Optional[str]=…, stripe_account: Optional[str]=…, **params: Any) -> ListObject[Invoice] - removed:
static method Invoice.modify(id, **params: Any) -> Invoice - removed:
static method Invoice.retrieve(id: str, api_key: Optional[str]=…, **params: Any) -> Invoice - removed:
static method Invoice.search(*args, **kwargs) -> Any - removed:
static method Invoice.search_auto_paging_iter(*args, **kwargs) -> Any - removed:
static method Invoice.upcoming(api_key: Optional[str]=…, stripe_version: Optional[str]=…, stripe_account: Optional[str]=…, **params: Any) - removed:
static method Invoice.upcoming_lines(api_key: Optional[str]=…, stripe_version: Optional[str]=…, stripe_account: Optional[str]=…, **params: Any)
- removed:
class InvoiceItem(CreateableAPIResource['InvoiceItem'], DeletableAPIResource['InvoiceItem'], ListableAPIResource['InvoiceItem'], UpdateableAPIResource['InvoiceItem']) - removed:
field InvoiceItem.OBJECT_NAME - removed:
field InvoiceItem.amount: int - removed:
field InvoiceItem.currency: str - removed:
field InvoiceItem.customer: ExpandableField[Customer] - removed:
field InvoiceItem.date: int - removed:
field InvoiceItem.deleted: Optional[Literal[True]] - removed:
field InvoiceItem.description: Optional[str] - removed:
field InvoiceItem.discountable: bool - removed:
field InvoiceItem.discounts: Optional[List[ExpandableField[Discount]]] - removed:
field InvoiceItem.id: str - removed:
field InvoiceItem.invoice: Optional[ExpandableField[Invoice]] - removed:
field InvoiceItem.livemode: bool - removed:
field InvoiceItem.metadata: Optional[Dict[str, str]] - removed:
field InvoiceItem.object: Literal['invoiceitem'] - removed:
field InvoiceItem.period: StripeObject - removed:
field InvoiceItem.plan: Optional[Plan] - removed:
field InvoiceItem.price: Optional[Price] - removed:
field InvoiceItem.proration: bool - removed:
field InvoiceItem.quantity: int - removed:
field InvoiceItem.subscription: Optional[ExpandableField[Subscription]] - removed:
field InvoiceItem.subscription_item: Optional[str] - removed:
field InvoiceItem.tax_rates: Optional[List[TaxRate]] - removed:
field InvoiceItem.test_clock: Optional[ExpandableField[TestClock]] - removed:
field InvoiceItem.unit_amount: Optional[int] - removed:
field InvoiceItem.unit_amount_decimal: Optional[float] - removed:
method InvoiceItem.delete(**params: Any) -> InvoiceItem - removed:
static method InvoiceItem.create(api_key: Optional[str]=…, idempotency_key: Optional[str]=…, stripe_version: Optional[str]=…, stripe_account: Optional[str]=…, **params: Any) -> InvoiceItem - removed:
static method InvoiceItem.list(api_key: Optional[str]=…, stripe_version: Optional[str]=…, stripe_account: Optional[str]=…, **params: Any) -> ListObject[InvoiceItem] - removed:
static method InvoiceItem.modify(id, **params: Any) -> InvoiceItem - removed:
static method InvoiceItem.retrieve(id: str, api_key: Optional[str]=…, **params: Any) -> InvoiceItem
- removed:
class InvoiceLineItem(StripeObject) - removed:
field InvoiceLineItem.OBJECT_NAME - removed:
field InvoiceLineItem.amount: int - removed:
field InvoiceLineItem.amount_excluding_tax: Optional[int] - removed:
field InvoiceLineItem.currency: str - removed:
field InvoiceLineItem.description: Optional[str] - removed:
field InvoiceLineItem.discount_amounts: Optional[List[StripeObject]] - removed:
field InvoiceLineItem.discountable: bool - removed:
field InvoiceLineItem.discounts: Optional[List[ExpandableField[Discount]]] - removed:
field InvoiceLineItem.id: str - removed:
field InvoiceLineItem.invoice_item: Optional[ExpandableField[InvoiceItem]] - removed:
field InvoiceLineItem.livemode: bool - removed:
field InvoiceLineItem.metadata: Dict[str, str] - removed:
field InvoiceLineItem.object: Literal['line_item'] - removed:
field InvoiceLineItem.period: StripeObject - removed:
field InvoiceLineItem.plan: Optional[Plan] - removed:
field InvoiceLineItem.price: Optional[Price] - removed:
field InvoiceLineItem.proration: bool - removed:
field InvoiceLineItem.proration_details: Optional[StripeObject] - removed:
field InvoiceLineItem.quantity: Optional[int] - removed:
field InvoiceLineItem.subscription: Optional[ExpandableField[Subscription]] - removed:
field InvoiceLineItem.subscription_item: Optional[ExpandableField[SubscriptionItem]] - removed:
field InvoiceLineItem.tax_amounts: Optional[List[StripeObject]] - removed:
field InvoiceLineItem.tax_rates: Optional[List[TaxRate]] - removed:
field InvoiceLineItem.type: Literal['invoiceitem', 'subscription'] - removed:
field InvoiceLineItem.unit_amount_excluding_tax: Optional[float]
- removed:
class Authorization(ListableAPIResource['Authorization'], UpdateableAPIResource['Authorization']) - removed:
class Authorization.TestHelpers(APIResourceTestHelpers['Authorization']) - removed:
field Authorization.OBJECT_NAME - removed:
field Authorization.amount: int - removed:
field Authorization.amount_details: Optional[StripeObject] - removed:
field Authorization.approved: bool - removed:
field Authorization.authorization_method: Literal['chip', 'contactless', 'keyed_in', 'online', 'swipe'] - removed:
field Authorization.balance_transactions: List[BalanceTransaction] - removed:
field Authorization.card: Card - removed:
field Authorization.cardholder: Optional[ExpandableField[Cardholder]] - removed:
field Authorization.created: int - removed:
field Authorization.currency: str - removed:
field Authorization.id: str - removed:
field Authorization.livemode: bool - removed:
field Authorization.merchant_amount: int - removed:
field Authorization.merchant_currency: str - removed:
field Authorization.merchant_data: StripeObject - removed:
field Authorization.metadata: Dict[str, str] - removed:
field Authorization.network_data: Optional[StripeObject] - removed:
field Authorization.object: Literal['issuing.authorization'] - removed:
field Authorization.pending_request: Optional[StripeObject] - removed:
field Authorization.request_history: List[StripeObject] - removed:
field Authorization.status: Literal['closed', 'pending', 'reversed'] - removed:
field Authorization.token: Optional[ExpandableField[Token]] - removed:
field Authorization.transactions: List[Transaction] - removed:
field Authorization.treasury: Optional[StripeObject] - removed:
field Authorization.verification_data: StripeObject - removed:
field Authorization.wallet: Optional[str] - removed:
method Authorization.TestHelpers.capture(idempotency_key: Optional[str]=…, **params: Any) - removed:
method Authorization.TestHelpers.expire(idempotency_key: Optional[str]=…, **params: Any) - removed:
method Authorization.TestHelpers.increment(idempotency_key: Optional[str]=…, **params: Any) - removed:
method Authorization.TestHelpers.reverse(idempotency_key: Optional[str]=…, **params: Any) - removed:
method Authorization.approve(idempotency_key: Optional[str]=…, **params: Any) - removed:
method Authorization.decline(idempotency_key: Optional[str]=…, **params: Any) - removed:
property Authorization.test_helpers - removed:
static method Authorization.TestHelpers.create(api_key: Optional[str]=…, stripe_version: Optional[str]=…, stripe_account: Optional[str]=…, **params: Any) - removed:
static method Authorization.list(api_key: Optional[str]=…, stripe_version: Optional[str]=…, stripe_account: Optional[str]=…, **params: Any) -> ListObject[Authorization] - removed:
static method Authorization.modify(id, **params: Any) -> Authorization - removed:
static method Authorization.retrieve(id: str, api_key: Optional[str]=…, **params: Any) -> Authorization
- removed:
class Card(CreateableAPIResource['Card'], ListableAPIResource['Card'], UpdateableAPIResource['Card']) - removed:
class Card.TestHelpers(APIResourceTestHelpers['Card']) - removed:
field Card.OBJECT_NAME - removed:
field Card.brand: str - removed:
field Card.cancellation_reason: Optional[Literal['design_rejected', 'lost', 'stolen']] - removed:
field Card.cardholder: Cardholder - removed:
field Card.created: int - removed:
field Card.currency: str - removed:
field Card.cvc: Optional[str] - removed:
field Card.exp_month: int - removed:
field Card.exp_year: int - removed:
field Card.financial_account: Optional[str] - removed:
field Card.id: str - removed:
field Card.last4: str - removed:
field Card.livemode: bool - removed:
field Card.metadata: Dict[str, str] - removed:
field Card.number: Optional[str] - removed:
field Card.object: Literal['issuing.card'] - removed:
field Card.replaced_by: Optional[ExpandableField[Card]] - removed:
field Card.replacement_for: Optional[ExpandableField[Card]] - removed:
field Card.replacement_reason: Optional[Literal['damaged', 'expired', 'lost', 'stolen']] - removed:
field Card.shipping: Optional[StripeObject] - removed:
field Card.spending_controls: StripeObject - removed:
field Card.status: Literal['active', 'canceled', 'inactive'] - removed:
field Card.type: Literal['physical', 'virtual'] - removed:
field Card.wallets: Optional[StripeObject] - removed:
method Card.TestHelpers.deliver_card(idempotency_key: Optional[str]=…, **params: Any) - removed:
method Card.TestHelpers.fail_card(idempotency_key: Optional[str]=…, **params: Any) - removed:
method Card.TestHelpers.return_card(idempotency_key: Optional[str]=…, **params: Any) - removed:
method Card.TestHelpers.ship_card(idempotency_key: Optional[str]=…, **params: Any) - removed:
property Card.test_helpers - removed:
static method Card.create(api_key: Optional[str]=…, idempotency_key: Optional[str]=…, stripe_version: Optional[str]=…, stripe_account: Optional[str]=…, **params: Any) -> Card - removed:
static method Card.list(api_key: Optional[str]=…, stripe_version: Optional[str]=…, stripe_account: Optional[str]=…, **params: Any) -> ListObject[Card] - removed:
static method Card.modify(id, **params: Any) -> Card - removed:
static method Card.retrieve(id: str, api_key: Optional[str]=…, **params: Any) -> Card
- removed:
class Cardholder(CreateableAPIResource['Cardholder'], ListableAPIResource['Cardholder'], UpdateableAPIResource['Cardholder']) - removed:
field Cardholder.OBJECT_NAME - removed:
field Cardholder.billing: StripeObject - removed:
field Cardholder.company: Optional[StripeObject] - removed:
field Cardholder.created: int - removed:
field Cardholder.email: Optional[str] - removed:
field Cardholder.id: str - removed:
field Cardholder.individual: Optional[StripeObject] - removed:
field Cardholder.livemode: bool - removed:
field Cardholder.metadata: Dict[str, str] - removed:
field Cardholder.name: str - removed:
field Cardholder.object: Literal['issuing.cardholder'] - removed:
field Cardholder.phone_number: Optional[str] - removed:
field Cardholder.preferred_locales: Optional[List[Literal['de', 'en', 'es', 'fr', 'it']]] - removed:
field Cardholder.requirements: StripeObject - removed:
field Cardholder.spending_controls: Optional[StripeObject] - removed:
field Cardholder.status: Literal['active', 'blocked', 'inactive'] - removed:
field Cardholder.type: Literal['company', 'individual'] - removed:
static method Cardholder.create(api_key: Optional[str]=…, idempotency_key: Optional[str]=…, stripe_version: Optional[str]=…, stripe_account: Optional[str]=…, **params: Any) -> Cardholder - removed:
static method Cardholder.list(api_key: Optional[str]=…, stripe_version: Optional[str]=…, stripe_account: Optional[str]=…, **params: Any) -> ListObject[Cardholder] - removed:
static method Cardholder.modify(id, **params: Any) -> Cardholder - removed:
static method Cardholder.retrieve(id: str, api_key: Optional[str]=…, **params: Any) -> Cardholder
- removed:
class Dispute(CreateableAPIResource['Dispute'], ListableAPIResource['Dispute'], UpdateableAPIResource['Dispute']) - removed:
field Dispute.OBJECT_NAME - removed:
field Dispute.amount: int - removed:
field Dispute.balance_transactions: Optional[List[BalanceTransaction]] - removed:
field Dispute.created: int - removed:
field Dispute.currency: str - removed:
field Dispute.evidence: StripeObject - removed:
field Dispute.id: str - removed:
field Dispute.livemode: bool - removed:
field Dispute.metadata: Dict[str, str] - removed:
field Dispute.object: Literal['issuing.dispute'] - removed:
field Dispute.status: Literal['expired', 'lost', 'submitted', 'unsubmitted', 'won'] - removed:
field Dispute.transaction: ExpandableField[Transaction] - removed:
field Dispute.treasury: Optional[StripeObject] - removed:
method Dispute.submit(idempotency_key: Optional[str]=…, **params: Any) - removed:
static method Dispute.create(api_key: Optional[str]=…, idempotency_key: Optional[str]=…, stripe_version: Optional[str]=…, stripe_account: Optional[str]=…, **params: Any) -> Dispute - removed:
static method Dispute.list(api_key: Optional[str]=…, stripe_version: Optional[str]=…, stripe_account: Optional[str]=…, **params: Any) -> ListObject[Dispute] - removed:
static method Dispute.modify(id, **params: Any) -> Dispute - removed:
static method Dispute.retrieve(id: str, api_key: Optional[str]=…, **params: Any) -> Dispute
- removed:
class Token(ListableAPIResource['Token'], UpdateableAPIResource['Token']) - removed:
field Token.OBJECT_NAME - removed:
field Token.card: ExpandableField[Card] - removed:
field Token.created: int - removed:
field Token.device_fingerprint: Optional[str] - removed:
field Token.id: str - removed:
field Token.last4: Optional[str] - removed:
field Token.livemode: bool - removed:
field Token.network: Literal['mastercard', 'visa'] - removed:
field Token.network_data: Optional[StripeObject] - removed:
field Token.network_updated_at: int - removed:
field Token.object: Literal['issuing.token'] - removed:
field Token.status: Literal['active', 'deleted', 'requested', 'suspended'] - removed:
field Token.wallet_provider: Optional[Literal['apple_pay', 'google_pay', 'samsung_pay']] - removed:
static method Token.list(api_key: Optional[str]=…, stripe_version: Optional[str]=…, stripe_account: Optional[str]=…, **params: Any) -> ListObject[Token] - removed:
static method Token.modify(id, **params: Any) -> Token - removed:
static method Token.retrieve(id: str, api_key: Optional[str]=…, **params: Any) -> Token
- removed:
class Transaction(ListableAPIResource['Transaction'], UpdateableAPIResource['Transaction']) - removed:
class Transaction.TestHelpers(APIResourceTestHelpers['Transaction']) - removed:
field Transaction.OBJECT_NAME - removed:
field Transaction.amount: int - removed:
field Transaction.amount_details: Optional[StripeObject] - removed:
field Transaction.authorization: Optional[ExpandableField[Authorization]] - removed:
field Transaction.balance_transaction: Optional[ExpandableField[BalanceTransaction]] - removed:
field Transaction.card: ExpandableField[Card] - removed:
field Transaction.cardholder: Optional[ExpandableField[Cardholder]] - removed:
field Transaction.created: int - removed:
field Transaction.currency: str - removed:
field Transaction.dispute: Optional[ExpandableField[Dispute]] - removed:
field Transaction.id: str - removed:
field Transaction.livemode: bool - removed:
field Transaction.merchant_amount: int - removed:
field Transaction.merchant_currency: str - removed:
field Transaction.merchant_data: StripeObject - removed:
field Transaction.metadata: Dict[str, str] - removed:
field Transaction.object: Literal['issuing.transaction'] - removed:
field Transaction.purchase_details: Optional[StripeObject] - removed:
field Transaction.token: Optional[ExpandableField[Token]] - removed:
field Transaction.treasury: Optional[StripeObject] - removed:
field Transaction.type: Literal['capture', 'refund'] - removed:
field Transaction.wallet: Optional[Literal['apple_pay', 'google_pay', 'samsung_pay']] - removed:
method Transaction.TestHelpers.refund(idempotency_key: Optional[str]=…, **params: Any) - removed:
property Transaction.test_helpers - removed:
static method Transaction.TestHelpers.create_force_capture(api_key: Optional[str]=…, stripe_version: Optional[str]=…, stripe_account: Optional[str]=…, **params: Any) - removed:
static method Transaction.TestHelpers.create_unlinked_refund(api_key: Optional[str]=…, stripe_version: Optional[str]=…, stripe_account: Optional[str]=…, **params: Any) - removed:
static method Transaction.list(api_key: Optional[str]=…, stripe_version: Optional[str]=…, stripe_account: Optional[str]=…, **params: Any) -> ListObject[Transaction] - removed:
static method Transaction.modify(id, **params: Any) -> Transaction - removed:
static method Transaction.retrieve(id: str, api_key: Optional[str]=…, **params: Any) -> Transaction
- removed:
class LineItem(StripeObject) - removed:
field LineItem.OBJECT_NAME - removed:
field LineItem.amount_discount: int - removed:
field LineItem.amount_subtotal: int - removed:
field LineItem.amount_tax: int - removed:
field LineItem.amount_total: int - removed:
field LineItem.currency: str - removed:
field LineItem.description: str - removed:
field LineItem.discounts: Optional[List[StripeObject]] - removed:
field LineItem.id: str - removed:
field LineItem.object: Literal['item'] - removed:
field LineItem.price: Optional[Price] - removed:
field LineItem.quantity: Optional[int] - removed:
field LineItem.taxes: Optional[List[StripeObject]]
- removed:
class ListObject(StripeObject, Generic[T]) - removed:
field ListObject.OBJECT_NAME - removed:
field ListObject.data: List[T] - removed:
field ListObject.has_more: bool - removed:
field ListObject.url: str - removed:
method ListObject.auto_paging_iter() - removed:
method ListObject.create(api_key=…, idempotency_key=…, stripe_version=…, stripe_account=…, **params) - removed:
method ListObject.list(api_key=…, stripe_version=…, stripe_account=…, **params) - removed:
method ListObject.next_page(api_key=…, stripe_version=…, stripe_account=…, **params) -> Self - removed:
method ListObject.previous_page(api_key=…, stripe_version=…, stripe_account=…, **params) -> Self - removed:
method ListObject.retrieve(id, api_key=…, stripe_version=…, stripe_account=…, **params) - removed:
property ListObject.is_empty - removed:
static method ListObject.empty_list(api_key=…, stripe_version=…, stripe_account=…) - removed:
variable T
- removed:
class LoginLink(StripeObject) - removed:
field LoginLink.OBJECT_NAME - removed:
field LoginLink.created: int - removed:
field LoginLink.object: Literal['login_link'] - removed:
field LoginLink.url: str
- removed:
class Mandate(APIResource['Mandate']) - removed:
field Mandate.OBJECT_NAME - removed:
field Mandate.customer_acceptance: StripeObject - removed:
field Mandate.id: str - removed:
field Mandate.livemode: bool - removed:
field Mandate.multi_use: Optional[StripeObject] - removed:
field Mandate.object: Literal['mandate'] - removed:
field Mandate.on_behalf_of: Optional[str] - removed:
field Mandate.payment_method: ExpandableField[PaymentMethod] - removed:
field Mandate.payment_method_details: StripeObject - removed:
field Mandate.single_use: Optional[StripeObject] - removed:
field Mandate.status: Literal['active', 'inactive', 'pending'] - removed:
field Mandate.type: Literal['multi_use', 'single_use'] - removed:
static method Mandate.retrieve(id: str, api_key: Optional[str]=…, **params: Any) -> Mandate
- removed:
class PaymentIntent(CreateableAPIResource['PaymentIntent'], ListableAPIResource['PaymentIntent'], SearchableAPIResource['PaymentIntent'], UpdateableAPIResource['PaymentIntent']) - removed:
field PaymentIntent.OBJECT_NAME - removed:
field PaymentIntent.amount: int - removed:
field PaymentIntent.amount_capturable: int - removed:
field PaymentIntent.amount_details: Optional[StripeObject] - removed:
field PaymentIntent.amount_received: int - removed:
field PaymentIntent.application: Optional[ExpandableField[Application]] - removed:
field PaymentIntent.application_fee_amount: Optional[int] - removed:
field PaymentIntent.automatic_payment_methods: Optional[StripeObject] - removed:
field PaymentIntent.canceled_at: Optional[int] - removed:
field PaymentIntent.cancellation_reason: Optional[Literal['abandoned', 'automatic', 'duplicate', 'failed_invoice', 'fraudulent', 'requested_by_customer', 'void_invoice']] - removed:
field PaymentIntent.capture_method: Literal['automatic', 'automatic_async', 'manual'] - removed:
field PaymentIntent.client_secret: Optional[str] - removed:
field PaymentIntent.confirmation_method: Literal['automatic', 'manual'] - removed:
field PaymentIntent.created: int - removed:
field PaymentIntent.currency: str - removed:
field PaymentIntent.customer: Optional[ExpandableField[Customer]] - removed:
field PaymentIntent.description: Optional[str] - removed:
field PaymentIntent.id: str - removed:
field PaymentIntent.invoice: Optional[ExpandableField[Invoice]] - removed:
field PaymentIntent.last_payment_error: Optional[StripeObject] - removed:
field PaymentIntent.latest_charge: Optional[ExpandableField[Charge]] - removed:
field PaymentIntent.livemode: bool - removed:
field PaymentIntent.metadata: Dict[str, str] - removed:
field PaymentIntent.next_action: Optional[StripeObject] - removed:
field PaymentIntent.object: Literal['payment_intent'] - removed:
field PaymentIntent.on_behalf_of: Optional[ExpandableField[Account]] - removed:
field PaymentIntent.payment_method: Optional[ExpandableField[PaymentMethod]] - removed:
field PaymentIntent.payment_method_configuration_details: Optional[StripeObject] - removed:
field PaymentIntent.payment_method_options: Optional[StripeObject] - removed:
field PaymentIntent.payment_method_types: List[str] - removed:
field PaymentIntent.processing: Optional[StripeObject] - removed:
field PaymentIntent.receipt_email: Optional[str] - removed:
field PaymentIntent.review: Optional[ExpandableField[Review]] - removed:
field PaymentIntent.setup_future_usage: Optional[Literal['off_session', 'on_session']] - removed:
field PaymentIntent.shipping: Optional[StripeObject] - removed:
field PaymentIntent.source: Optional[ExpandableField[Any]] - removed:
field PaymentIntent.statement_descriptor: Optional[str] - removed:
field PaymentIntent.statement_descriptor_suffix: Optional[str] - removed:
field PaymentIntent.status: Literal['canceled', 'processing', 'requires_action', 'requires_capture', 'requires_confirmation', 'requires_payment_method', 'succeeded'] - removed:
field PaymentIntent.transfer_data: Optional[StripeObject] - removed:
field PaymentIntent.transfer_group: Optional[str] - removed:
method PaymentIntent.apply_customer_balance(idempotency_key: Optional[str]=…, **params: Any) - removed:
method PaymentIntent.cancel(idempotency_key: Optional[str]=…, **params: Any) - removed:
method PaymentIntent.capture(idempotency_key: Optional[str]=…, **params: Any) - removed:
method PaymentIntent.confirm(idempotency_key: Optional[str]=…, **params: Any) - removed:
method PaymentIntent.increment_authorization(idempotency_key: Optional[str]=…, **params: Any) - removed:
method PaymentIntent.verify_microdeposits(idempotency_key: Optional[str]=…, **params: Any) - removed:
static method PaymentIntent.create(api_key: Optional[str]=…, idempotency_key: Optional[str]=…, stripe_version: Optional[str]=…, stripe_account: Optional[str]=…, **params: Any) -> PaymentIntent - removed:
static method PaymentIntent.list(api_key: Optional[str]=…, stripe_version: Optional[str]=…, stripe_account: Optional[str]=…, **params: Any) -> ListObject[PaymentIntent] - removed:
static method PaymentIntent.modify(id, **params: Any) -> PaymentIntent - removed:
static method PaymentIntent.retrieve(id: str, api_key: Optional[str]=…, **params: Any) -> PaymentIntent - removed:
static method PaymentIntent.search(*args, **kwargs) -> Any - removed:
static method PaymentIntent.search_auto_paging_iter(*args, **kwargs) -> Any
- removed:
class PaymentLink(CreateableAPIResource['PaymentLink'], ListableAPIResource['PaymentLink'], UpdateableAPIResource['PaymentLink']) - removed:
field PaymentLink.OBJECT_NAME - removed:
field PaymentLink.active: bool - removed:
field PaymentLink.after_completion: StripeObject - removed:
field PaymentLink.allow_promotion_codes: bool - removed:
field PaymentLink.application: Optional[ExpandableField[Application]] - removed:
field PaymentLink.application_fee_amount: Optional[int] - removed:
field PaymentLink.application_fee_percent: Optional[float] - removed:
field PaymentLink.automatic_tax: StripeObject - removed:
field PaymentLink.billing_address_collection: Literal['auto', 'required'] - removed:
field PaymentLink.consent_collection: Optional[StripeObject] - removed:
field PaymentLink.currency: str - removed:
field PaymentLink.custom_fields: List[StripeObject] - removed:
field PaymentLink.custom_text: StripeObject - removed:
field PaymentLink.customer_creation: Literal['always', 'if_required'] - removed:
field PaymentLink.id: str - removed:
field PaymentLink.invoice_creation: Optional[StripeObject] - removed:
field PaymentLink.line_items: Optional[ListObject[LineItem]] - removed:
field PaymentLink.livemode: bool - removed:
field PaymentLink.metadata: Dict[str, str] - removed:
field PaymentLink.object: Literal['payment_link'] - removed:
field PaymentLink.on_behalf_of: Optional[ExpandableField[Account]] - removed:
field PaymentLink.payment_intent_data: Optional[StripeObject] - removed:
field PaymentLink.payment_method_collection: Literal['always', 'if_required'] - removed:
field PaymentLink.payment_method_types: Optional[List[Literal['affirm', 'afterpay_clearpay', 'alipay', 'au_becs_debit', 'bacs_debit', 'bancontact', 'blik', 'boleto', 'card', 'cashapp', 'eps', 'fpx', 'giropay', 'grabpay', 'ideal', 'klarna', 'konbini', 'link', 'oxxo', 'p24', 'paynow', 'paypal', 'pix', 'promptpay', 'sepa_debit', 'sofort', 'us_bank_account', 'wechat_pay']]] - removed:
field PaymentLink.phone_number_collection: StripeObject - removed:
field PaymentLink.shipping_address_collection: Optional[StripeObject] - removed:
field PaymentLink.shipping_options: List[StripeObject] - removed:
field PaymentLink.submit_type: Literal['auto', 'book', 'donate', 'pay'] - removed:
field PaymentLink.subscription_data: Optional[StripeObject] - removed:
field PaymentLink.tax_id_collection: StripeObject - removed:
field PaymentLink.transfer_data: Optional[StripeObject] - removed:
field PaymentLink.url: str - removed:
method PaymentLink.list_line_items(idempotency_key: Optional[str]=…, **params: Any) - removed:
static method PaymentLink.create(api_key: Optional[str]=…, idempotency_key: Optional[str]=…, stripe_version: Optional[str]=…, stripe_account: Optional[str]=…, **params: Any) -> PaymentLink - removed:
static method PaymentLink.list(api_key: Optional[str]=…, stripe_version: Optional[str]=…, stripe_account: Optional[str]=…, **params: Any) -> ListObject[PaymentLink] - removed:
static method PaymentLink.modify(id, **params: Any) -> PaymentLink - removed:
static method PaymentLink.retrieve(id: str, api_key: Optional[str]=…, **params: Any) -> PaymentLink
- removed:
class PaymentMethod(CreateableAPIResource['PaymentMethod'], ListableAPIResource['PaymentMethod'], UpdateableAPIResource['PaymentMethod']) - removed:
field PaymentMethod.OBJECT_NAME - removed:
field PaymentMethod.acss_debit: Optional[StripeObject] - removed:
field PaymentMethod.affirm: Optional[StripeObject] - removed:
field PaymentMethod.afterpay_clearpay: Optional[StripeObject] - removed:
field PaymentMethod.alipay: Optional[StripeObject] - removed:
field PaymentMethod.au_becs_debit: Optional[StripeObject] - removed:
field PaymentMethod.bacs_debit: Optional[StripeObject] - removed:
field PaymentMethod.bancontact: Optional[StripeObject] - removed:
field PaymentMethod.billing_details: StripeObject - removed:
field PaymentMethod.blik: Optional[StripeObject] - removed:
field PaymentMethod.boleto: Optional[StripeObject] - removed:
field PaymentMethod.card: Optional[StripeObject] - removed:
field PaymentMethod.card_present: Optional[StripeObject] - removed:
field PaymentMethod.cashapp: Optional[StripeObject] - removed:
field PaymentMethod.created: int - removed:
field PaymentMethod.customer: Optional[ExpandableField[Customer]] - removed:
field PaymentMethod.customer_balance: Optional[StripeObject] - removed:
field PaymentMethod.eps: Optional[StripeObject] - removed:
field PaymentMethod.fpx: Optional[StripeObject] - removed:
field PaymentMethod.giropay: Optional[StripeObject] - removed:
field PaymentMethod.grabpay: Optional[StripeObject] - removed:
field PaymentMethod.id: str - removed:
field PaymentMethod.ideal: Optional[StripeObject] - removed:
field PaymentMethod.interac_present: Optional[StripeObject] - removed:
field PaymentMethod.klarna: Optional[StripeObject] - removed:
field PaymentMethod.konbini: Optional[StripeObject] - removed:
field PaymentMethod.link: Optional[StripeObject] - removed:
field PaymentMethod.livemode: bool - removed:
field PaymentMethod.metadata: Optional[Dict[str, str]] - removed:
field PaymentMethod.object: Literal['payment_method'] - removed:
field PaymentMethod.oxxo: Optional[StripeObject] - removed:
field PaymentMethod.p24: Optional[StripeObject] - removed:
field PaymentMethod.paynow: Optional[StripeObject] - removed:
field PaymentMethod.paypal: Optional[StripeObject] - removed:
field PaymentMethod.pix: Optional[StripeObject] - removed:
field PaymentMethod.promptpay: Optional[StripeObject] - removed:
field PaymentMethod.radar_options: Optional[StripeObject] - removed:
field PaymentMethod.sepa_debit: Optional[StripeObject] - removed:
field PaymentMethod.sofort: Optional[StripeObject] - removed:
field PaymentMethod.type: Literal['acss_debit', 'affirm', 'afterpay_clearpay', 'alipay', 'au_becs_debit', 'bacs_debit', 'bancontact', 'blik', 'boleto', 'card', 'card_present', 'cashapp', 'customer_balance', 'eps', 'fpx', 'giropay', 'grabpay', 'ideal', 'interac_present', 'klarna', 'konbini', 'link', 'oxxo', 'p24', 'paynow', 'paypal', 'pix', 'promptpay', 'sepa_debit', 'sofort', 'us_bank_account', '… - removed:
field PaymentMethod.us_bank_account: Optional[StripeObject] - removed:
field PaymentMethod.wechat_pay: Optional[StripeObject] - removed:
field PaymentMethod.zip: Optional[StripeObject] - removed:
method PaymentMethod.attach(idempotency_key: Optional[str]=…, **params: Any) - removed:
method PaymentMethod.detach(idempotency_key: Optional[str]=…, **params: Any) - removed:
static method PaymentMethod.create(api_key: Optional[str]=…, idempotency_key: Optional[str]=…, stripe_version: Optional[str]=…, stripe_account: Optional[str]=…, **params: Any) -> PaymentMethod - removed:
static method PaymentMethod.list(api_key: Optional[str]=…, stripe_version: Optional[str]=…, stripe_account: Optional[str]=…, **params: Any) -> ListObject[PaymentMethod] - removed:
static method PaymentMethod.modify(id, **params: Any) -> PaymentMethod - removed:
static method PaymentMethod.retrieve(id: str, api_key: Optional[str]=…, **params: Any) -> PaymentMethod
- removed:
class PaymentMethodConfiguration(CreateableAPIResource['PaymentMethodConfiguration'], ListableAPIResource['PaymentMethodConfiguration'], UpdateableAPIResource['PaymentMethodConfiguration']) - removed:
field PaymentMethodConfiguration.OBJECT_NAME - removed:
field PaymentMethodConfiguration.acss_debit: Optional[StripeObject] - removed:
field PaymentMethodConfiguration.active: bool - removed:
field PaymentMethodConfiguration.affirm: Optional[StripeObject] - removed:
field PaymentMethodConfiguration.afterpay_clearpay: Optional[StripeObject] - removed:
field PaymentMethodConfiguration.alipay: Optional[StripeObject] - removed:
field PaymentMethodConfiguration.apple_pay: Optional[StripeObject] - removed:
field PaymentMethodConfiguration.application: Optional[str] - removed:
field PaymentMethodConfiguration.au_becs_debit: Optional[StripeObject] - removed:
field PaymentMethodConfiguration.bacs_debit: Optional[StripeObject] - removed:
field PaymentMethodConfiguration.bancontact: Optional[StripeObject] - removed:
field PaymentMethodConfiguration.blik: Optional[StripeObject] - removed:
field PaymentMethodConfiguration.boleto: Optional[StripeObject] - removed:
field PaymentMethodConfiguration.card: Optional[StripeObject] - removed:
field PaymentMethodConfiguration.cartes_bancaires: Optional[StripeObject] - removed:
field PaymentMethodConfiguration.cashapp: Optional[StripeObject] - removed:
field PaymentMethodConfiguration.eps: Optional[StripeObject] - removed:
field PaymentMethodConfiguration.fpx: Optional[StripeObject] - removed:
field PaymentMethodConfiguration.giropay: Optional[StripeObject] - removed:
field PaymentMethodConfiguration.google_pay: Optional[StripeObject] - removed:
field PaymentMethodConfiguration.grabpay: Optional[StripeObject] - removed:
field PaymentMethodConfiguration.id: str - removed:
field PaymentMethodConfiguration.id_bank_transfer: Optional[StripeObject] - removed:
field PaymentMethodConfiguration.ideal: Optional[StripeObject] - removed:
field PaymentMethodConfiguration.is_default: bool - removed:
field PaymentMethodConfiguration.jcb: Optional[StripeObject] - removed:
field PaymentMethodConfiguration.klarna: Optional[StripeObject] - removed:
field PaymentMethodConfiguration.konbini: Optional[StripeObject] - removed:
field PaymentMethodConfiguration.link: Optional[StripeObject] - removed:
field PaymentMethodConfiguration.livemode: bool - removed:
field PaymentMethodConfiguration.multibanco: Optional[StripeObject] - removed:
field PaymentMethodConfiguration.name: str - removed:
field PaymentMethodConfiguration.netbanking: Optional[StripeObject] - removed:
field PaymentMethodConfiguration.object: Literal['payment_method_configuration'] - removed:
field PaymentMethodConfiguration.oxxo: Optional[StripeObject] - removed:
field PaymentMethodConfiguration.p24: Optional[StripeObject] - removed:
field PaymentMethodConfiguration.parent: Optional[str] - removed:
field PaymentMethodConfiguration.pay_by_bank: Optional[StripeObject] - removed:
field PaymentMethodConfiguration.paynow: Optional[StripeObject] - removed:
field PaymentMethodConfiguration.paypal: Optional[StripeObject] - removed:
field PaymentMethodConfiguration.promptpay: Optional[StripeObject] - removed:
field PaymentMethodConfiguration.sepa_debit: Optional[StripeObject] - removed:
field PaymentMethodConfiguration.sofort: Optional[StripeObject] - removed:
field PaymentMethodConfiguration.upi: Optional[StripeObject] - removed:
field PaymentMethodConfiguration.us_bank_account: Optional[StripeObject] - removed:
field PaymentMethodConfiguration.wechat_pay: Optional[StripeObject] - removed:
static method PaymentMethodConfiguration.create(api_key: Optional[str]=…, idempotency_key: Optional[str]=…, stripe_version: Optional[str]=…, stripe_account: Optional[str]=…, **params: Any) -> PaymentMethodConfiguration - removed:
static method PaymentMethodConfiguration.list(api_key: Optional[str]=…, stripe_version: Optional[str]=…, stripe_account: Optional[str]=…, **params: Any) -> ListObject[PaymentMethodConfiguration] - removed:
static method PaymentMethodConfiguration.modify(id, **params: Any) -> PaymentMethodConfiguration - removed:
static method PaymentMethodConfiguration.retrieve(id: str, api_key: Optional[str]=…, **params: Any) -> PaymentMethodConfiguration
- removed:
class PaymentMethodDomain(CreateableAPIResource['PaymentMethodDomain'], ListableAPIResource['PaymentMethodDomain'], UpdateableAPIResource['PaymentMethodDomain']) - removed:
field PaymentMethodDomain.OBJECT_NAME - removed:
field PaymentMethodDomain.apple_pay: StripeObject - removed:
field PaymentMethodDomain.created: int - removed:
field PaymentMethodDomain.domain_name: str - removed:
field PaymentMethodDomain.enabled: bool - removed:
field PaymentMethodDomain.google_pay: StripeObject - removed:
field PaymentMethodDomain.id: str - removed:
field PaymentMethodDomain.link: StripeObject - removed:
field PaymentMethodDomain.livemode: bool - removed:
field PaymentMethodDomain.object: Literal['payment_method_domain'] - removed:
field PaymentMethodDomain.paypal: StripeObject - removed:
method PaymentMethodDomain.validate(idempotency_key: Optional[str]=…, **params: Any) - removed:
static method PaymentMethodDomain.create(api_key: Optional[str]=…, idempotency_key: Optional[str]=…, stripe_version: Optional[str]=…, stripe_account: Optional[str]=…, **params: Any) -> PaymentMethodDomain - removed:
static method PaymentMethodDomain.list(api_key: Optional[str]=…, stripe_version: Optional[str]=…, stripe_account: Optional[str]=…, **params: Any) -> ListObject[PaymentMethodDomain] - removed:
static method PaymentMethodDomain.modify(id, **params: Any) -> PaymentMethodDomain - removed:
static method PaymentMethodDomain.retrieve(id: str, api_key: Optional[str]=…, **params: Any) -> PaymentMethodDomain
- removed:
class Payout(CreateableAPIResource['Payout'], ListableAPIResource['Payout'], UpdateableAPIResource['Payout']) - removed:
field Payout.OBJECT_NAME - removed:
field Payout.amount: int - removed:
field Payout.arrival_date: int - removed:
field Payout.automatic: bool - removed:
field Payout.balance_transaction: Optional[ExpandableField[BalanceTransaction]] - removed:
field Payout.created: int - removed:
field Payout.currency: str - removed:
field Payout.description: Optional[str] - removed:
field Payout.destination: Optional[ExpandableField[Any]] - removed:
field Payout.failure_balance_transaction: Optional[ExpandableField[BalanceTransaction]] - removed:
field Payout.failure_code: Optional[str] - removed:
field Payout.failure_message: Optional[str] - removed:
field Payout.id: str - removed:
field Payout.livemode: bool - removed:
field Payout.metadata: Optional[Dict[str, str]] - removed:
field Payout.method: str - removed:
field Payout.object: Literal['payout'] - removed:
field Payout.original_payout: Optional[ExpandableField[Payout]] - removed:
field Payout.reconciliation_status: Literal['completed', 'in_progress', 'not_applicable'] - removed:
field Payout.reversed_by: Optional[ExpandableField[Payout]] - removed:
field Payout.source_type: str - removed:
field Payout.statement_descriptor: Optional[str] - removed:
field Payout.status: str - removed:
field Payout.type: Literal['bank_account', 'card'] - removed:
method Payout.cancel(idempotency_key: Optional[str]=…, **params: Any) - removed:
method Payout.reverse(idempotency_key: Optional[str]=…, **params: Any) - removed:
static method Payout.create(api_key: Optional[str]=…, idempotency_key: Optional[str]=…, stripe_version: Optional[str]=…, stripe_account: Optional[str]=…, **params: Any) -> Payout - removed:
static method Payout.list(api_key: Optional[str]=…, stripe_version: Optional[str]=…, stripe_account: Optional[str]=…, **params: Any) -> ListObject[Payout] - removed:
static method Payout.modify(id, **params: Any) -> Payout - removed:
static method Payout.retrieve(id: str, api_key: Optional[str]=…, **params: Any) -> Payout
- removed:
class Person(UpdateableAPIResource['Person']) - removed:
field Person.OBJECT_NAME - removed:
field Person.account: Optional[str] - removed:
field Person.address: Optional[StripeObject] - removed:
field Person.address_kana: Optional[StripeObject] - removed:
field Person.address_kanji: Optional[StripeObject] - removed:
field Person.created: int - removed:
field Person.deleted: Optional[Literal[True]] - removed:
field Person.dob: Optional[StripeObject] - removed:
field Person.email: Optional[str] - removed:
field Person.first_name: Optional[str] - removed:
field Person.first_name_kana: Optional[str] - removed:
field Person.first_name_kanji: Optional[str] - removed:
field Person.full_name_aliases: Optional[List[str]] - removed:
field Person.future_requirements: Optional[StripeObject] - removed:
field Person.gender: Optional[str] - removed:
field Person.id: str - removed:
field Person.id_number_provided: Optional[bool] - removed:
field Person.id_number_secondary_provided: Optional[bool] - removed:
field Person.last_name: Optional[str] - removed:
field Person.last_name_kana: Optional[str] - removed:
field Person.last_name_kanji: Optional[str] - removed:
field Person.maiden_name: Optional[str] - removed:
field Person.metadata: Optional[Dict[str, str]] - removed:
field Person.nationality: Optional[str] - removed:
field Person.object: Literal['person'] - removed:
field Person.phone: Optional[str] - removed:
field Person.political_exposure: Optional[Literal['existing', 'none']] - removed:
field Person.registered_address: Optional[StripeObject] - removed:
field Person.relationship: Optional[StripeObject] - removed:
field Person.requirements: Optional[StripeObject] - removed:
field Person.ssn_last_4_provided: Optional[bool] - removed:
field Person.verification: Optional[StripeObject] - removed:
method Person.instance_url() - removed:
static method Person.modify(sid, **params) - removed:
static method Person.retrieve(id, api_key=…, **params)
- removed:
class Plan(CreateableAPIResource['Plan'], DeletableAPIResource['Plan'], ListableAPIResource['Plan'], UpdateableAPIResource['Plan']) - removed:
field Plan.OBJECT_NAME - removed:
field Plan.active: bool - removed:
field Plan.aggregate_usage: Optional[Literal['last_during_period', 'last_ever', 'max', 'sum']] - removed:
field Plan.amount: Optional[int] - removed:
field Plan.amount_decimal: Optional[float] - removed:
field Plan.billing_scheme: Literal['per_unit', 'tiered'] - removed:
field Plan.created: int - removed:
field Plan.currency: str - removed:
field Plan.deleted: Optional[Literal[True]] - removed:
field Plan.id: str - removed:
field Plan.interval: Literal['day', 'month', 'week', 'year'] - removed:
field Plan.interval_count: int - removed:
field Plan.livemode: bool - removed:
field Plan.metadata: Optional[Dict[str, str]] - removed:
field Plan.nickname: Optional[str] - removed:
field Plan.object: Literal['plan'] - removed:
field Plan.product: Optional[ExpandableField[Product]] - removed:
field Plan.tiers: Optional[List[StripeObject]] - removed:
field Plan.tiers_mode: Optional[Literal['graduated', 'volume']] - removed:
field Plan.transform_usage: Optional[StripeObject] - removed:
field Plan.trial_period_days: Optional[int] - removed:
field Plan.usage_type: Literal['licensed', 'metered'] - removed:
method Plan.delete(**params: Any) -> Plan - removed:
static method Plan.create(api_key: Optional[str]=…, idempotency_key: Optional[str]=…, stripe_version: Optional[str]=…, stripe_account: Optional[str]=…, **params: Any) -> Plan - removed:
static method Plan.list(api_key: Optional[str]=…, stripe_version: Optional[str]=…, stripe_account: Optional[str]=…, **params: Any) -> ListObject[Plan] - removed:
static method Plan.modify(id, **params: Any) -> Plan - removed:
static method Plan.retrieve(id: str, api_key: Optional[str]=…, **params: Any) -> Plan
- removed:
class PlatformTaxFee(StripeObject) - removed:
field PlatformTaxFee.OBJECT_NAME - removed:
field PlatformTaxFee.account: str - removed:
field PlatformTaxFee.id: str - removed:
field PlatformTaxFee.object: Literal['platform_tax_fee'] - removed:
field PlatformTaxFee.source_transaction: str - removed:
field PlatformTaxFee.type: str
- removed:
class Price(CreateableAPIResource['Price'], ListableAPIResource['Price'], SearchableAPIResource['Price'], UpdateableAPIResource['Price']) - removed:
field Price.OBJECT_NAME - removed:
field Price.active: bool - removed:
field Price.billing_scheme: Literal['per_unit', 'tiered'] - removed:
field Price.created: int - removed:
field Price.currency: str - removed:
field Price.currency_options: Optional[Dict[str, StripeObject]] - removed:
field Price.custom_unit_amount: Optional[StripeObject] - removed:
field Price.deleted: Optional[Literal[True]] - removed:
field Price.id: str - removed:
field Price.livemode: bool - removed:
field Price.lookup_key: Optional[str] - removed:
field Price.metadata: Dict[str, str] - removed:
field Price.nickname: Optional[str] - removed:
field Price.object: Literal['price'] - removed:
field Price.product: ExpandableField[Product] - removed:
field Price.recurring: Optional[StripeObject] - removed:
field Price.tax_behavior: Optional[Literal['exclusive', 'inclusive', 'unspecified']] - removed:
field Price.tiers: Optional[List[StripeObject]] - removed:
field Price.tiers_mode: Optional[Literal['graduated', 'volume']] - removed:
field Price.transform_quantity: Optional[StripeObject] - removed:
field Price.type: Literal['one_time', 'recurring'] - removed:
field Price.unit_amount: Optional[int] - removed:
field Price.unit_amount_decimal: Optional[float] - removed:
static method Price.create(api_key: Optional[str]=…, idempotency_key: Optional[str]=…, stripe_version: Optional[str]=…, stripe_account: Optional[str]=…, **params: Any) -> Price - removed:
static method Price.list(api_key: Optional[str]=…, stripe_version: Optional[str]=…, stripe_account: Optional[str]=…, **params: Any) -> ListObject[Price] - removed:
static method Price.modify(id, **params: Any) -> Price - removed:
static method Price.retrieve(id: str, api_key: Optional[str]=…, **params: Any) -> Price - removed:
static method Price.search(*args, **kwargs) -> Any - removed:
static method Price.search_auto_paging_iter(*args, **kwargs) -> Any
- removed:
class Product(CreateableAPIResource['Product'], DeletableAPIResource['Product'], ListableAPIResource['Product'], SearchableAPIResource['Product'], UpdateableAPIResource['Product']) - removed:
field Product.OBJECT_NAME - removed:
field Product.active: bool - removed:
field Product.created: int - removed:
field Product.default_price: Optional[ExpandableField[Price]] - removed:
field Product.deleted: Optional[Literal[True]] - removed:
field Product.description: Optional[str] - removed:
field Product.features: List[StripeObject] - removed:
field Product.id: str - removed:
field Product.images: List[str] - removed:
field Product.livemode: bool - removed:
field Product.metadata: Dict[str, str] - removed:
field Product.name: str - removed:
field Product.object: Literal['product'] - removed:
field Product.package_dimensions: Optional[StripeObject] - removed:
field Product.shippable: Optional[bool] - removed:
field Product.statement_descriptor: Optional[str] - removed:
field Product.tax_code: Optional[ExpandableField[TaxCode]] - removed:
field Product.type: Literal['good', 'service'] - removed:
field Product.unit_label: Optional[str] - removed:
field Product.updated: int - removed:
field Product.url: Optional[str] - removed:
method Product.delete(**params: Any) -> Product - removed:
static method Product.create(api_key: Optional[str]=…, idempotency_key: Optional[str]=…, stripe_version: Optional[str]=…, stripe_account: Optional[str]=…, **params: Any) -> Product - removed:
static method Product.list(api_key: Optional[str]=…, stripe_version: Optional[str]=…, stripe_account: Optional[str]=…, **params: Any) -> ListObject[Product] - removed:
static method Product.modify(id, **params: Any) -> Product - removed:
static method Product.retrieve(id: str, api_key: Optional[str]=…, **params: Any) -> Product - removed:
static method Product.search(*args, **kwargs) -> Any - removed:
static method Product.search_auto_paging_iter(*args, **kwargs) -> Any
- removed:
class PromotionCode(CreateableAPIResource['PromotionCode'], ListableAPIResource['PromotionCode'], UpdateableAPIResource['PromotionCode']) - removed:
field PromotionCode.OBJECT_NAME - removed:
field PromotionCode.active: bool - removed:
field PromotionCode.code: str - removed:
field PromotionCode.coupon: Coupon - removed:
field PromotionCode.created: int - removed:
field PromotionCode.customer: Optional[ExpandableField[Customer]] - removed:
field PromotionCode.expires_at: Optional[int] - removed:
field PromotionCode.id: str - removed:
field PromotionCode.livemode: bool - removed:
field PromotionCode.max_redemptions: Optional[int] - removed:
field PromotionCode.metadata: Optional[Dict[str, str]] - removed:
field PromotionCode.object: Literal['promotion_code'] - removed:
field PromotionCode.restrictions: StripeObject - removed:
field PromotionCode.times_redeemed: int - removed:
static method PromotionCode.create(api_key: Optional[str]=…, idempotency_key: Optional[str]=…, stripe_version: Optional[str]=…, stripe_account: Optional[str]=…, **params: Any) -> PromotionCode - removed:
static method PromotionCode.list(api_key: Optional[str]=…, stripe_version: Optional[str]=…, stripe_account: Optional[str]=…, **params: Any) -> ListObject[PromotionCode] - removed:
static method PromotionCode.modify(id, **params: Any) -> PromotionCode - removed:
static method PromotionCode.retrieve(id: str, api_key: Optional[str]=…, **params: Any) -> PromotionCode
- removed:
class Quote(CreateableAPIResource['Quote'], ListableAPIResource['Quote'], UpdateableAPIResource['Quote']) - removed:
field Quote.OBJECT_NAME - removed:
field Quote.amount_subtotal: int - removed:
field Quote.amount_total: int - removed:
field Quote.application: Optional[ExpandableField[Application]] - removed:
field Quote.application_fee_amount: Optional[int] - removed:
field Quote.application_fee_percent: Optional[float] - removed:
field Quote.automatic_tax: StripeObject - removed:
field Quote.collection_method: Literal['charge_automatically', 'send_invoice'] - removed:
field Quote.computed: StripeObject - removed:
field Quote.created: int - removed:
field Quote.currency: Optional[str] - removed:
field Quote.customer: Optional[ExpandableField[Customer]] - removed:
field Quote.default_tax_rates: Optional[List[ExpandableField[TaxRate]]] - removed:
field Quote.description: Optional[str] - removed:
field Quote.discounts: List[ExpandableField[Discount]] - removed:
field Quote.expires_at: int - removed:
field Quote.footer: Optional[str] - removed:
field Quote.from_quote: Optional[StripeObject] - removed:
field Quote.header: Optional[str] - removed:
field Quote.id: str - removed:
field Quote.invoice: Optional[ExpandableField[Invoice]] - removed:
field Quote.invoice_settings: Optional[StripeObject] - removed:
field Quote.line_items: Optional[ListObject[LineItem]] - removed:
field Quote.livemode: bool - removed:
field Quote.metadata: Dict[str, str] - removed:
field Quote.number: Optional[str] - removed:
field Quote.object: Literal['quote'] - removed:
field Quote.on_behalf_of: Optional[ExpandableField[Account]] - removed:
field Quote.status: Literal['accepted', 'canceled', 'draft', 'open'] - removed:
field Quote.status_transitions: StripeObject - removed:
field Quote.subscription: Optional[ExpandableField[Subscription]] - removed:
field Quote.subscription_data: StripeObject - removed:
field Quote.subscription_schedule: Optional[ExpandableField[SubscriptionSchedule]] - removed:
field Quote.test_clock: Optional[ExpandableField[TestClock]] - removed:
field Quote.total_details: StripeObject - removed:
field Quote.transfer_data: Optional[StripeObject] - removed:
method Quote.accept(idempotency_key: Optional[str]=…, **params: Any) - removed:
method Quote.cancel(idempotency_key: Optional[str]=…, **params: Any) - removed:
method Quote.finalize_quote(idempotency_key: Optional[str]=…, **params: Any) - removed:
method Quote.list_computed_upfront_line_items(idempotency_key: Optional[str]=…, **params: Any) - removed:
method Quote.list_line_items(idempotency_key: Optional[str]=…, **params: Any) - removed:
method Quote.pdf(api_key=…, api_version=…, stripe_version=…, stripe_account=…, **params) - removed:
static method Quote.create(api_key: Optional[str]=…, idempotency_key: Optional[str]=…, stripe_version: Optional[str]=…, stripe_account: Optional[str]=…, **params: Any) -> Quote - removed:
static method Quote.list(api_key: Optional[str]=…, stripe_version: Optional[str]=…, stripe_account: Optional[str]=…, **params: Any) -> ListObject[Quote] - removed:
static method Quote.modify(id, **params: Any) -> Quote - removed:
static method Quote.retrieve(id: str, api_key: Optional[str]=…, **params: Any) -> Quote
- removed:
class EarlyFraudWarning(ListableAPIResource['EarlyFraudWarning']) - removed:
field EarlyFraudWarning.OBJECT_NAME - removed:
field EarlyFraudWarning.actionable: bool - removed:
field EarlyFraudWarning.charge: ExpandableField[Charge] - removed:
field EarlyFraudWarning.created: int - removed:
field EarlyFraudWarning.fraud_type: str - removed:
field EarlyFraudWarning.id: str - removed:
field EarlyFraudWarning.livemode: bool - removed:
field EarlyFraudWarning.object: Literal['radar.early_fraud_warning'] - removed:
field EarlyFraudWarning.payment_intent: Optional[ExpandableField[PaymentIntent]] - removed:
static method EarlyFraudWarning.list(api_key: Optional[str]=…, stripe_version: Optional[str]=…, stripe_account: Optional[str]=…, **params: Any) -> ListObject[EarlyFraudWarning] - removed:
static method EarlyFraudWarning.retrieve(id: str, api_key: Optional[str]=…, **params: Any) -> EarlyFraudWarning
- removed:
class ValueList(CreateableAPIResource['ValueList'], DeletableAPIResource['ValueList'], ListableAPIResource['ValueList'], UpdateableAPIResource['ValueList']) - removed:
field ValueList.OBJECT_NAME - removed:
field ValueList.alias: str - removed:
field ValueList.created: int - removed:
field ValueList.created_by: str - removed:
field ValueList.deleted: Optional[Literal[True]] - removed:
field ValueList.id: str - removed:
field ValueList.item_type: Literal['card_bin', 'card_fingerprint', 'case_sensitive_string', 'country', 'customer_id', 'email', 'ip_address', 'sepa_debit_fingerprint', 'string', 'us_bank_account_fingerprint'] - removed:
field ValueList.list_items: ListObject[ValueListItem] - removed:
field ValueList.livemode: bool - removed:
field ValueList.metadata: Dict[str, str] - removed:
field ValueList.name: str - removed:
field ValueList.object: Literal['radar.value_list'] - removed:
method ValueList.delete(**params: Any) -> ValueList - removed:
static method ValueList.create(api_key: Optional[str]=…, idempotency_key: Optional[str]=…, stripe_version: Optional[str]=…, stripe_account: Optional[str]=…, **params: Any) -> ValueList - removed:
static method ValueList.list(api_key: Optional[str]=…, stripe_version: Optional[str]=…, stripe_account: Optional[str]=…, **params: Any) -> ListObject[ValueList] - removed:
static method ValueList.modify(id, **params: Any) -> ValueList - removed:
static method ValueList.retrieve(id: str, api_key: Optional[str]=…, **params: Any) -> ValueList
- removed:
class ValueListItem(CreateableAPIResource['ValueListItem'], DeletableAPIResource['ValueListItem'], ListableAPIResource['ValueListItem']) - removed:
field ValueListItem.OBJECT_NAME - removed:
field ValueListItem.created: int - removed:
field ValueListItem.created_by: str - removed:
field ValueListItem.deleted: Optional[Literal[True]] - removed:
field ValueListItem.id: str - removed:
field ValueListItem.livemode: bool - removed:
field ValueListItem.object: Literal['radar.value_list_item'] - removed:
field ValueListItem.value: str - removed:
field ValueListItem.value_list: str - removed:
method ValueListItem.delete(**params: Any) -> ValueListItem - removed:
static method ValueListItem.create(api_key: Optional[str]=…, idempotency_key: Optional[str]=…, stripe_version: Optional[str]=…, stripe_account: Optional[str]=…, **params: Any) -> ValueListItem - removed:
static method ValueListItem.list(api_key: Optional[str]=…, stripe_version: Optional[str]=…, stripe_account: Optional[str]=…, **params: Any) -> ListObject[ValueListItem] - removed:
static method ValueListItem.retrieve(id: str, api_key: Optional[str]=…, **params: Any) -> ValueListItem
- removed:
class Refund(CreateableAPIResource['Refund'], ListableAPIResource['Refund'], UpdateableAPIResource['Refund']) - removed:
class Refund.TestHelpers(APIResourceTestHelpers['Refund']) - removed:
field Refund.OBJECT_NAME - removed:
field Refund.amount: int - removed:
field Refund.balance_transaction: Optional[ExpandableField[BalanceTransaction]] - removed:
field Refund.charge: Optional[ExpandableField[Charge]] - removed:
field Refund.created: int - removed:
field Refund.currency: str - removed:
field Refund.description: Optional[str] - removed:
field Refund.failure_balance_transaction: Optional[ExpandableField[BalanceTransaction]] - removed:
field Refund.failure_reason: Optional[str] - removed:
field Refund.id: str - removed:
field Refund.instructions_email: Optional[str] - removed:
field Refund.metadata: Optional[Dict[str, str]] - removed:
field Refund.next_action: Optional[StripeObject] - removed:
field Refund.object: Literal['refund'] - removed:
field Refund.payment_intent: Optional[ExpandableField[PaymentIntent]] - removed:
field Refund.reason: Optional[Literal['duplicate', 'expired_uncaptured_charge', 'fraudulent', 'requested_by_customer']] - removed:
field Refund.receipt_number: Optional[str] - removed:
field Refund.source_transfer_reversal: Optional[ExpandableField[Reversal]] - removed:
field Refund.status: Optional[str] - removed:
field Refund.transfer_reversal: Optional[ExpandableField[Reversal]] - removed:
method Refund.TestHelpers.expire(idempotency_key: Optional[str]=…, **params: Any) - removed:
method Refund.cancel(idempotency_key: Optional[str]=…, **params: Any) - removed:
property Refund.test_helpers - removed:
static method Refund.create(api_key: Optional[str]=…, idempotency_key: Optional[str]=…, stripe_version: Optional[str]=…, stripe_account: Optional[str]=…, **params: Any) -> Refund - removed:
static method Refund.list(api_key: Optional[str]=…, stripe_version: Optional[str]=…, stripe_account: Optional[str]=…, **params: Any) -> ListObject[Refund] - removed:
static method Refund.modify(id, **params: Any) -> Refund - removed:
static method Refund.retrieve(id: str, api_key: Optional[str]=…, **params: Any) -> Refund
- removed:
class ReportRun(CreateableAPIResource['ReportRun'], ListableAPIResource['ReportRun']) - removed:
field ReportRun.OBJECT_NAME - removed:
field ReportRun.created: int - removed:
field ReportRun.error: Optional[str] - removed:
field ReportRun.id: str - removed:
field ReportRun.livemode: bool - removed:
field ReportRun.object: Literal['reporting.report_run'] - removed:
field ReportRun.parameters: StripeObject - removed:
field ReportRun.report_type: str - removed:
field ReportRun.result: Optional[File] - removed:
field ReportRun.status: str - removed:
field ReportRun.succeeded_at: Optional[int] - removed:
static method ReportRun.create(api_key: Optional[str]=…, idempotency_key: Optional[str]=…, stripe_version: Optional[str]=…, stripe_account: Optional[str]=…, **params: Any) -> ReportRun - removed:
static method ReportRun.list(api_key: Optional[str]=…, stripe_version: Optional[str]=…, stripe_account: Optional[str]=…, **params: Any) -> ListObject[ReportRun] - removed:
static method ReportRun.retrieve(id: str, api_key: Optional[str]=…, **params: Any) -> ReportRun
- removed:
class ReportType(ListableAPIResource['ReportType']) - removed:
field ReportType.OBJECT_NAME - removed:
field ReportType.data_available_end: int - removed:
field ReportType.data_available_start: int - removed:
field ReportType.default_columns: Optional[List[str]] - removed:
field ReportType.id: str - removed:
field ReportType.livemode: bool - removed:
field ReportType.name: str - removed:
field ReportType.object: Literal['reporting.report_type'] - removed:
field ReportType.updated: int - removed:
field ReportType.version: int - removed:
static method ReportType.list(api_key: Optional[str]=…, stripe_version: Optional[str]=…, stripe_account: Optional[str]=…, **params: Any) -> ListObject[ReportType] - removed:
static method ReportType.retrieve(id: str, api_key: Optional[str]=…, **params: Any) -> ReportType
- removed:
class ReserveTransaction(StripeObject) - removed:
field ReserveTransaction.OBJECT_NAME - removed:
field ReserveTransaction.amount: int - removed:
field ReserveTransaction.currency: str - removed:
field ReserveTransaction.description: Optional[str] - removed:
field ReserveTransaction.id: str - removed:
field ReserveTransaction.object: Literal['reserve_transaction']
- removed:
class Reversal(UpdateableAPIResource['Reversal']) - removed:
field Reversal.OBJECT_NAME - removed:
field Reversal.amount: int - removed:
field Reversal.balance_transaction: Optional[ExpandableField[BalanceTransaction]] - removed:
field Reversal.created: int - removed:
field Reversal.currency: str - removed:
field Reversal.destination_payment_refund: Optional[ExpandableField[Refund]] - removed:
field Reversal.id: str - removed:
field Reversal.metadata: Optional[Dict[str, str]] - removed:
field Reversal.object: Literal['transfer_reversal'] - removed:
field Reversal.source_refund: Optional[ExpandableField[Refund]] - removed:
field Reversal.transfer: ExpandableField[Transfer] - removed:
method Reversal.instance_url() - removed:
static method Reversal.modify(sid, **params) - removed:
static method Reversal.retrieve(id, api_key=…, **params)
- removed:
class Review(ListableAPIResource['Review']) - removed:
field Review.OBJECT_NAME - removed:
field Review.billing_zip: Optional[str] - removed:
field Review.charge: Optional[ExpandableField[Charge]] - removed:
field Review.closed_reason: Optional[Literal['approved', 'disputed', 'redacted', 'refunded', 'refunded_as_fraud']] - removed:
field Review.created: int - removed:
field Review.id: str - removed:
field Review.ip_address: Optional[str] - removed:
field Review.ip_address_location: Optional[StripeObject] - removed:
field Review.livemode: bool - removed:
field Review.object: Literal['review'] - removed:
field Review.open: bool - removed:
field Review.opened_reason: Literal['manual', 'rule'] - removed:
field Review.payment_intent: Optional[ExpandableField[PaymentIntent]] - removed:
field Review.reason: str - removed:
field Review.session: Optional[StripeObject] - removed:
method Review.approve(idempotency_key: Optional[str]=…, **params: Any) - removed:
static method Review.list(api_key: Optional[str]=…, stripe_version: Optional[str]=…, stripe_account: Optional[str]=…, **params: Any) -> ListObject[Review] - removed:
static method Review.retrieve(id: str, api_key: Optional[str]=…, **params: Any) -> Review
- removed:
class SearchResultObject(StripeObject) - removed:
field SearchResultObject.OBJECT_NAME - removed:
field SearchResultObject.data: List[StripeObject] - removed:
field SearchResultObject.has_more: bool - removed:
field SearchResultObject.next_page: str - removed:
method SearchResultObject.auto_paging_iter() - removed:
method SearchResultObject.next_search_result_page(api_key=…, stripe_version=…, stripe_account=…, **params) -> Self - removed:
method SearchResultObject.search(api_key=…, stripe_version=…, stripe_account=…, **params) - removed:
property SearchResultObject.is_empty - removed:
static method SearchResultObject.empty_search_result(api_key=…, stripe_version=…, stripe_account=…)
- removed:
class SetupAttempt(ListableAPIResource['SetupAttempt']) - removed:
field SetupAttempt.OBJECT_NAME - removed:
field SetupAttempt.application: Optional[ExpandableField[Application]] - removed:
field SetupAttempt.attach_to_self: Optional[bool] - removed:
field SetupAttempt.created: int - removed:
field SetupAttempt.customer: Optional[ExpandableField[Customer]] - removed:
field SetupAttempt.flow_directions: Optional[List[Literal['inbound', 'outbound']]] - removed:
field SetupAttempt.id: str - removed:
field SetupAttempt.livemode: bool - removed:
field SetupAttempt.object: Literal['setup_attempt'] - removed:
field SetupAttempt.on_behalf_of: Optional[ExpandableField[Account]] - removed:
field SetupAttempt.payment_method: ExpandableField[PaymentMethod] - removed:
field SetupAttempt.payment_method_details: StripeObject - removed:
field SetupAttempt.setup_error: Optional[StripeObject] - removed:
field SetupAttempt.setup_intent: ExpandableField[SetupIntent] - removed:
field SetupAttempt.status: str - removed:
field SetupAttempt.usage: str - removed:
static method SetupAttempt.list(api_key: Optional[str]=…, stripe_version: Optional[str]=…, stripe_account: Optional[str]=…, **params: Any) -> ListObject[SetupAttempt]
- removed:
class SetupIntent(CreateableAPIResource['SetupIntent'], ListableAPIResource['SetupIntent'], UpdateableAPIResource['SetupIntent']) - removed:
field SetupIntent.OBJECT_NAME - removed:
field SetupIntent.application: Optional[ExpandableField[Application]] - removed:
field SetupIntent.attach_to_self: Optional[bool] - removed:
field SetupIntent.automatic_payment_methods: Optional[StripeObject] - removed:
field SetupIntent.cancellation_reason: Optional[Literal['abandoned', 'duplicate', 'requested_by_customer']] - removed:
field SetupIntent.client_secret: Optional[str] - removed:
field SetupIntent.created: int - removed:
field SetupIntent.customer: Optional[ExpandableField[Customer]] - removed:
field SetupIntent.description: Optional[str] - removed:
field SetupIntent.flow_directions: Optional[List[Literal['inbound', 'outbound']]] - removed:
field SetupIntent.id: str - removed:
field SetupIntent.last_setup_error: Optional[StripeObject] - removed:
field SetupIntent.latest_attempt: Optional[ExpandableField[SetupAttempt]] - removed:
field SetupIntent.livemode: bool - removed:
field SetupIntent.mandate: Optional[ExpandableField[Mandate]] - removed:
field SetupIntent.metadata: Optional[Dict[str, str]] - removed:
field SetupIntent.next_action: Optional[StripeObject] - removed:
field SetupIntent.object: Literal['setup_intent'] - removed:
field SetupIntent.on_behalf_of: Optional[ExpandableField[Account]] - removed:
field SetupIntent.payment_method: Optional[ExpandableField[PaymentMethod]] - removed:
field SetupIntent.payment_method_configuration_details: Optional[StripeObject] - removed:
field SetupIntent.payment_method_options: Optional[StripeObject] - removed:
field SetupIntent.payment_method_types: List[str] - removed:
field SetupIntent.single_use_mandate: Optional[ExpandableField[Mandate]] - removed:
field SetupIntent.status: Literal['canceled', 'processing', 'requires_action', 'requires_confirmation', 'requires_payment_method', 'succeeded'] - removed:
field SetupIntent.usage: str - removed:
method SetupIntent.cancel(idempotency_key: Optional[str]=…, **params: Any) - removed:
method SetupIntent.confirm(idempotency_key: Optional[str]=…, **params: Any) - removed:
method SetupIntent.verify_microdeposits(idempotency_key: Optional[str]=…, **params: Any) - removed:
static method SetupIntent.create(api_key: Optional[str]=…, idempotency_key: Optional[str]=…, stripe_version: Optional[str]=…, stripe_account: Optional[str]=…, **params: Any) -> SetupIntent - removed:
static method SetupIntent.list(api_key: Optional[str]=…, stripe_version: Optional[str]=…, stripe_account: Optional[str]=…, **params: Any) -> ListObject[SetupIntent] - removed:
static method SetupIntent.modify(id, **params: Any) -> SetupIntent - removed:
static method SetupIntent.retrieve(id: str, api_key: Optional[str]=…, **params: Any) -> SetupIntent
- removed:
class ShippingRate(CreateableAPIResource['ShippingRate'], ListableAPIResource['ShippingRate'], UpdateableAPIResource['ShippingRate']) - removed:
field ShippingRate.OBJECT_NAME - removed:
field ShippingRate.active: bool - removed:
field ShippingRate.created: int - removed:
field ShippingRate.delivery_estimate: Optional[StripeObject] - removed:
field ShippingRate.display_name: Optional[str] - removed:
field ShippingRate.fixed_amount: Optional[StripeObject] - removed:
field ShippingRate.id: str - removed:
field ShippingRate.livemode: bool - removed:
field ShippingRate.metadata: Dict[str, str] - removed:
field ShippingRate.object: Literal['shipping_rate'] - removed:
field ShippingRate.tax_behavior: Optional[Literal['exclusive', 'inclusive', 'unspecified']] - removed:
field ShippingRate.tax_code: Optional[ExpandableField[TaxCode]] - removed:
field ShippingRate.type: Literal['fixed_amount'] - removed:
static method ShippingRate.create(api_key: Optional[str]=…, idempotency_key: Optional[str]=…, stripe_version: Optional[str]=…, stripe_account: Optional[str]=…, **params: Any) -> ShippingRate - removed:
static method ShippingRate.list(api_key: Optional[str]=…, stripe_version: Optional[str]=…, stripe_account: Optional[str]=…, **params: Any) -> ListObject[ShippingRate] - removed:
static method ShippingRate.modify(id, **params: Any) -> ShippingRate - removed:
static method ShippingRate.retrieve(id: str, api_key: Optional[str]=…, **params: Any) -> ShippingRate
- removed:
class ScheduledQueryRun(ListableAPIResource['ScheduledQueryRun']) - removed:
field ScheduledQueryRun.OBJECT_NAME - removed:
field ScheduledQueryRun.created: int - removed:
field ScheduledQueryRun.data_load_time: int - removed:
field ScheduledQueryRun.error: Optional[StripeObject] - removed:
field ScheduledQueryRun.file: Optional[File] - removed:
field ScheduledQueryRun.id: str - removed:
field ScheduledQueryRun.livemode: bool - removed:
field ScheduledQueryRun.object: Literal['scheduled_query_run'] - removed:
field ScheduledQueryRun.result_available_until: int - removed:
field ScheduledQueryRun.sql: str - removed:
field ScheduledQueryRun.status: str - removed:
field ScheduledQueryRun.title: str - removed:
static method ScheduledQueryRun.class_url() - removed:
static method ScheduledQueryRun.list(api_key: Optional[str]=…, stripe_version: Optional[str]=…, stripe_account: Optional[str]=…, **params: Any) -> ListObject[ScheduledQueryRun] - removed:
static method ScheduledQueryRun.retrieve(id: str, api_key: Optional[str]=…, **params: Any) -> ScheduledQueryRun
- removed:
class Source(CreateableAPIResource['Source'], UpdateableAPIResource['Source']) - removed:
field Source.OBJECT_NAME - removed:
field Source.ach_credit_transfer: Optional[StripeObject] - removed:
field Source.ach_debit: Optional[StripeObject] - removed:
field Source.acss_debit: Optional[StripeObject] - removed:
field Source.alipay: Optional[StripeObject] - removed:
field Source.amount: Optional[int] - removed:
field Source.au_becs_debit: Optional[StripeObject] - removed:
field Source.bancontact: Optional[StripeObject] - removed:
field Source.card: Optional[StripeObject] - removed:
field Source.card_present: Optional[StripeObject] - removed:
field Source.client_secret: str - removed:
field Source.code_verification: Optional[StripeObject] - removed:
field Source.created: int - removed:
field Source.currency: Optional[str] - removed:
field Source.customer: Optional[str] - removed:
field Source.eps: Optional[StripeObject] - removed:
field Source.flow: str - removed:
field Source.giropay: Optional[StripeObject] - removed:
field Source.id: str - removed:
field Source.ideal: Optional[StripeObject] - removed:
field Source.klarna: Optional[StripeObject] - removed:
field Source.livemode: bool - removed:
field Source.metadata: Optional[Dict[str, str]] - removed:
field Source.multibanco: Optional[StripeObject] - removed:
field Source.object: Literal['source'] - removed:
field Source.owner: Optional[StripeObject] - removed:
field Source.p24: Optional[StripeObject] - removed:
field Source.receiver: Optional[StripeObject] - removed:
field Source.redirect: Optional[StripeObject] - removed:
field Source.sepa_credit_transfer: Optional[StripeObject] - removed:
field Source.sepa_debit: Optional[StripeObject] - removed:
field Source.sofort: Optional[StripeObject] - removed:
field Source.source_order: Optional[StripeObject] - removed:
field Source.statement_descriptor: Optional[str] - removed:
field Source.status: str - removed:
field Source.three_d_secure: Optional[StripeObject] - removed:
field Source.type: Literal['ach_credit_transfer', 'ach_debit', 'acss_debit', 'alipay', 'au_becs_debit', 'bancontact', 'card', 'card_present', 'eps', 'giropay', 'ideal', 'klarna', 'multibanco', 'p24', 'sepa_credit_transfer', 'sepa_debit', 'sofort', 'three_d_secure', 'wechat'] - removed:
field Source.usage: Optional[str] - removed:
field Source.wechat: Optional[StripeObject] - removed:
method Source.detach(idempotency_key=…, **params) - removed:
method Source.list_source_transactions(idempotency_key: Optional[str]=…, **params: Any) - removed:
method Source.verify(idempotency_key: Optional[str]=…, **params: Any) - removed:
static method Source.create(api_key: Optional[str]=…, idempotency_key: Optional[str]=…, stripe_version: Optional[str]=…, stripe_account: Optional[str]=…, **params: Any) -> Source - removed:
static method Source.modify(id, **params: Any) -> Source - removed:
static method Source.retrieve(id: str, api_key: Optional[str]=…, **params: Any) -> Source
- removed:
class SourceMandateNotification(StripeObject) - removed:
field SourceMandateNotification.OBJECT_NAME - removed:
field SourceMandateNotification.acss_debit: Optional[StripeObject] - removed:
field SourceMandateNotification.amount: Optional[int] - removed:
field SourceMandateNotification.bacs_debit: Optional[StripeObject] - removed:
field SourceMandateNotification.created: int - removed:
field SourceMandateNotification.id: str - removed:
field SourceMandateNotification.livemode: bool - removed:
field SourceMandateNotification.object: Literal['source_mandate_notification'] - removed:
field SourceMandateNotification.reason: str - removed:
field SourceMandateNotification.sepa_debit: Optional[StripeObject] - removed:
field SourceMandateNotification.source: Source - removed:
field SourceMandateNotification.status: str - removed:
field SourceMandateNotification.type: str
- removed:
class SourceTransaction(StripeObject) - removed:
field SourceTransaction.OBJECT_NAME - removed:
field SourceTransaction.ach_credit_transfer: Optional[StripeObject] - removed:
field SourceTransaction.amount: int - removed:
field SourceTransaction.chf_credit_transfer: Optional[StripeObject] - removed:
field SourceTransaction.created: int - removed:
field SourceTransaction.currency: str - removed:
field SourceTransaction.gbp_credit_transfer: Optional[StripeObject] - removed:
field SourceTransaction.id: str - removed:
field SourceTransaction.livemode: bool - removed:
field SourceTransaction.object: Literal['source_transaction'] - removed:
field SourceTransaction.paper_check: Optional[StripeObject] - removed:
field SourceTransaction.sepa_credit_transfer: Optional[StripeObject] - removed:
field SourceTransaction.source: str - removed:
field SourceTransaction.status: str - removed:
field SourceTransaction.type: Literal['ach_credit_transfer', 'ach_debit', 'alipay', 'bancontact', 'card', 'card_present', 'eps', 'giropay', 'ideal', 'klarna', 'multibanco', 'p24', 'sepa_debit', 'sofort', 'three_d_secure', 'wechat']
- removed:
class Subscription(CreateableAPIResource['Subscription'], DeletableAPIResource['Subscription'], ListableAPIResource['Subscription'], SearchableAPIResource['Subscription'], UpdateableAPIResource['Subscription']) - removed:
field Subscription.OBJECT_NAME - removed:
field Subscription.application: Optional[ExpandableField[Application]] - removed:
field Subscription.application_fee_percent: Optional[float] - removed:
field Subscription.automatic_tax: StripeObject - removed:
field Subscription.billing_cycle_anchor: int - removed:
field Subscription.billing_thresholds: Optional[StripeObject] - removed:
field Subscription.cancel_at: Optional[int] - removed:
field Subscription.cancel_at_period_end: bool - removed:
field Subscription.canceled_at: Optional[int] - removed:
field Subscription.cancellation_details: Optional[StripeObject] - removed:
field Subscription.collection_method: Literal['charge_automatically', 'send_invoice'] - removed:
field Subscription.created: int - removed:
field Subscription.currency: str - removed:
field Subscription.current_period_end: int - removed:
field Subscription.current_period_start: int - removed:
field Subscription.customer: ExpandableField[Customer] - removed:
field Subscription.days_until_due: Optional[int] - removed:
field Subscription.default_payment_method: Optional[ExpandableField[PaymentMethod]] - removed:
field Subscription.default_source: Optional[ExpandableField[Any]] - removed:
field Subscription.default_tax_rates: Optional[List[TaxRate]] - removed:
field Subscription.description: Optional[str] - removed:
field Subscription.discount: Optional[Discount] - removed:
field Subscription.ended_at: Optional[int] - removed:
field Subscription.id: str - removed:
field Subscription.items: ListObject[SubscriptionItem] - removed:
field Subscription.latest_invoice: Optional[ExpandableField[Invoice]] - removed:
field Subscription.livemode: bool - removed:
field Subscription.metadata: Dict[str, str] - removed:
field Subscription.next_pending_invoice_item_invoice: Optional[int] - removed:
field Subscription.object: Literal['subscription'] - removed:
field Subscription.on_behalf_of: Optional[ExpandableField[Account]] - removed:
field Subscription.pause_collection: Optional[StripeObject] - removed:
field Subscription.payment_settings: Optional[StripeObject] - removed:
field Subscription.pending_invoice_item_interval: Optional[StripeObject] - removed:
field Subscription.pending_setup_intent: Optional[ExpandableField[SetupIntent]] - removed:
field Subscription.pending_update: Optional[StripeObject] - removed:
field Subscription.schedule: Optional[ExpandableField[SubscriptionSchedule]] - removed:
field Subscription.start_date: int - removed:
field Subscription.status: Literal['active', 'canceled', 'incomplete', 'incomplete_expired', 'past_due', 'paused', 'trialing', 'unpaid'] - removed:
field Subscription.test_clock: Optional[ExpandableField[TestClock]] - removed:
field Subscription.transfer_data: Optional[StripeObject] - removed:
field Subscription.trial_end: Optional[int] - removed:
field Subscription.trial_settings: Optional[StripeObject] - removed:
field Subscription.trial_start: Optional[int] - removed:
method Subscription.cancel(idempotency_key: Optional[str]=…, **params: Any) - removed:
method Subscription.delete_discount(idempotency_key: Optional[str]=…, **params: Any) - removed:
method Subscription.resume(idempotency_key: Optional[str]=…, **params: Any) - removed:
static method Subscription.create(api_key: Optional[str]=…, idempotency_key: Optional[str]=…, stripe_version: Optional[str]=…, stripe_account: Optional[str]=…, **params: Any) -> Subscription - removed:
static method Subscription.list(api_key: Optional[str]=…, stripe_version: Optional[str]=…, stripe_account: Optional[str]=…, **params: Any) -> ListObject[Subscription] - removed:
static method Subscription.modify(id, **params: Any) -> Subscription - removed:
static method Subscription.retrieve(id: str, api_key: Optional[str]=…, **params: Any) -> Subscription - removed:
static method Subscription.search(*args, **kwargs) -> Any - removed:
static method Subscription.search_auto_paging_iter(*args, **kwargs) -> Any
- removed:
class SubscriptionItem(CreateableAPIResource['SubscriptionItem'], DeletableAPIResource['SubscriptionItem'], ListableAPIResource['SubscriptionItem'], UpdateableAPIResource['SubscriptionItem']) - removed:
field SubscriptionItem.OBJECT_NAME - removed:
field SubscriptionItem.billing_thresholds: Optional[StripeObject] - removed:
field SubscriptionItem.created: int - removed:
field SubscriptionItem.deleted: Optional[Literal[True]] - removed:
field SubscriptionItem.id: str - removed:
field SubscriptionItem.metadata: Dict[str, str] - removed:
field SubscriptionItem.object: Literal['subscription_item'] - removed:
field SubscriptionItem.plan: Plan - removed:
field SubscriptionItem.price: Price - removed:
field SubscriptionItem.quantity: Optional[int] - removed:
field SubscriptionItem.subscription: str - removed:
field SubscriptionItem.tax_rates: Optional[List[TaxRate]] - removed:
method SubscriptionItem.delete(**params: Any) -> SubscriptionItem - removed:
static method SubscriptionItem.create(api_key: Optional[str]=…, idempotency_key: Optional[str]=…, stripe_version: Optional[str]=…, stripe_account: Optional[str]=…, **params: Any) -> SubscriptionItem - removed:
static method SubscriptionItem.create_usage_record(subscription_item: str, api_key: Optional[str]=…, stripe_version: Optional[str]=…, stripe_account: Optional[str]=…, **params: Any) - removed:
static method SubscriptionItem.list(api_key: Optional[str]=…, stripe_version: Optional[str]=…, stripe_account: Optional[str]=…, **params: Any) -> ListObject[SubscriptionItem] - removed:
static method SubscriptionItem.list_usage_record_summaries(subscription_item: str, api_key: Optional[str]=…, stripe_version: Optional[str]=…, stripe_account: Optional[str]=…, **params: Any) - removed:
static method SubscriptionItem.modify(id, **params: Any) -> SubscriptionItem - removed:
static method SubscriptionItem.retrieve(id: str, api_key: Optional[str]=…, **params: Any) -> SubscriptionItem
- removed:
class SubscriptionSchedule(CreateableAPIResource['SubscriptionSchedule'], ListableAPIResource['SubscriptionSchedule'], UpdateableAPIResource['SubscriptionSchedule']) - removed:
field SubscriptionSchedule.OBJECT_NAME - removed:
field SubscriptionSchedule.application: Optional[ExpandableField[Application]] - removed:
field SubscriptionSchedule.canceled_at: Optional[int] - removed:
field SubscriptionSchedule.completed_at: Optional[int] - removed:
field SubscriptionSchedule.created: int - removed:
field SubscriptionSchedule.current_phase: Optional[StripeObject] - removed:
field SubscriptionSchedule.customer: ExpandableField[Customer] - removed:
field SubscriptionSchedule.default_settings: StripeObject - removed:
field SubscriptionSchedule.end_behavior: Literal['cancel', 'none', 'release', 'renew'] - removed:
field SubscriptionSchedule.id: str - removed:
field SubscriptionSchedule.livemode: bool - removed:
field SubscriptionSchedule.metadata: Optional[Dict[str, str]] - removed:
field SubscriptionSchedule.object: Literal['subscription_schedule'] - removed:
field SubscriptionSchedule.phases: List[StripeObject] - removed:
field SubscriptionSchedule.released_at: Optional[int] - removed:
field SubscriptionSchedule.released_subscription: Optional[str] - removed:
field SubscriptionSchedule.status: Literal['active', 'canceled', 'completed', 'not_started', 'released'] - removed:
field SubscriptionSchedule.subscription: Optional[ExpandableField[Subscription]] - removed:
field SubscriptionSchedule.test_clock: Optional[ExpandableField[TestClock]] - removed:
method SubscriptionSchedule.cancel(idempotency_key: Optional[str]=…, **params: Any) - removed:
method SubscriptionSchedule.release(idempotency_key: Optional[str]=…, **params: Any) - removed:
static method SubscriptionSchedule.create(api_key: Optional[str]=…, idempotency_key: Optional[str]=…, stripe_version: Optional[str]=…, stripe_account: Optional[str]=…, **params: Any) -> SubscriptionSchedule - removed:
static method SubscriptionSchedule.list(api_key: Optional[str]=…, stripe_version: Optional[str]=…, stripe_account: Optional[str]=…, **params: Any) -> ListObject[SubscriptionSchedule] - removed:
static method SubscriptionSchedule.modify(id, **params: Any) -> SubscriptionSchedule - removed:
static method SubscriptionSchedule.retrieve(id: str, api_key: Optional[str]=…, **params: Any) -> SubscriptionSchedule
- added:
export Registration
- removed:
class Calculation(CreateableAPIResource['Calculation']) - removed:
field Calculation.OBJECT_NAME - removed:
field Calculation.amount_total: int - removed:
field Calculation.currency: str - removed:
field Calculation.customer: Optional[str] - removed:
field Calculation.customer_details: StripeObject - removed:
field Calculation.expires_at: Optional[int] - removed:
field Calculation.id: Optional[str] - removed:
field Calculation.line_items: Optional[ListObject[CalculationLineItem]] - removed:
field Calculation.livemode: bool - removed:
field Calculation.object: Literal['tax.calculation'] - removed:
field Calculation.shipping_cost: Optional[StripeObject] - removed:
field Calculation.tax_amount_exclusive: int - removed:
field Calculation.tax_amount_inclusive: int - removed:
field Calculation.tax_breakdown: List[StripeObject] - removed:
field Calculation.tax_date: int - removed:
method Calculation.list_line_items(idempotency_key: Optional[str]=…, **params: Any) - removed:
static method Calculation.create(api_key: Optional[str]=…, idempotency_key: Optional[str]=…, stripe_version: Optional[str]=…, stripe_account: Optional[str]=…, **params: Any) -> Calculation
- removed:
class CalculationLineItem(StripeObject) - removed:
field CalculationLineItem.OBJECT_NAME - removed:
field CalculationLineItem.amount: int - removed:
field CalculationLineItem.amount_tax: int - removed:
field CalculationLineItem.id: str - removed:
field CalculationLineItem.livemode: bool - removed:
field CalculationLineItem.object: Literal['tax.calculation_line_item'] - removed:
field CalculationLineItem.product: Optional[str] - removed:
field CalculationLineItem.quantity: int - removed:
field CalculationLineItem.reference: Optional[str] - removed:
field CalculationLineItem.tax_behavior: Literal['exclusive', 'inclusive'] - removed:
field CalculationLineItem.tax_breakdown: Optional[List[StripeObject]] - removed:
field CalculationLineItem.tax_code: str
- removed:
class Settings(SingletonAPIResource['Settings'], UpdateableAPIResource['Settings']) - removed:
field Settings.OBJECT_NAME - removed:
field Settings.defaults: StripeObject - removed:
field Settings.head_office: Optional[StripeObject] - removed:
field Settings.livemode: bool - removed:
field Settings.object: Literal['tax.settings'] - removed:
field Settings.status: Literal['active', 'pending'] - removed:
field Settings.status_details: StripeObject - removed:
static method Settings.class_url() - removed:
static method Settings.modify(id, **params: Any) -> Settings - removed:
static method Settings.retrieve(**params: Any) -> Settings
- removed:
class Transaction(APIResource['Transaction']) - removed:
field Transaction.OBJECT_NAME - removed:
field Transaction.created: int - removed:
field Transaction.currency: str - removed:
field Transaction.customer: Optional[str] - removed:
field Transaction.customer_details: StripeObject - removed:
field Transaction.id: str - removed:
field Transaction.line_items: Optional[ListObject[TransactionLineItem]] - removed:
field Transaction.livemode: bool - removed:
field Transaction.metadata: Optional[Dict[str, str]] - removed:
field Transaction.object: Literal['tax.transaction'] - removed:
field Transaction.reference: str - removed:
field Transaction.reversal: Optional[StripeObject] - removed:
field Transaction.shipping_cost: Optional[StripeObject] - removed:
field Transaction.tax_date: int - removed:
field Transaction.type: Literal['reversal', 'transaction'] - removed:
method Transaction.list_line_items(idempotency_key: Optional[str]=…, **params: Any) - removed:
static method Transaction.create_from_calculation(api_key: Optional[str]=…, stripe_version: Optional[str]=…, stripe_account: Optional[str]=…, **params: Any) - removed:
static method Transaction.create_reversal(api_key: Optional[str]=…, stripe_version: Optional[str]=…, stripe_account: Optional[str]=…, **params: Any) - removed:
static method Transaction.retrieve(id: str, api_key: Optional[str]=…, **params: Any) -> Transaction
- removed:
class TransactionLineItem(StripeObject) - removed:
field TransactionLineItem.OBJECT_NAME - removed:
field TransactionLineItem.amount: int - removed:
field TransactionLineItem.amount_tax: int - removed:
field TransactionLineItem.id: str - removed:
field TransactionLineItem.livemode: bool - removed:
field TransactionLineItem.metadata: Optional[Dict[str, str]] - removed:
field TransactionLineItem.object: Literal['tax.transaction_line_item'] - removed:
field TransactionLineItem.product: Optional[str] - removed:
field TransactionLineItem.quantity: int - removed:
field TransactionLineItem.reference: str - removed:
field TransactionLineItem.reversal: Optional[StripeObject] - removed:
field TransactionLineItem.tax_behavior: Literal['exclusive', 'inclusive'] - removed:
field TransactionLineItem.tax_code: str - removed:
field TransactionLineItem.type: Literal['reversal', 'transaction']
- removed:
class TaxCode(ListableAPIResource['TaxCode']) - removed:
field TaxCode.OBJECT_NAME - removed:
field TaxCode.description: str - removed:
field TaxCode.id: str - removed:
field TaxCode.name: str - removed:
field TaxCode.object: Literal['tax_code'] - removed:
static method TaxCode.list(api_key: Optional[str]=…, stripe_version: Optional[str]=…, stripe_account: Optional[str]=…, **params: Any) -> ListObject[TaxCode] - removed:
static method TaxCode.retrieve(id: str, api_key: Optional[str]=…, **params: Any) -> TaxCode
- removed:
class TaxDeductedAtSource(StripeObject) - removed:
field TaxDeductedAtSource.OBJECT_NAME - removed:
field TaxDeductedAtSource.id: str - removed:
field TaxDeductedAtSource.object: Literal['tax_deducted_at_source'] - removed:
field TaxDeductedAtSource.period_end: int - removed:
field TaxDeductedAtSource.period_start: int - removed:
field TaxDeductedAtSource.tax_deduction_account_number: str
- removed:
class TaxId(APIResource['TaxId']) - removed:
field TaxId.OBJECT_NAME - removed:
field TaxId.country: Optional[str] - removed:
field TaxId.created: int - removed:
field TaxId.customer: Optional[ExpandableField[Customer]] - removed:
field TaxId.deleted: Optional[Literal[True]] - removed:
field TaxId.id: str - removed:
field TaxId.livemode: bool - removed:
field TaxId.object: Literal['tax_id'] - removed:
field TaxId.type: Literal['ad_nrt', 'ae_trn', 'ar_cuit', 'au_abn', 'au_arn', 'bg_uic', 'bo_tin', 'br_cnpj', 'br_cpf', 'ca_bn', 'ca_gst_hst', 'ca_pst_bc', 'ca_pst_mb', 'ca_pst_sk', 'ca_qst', 'ch_vat', 'cl_tin', 'cn_tin', 'co_nit', 'cr_tin', 'do_rcn', 'ec_ruc', 'eg_tin', 'es_cif', 'eu_oss_vat', 'eu_vat', 'gb_vat', 'ge_vat', 'hk_br', 'hu_tin', 'id_npwp', 'il_vat', 'in_gst', 'is_vat', 'jp_cn', 'jp_rn… - removed:
field TaxId.value: str - removed:
field TaxId.verification: Optional[StripeObject] - removed:
method TaxId.instance_url() - removed:
static method TaxId.retrieve(id, api_key=…, **params)
- removed:
class TaxRate(CreateableAPIResource['TaxRate'], ListableAPIResource['TaxRate'], UpdateableAPIResource['TaxRate']) - removed:
field TaxRate.OBJECT_NAME - removed:
field TaxRate.active: bool - removed:
field TaxRate.country: Optional[str] - removed:
field TaxRate.created: int - removed:
field TaxRate.description: Optional[str] - removed:
field TaxRate.display_name: str - removed:
field TaxRate.effective_percentage: Optional[float] - removed:
field TaxRate.id: str - removed:
field TaxRate.inclusive: bool - removed:
field TaxRate.jurisdiction: Optional[str] - removed:
field TaxRate.livemode: bool - removed:
field TaxRate.metadata: Optional[Dict[str, str]] - removed:
field TaxRate.object: Literal['tax_rate'] - removed:
field TaxRate.percentage: float - removed:
field TaxRate.state: Optional[str] - removed:
field TaxRate.tax_type: Optional[Literal['amusement_tax', 'communications_tax', 'gst', 'hst', 'igst', 'jct', 'lease_tax', 'pst', 'qst', 'rst', 'sales_tax', 'service_tax', 'vat']] - removed:
static method TaxRate.create(api_key: Optional[str]=…, idempotency_key: Optional[str]=…, stripe_version: Optional[str]=…, stripe_account: Optional[str]=…, **params: Any) -> TaxRate - removed:
static method TaxRate.list(api_key: Optional[str]=…, stripe_version: Optional[str]=…, stripe_account: Optional[str]=…, **params: Any) -> ListObject[TaxRate] - removed:
static method TaxRate.modify(id, **params: Any) -> TaxRate - removed:
static method TaxRate.retrieve(id: str, api_key: Optional[str]=…, **params: Any) -> TaxRate
- removed:
class Configuration(CreateableAPIResource['Configuration'], DeletableAPIResource['Configuration'], ListableAPIResource['Configuration'], UpdateableAPIResource['Configuration']) - removed:
field Configuration.OBJECT_NAME - removed:
field Configuration.bbpos_wisepos_e: Optional[StripeObject] - removed:
field Configuration.deleted: Optional[Literal[True]] - removed:
field Configuration.id: str - removed:
field Configuration.is_account_default: Optional[bool] - removed:
field Configuration.livemode: bool - removed:
field Configuration.object: Literal['terminal.configuration'] - removed:
field Configuration.tipping: Optional[StripeObject] - removed:
field Configuration.verifone_p400: Optional[StripeObject] - removed:
method Configuration.delete(**params: Any) -> Configuration - removed:
static method Configuration.create(api_key: Optional[str]=…, idempotency_key: Optional[str]=…, stripe_version: Optional[str]=…, stripe_account: Optional[str]=…, **params: Any) -> Configuration - removed:
static method Configuration.list(api_key: Optional[str]=…, stripe_version: Optional[str]=…, stripe_account: Optional[str]=…, **params: Any) -> ListObject[Configuration] - removed:
static method Configuration.modify(id, **params: Any) -> Configuration - removed:
static method Configuration.retrieve(id: str, api_key: Optional[str]=…, **params: Any) -> Configuration
- removed:
class ConnectionToken(CreateableAPIResource['ConnectionToken']) - removed:
field ConnectionToken.OBJECT_NAME - removed:
field ConnectionToken.location: Optional[str] - removed:
field ConnectionToken.object: Literal['terminal.connection_token'] - removed:
field ConnectionToken.secret: str - removed:
static method ConnectionToken.create(api_key: Optional[str]=…, idempotency_key: Optional[str]=…, stripe_version: Optional[str]=…, stripe_account: Optional[str]=…, **params: Any) -> ConnectionToken
- removed:
class Location(CreateableAPIResource['Location'], DeletableAPIResource['Location'], ListableAPIResource['Location'], UpdateableAPIResource['Location']) - removed:
field Location.OBJECT_NAME - removed:
field Location.address: StripeObject - removed:
field Location.configuration_overrides: Optional[str] - removed:
field Location.deleted: Optional[Literal[True]] - removed:
field Location.display_name: str - removed:
field Location.id: str - removed:
field Location.livemode: bool - removed:
field Location.metadata: Dict[str, str] - removed:
field Location.object: Literal['terminal.location'] - removed:
method Location.delete(**params: Any) -> Location - removed:
static method Location.create(api_key: Optional[str]=…, idempotency_key: Optional[str]=…, stripe_version: Optional[str]=…, stripe_account: Optional[str]=…, **params: Any) -> Location - removed:
static method Location.list(api_key: Optional[str]=…, stripe_version: Optional[str]=…, stripe_account: Optional[str]=…, **params: Any) -> ListObject[Location] - removed:
static method Location.modify(id, **params: Any) -> Location - removed:
static method Location.retrieve(id: str, api_key: Optional[str]=…, **params: Any) -> Location
- removed:
class Reader(CreateableAPIResource['Reader'], DeletableAPIResource['Reader'], ListableAPIResource['Reader'], UpdateableAPIResource['Reader']) - removed:
class Reader.TestHelpers(APIResourceTestHelpers['Reader']) - removed:
field Reader.OBJECT_NAME - removed:
field Reader.action: Optional[StripeObject] - removed:
field Reader.deleted: Optional[Literal[True]] - removed:
field Reader.device_sw_version: Optional[str] - removed:
field Reader.device_type: Literal['bbpos_chipper2x', 'bbpos_wisepad3', 'bbpos_wisepos_e', 'simulated_wisepos_e', 'stripe_m2', 'verifone_P400'] - removed:
field Reader.id: str - removed:
field Reader.ip_address: Optional[str] - removed:
field Reader.label: str - removed:
field Reader.livemode: bool - removed:
field Reader.location: Optional[ExpandableField[Location]] - removed:
field Reader.metadata: Dict[str, str] - removed:
field Reader.object: Literal['terminal.reader'] - removed:
field Reader.serial_number: str - removed:
field Reader.status: Optional[str] - removed:
method Reader.TestHelpers.present_payment_method(idempotency_key: Optional[str]=…, **params: Any) - removed:
method Reader.cancel_action(idempotency_key: Optional[str]=…, **params: Any) - removed:
method Reader.delete(**params: Any) -> Reader - removed:
method Reader.process_payment_intent(idempotency_key: Optional[str]=…, **params: Any) - removed:
method Reader.process_setup_intent(idempotency_key: Optional[str]=…, **params: Any) - removed:
method Reader.refund_payment(idempotency_key: Optional[str]=…, **params: Any) - removed:
method Reader.set_reader_display(idempotency_key: Optional[str]=…, **params: Any) - removed:
property Reader.test_helpers - removed:
static method Reader.create(api_key: Optional[str]=…, idempotency_key: Optional[str]=…, stripe_version: Optional[str]=…, stripe_account: Optional[str]=…, **params: Any) -> Reader - removed:
static method Reader.list(api_key: Optional[str]=…, stripe_version: Optional[str]=…, stripe_account: Optional[str]=…, **params: Any) -> ListObject[Reader] - removed:
static method Reader.modify(id, **params: Any) -> Reader - removed:
static method Reader.retrieve(id: str, api_key: Optional[str]=…, **params: Any) -> Reader
- removed:
class TestClock(CreateableAPIResource['TestClock'], DeletableAPIResource['TestClock'], ListableAPIResource['TestClock']) - removed:
field TestClock.OBJECT_NAME - removed:
field TestClock.created: int - removed:
field TestClock.deleted: Optional[Literal[True]] - removed:
field TestClock.deletes_after: int - removed:
field TestClock.frozen_time: int - removed:
field TestClock.id: str - removed:
field TestClock.livemode: bool - removed:
field TestClock.name: Optional[str] - removed:
field TestClock.object: Literal['test_helpers.test_clock'] - removed:
field TestClock.status: Literal['advancing', 'internal_failure', 'ready'] - removed:
method TestClock.advance(idempotency_key: Optional[str]=…, **params: Any) - removed:
method TestClock.delete(**params: Any) -> TestClock - removed:
static method TestClock.create(api_key: Optional[str]=…, idempotency_key: Optional[str]=…, stripe_version: Optional[str]=…, stripe_account: Optional[str]=…, **params: Any) -> TestClock - removed:
static method TestClock.list(api_key: Optional[str]=…, stripe_version: Optional[str]=…, stripe_account: Optional[str]=…, **params: Any) -> ListObject[TestClock] - removed:
static method TestClock.retrieve(id: str, api_key: Optional[str]=…, **params: Any) -> TestClock
- removed:
class Token(CreateableAPIResource['Token']) - removed:
field Token.OBJECT_NAME - removed:
field Token.bank_account: Optional[BankAccount] - removed:
field Token.card: Optional[Card] - removed:
field Token.client_ip: Optional[str] - removed:
field Token.created: int - removed:
field Token.id: str - removed:
field Token.livemode: bool - removed:
field Token.object: Literal['token'] - removed:
field Token.type: str - removed:
field Token.used: bool - removed:
static method Token.create(api_key: Optional[str]=…, idempotency_key: Optional[str]=…, stripe_version: Optional[str]=…, stripe_account: Optional[str]=…, **params: Any) -> Token - removed:
static method Token.retrieve(id: str, api_key: Optional[str]=…, **params: Any) -> Token
- removed:
class Topup(CreateableAPIResource['Topup'], ListableAPIResource['Topup'], UpdateableAPIResource['Topup']) - removed:
field Topup.OBJECT_NAME - removed:
field Topup.amount: int - removed:
field Topup.balance_transaction: Optional[ExpandableField[BalanceTransaction]] - removed:
field Topup.created: int - removed:
field Topup.currency: str - removed:
field Topup.description: Optional[str] - removed:
field Topup.expected_availability_date: Optional[int] - removed:
field Topup.failure_code: Optional[str] - removed:
field Topup.failure_message: Optional[str] - removed:
field Topup.id: str - removed:
field Topup.livemode: bool - removed:
field Topup.metadata: Dict[str, str] - removed:
field Topup.object: Literal['topup'] - removed:
field Topup.source: Optional[Source] - removed:
field Topup.statement_descriptor: Optional[str] - removed:
field Topup.status: Literal['canceled', 'failed', 'pending', 'reversed', 'succeeded'] - removed:
field Topup.transfer_group: Optional[str] - removed:
method Topup.cancel(idempotency_key: Optional[str]=…, **params: Any) - removed:
static method Topup.create(api_key: Optional[str]=…, idempotency_key: Optional[str]=…, stripe_version: Optional[str]=…, stripe_account: Optional[str]=…, **params: Any) -> Topup - removed:
static method Topup.list(api_key: Optional[str]=…, stripe_version: Optional[str]=…, stripe_account: Optional[str]=…, **params: Any) -> ListObject[Topup] - removed:
static method Topup.modify(id, **params: Any) -> Topup - removed:
static method Topup.retrieve(id: str, api_key: Optional[str]=…, **params: Any) -> Topup
- removed:
class Transfer(CreateableAPIResource['Transfer'], ListableAPIResource['Transfer'], UpdateableAPIResource['Transfer']) - removed:
field Transfer.OBJECT_NAME - removed:
field Transfer.amount: int - removed:
field Transfer.amount_reversed: int - removed:
field Transfer.balance_transaction: Optional[ExpandableField[BalanceTransaction]] - removed:
field Transfer.created: int - removed:
field Transfer.currency: str - removed:
field Transfer.description: Optional[str] - removed:
field Transfer.destination: Optional[ExpandableField[Account]] - removed:
field Transfer.destination_payment: Optional[ExpandableField[Charge]] - removed:
field Transfer.id: str - removed:
field Transfer.livemode: bool - removed:
field Transfer.metadata: Dict[str, str] - removed:
field Transfer.object: Literal['transfer'] - removed:
field Transfer.reversals: ListObject[Reversal] - removed:
field Transfer.reversed: bool - removed:
field Transfer.source_transaction: Optional[ExpandableField[Charge]] - removed:
field Transfer.source_type: Optional[str] - removed:
field Transfer.transfer_group: Optional[str] - removed:
static method Transfer.create(api_key: Optional[str]=…, idempotency_key: Optional[str]=…, stripe_version: Optional[str]=…, stripe_account: Optional[str]=…, **params: Any) -> Transfer - removed:
static method Transfer.create_reversal(id: str, api_key: Optional[str]=…, stripe_version: Optional[str]=…, stripe_account: Optional[str]=…, **params: Any) - removed:
static method Transfer.list(api_key: Optional[str]=…, stripe_version: Optional[str]=…, stripe_account: Optional[str]=…, **params: Any) -> ListObject[Transfer] - removed:
static method Transfer.list_reversals(id: str, api_key: Optional[str]=…, stripe_version: Optional[str]=…, stripe_account: Optional[str]=…, **params: Any) - removed:
static method Transfer.modify(id, **params: Any) -> Transfer - removed:
static method Transfer.modify_reversal(transfer: str, id: str, api_key: Optional[str]=…, stripe_version: Optional[str]=…, stripe_account: Optional[str]=…, **params: Any) - removed:
static method Transfer.retrieve(id: str, api_key: Optional[str]=…, **params: Any) -> Transfer - removed:
static method Transfer.retrieve_reversal(transfer: str, id: str, api_key: Optional[str]=…, stripe_version: Optional[str]=…, stripe_account: Optional[str]=…, **params: Any)
- removed:
class CreditReversal(CreateableAPIResource['CreditReversal'], ListableAPIResource['CreditReversal']) - removed:
field CreditReversal.OBJECT_NAME - removed:
field CreditReversal.amount: int - removed:
field CreditReversal.created: int - removed:
field CreditReversal.currency: str - removed:
field CreditReversal.financial_account: str - removed:
field CreditReversal.hosted_regulatory_receipt_url: Optional[str] - removed:
field CreditReversal.id: str - removed:
field CreditReversal.livemode: bool - removed:
field CreditReversal.metadata: Dict[str, str] - removed:
field CreditReversal.network: Literal['ach', 'stripe'] - removed:
field CreditReversal.object: Literal['treasury.credit_reversal'] - removed:
field CreditReversal.received_credit: str - removed:
field CreditReversal.status: Literal['canceled', 'posted', 'processing'] - removed:
field CreditReversal.status_transitions: StripeObject - removed:
field CreditReversal.transaction: Optional[ExpandableField[Transaction]] - removed:
static method CreditReversal.create(api_key: Optional[str]=…, idempotency_key: Optional[str]=…, stripe_version: Optional[str]=…, stripe_account: Optional[str]=…, **params: Any) -> CreditReversal - removed:
static method CreditReversal.list(api_key: Optional[str]=…, stripe_version: Optional[str]=…, stripe_account: Optional[str]=…, **params: Any) -> ListObject[CreditReversal] - removed:
static method CreditReversal.retrieve(id: str, api_key: Optional[str]=…, **params: Any) -> CreditReversal
- removed:
class DebitReversal(CreateableAPIResource['DebitReversal'], ListableAPIResource['DebitReversal']) - removed:
field DebitReversal.OBJECT_NAME - removed:
field DebitReversal.amount: int - removed:
field DebitReversal.created: int - removed:
field DebitReversal.currency: str - removed:
field DebitReversal.financial_account: Optional[str] - removed:
field DebitReversal.hosted_regulatory_receipt_url: Optional[str] - removed:
field DebitReversal.id: str - removed:
field DebitReversal.linked_flows: Optional[StripeObject] - removed:
field DebitReversal.livemode: bool - removed:
field DebitReversal.metadata: Dict[str, str] - removed:
field DebitReversal.network: Literal['ach', 'card'] - removed:
field DebitReversal.object: Literal['treasury.debit_reversal'] - removed:
field DebitReversal.received_debit: str - removed:
field DebitReversal.status: Literal['failed', 'processing', 'succeeded'] - removed:
field DebitReversal.status_transitions: StripeObject - removed:
field DebitReversal.transaction: Optional[ExpandableField[Transaction]] - removed:
static method DebitReversal.create(api_key: Optional[str]=…, idempotency_key: Optional[str]=…, stripe_version: Optional[str]=…, stripe_account: Optional[str]=…, **params: Any) -> DebitReversal - removed:
static method DebitReversal.list(api_key: Optional[str]=…, stripe_version: Optional[str]=…, stripe_account: Optional[str]=…, **params: Any) -> ListObject[DebitReversal] - removed:
static method DebitReversal.retrieve(id: str, api_key: Optional[str]=…, **params: Any) -> DebitReversal
- removed:
class FinancialAccount(CreateableAPIResource['FinancialAccount'], ListableAPIResource['FinancialAccount'], UpdateableAPIResource['FinancialAccount']) - removed:
field FinancialAccount.OBJECT_NAME - removed:
field FinancialAccount.active_features: Optional[List[Literal['card_issuing', 'deposit_insurance', 'financial_addresses.aba', 'inbound_transfers.ach', 'intra_stripe_flows', 'outbound_payments.ach', 'outbound_payments.us_domestic_wire', 'outbound_transfers.ach', 'outbound_transfers.us_domestic_wire', 'remote_deposit_capture']]] - removed:
field FinancialAccount.balance: StripeObject - removed:
field FinancialAccount.country: str - removed:
field FinancialAccount.created: int - removed:
field FinancialAccount.features: Optional[FinancialAccountFeatures] - removed:
field FinancialAccount.financial_addresses: List[StripeObject] - removed:
field FinancialAccount.id: str - removed:
field FinancialAccount.livemode: bool - removed:
field FinancialAccount.metadata: Optional[Dict[str, str]] - removed:
field FinancialAccount.object: Literal['treasury.financial_account'] - removed:
field FinancialAccount.pending_features: Optional[List[Literal['card_issuing', 'deposit_insurance', 'financial_addresses.aba', 'inbound_transfers.ach', 'intra_stripe_flows', 'outbound_payments.ach', 'outbound_payments.us_domestic_wire', 'outbound_transfers.ach', 'outbound_transfers.us_domestic_wire', 'remote_deposit_capture']]] - removed:
field FinancialAccount.platform_restrictions: Optional[StripeObject] - removed:
field FinancialAccount.restricted_features: Optional[List[Literal['card_issuing', 'deposit_insurance', 'financial_addresses.aba', 'inbound_transfers.ach', 'intra_stripe_flows', 'outbound_payments.ach', 'outbound_payments.us_domestic_wire', 'outbound_transfers.ach', 'outbound_transfers.us_domestic_wire', 'remote_deposit_capture']]] - removed:
field FinancialAccount.status: Literal['closed', 'open'] - removed:
field FinancialAccount.status_details: StripeObject - removed:
field FinancialAccount.supported_currencies: List[str] - removed:
method FinancialAccount.retrieve_features(idempotency_key: Optional[str]=…, **params: Any) - removed:
method FinancialAccount.update_features(idempotency_key: Optional[str]=…, **params: Any) - removed:
static method FinancialAccount.create(api_key: Optional[str]=…, idempotency_key: Optional[str]=…, stripe_version: Optional[str]=…, stripe_account: Optional[str]=…, **params: Any) -> FinancialAccount - removed:
static method FinancialAccount.list(api_key: Optional[str]=…, stripe_version: Optional[str]=…, stripe_account: Optional[str]=…, **params: Any) -> ListObject[FinancialAccount] - removed:
static method FinancialAccount.modify(id, **params: Any) -> FinancialAccount - removed:
static method FinancialAccount.retrieve(id: str, api_key: Optional[str]=…, **params: Any) -> FinancialAccount
- removed:
class FinancialAccountFeatures(StripeObject) - removed:
field FinancialAccountFeatures.OBJECT_NAME - removed:
field FinancialAccountFeatures.card_issuing: Optional[StripeObject] - removed:
field FinancialAccountFeatures.deposit_insurance: Optional[StripeObject] - removed:
field FinancialAccountFeatures.financial_addresses: Optional[StripeObject] - removed:
field FinancialAccountFeatures.inbound_transfers: Optional[StripeObject] - removed:
field FinancialAccountFeatures.intra_stripe_flows: Optional[StripeObject] - removed:
field FinancialAccountFeatures.object: Literal['treasury.financial_account_features'] - removed:
field FinancialAccountFeatures.outbound_payments: Optional[StripeObject] - removed:
field FinancialAccountFeatures.outbound_transfers: Optional[StripeObject]
- removed:
class InboundTransfer(CreateableAPIResource['InboundTransfer'], ListableAPIResource['InboundTransfer']) - removed:
class InboundTransfer.TestHelpers(APIResourceTestHelpers['InboundTransfer']) - removed:
field InboundTransfer.OBJECT_NAME - removed:
field InboundTransfer.amount: int - removed:
field InboundTransfer.cancelable: bool - removed:
field InboundTransfer.created: int - removed:
field InboundTransfer.currency: str - removed:
field InboundTransfer.description: Optional[str] - removed:
field InboundTransfer.failure_details: Optional[StripeObject] - removed:
field InboundTransfer.financial_account: str - removed:
field InboundTransfer.hosted_regulatory_receipt_url: Optional[str] - removed:
field InboundTransfer.id: str - removed:
field InboundTransfer.linked_flows: StripeObject - removed:
field InboundTransfer.livemode: bool - removed:
field InboundTransfer.metadata: Dict[str, str] - removed:
field InboundTransfer.object: Literal['treasury.inbound_transfer'] - removed:
field InboundTransfer.origin_payment_method: str - removed:
field InboundTransfer.origin_payment_method_details: Optional[StripeObject] - removed:
field InboundTransfer.returned: Optional[bool] - removed:
field InboundTransfer.statement_descriptor: str - removed:
field InboundTransfer.status: Literal['canceled', 'failed', 'processing', 'succeeded'] - removed:
field InboundTransfer.status_transitions: StripeObject - removed:
field InboundTransfer.transaction: Optional[ExpandableField[Transaction]] - removed:
method InboundTransfer.TestHelpers.fail(idempotency_key: Optional[str]=…, **params: Any) - removed:
method InboundTransfer.TestHelpers.return_inbound_transfer(idempotency_key: Optional[str]=…, **params: Any) - removed:
method InboundTransfer.TestHelpers.succeed(idempotency_key: Optional[str]=…, **params: Any) - removed:
method InboundTransfer.cancel(idempotency_key: Optional[str]=…, **params: Any) - removed:
property InboundTransfer.test_helpers - removed:
static method InboundTransfer.create(api_key: Optional[str]=…, idempotency_key: Optional[str]=…, stripe_version: Optional[str]=…, stripe_account: Optional[str]=…, **params: Any) -> InboundTransfer - removed:
static method InboundTransfer.list(api_key: Optional[str]=…, stripe_version: Optional[str]=…, stripe_account: Optional[str]=…, **params: Any) -> ListObject[InboundTransfer] - removed:
static method InboundTransfer.retrieve(id: str, api_key: Optional[str]=…, **params: Any) -> InboundTransfer
- removed:
class OutboundPayment(CreateableAPIResource['OutboundPayment'], ListableAPIResource['OutboundPayment']) - removed:
class OutboundPayment.TestHelpers(APIResourceTestHelpers['OutboundPayment']) - removed:
field OutboundPayment.OBJECT_NAME - removed:
field OutboundPayment.amount: int - removed:
field OutboundPayment.cancelable: bool - removed:
field OutboundPayment.created: int - removed:
field OutboundPayment.currency: str - removed:
field OutboundPayment.customer: Optional[str] - removed:
field OutboundPayment.description: Optional[str] - removed:
field OutboundPayment.destination_payment_method: Optional[str] - removed:
field OutboundPayment.destination_payment_method_details: Optional[StripeObject] - removed:
field OutboundPayment.end_user_details: Optional[StripeObject] - removed:
field OutboundPayment.expected_arrival_date: int - removed:
field OutboundPayment.financial_account: str - removed:
field OutboundPayment.hosted_regulatory_receipt_url: Optional[str] - removed:
field OutboundPayment.id: str - removed:
field OutboundPayment.livemode: bool - removed:
field OutboundPayment.metadata: Dict[str, str] - removed:
field OutboundPayment.object: Literal['treasury.outbound_payment'] - removed:
field OutboundPayment.returned_details: Optional[StripeObject] - removed:
field OutboundPayment.statement_descriptor: str - removed:
field OutboundPayment.status: Literal['canceled', 'failed', 'posted', 'processing', 'returned'] - removed:
field OutboundPayment.status_transitions: StripeObject - removed:
field OutboundPayment.transaction: ExpandableField[Transaction] - removed:
method OutboundPayment.TestHelpers.fail(idempotency_key: Optional[str]=…, **params: Any) - removed:
method OutboundPayment.TestHelpers.post(idempotency_key: Optional[str]=…, **params: Any) - removed:
method OutboundPayment.TestHelpers.return_outbound_payment(idempotency_key: Optional[str]=…, **params: Any) - removed:
method OutboundPayment.cancel(idempotency_key: Optional[str]=…, **params: Any) - removed:
property OutboundPayment.test_helpers - removed:
static method OutboundPayment.create(api_key: Optional[str]=…, idempotency_key: Optional[str]=…, stripe_version: Optional[str]=…, stripe_account: Optional[str]=…, **params: Any) -> OutboundPayment - removed:
static method OutboundPayment.list(api_key: Optional[str]=…, stripe_version: Optional[str]=…, stripe_account: Optional[str]=…, **params: Any) -> ListObject[OutboundPayment] - removed:
static method OutboundPayment.retrieve(id: str, api_key: Optional[str]=…, **params: Any) -> OutboundPayment
- removed:
class OutboundTransfer(CreateableAPIResource['OutboundTransfer'], ListableAPIResource['OutboundTransfer']) - removed:
class OutboundTransfer.TestHelpers(APIResourceTestHelpers['OutboundTransfer']) - removed:
field OutboundTransfer.OBJECT_NAME - removed:
field OutboundTransfer.amount: int - removed:
field OutboundTransfer.cancelable: bool - removed:
field OutboundTransfer.created: int - removed:
field OutboundTransfer.currency: str - removed:
field OutboundTransfer.description: Optional[str] - removed:
field OutboundTransfer.destination_payment_method: Optional[str] - removed:
field OutboundTransfer.destination_payment_method_details: StripeObject - removed:
field OutboundTransfer.expected_arrival_date: int - removed:
field OutboundTransfer.financial_account: str - removed:
field OutboundTransfer.hosted_regulatory_receipt_url: Optional[str] - removed:
field OutboundTransfer.id: str - removed:
field OutboundTransfer.livemode: bool - removed:
field OutboundTransfer.metadata: Dict[str, str] - removed:
field OutboundTransfer.object: Literal['treasury.outbound_transfer'] - removed:
field OutboundTransfer.returned_details: Optional[StripeObject] - removed:
field OutboundTransfer.statement_descriptor: str - removed:
field OutboundTransfer.status: Literal['canceled', 'failed', 'posted', 'processing', 'returned'] - removed:
field OutboundTransfer.status_transitions: StripeObject - removed:
field OutboundTransfer.transaction: ExpandableField[Transaction] - removed:
method OutboundTransfer.TestHelpers.fail(idempotency_key: Optional[str]=…, **params: Any) - removed:
method OutboundTransfer.TestHelpers.post(idempotency_key: Optional[str]=…, **params: Any) - removed:
method OutboundTransfer.TestHelpers.return_outbound_transfer(idempotency_key: Optional[str]=…, **params: Any) - removed:
method OutboundTransfer.cancel(idempotency_key: Optional[str]=…, **params: Any) - removed:
property OutboundTransfer.test_helpers - removed:
static method OutboundTransfer.create(api_key: Optional[str]=…, idempotency_key: Optional[str]=…, stripe_version: Optional[str]=…, stripe_account: Optional[str]=…, **params: Any) -> OutboundTransfer - removed:
static method OutboundTransfer.list(api_key: Optional[str]=…, stripe_version: Optional[str]=…, stripe_account: Optional[str]=…, **params: Any) -> ListObject[OutboundTransfer] - removed:
static method OutboundTransfer.retrieve(id: str, api_key: Optional[str]=…, **params: Any) -> OutboundTransfer
- removed:
class ReceivedCredit(ListableAPIResource['ReceivedCredit']) - removed:
class ReceivedCredit.TestHelpers(APIResourceTestHelpers['ReceivedCredit']) - removed:
field ReceivedCredit.OBJECT_NAME - removed:
field ReceivedCredit.amount: int - removed:
field ReceivedCredit.created: int - removed:
field ReceivedCredit.currency: str - removed:
field ReceivedCredit.description: str - removed:
field ReceivedCredit.failure_code: Optional[Literal['account_closed', 'account_frozen', 'other']] - removed:
field ReceivedCredit.financial_account: Optional[str] - removed:
field ReceivedCredit.hosted_regulatory_receipt_url: Optional[str] - removed:
field ReceivedCredit.id: str - removed:
field ReceivedCredit.initiating_payment_method_details: StripeObject - removed:
field ReceivedCredit.linked_flows: StripeObject - removed:
field ReceivedCredit.livemode: bool - removed:
field ReceivedCredit.network: Literal['ach', 'card', 'stripe', 'us_domestic_wire'] - removed:
field ReceivedCredit.object: Literal['treasury.received_credit'] - removed:
field ReceivedCredit.reversal_details: Optional[StripeObject] - removed:
field ReceivedCredit.status: Literal['failed', 'succeeded'] - removed:
field ReceivedCredit.transaction: Optional[ExpandableField[Transaction]] - removed:
property ReceivedCredit.test_helpers - removed:
static method ReceivedCredit.TestHelpers.create(api_key: Optional[str]=…, stripe_version: Optional[str]=…, stripe_account: Optional[str]=…, **params: Any) - removed:
static method ReceivedCredit.list(api_key: Optional[str]=…, stripe_version: Optional[str]=…, stripe_account: Optional[str]=…, **params: Any) -> ListObject[ReceivedCredit] - removed:
static method ReceivedCredit.retrieve(id: str, api_key: Optional[str]=…, **params: Any) -> ReceivedCredit
- removed:
class ReceivedDebit(ListableAPIResource['ReceivedDebit']) - removed:
class ReceivedDebit.TestHelpers(APIResourceTestHelpers['ReceivedDebit']) - removed:
field ReceivedDebit.OBJECT_NAME - removed:
field ReceivedDebit.amount: int - removed:
field ReceivedDebit.created: int - removed:
field ReceivedDebit.currency: str - removed:
field ReceivedDebit.description: str - removed:
field ReceivedDebit.failure_code: Optional[Literal['account_closed', 'account_frozen', 'insufficient_funds', 'other']] - removed:
field ReceivedDebit.financial_account: Optional[str] - removed:
field ReceivedDebit.hosted_regulatory_receipt_url: Optional[str] - removed:
field ReceivedDebit.id: str - removed:
field ReceivedDebit.initiating_payment_method_details: Optional[StripeObject] - removed:
field ReceivedDebit.linked_flows: StripeObject - removed:
field ReceivedDebit.livemode: bool - removed:
field ReceivedDebit.network: Literal['ach', 'card', 'stripe'] - removed:
field ReceivedDebit.object: Literal['treasury.received_debit'] - removed:
field ReceivedDebit.reversal_details: Optional[StripeObject] - removed:
field ReceivedDebit.status: Literal['failed', 'succeeded'] - removed:
field ReceivedDebit.transaction: Optional[ExpandableField[Transaction]] - removed:
property ReceivedDebit.test_helpers - removed:
static method ReceivedDebit.TestHelpers.create(api_key: Optional[str]=…, stripe_version: Optional[str]=…, stripe_account: Optional[str]=…, **params: Any) - removed:
static method ReceivedDebit.list(api_key: Optional[str]=…, stripe_version: Optional[str]=…, stripe_account: Optional[str]=…, **params: Any) -> ListObject[ReceivedDebit] - removed:
static method ReceivedDebit.retrieve(id: str, api_key: Optional[str]=…, **params: Any) -> ReceivedDebit
- removed:
class Transaction(ListableAPIResource['Transaction']) - removed:
field Transaction.OBJECT_NAME - removed:
field Transaction.amount: int - removed:
field Transaction.balance_impact: StripeObject - removed:
field Transaction.created: int - removed:
field Transaction.currency: str - removed:
field Transaction.description: str - removed:
field Transaction.entries: Optional[ListObject[TransactionEntry]] - removed:
field Transaction.financial_account: str - removed:
field Transaction.flow: Optional[str] - removed:
field Transaction.flow_details: Optional[StripeObject] - removed:
field Transaction.flow_type: Literal['credit_reversal', 'debit_reversal', 'inbound_transfer', 'issuing_authorization', 'other', 'outbound_payment', 'outbound_transfer', 'received_credit', 'received_debit'] - removed:
field Transaction.id: str - removed:
field Transaction.livemode: bool - removed:
field Transaction.object: Literal['treasury.transaction'] - removed:
field Transaction.status: Literal['open', 'posted', 'void'] - removed:
field Transaction.status_transitions: StripeObject - removed:
static method Transaction.list(api_key: Optional[str]=…, stripe_version: Optional[str]=…, stripe_account: Optional[str]=…, **params: Any) -> ListObject[Transaction] - removed:
static method Transaction.retrieve(id: str, api_key: Optional[str]=…, **params: Any) -> Transaction
- removed:
class TransactionEntry(ListableAPIResource['TransactionEntry']) - removed:
field TransactionEntry.OBJECT_NAME - removed:
field TransactionEntry.balance_impact: StripeObject - removed:
field TransactionEntry.created: int - removed:
field TransactionEntry.currency: str - removed:
field TransactionEntry.effective_at: int - removed:
field TransactionEntry.financial_account: str - removed:
field TransactionEntry.flow: Optional[str] - removed:
field TransactionEntry.flow_details: Optional[StripeObject] - removed:
field TransactionEntry.flow_type: Literal['credit_reversal', 'debit_reversal', 'inbound_transfer', 'issuing_authorization', 'other', 'outbound_payment', 'outbound_transfer', 'received_credit', 'received_debit'] - removed:
field TransactionEntry.id: str - removed:
field TransactionEntry.livemode: bool - removed:
field TransactionEntry.object: Literal['treasury.transaction_entry'] - removed:
field TransactionEntry.transaction: ExpandableField[Transaction] - removed:
field TransactionEntry.type: Literal['credit_reversal', 'credit_reversal_posting', 'debit_reversal', 'inbound_transfer', 'inbound_transfer_return', 'issuing_authorization_hold', 'issuing_authorization_release', 'other', 'outbound_payment', 'outbound_payment_cancellation', 'outbound_payment_failure', 'outbound_payment_posting', 'outbound_payment_return', 'outbound_transfer', 'outbound_transfer_can… - removed:
static method TransactionEntry.class_url() - removed:
static method TransactionEntry.list(api_key: Optional[str]=…, stripe_version: Optional[str]=…, stripe_account: Optional[str]=…, **params: Any) -> ListObject[TransactionEntry] - removed:
static method TransactionEntry.retrieve(id: str, api_key: Optional[str]=…, **params: Any) -> TransactionEntry
- removed:
class UsageRecord(APIResource['UsageRecord']) - removed:
field UsageRecord.OBJECT_NAME - removed:
field UsageRecord.id: str - removed:
field UsageRecord.livemode: bool - removed:
field UsageRecord.object: Literal['usage_record'] - removed:
field UsageRecord.quantity: int - removed:
field UsageRecord.subscription_item: str - removed:
field UsageRecord.timestamp: int - removed:
static method UsageRecord.create(api_key=…, idempotency_key=…, stripe_version=…, stripe_account=…, **params)
- removed:
class UsageRecordSummary(StripeObject) - removed:
field UsageRecordSummary.OBJECT_NAME - removed:
field UsageRecordSummary.id: str - removed:
field UsageRecordSummary.invoice: Optional[str] - removed:
field UsageRecordSummary.livemode: bool - removed:
field UsageRecordSummary.object: Literal['usage_record_summary'] - removed:
field UsageRecordSummary.period: StripeObject - removed:
field UsageRecordSummary.subscription_item: str - removed:
field UsageRecordSummary.total_usage: int
- removed:
class WebhookEndpoint(CreateableAPIResource['WebhookEndpoint'], DeletableAPIResource['WebhookEndpoint'], ListableAPIResource['WebhookEndpoint'], UpdateableAPIResource['WebhookEndpoint']) - removed:
field WebhookEndpoint.OBJECT_NAME - removed:
field WebhookEndpoint.api_version: Optional[str] - removed:
field WebhookEndpoint.application: Optional[str] - removed:
field WebhookEndpoint.created: int - removed:
field WebhookEndpoint.deleted: Optional[Literal[True]] - removed:
field WebhookEndpoint.description: Optional[str] - removed:
field WebhookEndpoint.enabled_events: List[str] - removed:
field WebhookEndpoint.id: str - removed:
field WebhookEndpoint.livemode: bool - removed:
field WebhookEndpoint.metadata: Dict[str, str] - removed:
field WebhookEndpoint.object: Literal['webhook_endpoint'] - removed:
field WebhookEndpoint.secret: Optional[str] - removed:
field WebhookEndpoint.status: str - removed:
field WebhookEndpoint.url: str - removed:
method WebhookEndpoint.delete(**params: Any) -> WebhookEndpoint - removed:
static method WebhookEndpoint.create(api_key: Optional[str]=…, idempotency_key: Optional[str]=…, stripe_version: Optional[str]=…, stripe_account: Optional[str]=…, **params: Any) -> WebhookEndpoint - removed:
static method WebhookEndpoint.list(api_key: Optional[str]=…, stripe_version: Optional[str]=…, stripe_account: Optional[str]=…, **params: Any) -> ListObject[WebhookEndpoint] - removed:
static method WebhookEndpoint.modify(id, **params: Any) -> WebhookEndpoint - removed:
static method WebhookEndpoint.retrieve(id: str, api_key: Optional[str]=…, **params: Any) -> WebhookEndpoint
- added:
export Secret
- added:
export Configuration - added:
export Session
- added:
export Session
- added:
export Order - added:
export Product - added:
export Supplier
- removed:
class APIConnectionError(StripeError) - removed:
class APIError(StripeError) - removed:
class AuthenticationError(StripeError) - removed:
class CardError(StripeErrorWithParamCode) - removed:
class IdempotencyError(StripeError) - removed:
class InvalidRequestError(StripeErrorWithParamCode) - removed:
class PermissionError(StripeError) - removed:
class RateLimitError(StripeError) - removed:
class SignatureVerificationError(StripeError) - removed:
class StripeError(Exception) - removed:
class StripeErrorWithParamCode(StripeError) - removed:
constructor APIConnectionError(message, http_body=…, http_status=…, json_body=…, headers=…, code=…, should_retry=…) - removed:
constructor CardError(message, param, code, http_body=…, http_status=…, json_body=…, headers=…) - removed:
constructor InvalidRequestError(message, param, code=…, http_body=…, http_status=…, json_body=…, headers=…) - removed:
constructor SignatureVerificationError(message, sig_header, http_body=…) - removed:
constructor StripeError(message=…, http_body=…, http_status=…, json_body=…, headers=…, code=…) - removed:
method StripeError.construct_error_object() - removed:
property StripeError.user_message
- added:
export Account - added:
export AccountOwner - added:
export AccountOwnership - added:
export Session - added:
export Transaction
- removed:
class HTTPClient(object) - removed:
class PycurlClient(HTTPClient) - removed:
class RequestsClient(HTTPClient) - removed:
class UrlFetchClient(HTTPClient) - removed:
class Urllib2Client(HTTPClient) - removed:
constructor HTTPClient(verify_ssl_certs=…, proxy=…) - removed:
constructor PycurlClient(verify_ssl_certs=…, proxy=…) - removed:
constructor RequestsClient(timeout=…, session=…, **kwargs) - removed:
constructor UrlFetchClient(verify_ssl_certs=…, proxy=…, deadline=…) - removed:
constructor Urllib2Client(verify_ssl_certs=…, proxy=…) - removed:
field HTTPClient.INITIAL_DELAY - removed:
field HTTPClient.MAX_DELAY - removed:
field HTTPClient.MAX_RETRY_AFTER - removed:
field HTTPClient.proxy: _Proxy - removed:
field PycurlClient.name - removed:
field RequestsClient.name - removed:
field UrlFetchClient.name - removed:
field Urllib2Client.name - removed:
function new_default_http_client(*args, **kwargs) - removed:
method HTTPClient.close() - removed:
method HTTPClient.request(method, url, headers, post_data=…) - removed:
method HTTPClient.request_stream(method, url, headers, post_data=…) - removed:
method HTTPClient.request_stream_with_retries(method, url, headers, post_data=…) - removed:
method HTTPClient.request_with_retries(method, url, headers, post_data=…) - removed:
method PycurlClient.close() - removed:
method PycurlClient.parse_headers(data) - removed:
method PycurlClient.request(method, url, headers, post_data=…) - removed:
method PycurlClient.request_stream(method, url, headers, post_data=…) - removed:
method RequestsClient.close() - removed:
method RequestsClient.request(method, url, headers, post_data=…) - removed:
method RequestsClient.request_stream(method, url, headers, post_data=…) - removed:
method UrlFetchClient.close() - removed:
method UrlFetchClient.request(method, url, headers, post_data=…) - removed:
method UrlFetchClient.request_stream(method, url, headers, post_data=…) - removed:
method Urllib2Client.close() - removed:
method Urllib2Client.request(method, url, headers, post_data=…) - removed:
method Urllib2Client.request_stream(method, url, headers, post_data=…) - removed:
variable major - removed:
variable minor - removed:
variable patch - removed:
variable pycurl - removed:
variable requests - removed:
variable urlfetch - removed:
variable version
- added:
export VerificationReport - added:
export VerificationSession
- added:
export Authorization - added:
export Card - added:
export Cardholder - added:
export Dispute - added:
export Token - added:
export Transaction
- removed:
class MultipartDataGenerator(object) - removed:
constructor MultipartDataGenerator(chunk_size=…) - removed:
method MultipartDataGenerator.add_params(params) - removed:
method MultipartDataGenerator.get_post_data() - removed:
method MultipartDataGenerator.param_header()
- removed:
class OAuth(object) - removed:
static method OAuth.authorize_url(express=…, **params) - removed:
static method OAuth.deauthorize(api_key=…, **params) - removed:
static method OAuth.token(api_key=…, **params)
- removed:
variable OBJECT_CLASSES
- added:
export EarlyFraudWarning - added:
export ValueList - added:
export ValueListItem
- added:
export ReportRun - added:
export ReportType
- removed:
class RequestMetrics(object) - removed:
constructor RequestMetrics(request_id, request_duration_ms) - removed:
method RequestMetrics.payload()
- added:
export ScheduledQueryRun
- removed:
class StripeObject(Dict[str, Any]) - removed:
class StripeObject.ReprJSONEncoder(json.JSONEncoder) - removed:
constructor StripeObject(id=…, api_key=…, stripe_version=…, stripe_account=…, last_response=…, **params) - removed:
method StripeObject.ReprJSONEncoder.default(obj) - removed:
method StripeObject.refresh_from(values: Dict[str, Any], api_key: Optional[str]=…, partial: Optional[bool]=…, stripe_version: Optional[str]=…, stripe_account: Optional[str]=…, last_response: Optional[StripeResponse]=…) - removed:
method StripeObject.request(method: Literal['get', 'post', 'delete'], url: str, params: Optional[Dict[str, Any]]=…, headers=…) - removed:
method StripeObject.request_stream(method, url, params=…, headers=…) - removed:
method StripeObject.serialize(previous) - removed:
method StripeObject.to_dict() - removed:
method StripeObject.to_dict_recursive() - removed:
method StripeObject.update(update_dict: Dict[str, Any]) - removed:
property StripeObject.last_response -> Optional[StripeResponse] - removed:
property StripeObject.stripe_id - removed:
static method StripeObject.api_base() - removed:
static method StripeObject.construct_from(values: Dict[str, Any], key: Optional[str], stripe_version: Optional[str]=…, stripe_account: Optional[str]=…, last_response: Optional[StripeResponse]=…)
- removed:
class StripeResponse(StripeResponseBase) - removed:
class StripeResponseBase(object) - removed:
class StripeStreamResponse(StripeResponseBase) - removed:
constructor StripeResponse(body, code, headers) - removed:
constructor StripeResponseBase(code, headers) - removed:
constructor StripeStreamResponse(io, code, headers) - removed:
property StripeResponseBase.idempotency_key - removed:
property StripeResponseBase.request_id
- added:
export Calculation - added:
export CalculationLineItem - added:
export Registration - added:
export Settings - added:
export Transaction - added:
export TransactionLineItem
- added:
export Configuration - added:
export ConnectionToken - added:
export Location - added:
export Reader
- added:
export TestClock
- added:
export CreditReversal - added:
export DebitReversal - added:
export FinancialAccount - added:
export FinancialAccountFeatures - added:
export InboundTransfer - added:
export OutboundPayment - added:
export OutboundTransfer - added:
export ReceivedCredit - added:
export ReceivedDebit - added:
export Transaction - added:
export TransactionEntry
- removed:
export io - removed:
export parse_qsl - removed:
function dashboard_link(request_id) - removed:
function log_debug(message, **params) - removed:
function log_info(message, **params) - removed:
function logfmt(props)
- removed:
variable VERSION
- removed:
class Webhook(object) - removed:
class WebhookSignature(object) - removed:
field Webhook.DEFAULT_TOLERANCE - removed:
field WebhookSignature.EXPECTED_SCHEME - removed:
static method Webhook.construct_event(payload, sig_header, secret, tolerance=…, api_key=…) - removed:
static method WebhookSignature.verify_header(payload, header, secret, tolerance=…)