Upgrading stripe 16 to 17
Breaking16.1.0 → 17.1.0Breaking5Security1Deprecated1New30Changed3Fixed3
BreakingUpgrade verdict
5 breaking changes and a security fix.
In plain terms
- If you save (pickle) a Stripe object and load it later, it no longer remembers your API key. You must give it the key again before using it to make requests.
- The appeal field on dispute evidence is now always present.
- The delivered_at field on card shipping is now always present.
- The shipped_at field on card shipping is now always present.
Must act Top 5 of 7 that need code or config changes
stripe publishes an official migration guide for version 17. It covers more than the release notes do.
V17 migration guide ↗What you must change
Breaking5
StripeObject pickles no longer preserve API keys; call reattach_api_key(api_key) before making requests through an unpickled object.
StripeObjectreattach_api_key(api_key)Makes Dispute.Evidence.appeal required.
Dispute.Evidence.appealMakes Issuing.Card.Shipping.delivered_at required.
Issuing.Card.Shipping.delivered_atMakes Issuing.Card.Shipping.shipped_at required.
Issuing.Card.Shipping.shipped_atMakes stored_credential_usage required on card payment method details.
PaymentAttemptRecord.PaymentMethodDetail.Card.stored_credential_usagePaymentRecord.PaymentMethodDetail.Card.stored_credential_usageSecurity1
Rejects header values containing CR, LF or NUL in the pycurl HTTP client.
pycurlDeprecations to plan for
Deprecated1
Deprecates httpx support for async requests; it will be removed in the next major version, and httpx2 is recommended.
httpxhttpx2API changes
Generated by DepDelta from published Python source. Not mixed with prose notes.
- added:
export V2CoreClaimableSandboxClaimedEvent - added:
export V2CoreClaimableSandboxClaimedEventNotification - added:
export V2CoreClaimableSandboxCreatedEvent - added:
export V2CoreClaimableSandboxCreatedEventNotification - added:
export V2CoreClaimableSandboxExpiredEvent - added:
export V2CoreClaimableSandboxExpiredEventNotification - added:
export V2CoreClaimableSandboxExpiringEvent - added:
export V2CoreClaimableSandboxExpiringEventNotification - added:
export V2CoreClaimableSandboxUpdatedEvent - added:
export V2CoreClaimableSandboxUpdatedEventNotification
- added:
export PaymentIntentCaptureParamsPaymentDetailsCarRentalDatum - added:
export PaymentIntentCaptureParamsPaymentDetailsCarRentalDatumAffiliate - added:
export PaymentIntentCaptureParamsPaymentDetailsCarRentalDatumDistance - added:
export PaymentIntentCaptureParamsPaymentDetailsCarRentalDatumDriver - added:
export PaymentIntentCaptureParamsPaymentDetailsCarRentalDatumDriverDateOfBirth - added:
export PaymentIntentCaptureParamsPaymentDetailsCarRentalDatumDropOff - added:
export PaymentIntentCaptureParamsPaymentDetailsCarRentalDatumDropOffAddress - added:
export PaymentIntentCaptureParamsPaymentDetailsCarRentalDatumInsurance - added:
export PaymentIntentCaptureParamsPaymentDetailsCarRentalDatumPickup - added:
export PaymentIntentCaptureParamsPaymentDetailsCarRentalDatumPickupAddress - added:
export PaymentIntentCaptureParamsPaymentDetailsCarRentalDatumTotal - added:
export PaymentIntentCaptureParamsPaymentDetailsCarRentalDatumTotalDiscounts - added:
export PaymentIntentCaptureParamsPaymentDetailsCarRentalDatumTotalExtraCharge - added:
export PaymentIntentCaptureParamsPaymentDetailsCarRentalDatumTotalTax - added:
export PaymentIntentCaptureParamsPaymentDetailsCarRentalDatumTotalTaxTaxItem - added:
export PaymentIntentCaptureParamsPaymentDetailsCarRentalDatumVehicle - added:
export PaymentIntentCaptureParamsPaymentDetailsLodgingDatum - added:
export PaymentIntentCaptureParamsPaymentDetailsLodgingDatumAccommodation - added:
export PaymentIntentCaptureParamsPaymentDetailsLodgingDatumAffiliate - added:
export PaymentIntentCaptureParamsPaymentDetailsLodgingDatumGuest - added:
export PaymentIntentCaptureParamsPaymentDetailsLodgingDatumHost - added:
export PaymentIntentCaptureParamsPaymentDetailsLodgingDatumHostAddress - added:
export PaymentIntentCaptureParamsPaymentDetailsLodgingDatumInsurance - added:
export PaymentIntentCaptureParamsPaymentDetailsLodgingDatumTotal - added:
export PaymentIntentCaptureParamsPaymentDetailsLodgingDatumTotalDiscounts - added:
export PaymentIntentCaptureParamsPaymentDetailsLodgingDatumTotalExtraCharge - added:
export PaymentIntentCaptureParamsPaymentDetailsLodgingDatumTotalTax - added:
export PaymentIntentCaptureParamsPaymentDetailsLodgingDatumTotalTaxTaxItem - added:
export PaymentIntentConfirmParamsPaymentDetailsCarRentalDatum - added:
export PaymentIntentConfirmParamsPaymentDetailsCarRentalDatumAffiliate - added:
export PaymentIntentConfirmParamsPaymentDetailsCarRentalDatumDistance - added:
export PaymentIntentConfirmParamsPaymentDetailsCarRentalDatumDriver - added:
export PaymentIntentConfirmParamsPaymentDetailsCarRentalDatumDriverDateOfBirth - added:
export PaymentIntentConfirmParamsPaymentDetailsCarRentalDatumDropOff - added:
export PaymentIntentConfirmParamsPaymentDetailsCarRentalDatumDropOffAddress - added:
export PaymentIntentConfirmParamsPaymentDetailsCarRentalDatumInsurance - added:
export PaymentIntentConfirmParamsPaymentDetailsCarRentalDatumPickup - added:
export PaymentIntentConfirmParamsPaymentDetailsCarRentalDatumPickupAddress - added:
export PaymentIntentConfirmParamsPaymentDetailsCarRentalDatumTotal - added:
export PaymentIntentConfirmParamsPaymentDetailsCarRentalDatumTotalDiscounts - added:
export PaymentIntentConfirmParamsPaymentDetailsCarRentalDatumTotalExtraCharge - added:
export PaymentIntentConfirmParamsPaymentDetailsCarRentalDatumTotalTax - added:
export PaymentIntentConfirmParamsPaymentDetailsCarRentalDatumTotalTaxTaxItem - added:
export PaymentIntentConfirmParamsPaymentDetailsCarRentalDatumVehicle - added:
export PaymentIntentConfirmParamsPaymentDetailsLodgingDatum - added:
export PaymentIntentConfirmParamsPaymentDetailsLodgingDatumAccommodation - added:
export PaymentIntentConfirmParamsPaymentDetailsLodgingDatumAffiliate - added:
export PaymentIntentConfirmParamsPaymentDetailsLodgingDatumGuest - added:
export PaymentIntentConfirmParamsPaymentDetailsLodgingDatumHost - added:
export PaymentIntentConfirmParamsPaymentDetailsLodgingDatumHostAddress - added:
export PaymentIntentConfirmParamsPaymentDetailsLodgingDatumInsurance - added:
export PaymentIntentConfirmParamsPaymentDetailsLodgingDatumTotal - added:
export PaymentIntentConfirmParamsPaymentDetailsLodgingDatumTotalDiscounts - added:
export PaymentIntentConfirmParamsPaymentDetailsLodgingDatumTotalExtraCharge - added:
export PaymentIntentConfirmParamsPaymentDetailsLodgingDatumTotalTax - added:
export PaymentIntentConfirmParamsPaymentDetailsLodgingDatumTotalTaxTaxItem - added:
export PaymentIntentCreateParamsPaymentDetailsCarRentalDatum - added:
export PaymentIntentCreateParamsPaymentDetailsCarRentalDatumAffiliate - added:
export PaymentIntentCreateParamsPaymentDetailsCarRentalDatumDistance - added:
export PaymentIntentCreateParamsPaymentDetailsCarRentalDatumDriver - added:
export PaymentIntentCreateParamsPaymentDetailsCarRentalDatumDriverDateOfBirth - added:
export PaymentIntentCreateParamsPaymentDetailsCarRentalDatumDropOff - added:
export PaymentIntentCreateParamsPaymentDetailsCarRentalDatumDropOffAddress - added:
export PaymentIntentCreateParamsPaymentDetailsCarRentalDatumInsurance - added:
export PaymentIntentCreateParamsPaymentDetailsCarRentalDatumPickup - added:
export PaymentIntentCreateParamsPaymentDetailsCarRentalDatumPickupAddress - added:
export PaymentIntentCreateParamsPaymentDetailsCarRentalDatumTotal - added:
export PaymentIntentCreateParamsPaymentDetailsCarRentalDatumTotalDiscounts - added:
export PaymentIntentCreateParamsPaymentDetailsCarRentalDatumTotalExtraCharge - added:
export PaymentIntentCreateParamsPaymentDetailsCarRentalDatumTotalTax - added:
export PaymentIntentCreateParamsPaymentDetailsCarRentalDatumTotalTaxTaxItem - added:
export PaymentIntentCreateParamsPaymentDetailsCarRentalDatumVehicle - added:
export PaymentIntentCreateParamsPaymentDetailsLodgingDatum - added:
export PaymentIntentCreateParamsPaymentDetailsLodgingDatumAccommodation - added:
export PaymentIntentCreateParamsPaymentDetailsLodgingDatumAffiliate - added:
export PaymentIntentCreateParamsPaymentDetailsLodgingDatumGuest - added:
export PaymentIntentCreateParamsPaymentDetailsLodgingDatumHost - added:
export PaymentIntentCreateParamsPaymentDetailsLodgingDatumHostAddress - added:
export PaymentIntentCreateParamsPaymentDetailsLodgingDatumInsurance - added:
export PaymentIntentCreateParamsPaymentDetailsLodgingDatumTotal - added:
export PaymentIntentCreateParamsPaymentDetailsLodgingDatumTotalDiscounts - added:
export PaymentIntentCreateParamsPaymentDetailsLodgingDatumTotalExtraCharge - added:
export PaymentIntentCreateParamsPaymentDetailsLodgingDatumTotalTax - added:
export PaymentIntentCreateParamsPaymentDetailsLodgingDatumTotalTaxTaxItem - added:
export PaymentIntentModifyParamsPaymentDetailsCarRentalDatum - added:
export PaymentIntentModifyParamsPaymentDetailsCarRentalDatumAffiliate - added:
export PaymentIntentModifyParamsPaymentDetailsCarRentalDatumDistance - added:
export PaymentIntentModifyParamsPaymentDetailsCarRentalDatumDriver - added:
export PaymentIntentModifyParamsPaymentDetailsCarRentalDatumDriverDateOfBirth - added:
export PaymentIntentModifyParamsPaymentDetailsCarRentalDatumDropOff - added:
export PaymentIntentModifyParamsPaymentDetailsCarRentalDatumDropOffAddress - added:
export PaymentIntentModifyParamsPaymentDetailsCarRentalDatumInsurance - added:
export PaymentIntentModifyParamsPaymentDetailsCarRentalDatumPickup - added:
export PaymentIntentModifyParamsPaymentDetailsCarRentalDatumPickupAddress - added:
export PaymentIntentModifyParamsPaymentDetailsCarRentalDatumTotal - added:
export PaymentIntentModifyParamsPaymentDetailsCarRentalDatumTotalDiscounts - added:
export PaymentIntentModifyParamsPaymentDetailsCarRentalDatumTotalExtraCharge - added:
export PaymentIntentModifyParamsPaymentDetailsCarRentalDatumTotalTax - added:
export PaymentIntentModifyParamsPaymentDetailsCarRentalDatumTotalTaxTaxItem - added:
export PaymentIntentModifyParamsPaymentDetailsCarRentalDatumVehicle - added:
export PaymentIntentModifyParamsPaymentDetailsLodgingDatum - added:
export PaymentIntentModifyParamsPaymentDetailsLodgingDatumAccommodation - added:
export PaymentIntentModifyParamsPaymentDetailsLodgingDatumAffiliate - added:
export PaymentIntentModifyParamsPaymentDetailsLodgingDatumGuest - added:
export PaymentIntentModifyParamsPaymentDetailsLodgingDatumHost - added:
export PaymentIntentModifyParamsPaymentDetailsLodgingDatumHostAddress - added:
export PaymentIntentModifyParamsPaymentDetailsLodgingDatumInsurance - added:
export PaymentIntentModifyParamsPaymentDetailsLodgingDatumTotal - added:
export PaymentIntentModifyParamsPaymentDetailsLodgingDatumTotalDiscounts - added:
export PaymentIntentModifyParamsPaymentDetailsLodgingDatumTotalExtraCharge - added:
export PaymentIntentModifyParamsPaymentDetailsLodgingDatumTotalTax - added:
export PaymentIntentModifyParamsPaymentDetailsLodgingDatumTotalTaxTaxItem - added:
export PaymentIntentUpdateParamsPaymentDetailsCarRentalDatum - added:
export PaymentIntentUpdateParamsPaymentDetailsCarRentalDatumAffiliate - added:
export PaymentIntentUpdateParamsPaymentDetailsCarRentalDatumDistance - added:
export PaymentIntentUpdateParamsPaymentDetailsCarRentalDatumDriver - added:
export PaymentIntentUpdateParamsPaymentDetailsCarRentalDatumDriverDateOfBirth - added:
export PaymentIntentUpdateParamsPaymentDetailsCarRentalDatumDropOff - added:
export PaymentIntentUpdateParamsPaymentDetailsCarRentalDatumDropOffAddress - added:
export PaymentIntentUpdateParamsPaymentDetailsCarRentalDatumInsurance - added:
export PaymentIntentUpdateParamsPaymentDetailsCarRentalDatumPickup - added:
export PaymentIntentUpdateParamsPaymentDetailsCarRentalDatumPickupAddress - added:
export PaymentIntentUpdateParamsPaymentDetailsCarRentalDatumTotal - added:
export PaymentIntentUpdateParamsPaymentDetailsCarRentalDatumTotalDiscounts - added:
export PaymentIntentUpdateParamsPaymentDetailsCarRentalDatumTotalExtraCharge - added:
export PaymentIntentUpdateParamsPaymentDetailsCarRentalDatumTotalTax - added:
export PaymentIntentUpdateParamsPaymentDetailsCarRentalDatumTotalTaxTaxItem - added:
export PaymentIntentUpdateParamsPaymentDetailsCarRentalDatumVehicle - added:
export PaymentIntentUpdateParamsPaymentDetailsLodgingDatum - added:
export PaymentIntentUpdateParamsPaymentDetailsLodgingDatumAccommodation - added:
export PaymentIntentUpdateParamsPaymentDetailsLodgingDatumAffiliate - added:
export PaymentIntentUpdateParamsPaymentDetailsLodgingDatumGuest - added:
export PaymentIntentUpdateParamsPaymentDetailsLodgingDatumHost - added:
export PaymentIntentUpdateParamsPaymentDetailsLodgingDatumHostAddress - added:
export PaymentIntentUpdateParamsPaymentDetailsLodgingDatumInsurance - added:
export PaymentIntentUpdateParamsPaymentDetailsLodgingDatumTotal - added:
export PaymentIntentUpdateParamsPaymentDetailsLodgingDatumTotalDiscounts - added:
export PaymentIntentUpdateParamsPaymentDetailsLodgingDatumTotalExtraCharge - added:
export PaymentIntentUpdateParamsPaymentDetailsLodgingDatumTotalTax - added:
export PaymentIntentUpdateParamsPaymentDetailsLodgingDatumTotalTaxTaxItem
- added:
export RegistrationCreateParamsCountryOptionsEsIgic
- added:
export InboundTransferFailParamsFailureDetailsNetworkDetails - added:
export InboundTransferFailParamsFailureDetailsNetworkDetailsAch - added:
export InboundTransferReturnInboundTransferParamsFailureDetails - added:
export InboundTransferReturnInboundTransferParamsFailureDetailsNetworkDetails - added:
export InboundTransferReturnInboundTransferParamsFailureDetailsNetworkDetailsAch
- added:
export InboundTransferFailParamsFailureDetailsNetworkDetails - added:
export InboundTransferFailParamsFailureDetailsNetworkDetailsAch - added:
export InboundTransferReturnInboundTransferParamsFailureDetails - added:
export InboundTransferReturnInboundTransferParamsFailureDetailsNetworkDetails - added:
export InboundTransferReturnInboundTransferParamsFailureDetailsNetworkDetailsAch
- added:
export AccountCreateParamsConfigurationMerchantCapabilitiesBilliePayments - added:
export AccountCreateParamsConfigurationMerchantCapabilitiesMbWayPayments - added:
export AccountCreateParamsConfigurationMerchantCapabilitiesNzBankAccountBecsDebitPayments - added:
export AccountCreateParamsConfigurationMerchantCapabilitiesPaypayPayments - added:
export AccountCreateParamsConfigurationMerchantCapabilitiesPixPayments - added:
export AccountCreateParamsConfigurationMerchantPaypayPayments - added:
export AccountCreateParamsConfigurationMerchantPaypayPaymentsSite - added:
export AccountCreateParamsConfigurationMerchantPaypayPaymentsSiteAccessible - added:
export AccountCreateParamsConfigurationMerchantPaypayPaymentsSiteInDevelopment - added:
export AccountCreateParamsConfigurationMerchantPaypayPaymentsSiteRestricted - added:
export AccountLinkCreateParamsUseCaseAccountDashboard - added:
export AccountUpdateParamsConfigurationMerchantCapabilitiesBilliePayments - added:
export AccountUpdateParamsConfigurationMerchantCapabilitiesMbWayPayments - added:
export AccountUpdateParamsConfigurationMerchantCapabilitiesNzBankAccountBecsDebitPayments - added:
export AccountUpdateParamsConfigurationMerchantCapabilitiesPaypayPayments - added:
export AccountUpdateParamsConfigurationMerchantCapabilitiesPixPayments - added:
export AccountUpdateParamsConfigurationMerchantPaypayPayments - added:
export AccountUpdateParamsConfigurationMerchantPaypayPaymentsSite - added:
export AccountUpdateParamsConfigurationMerchantPaypayPaymentsSiteAccessible - added:
export AccountUpdateParamsConfigurationMerchantPaypayPaymentsSiteInDevelopment - added:
export AccountUpdateParamsConfigurationMerchantPaypayPaymentsSiteRestricted - added:
export ClaimableSandboxCreateParams - added:
export ClaimableSandboxCreateParamsOnboardingLinkDetails - added:
export ClaimableSandboxCreateParamsPrefill - added:
export ClaimableSandboxRenewOnboardingLinkParams - added:
export ClaimableSandboxRenewOnboardingLinkParamsOnboardingLinkDetails - added:
export ClaimableSandboxRetrieveParams
- added:
export ClaimableSandbox - added:
export ClaimableSandboxService