pypi stripe 11.6.0
v11.6.0

21 hours ago
  • #1450 Update generated code
    • Add support for target_date on parameter classes stripe.PaymentIntent.ConfirmParamsPaymentMethodOptionsAcssDebit, stripe.PaymentIntent.ConfirmParamsPaymentMethodOptionsAuBecsDebit, stripe.PaymentIntent.ConfirmParamsPaymentMethodOptionsBacsDebit, stripe.PaymentIntent.ConfirmParamsPaymentMethodOptionsSepaDebit, stripe.PaymentIntent.ConfirmParamsPaymentMethodOptionsUsBankAccount, stripe.PaymentIntent.CreateParamsPaymentMethodOptionsAcssDebit, stripe.PaymentIntent.CreateParamsPaymentMethodOptionsAuBecsDebit, stripe.PaymentIntent.CreateParamsPaymentMethodOptionsBacsDebit, stripe.PaymentIntent.CreateParamsPaymentMethodOptionsSepaDebit, stripe.PaymentIntent.CreateParamsPaymentMethodOptionsUsBankAccount, stripe.PaymentIntent.ModifyParamsPaymentMethodOptionsAcssDebit, stripe.PaymentIntent.ModifyParamsPaymentMethodOptionsAuBecsDebit, stripe.PaymentIntent.ModifyParamsPaymentMethodOptionsBacsDebit, stripe.PaymentIntent.ModifyParamsPaymentMethodOptionsSepaDebit, stripe.PaymentIntent.ModifyParamsPaymentMethodOptionsUsBankAccount, stripe.checkout.Session.CreateParamsPaymentMethodOptionsAcssDebit, stripe.checkout.Session.CreateParamsPaymentMethodOptionsAuBecsDebit, stripe.checkout.Session.CreateParamsPaymentMethodOptionsBacsDebit, stripe.checkout.Session.CreateParamsPaymentMethodOptionsSepaDebit, and stripe.checkout.Session.CreateParamsPaymentMethodOptionsUsBankAccount and resource classes stripe.PaymentIntent.PaymentMethodOptions.AcssDebit, stripe.PaymentIntent.PaymentMethodOptions.AuBecsDebit, stripe.PaymentIntent.PaymentMethodOptions.BacsDebit, stripe.PaymentIntent.PaymentMethodOptions.SepaDebit, stripe.PaymentIntent.PaymentMethodOptions.UsBankAccount, stripe.checkout.Session.PaymentMethodOptions.AcssDebit, stripe.checkout.Session.PaymentMethodOptions.AuBecsDebit, stripe.checkout.Session.PaymentMethodOptions.BacsDebit, stripe.checkout.Session.PaymentMethodOptions.SepaDebit, and stripe.checkout.Session.PaymentMethodOptions.UsBankAccount
    • Add support for metadata on parameter class stripe.Product.CreateParamsDefaultPriceData
    • Add support for prices on parameter classes stripe.billing.CreditBalanceSummary.RetrieveParamsFilterApplicabilityScope and stripe.billing.CreditGrant.CreateParamsApplicabilityConfigScope and resource class stripe.billing.CreditGrant.ApplicabilityConfig.Scope
    • Add support for priority on parameter class stripe.billing.CreditGrant.CreateParams and resource stripe.billing.CreditGrant
    • Add support for restrictions on parameter class stripe.checkout.Session.CreateParamsPaymentMethodOptionsCard and resource class stripe.checkout.Session.PaymentMethodOptions.Card
    • Add support for collected_information on parameter class stripe.checkout.Session.ModifyParams and resource stripe.checkout.Session
    • Change type of price_type on stripe.billing.CreditBalanceSummary.RetrieveParamsFilterApplicabilityScope and stripe.billing.CreditGrant.CreateParamsApplicabilityConfigScope from Literal['metered'] to NotRequired[Literal['metered']]
    • Change type of price_type on stripe.billing.CreditGrant.ApplicabilityConfig.Scope from Literal['metered'] to Optional[Literal['metered']]
    • Add support for 2025-02-24.acacia on enum stripe.WebhookEndpoint.CreateParams.api_version
  • #1461 Remove incorrect changelog entry about parse_snapshot_event
  • #1457 add codeowners file
  • #1456 upgrade ruff version
  • #1452 Revert "Bump version to 11.5.0"
  • #1451 Upgrade to download-artifact@v4
  • #1443 Update generated code
    • Add support for pay_by_bank_payments on resource class stripe.Account.Capabilities and parameter class stripe.Account.CreateParamsCapabilities
    • Add support for directorship_declaration on resource class stripe.Account.Company and parameter classes stripe.Account.CreateParamsCompany and stripe.Token.CreateParamsAccountCompany
    • Add support for ownership_exemption_reason on resource class stripe.Account.Company and parameter classes stripe.Account.CreateParamsCompany and stripe.Token.CreateParamsAccountCompany
    • Add support for proof_of_ultimate_beneficial_ownership on parameter class stripe.Account.CreateParamsDocuments
    • Add support for financial_account on resource classes stripe.AccountSession.Components and stripe.treasury.OutboundTransfer.DestinationPaymentMethodDetails and parameter class stripe.AccountSession.CreateParamsComponents
    • Add support for issuing_card on resource class stripe.AccountSession.Components and parameter class stripe.AccountSession.CreateParamsComponents
    • Add support for advice_code on resource classes stripe.Charge.Outcome, stripe.Invoice.LastFinalizationError, stripe.PaymentIntent.LastPaymentError, stripe.SetupAttempt.SetupError, and stripe.SetupIntent.LastSetupError
    • Add support for country on resource classes stripe.Charge.PaymentMethodDetails.Paypal, stripe.ConfirmationToken.PaymentMethodPreview.Paypal, and stripe.PaymentMethod.Paypal
    • Add support for pay_by_bank on resource classes stripe.Charge.PaymentMethodDetails, stripe.ConfirmationToken.PaymentMethodPreview, and stripe.PaymentIntent.PaymentMethodOptions, parameter classes stripe.ConfirmationToken.CreateParamsPaymentMethodData, stripe.PaymentIntent.ConfirmParamsPaymentMethodData, stripe.PaymentIntent.ConfirmParamsPaymentMethodOptions, stripe.PaymentIntent.CreateParamsPaymentMethodData, stripe.PaymentIntent.CreateParamsPaymentMethodOptions, stripe.PaymentIntent.ModifyParamsPaymentMethodData, stripe.PaymentIntent.ModifyParamsPaymentMethodOptions, stripe.PaymentMethod.CreateParams, stripe.PaymentMethod.ModifyParams, stripe.PaymentMethodConfiguration.CreateParams, stripe.PaymentMethodConfiguration.ModifyParams, stripe.SetupIntent.ConfirmParamsPaymentMethodData, stripe.SetupIntent.CreateParamsPaymentMethodData, stripe.SetupIntent.ModifyParamsPaymentMethodData, and stripe.checkout.Session.CreateParamsPaymentMethodOptions, and resources stripe.PaymentMethod and stripe.PaymentMethodConfiguration
    • Add support for phone_number_collection on parameter class stripe.PaymentLink.ModifyParams
    • Add support for discounts on resource stripe.checkout.Session
    • Add support for jpy on parameter classes stripe.terminal.Configuration.CreateParamsTipping and stripe.terminal.Configuration.ModifyParamsTipping and resource class stripe.terminal.Configuration.Tipping
    • Add support for nickname on parameter classes stripe.treasury.FinancialAccount.CreateParams and stripe.treasury.FinancialAccount.ModifyParams and resource stripe.treasury.FinancialAccount
    • Add support for forwarding_settings on parameter class stripe.treasury.FinancialAccount.ModifyParams
    • Add support for _cls_close on resource stripe.treasury.FinancialAccount
    • Add support for close on resource stripe.treasury.FinancialAccount
    • Add support for is_default on resource stripe.treasury.FinancialAccount
    • Add support for destination_payment_method_data on parameter class stripe.treasury.OutboundTransfer.CreateParams
    • Add support for outbound_transfer on resource class stripe.treasury.ReceivedCredit.LinkedFlows.SourceFlowDetails
    • Add support for SD on enums stripe.checkout.Session.ShippingAddressCollection.allowed_countries, stripe.checkout.Session.CreateParamsShippingAddressCollection.allowed_countries, stripe.PaymentLink.ShippingAddressCollection.allowed_countries, stripe.PaymentLink.CreateParamsShippingAddressCollection.allowed_countries, and stripe.PaymentLink.ModifyParamsShippingAddressCollection.allowed_countries
    • Add support for pay_by_bank on enums stripe.checkout.Session.CreateParams.payment_method_types, stripe.ConfirmationToken.PaymentMethodPreview.type, stripe.ConfirmationToken.CreateParamsPaymentMethodData.type, stripe.Customer.ListPaymentMethodsParams.type, stripe.PaymentIntent.ConfirmParamsPaymentMethodData.type, stripe.PaymentIntent.CreateParamsPaymentMethodData.type, stripe.PaymentIntent.ModifyParamsPaymentMethodData.type, stripe.PaymentLink.payment_method_types, stripe.PaymentLink.CreateParams.payment_method_types, stripe.PaymentLink.ModifyParams.payment_method_types, stripe.PaymentMethod.type, stripe.PaymentMethod.CreateParams.type, stripe.PaymentMethod.ListParams.type, stripe.SetupIntent.ConfirmParamsPaymentMethodData.type, stripe.SetupIntent.CreateParamsPaymentMethodData.type, and stripe.SetupIntent.ModifyParamsPaymentMethodData.type
    • Add support for financial_account on enum stripe.treasury.OutboundTransfer.DestinationPaymentMethodDetails.type
    • Add support for outbound_transfer on enums stripe.treasury.ReceivedCredit.LinkedFlows.SourceFlowDetails.type and stripe.treasury.ReceivedCredit.ListParamsLinkedFlows.source_flow_type
    • Add support for 2025-01-27.acacia on enum stripe.WebhookEndpoint.CreateParams.api_version
    • Change type of pretax_credit_amounts on stripe.CreditNote and stripe.CreditNoteLineItem from Optional[List[PretaxCreditAmount]] to List[PretaxCreditAmount]
  • #1448 Updated upload artifact ci action
  • #1446 add just to publish CI
  • #1444 Added CONTRIBUTING.md file
  • #1445 minor justfile fixes & pin CI version
  • #1440 add justfile, update readme, remove coveralls
  • #1442 Fix V2 ListObject.data type hint
    • Change stripe.v2.ListObject.data type hint from List[StripeObject] to List[T] where T is the specific stripe object contained within the list

See the changelog for more details.

Don't miss a new stripe release

NewReleases is sending notifications on new releases.