|
1 | 1 | # Changelog |
2 | 2 |
|
| 3 | +## 15.4.0a1 - 2026-06-24 |
| 4 | +This release changes the pinned API version to 2026-06-24.preview. |
| 5 | + |
| 6 | +* [#1833](https://github.com/stripe/stripe-python/pull/1833) Update generated code for private-preview |
| 7 | + * Add support for new resources `v2.billing.ContractPricingLineQuantityChange`, `v2.core.health.AlertHistoryEntry`, `v2.core.health.Alert`, `v2.money_management.FinancialAddressDebitSimulation`, and `v2.money_management.PayoutIntent` |
| 8 | + * ⚠️ Remove support for resource `v2.billing.ContractLicensePricingQuantityChange` |
| 9 | + * Add support for `report_offer_acceptance` method on resource `issuing.CreditUnderwritingRecord` |
| 10 | + * Add support for `provisional_credit` test helper method on resource `issuing.Dispute` |
| 11 | + * Add support for `report_early_fraud_warning` method on resource `PaymentAttemptRecord` |
| 12 | + * Add support for `search` method on resource `PaymentRecord` |
| 13 | + * Add support for `debit` method on resource `v2.money_management.FinancialAddressDebitSimulation` |
| 14 | + * Add support for `cancel`, `create`, `list`, `modify`, and `retrieve` methods on resource `v2.money_management.PayoutIntent` |
| 15 | + * Add support for `list` and `retrieve` methods on resource `v2.core.health.Alert` |
| 16 | + * Add support for `delete` method on resource `v2.billing.Contract` |
| 17 | + * ⚠️ Remove support for `performance_location_details` on `Tax.TransactionLineItem` |
| 18 | + * Add support for `financial_accounts_transactions`, `financial_accounts`, and `recipients_list` on `AccountSession.Component` and `AccountSessionCreateParamsComponent` |
| 19 | + * Add support for `location` and `reader` on `Charge.PaymentMethodDetail.GiftCard`, `GiftCardOperation`, `PaymentAttemptRecord.PaymentMethodDetail.GiftCard`, and `PaymentRecord.PaymentMethodDetail.GiftCard` |
| 20 | + * Add support for `subscription` on `checkout.SessionCreateParamsItem` |
| 21 | + * Add support for `items` on `Checkout.Session` |
| 22 | + * Add support for `brand` on `Checkout.Session.CurrentAttempt.PaymentMethodDetail.Card` |
| 23 | + * Add support for `network_data` on `issuing.AuthorizationCaptureParams` and `issuing.TransactionCreateForceCaptureParams` |
| 24 | + * Add support for `enriched_merchant_data` on `Issuing.Authorization` |
| 25 | + * Add support for `available_balance` and `current_balance` on `Issuing.Authorization.BalanceResponse` |
| 26 | + * ⚠️ Remove support for `amount` on `Issuing.Authorization.BalanceResponse` |
| 27 | + * Add support for `decision_deadline_updated_at` on `Issuing.CreditUnderwritingRecord` |
| 28 | + * Add support for `acquirer_reference_number` on `Issuing.Transaction.NetworkDatum` |
| 29 | + * Change `PaymentAttemptRecordReportRefundParams.outcome` and `PaymentRecordReportRefundParams.outcome` to be optional |
| 30 | + * Add support for `tip` on `PaymentIntentCaptureParamsAmountDetail`, `PaymentIntentConfirmParamsAmountDetail`, `PaymentIntentCreateParamsAmountDetail`, `PaymentIntentDecrementAuthorizationParamsAmountDetail`, `PaymentIntentIncrementAuthorizationParamsAmountDetail`, and `PaymentIntentModifyParamsAmountDetail` |
| 31 | + * ⚠️ Remove support for values `billing.alert.recovered` and `payment_intent.expired` from enums `WebhookEndpointCreateParams.enabled_events` and `WebhookEndpointModifyParams.enabled_events` |
| 32 | + * Add support for `billing_cycle_anchor` on `V2.Billing.Contract` and `v2.billing.ContractCreateParams` |
| 33 | + * ⚠️ Remove support for `contract_line_details`, `contract_value_details`, and `license_quantities` on `V2.Billing.Contract` |
| 34 | + * Add support for `bill_settings_details` on `V2.Billing.Contract.BillingSetting` and `v2.billing.ContractCreateParamsBillingSetting` |
| 35 | + * Add support for `billing_profile_details` and `collection_settings_details` on `V2.Billing.Contract.BillingSetting` |
| 36 | + * ⚠️ Remove support for `contract_billing_details` on `V2.Billing.Contract.BillingSetting` and `v2.billing.ContractCreateParamsBillingSetting` |
| 37 | + * ⚠️ Change type of `V2.Billing.Contract.one_time_fees` from `array(an object)` to `an object` |
| 38 | + * ⚠️ Change type of `V2.Billing.Contract.pricing_lines` from `array(an object)` to `an object` |
| 39 | + * ⚠️ Change type of `V2.Billing.Contract.pricing_overrides` from `array(an object)` to `an object` |
| 40 | + * ⚠️ Change `V2.Billing.Contract.pricing_lines` to be optional |
| 41 | + * ⚠️ Change `V2.Billing.Contract.pricing_overrides` to be optional |
| 42 | + * Add support for `mode` on `V2.Commerce.ProductCatalogImport` |
| 43 | + * Add support for new value `money_manager` on enums `EventsV2CoreAccountLinkReturnedEvent.configurations`, `V2.Core.AccountLink.UseCase.AccountOnboarding.configurations`, `V2.Core.AccountLink.UseCase.AccountUpdate.configurations`, `v2.core.AccountLinkCreateParamsUseCaseAccountOnboarding.configurations`, and `v2.core.AccountLinkCreateParamsUseCaseAccountUpdate.configurations` |
| 44 | + * ⚠️ Add support for new value `money_manager` on enums `V2.Core.Account.applied_configurations`, `v2.core.AccountCloseParams.applied_configurations`, and `v2.core.AccountListParams.applied_configurations` |
| 45 | + * ⚠️ Remove support for value `storer` from enums `V2.Core.Account.applied_configurations`, `v2.core.AccountCloseParams.applied_configurations`, and `v2.core.AccountListParams.applied_configurations` |
| 46 | + * Add support for `money_manager` on `V2.Core.Account.Configuration`, `V2.Core.Account.Identity.Attestation.TermsOfService`, `v2.core.AccountCreateParamsConfiguration`, `v2.core.AccountCreateParamsIdentityAttestationTermsOfService`, `v2.core.AccountModifyParamsConfiguration`, `v2.core.AccountModifyParamsIdentityAttestationTermsOfService`, and `v2.core.AccountTokenCreateParamsIdentityAttestationTermsOfService` |
| 47 | + * ⚠️ Remove support for `storer` on `V2.Core.Account.Configuration`, `V2.Core.Account.Identity.Attestation.TermsOfService`, `v2.core.AccountCreateParamsConfiguration`, `v2.core.AccountCreateParamsIdentityAttestationTermsOfService`, `v2.core.AccountModifyParamsConfiguration`, `v2.core.AccountModifyParamsIdentityAttestationTermsOfService`, and `v2.core.AccountTokenCreateParamsIdentityAttestationTermsOfService` |
| 48 | + * Add support for `sunbit_payments` on `V2.Core.Account.Configuration.Merchant.Capability`, `v2.core.AccountCreateParamsConfigurationMerchantCapability`, and `v2.core.AccountModifyParamsConfigurationMerchantCapability` |
| 49 | + * Add support for `ach`, `becs`, `eft`, `fedwire`, `fps`, `npp`, `rtp`, `sepa_credit`, `sepa_instant`, and `swift` on `V2.Core.Account.Configuration.Recipient.Capability.BankAccount`, `v2.core.AccountCreateParamsConfigurationRecipientCapabilityBankAccount`, and `v2.core.AccountModifyParamsConfigurationRecipientCapabilityBankAccount` |
| 50 | + * Add support for new values `bank_accounts.ach`, `bank_accounts.becs`, `bank_accounts.eft`, `bank_accounts.fedwire`, `bank_accounts.fps`, `bank_accounts.npp`, `bank_accounts.rtp`, `bank_accounts.sepa_credit`, `bank_accounts.sepa_instant`, `bank_accounts.swift`, `business_storage.inbound.eur`, `business_storage.inbound.gbp`, `business_storage.inbound.usd`, `business_storage.outbound.eur`, `business_storage.outbound.gbp`, `business_storage.outbound.usd`, `consumer_storage.inbound.usd`, `consumer_storage.outbound.usd`, `received_credits.bank_accounts`, and `received_debits.bank_accounts` on enums `V2.Core.Account.FutureRequirement.Entry.Impact.RestrictsCapability.capability` and `V2.Core.Account.Requirement.Entry.Impact.RestrictsCapability.capability` |
| 51 | + * Add support for new value `money_manager` on enums `V2.Core.Account.FutureRequirement.Entry.Impact.RestrictsCapability.configuration` and `V2.Core.Account.Requirement.Entry.Impact.RestrictsCapability.configuration` |
| 52 | + * Add support for `consumer_money_manager` on `V2.Core.Account.Identity.Attestation.TermsOfService`, `v2.core.AccountCreateParamsIdentityAttestationTermsOfService`, and `v2.core.AccountModifyParamsIdentityAttestationTermsOfService` |
| 53 | + * Add support for `crypto_money_manager` on `V2.Core.Account.Identity.Attestation.TermsOfService`, `v2.core.AccountCreateParamsIdentityAttestationTermsOfService`, `v2.core.AccountModifyParamsIdentityAttestationTermsOfService`, and `v2.core.AccountTokenCreateParamsIdentityAttestationTermsOfService` |
| 54 | + * ⚠️ Remove support for `consumer_storer` on `V2.Core.Account.Identity.Attestation.TermsOfService`, `v2.core.AccountCreateParamsIdentityAttestationTermsOfService`, and `v2.core.AccountModifyParamsIdentityAttestationTermsOfService` |
| 55 | + * ⚠️ Remove support for `crypto_storer` on `V2.Core.Account.Identity.Attestation.TermsOfService`, `v2.core.AccountCreateParamsIdentityAttestationTermsOfService`, `v2.core.AccountModifyParamsIdentityAttestationTermsOfService`, and `v2.core.AccountTokenCreateParamsIdentityAttestationTermsOfService` |
| 56 | + * ⚠️ Remove support for `maximum_rps` on `V2.Core.BatchJob` and `v2.core.BatchJobCreateParams` |
| 57 | + * Add support for `bic` on `V2.MoneyManagement.FinancialAddress.Credential.UsBankAccount` |
| 58 | + * ⚠️ Remove support for `swift_code` on `V2.MoneyManagement.FinancialAddress.Credential.UsBankAccount` |
| 59 | + * Add support for `attachment` on `V2.MoneyManagement.OutboundPayment.DeliveryOption.PaperCheck` and `v2.money_management.OutboundPaymentCreateParamsDeliveryOptionPaperCheck` |
| 60 | + * Add support for `processing` on `V2.MoneyManagement.OutboundPayment.StatusDetail` and `V2.MoneyManagement.OutboundTransfer.StatusDetail` |
| 61 | + * Add support for new values `fx_rate_drift_exceeded_after_review` and `review_rejected` on enum `V2.MoneyManagement.OutboundPayment.StatusDetail.Failed.reason` |
| 62 | + * Add support for `payout_method_options` on `V2.MoneyManagement.OutboundPayment.To`, `V2.MoneyManagement.OutboundTransfer.To`, `v2.money_management.OutboundPaymentCreateParamsTo`, and `v2.money_management.OutboundTransferCreateParamsTo` |
| 63 | + * Add support for new values `fx_rate_drift_exceeded_after_review` and `review_rejected` on enum `V2.MoneyManagement.OutboundTransfer.StatusDetail.Failed.reason` |
| 64 | + * Add support for `account_holder_name` on `V2.MoneyManagement.ReceivedCredit.BankTransfer.UsBankAccount` |
| 65 | + * Add support for `returned` on `V2.MoneyManagement.ReceivedDebit.StatusDetail` |
| 66 | + * Add support for new value `capability_inactive` on enum `V2.MoneyManagement.ReceivedDebit.StatusDetail.Failed.reason` |
| 67 | + * Add support for `returned_at` on `V2.MoneyManagement.ReceivedDebit.StatusTransition` |
| 68 | + * Add support for `payout_intent` on `v2.money_management.OutboundPaymentCreateParams` |
| 69 | + * Add support for `statuses` on `v2.money_management.FinancialAccountListParams` |
| 70 | + * ⚠️ Remove support for `status` on `v2.money_management.FinancialAccountListParams` |
| 71 | + * Change `v2.core.BatchJobCreateParams.metadata` to be optional |
| 72 | + * ⚠️ Add support for new value `configuration.money_manager` on enums `v2.core.AccountCreateParams.include`, `v2.core.AccountModifyParams.include`, and `v2.core.AccountRetrieveParams.include` |
| 73 | + * ⚠️ Remove support for value `configuration.storer` from enums `v2.core.AccountCreateParams.include`, `v2.core.AccountModifyParams.include`, and `v2.core.AccountRetrieveParams.include` |
| 74 | + * Add support for `include` on `v2.billing.ContractListParams` |
| 75 | + * ⚠️ Remove support for `contract_lines` on `v2.billing.ContractCreateParams` |
| 76 | + * ⚠️ Remove support for `license_quantity_actions` on `v2.billing.ContractCreateParams` and `v2.billing.ContractModifyParams` |
| 77 | + * ⚠️ Add support for `billing_profile_details` and `collection_settings_details` on `v2.billing.ContractCreateParamsBillingSetting` |
| 78 | + * ⚠️ Add support for new value `billing_settings` on enums `v2.billing.ContractActivateParams.include`, `v2.billing.ContractCancelParams.include`, `v2.billing.ContractCreateParams.include`, `v2.billing.ContractModifyParams.include`, and `v2.billing.ContractRetrieveParams.include` |
| 79 | + * ⚠️ Remove support for values `contract_line_details` and `license_quantities` from enums `v2.billing.ContractActivateParams.include`, `v2.billing.ContractCancelParams.include`, `v2.billing.ContractCreateParams.include`, `v2.billing.ContractModifyParams.include`, and `v2.billing.ContractRetrieveParams.include` |
| 80 | + * ⚠️ Add support for `amount`, `bill_at`, and `product` on `v2.billing.ContractCreateParamsOneTimeFee` |
| 81 | + * Add support for `lookup_key` on `v2.billing.ContractCreateParamsOneTimeFee` |
| 82 | + * ⚠️ Remove support for `bill_schedule`, `billable_item_type`, and `product_details` on `v2.billing.ContractCreateParamsOneTimeFee` |
| 83 | + * Add support for `pricing_overrides` and `quantity_changes` on `v2.billing.ContractCreateParamsPricingLinePricingPriceDetail` and `v2.billing.ContractModifyParamsPricingLineActionAddPricingPriceDetail` |
| 84 | + * ⚠️ Remove support for `quantity` on `v2.billing.ContractCreateParamsPricingLinePricingPriceDetail` and `v2.billing.ContractModifyParamsPricingLineActionAddPricingPriceDetail` |
| 85 | + * ⚠️ Remove support for `overwrite_price` on `v2.billing.ContractCreateParamsPricingOverride` |
| 86 | + * Add support for `pricing_line_ids` and `pricing_line_lookup_keys` on `v2.billing.ContractCreateParamsPricingOverrideMultiplierCriterion` and `v2.billing.ContractModifyParamsPricingOverrideActionAddMultiplierCriterion` |
| 87 | + * ⚠️ Remove support for `billable_item_ids`, `billable_item_lookup_keys`, `billable_item_types`, `metadata_conditions`, and `rate_card_ids` on `v2.billing.ContractCreateParamsPricingOverrideMultiplierCriterion` and `v2.billing.ContractModifyParamsPricingOverrideActionAddMultiplierCriterion` |
| 88 | + * ⚠️ Change type of `v2.billing.ContractCreateParamsPricingOverride.type` and `v2.billing.ContractModifyParamsPricingOverrideActionAdd.type` from `enum('multiplier'|'overwrite_price')` to `literal('multiplier')` |
| 89 | + * Change `v2.billing.ContractCreateParams.pricing_overrides` to be optional |
| 90 | + * Change `v2.billing.ContractCreateParamsPricingOverrideMultiplier.criteria` to be optional |
| 91 | + * Add support for `pricing` on `v2.billing.ContractModifyParamsPricingLineActionUpdate` |
| 92 | + * ⚠️ Remove support for `price` on `v2.billing.ContractModifyParamsPricingOverrideActionAddOverwritePrice` |
| 93 | + * Add support for `cancel_pricing_lines` and `proration_behavior` on `v2.billing.ContractCancelParams` |
| 94 | + * Add support for new value `sunbit_payments` on enum `EventsV2CoreAccountIncludingConfigurationMerchantCapabilityStatusUpdatedEvent.updated_capability` |
| 95 | + * Add support for new values `bank_accounts.ach`, `bank_accounts.becs`, `bank_accounts.eft`, `bank_accounts.fedwire`, `bank_accounts.fps`, `bank_accounts.npp`, `bank_accounts.rtp`, `bank_accounts.sepa_credit`, `bank_accounts.sepa_instant`, and `bank_accounts.swift` on enum `EventsV2CoreAccountIncludingConfigurationRecipientCapabilityStatusUpdatedEvent.updated_capability` |
| 96 | + * Add support for event notifications `V2CoreAccountIncludingConfigurationMoneyManagerCapabilityStatusUpdatedEvent` and `V2CoreAccountIncludingConfigurationMoneyManagerUpdatedEvent` with related object `v2.core.Account` |
| 97 | + * Add support for event notifications `V2MoneyManagementDebitDisputeFailedEvent`, `V2MoneyManagementDebitDisputeSubmittedEvent`, and `V2MoneyManagementDebitDisputeSucceededEvent` with related object `v2.money_management.DebitDispute` |
| 98 | + * Add support for event notification `V2MoneyManagementOutboundPaymentUnderReviewEvent` with related object `v2.money_management.OutboundPayment` |
| 99 | + * Add support for event notification `V2MoneyManagementOutboundTransferUnderReviewEvent` with related object `v2.money_management.OutboundTransfer` |
| 100 | + * ⚠️ Remove support for event notifications `V2CoreAccountIncludingConfigurationStorerCapabilityStatusUpdatedEvent` and `V2CoreAccountIncludingConfigurationStorerUpdatedEvent` with related object `v2.core.Account` |
| 101 | + * Add support for error codes `us_bank_account_microdeposits_cannot_be_confirmed` and `us_bank_account_microdeposits_cannot_be_sent` on `ControlledByAlternateResourceError` |
| 102 | + * Add support for error code `payout_intent_not_cancelable` on `NotCancelableError` |
| 103 | + |
3 | 104 | ## 15.3.0a4 - 2026-06-17 |
4 | 105 | * [#1828](https://github.com/stripe/stripe-python/pull/1828) Update generated code for private-preview |
5 | 106 | * Add support for `retrieve` method on resource `radar.CustomerEvaluation` |
|
0 commit comments