v10.0.0
-
#1350 Update generated code
This release changes the pinned API version to 2024-06-20. Please read the API Upgrade Guide and carefully review the API changes before upgrading.
⚠️ Breaking changes- Remove the unused resource
PlatformTaxFee
- Rename
volume_decimal
toquantity_decimal
on parameter classesstripe.issuing.Authorization.CaptureParamsPurchaseDetailsFuel
,stripe.issuing.Transaction.CreateForceCaptureParamsPurchaseDetailsFuel
, andstripe.issuing.Transaction.CreateUnlinkedRefundParamsPurchaseDetailsFuel
and resource classstripe.issuing.Transaction.PurchaseDetails.Fuel
Additions
- Add support for
fleet
on parameter classesstripe.issuing.Authorization.CaptureParamsPurchaseDetails
,stripe.issuing.Authorization.CreateParams
,stripe.issuing.Transaction.CreateForceCaptureParamsPurchaseDetails
, andstripe.issuing.Transaction.CreateUnlinkedRefundParamsPurchaseDetails
, resourcestripe.issuing.Authorization
, and resource classstripe.issuing.Transaction.PurchaseDetails
- Add support for new values
platform_disabled
,paused.inactivity
andother
on enumsCapability.Requirements.disabled_reason
andCapability.FutureRequirements.disabled_reason
- Add support for
industry_product_code
on parameter classesstripe.issuing.Authorization.CaptureParamsPurchaseDetailsFuel
,stripe.issuing.Transaction.CreateForceCaptureParamsPurchaseDetailsFuel
, andstripe.issuing.Transaction.CreateUnlinkedRefundParamsPurchaseDetailsFuel
and resource classstripe.issuing.Transaction.PurchaseDetails.Fuel
- Add support for
quantity_decimal
on parameter classesstripe.issuing.Authorization.CaptureParamsPurchaseDetailsFuel
,stripe.issuing.Transaction.CreateForceCaptureParamsPurchaseDetailsFuel
, andstripe.issuing.Transaction.CreateUnlinkedRefundParamsPurchaseDetailsFuel
and resource classstripe.issuing.Transaction.PurchaseDetails.Fuel
- Add support for
fuel
on parameter classstripe.issuing.Authorization.CreateParams
and resourcestripe.issuing.Authorization
- Add support for
_cls_finalize_amount
on resourcestripe.issuing.Authorization
- Add support for
finalize_amount
on resourcestripe.issuing.Authorization
- Change type of
disabled_reason
onstripe.Capability.FutureRequirements
andstripe.Capability.Requirements
fromstr
toLiteral['other', 'paused.inactivity', 'pending.onboarding', 'pending.review', 'platform_disabled', 'platform_paused', 'rejected.inactivity', 'rejected.other', 'rejected.unsupported_business', 'requirements.fields_needed']
- Add support for
ch_uid
on enumsstripe.checkout.Session.CustomerDetails.TaxId.type
,stripe.Customer.CreateParamsTaxIdDatum.type
,stripe.Customer.CreateTaxIdParams.type
,stripe.Invoice.CustomerTaxId.type
,stripe.Invoice.CreatePreviewParamsCustomerDetailsTaxId.type
,stripe.Invoice.UpcomingParamsCustomerDetailsTaxId.type
,stripe.Invoice.UpcomingLinesParamsCustomerDetailsTaxId.type
,stripe.tax.Calculation.CustomerDetails.TaxId.type
,stripe.tax.Calculation.CreateParamsCustomerDetailsTaxId.type
,stripe.tax.Transaction.CustomerDetails.TaxId.type
,stripe.TaxId.type
, andstripe.TaxId.CreateParams.type
- Add support for
card_canceled
,card_expired
,cardholder_blocked
,insecure_authorization_method
andpin_blocked
on enumstripe.issuing.Authorization.RequestHistory.reason
- Add support for
charging_minute
,imperial_gallon
,kilogram
,kilowatt_hour
,pound
, on enumsstripe.issuing.Authorization.CaptureParamsPurchaseDetailsFuel.unit
,stripe.issuing.Transaction.CreateForceCaptureParamsPurchaseDetailsFuel.unit
, andstripe.issuing.Transaction.CreateUnlinkedRefundParamsPurchaseDetailsFuel.unit
- Add support for
2024-06-20
on enumstripe.WebhookEndpoint.CreateParams.api_version
- Remove the unused resource