Skip to content

Releases: stripe/stripe-php

v20.2.0-alpha.3

v20.2.0-alpha.3 Pre-release
Pre-release

Choose a tag to compare

@xavdid xavdid released this 29 Apr 05:35
  • #2063 Update generated code for private-preview
    • Add support for debit_card on V2.Core.Account.configuration.card_creator.capabilities.consumer.lead, V2.Core.Account.identity.attestations.terms_of_service.card_creator.consumer.lead, V2\Core\Account.create().$params.configuration.card_creator.capability.consumer.lead, V2\Core\Account.create().$params.identity.attestation.terms_of_service.card_creator.consumer.lead, V2\Core\Account.update().$params.configuration.card_creator.capability.consumer.lead, and V2\Core\Account.update().$params.identity.attestation.terms_of_service.card_creator.consumer.lead
    • Add support for new value consumer.lead.debit_card on enums V2.Core.Account.future_requirements.entries[].impact.restricts_capabilities[].capability and V2.Core.Account.requirements.entries[].impact.restricts_capabilities[].capability
    • Add support for new value consumer.lead.debit_card on enum EventsV2CoreAccountIncludingConfigurationCardCreatorCapabilityStatusUpdatedEvent.updated_capability

See the changelog for more details.

v20.2.0-alpha.2

v20.2.0-alpha.2 Pre-release
Pre-release

Choose a tag to compare

@xavdid xavdid released this 28 Apr 23:53
  • #2062 Update generated code for private-preview
    • Add support for new resource V2.Data.Analytics.MetricQueryResult
    • Add support for create, retrieve, and revoke methods on resource SharedPayment.IssuedToken
    • Add support for create method on resource V2.Data.Analytics.MetricQueryResult
    • Add support for balance_report and payout_reconciliation_report on AccountSession.components and AccountSession.create().$params.component
    • Add support for app_distribution and sunbit_payments on Account.capabilities, Account.create().$params.capability, and Account.update().$params.capability
    • Add support for new values fee_credit_funding, inbound_transfer_reversal, and inbound_transfer on enum BalanceTransaction.type
    • Add support for sunbit on Charge.payment_method_details, ConfirmationToken.create().$params.payment_method_datum, ConfirmationToken.payment_method_preview, PaymentAttemptRecord.payment_method_details, PaymentIntent.confirm().$params.payment_method_datum, PaymentIntent.create().$params.payment_method_datum, PaymentIntent.update().$params.payment_method_datum, PaymentMethod.create().$params, PaymentMethodConfiguration.create().$params, PaymentMethodConfiguration.update().$params, PaymentMethodConfiguration, PaymentMethod, PaymentRecord.payment_method_details, SetupIntent.confirm().$params.payment_method_datum, SetupIntent.create().$params.payment_method_datum, and SetupIntent.update().$params.payment_method_datum
    • Add support for new values phantom_cash and usdt on enums Charge.payment_method_details.crypto.token_currency, PaymentAttemptRecord.payment_method_details.crypto.token_currency, and PaymentRecord.payment_method_details.crypto.token_currency
    • Add support for last4 on Charge.payment_method_details.gift_card, PaymentAttemptRecord.payment_method_details.gift_card, and PaymentRecord.payment_method_details.gift_card
    • Add support for location and reader on Charge.payment_method_details.klarna, PaymentAttemptRecord.payment_method_details.klarna, and PaymentRecord.payment_method_details.klarna
    • Add support for blik on Checkout\Session.create().$params.payment_method_option, Invoice.create().$params.payment_setting.payment_method_option, Invoice.payment_settings.payment_method_options, Invoice.update().$params.payment_setting.payment_method_option, QuotePreviewInvoice.payment_settings.payment_method_options, Subscription.create().$params.payment_setting.payment_method_option, Subscription.payment_settings.payment_method_options, and Subscription.update().$params.payment_setting.payment_method_option
    • Add support for new values fo_vat, gi_tin, it_cf, and py_ruc on enums Checkout.Session.collected_information.tax_ids[].type, Checkout.Session.customer_details.tax_ids[].type, Invoice.customer_tax_ids[].type, Order.tax_details.tax_ids[].type, QuotePreviewInvoice.customer_tax_ids[].type, Tax.Calculation.customer_details.tax_ids[].type, Tax.Transaction.customer_details.tax_ids[].type, and TaxId.type
    • Change Checkout.Session.managed_payments, PaymentIntent.managed_payments, PaymentLink.managed_payments, and Subscription.managed_payments to be required
    • Add support for shared_payment_granted_token on ConfirmationToken.create().$params.payment_method_datum, PaymentIntent.confirm().$params.payment_method_datum, PaymentIntent.create().$params.payment_method_datum, PaymentIntent.update().$params.payment_method_datum, PaymentMethod, SetupIntent.confirm().$params.payment_method_datum, SetupIntent.create().$params.payment_method_datum, and SetupIntent.update().$params.payment_method_datum
    • Add support for new value sunbit on enums ConfirmationToken.payment_method_preview.type and PaymentMethod.type
    • Change type of CreditNote.total_taxes[].tax_rate_details.tax_rate, CreditNoteLineItem.taxes[].tax_rate_details.tax_rate, Invoice.total_taxes[].tax_rate_details.tax_rate, InvoiceLineItem.taxes[].tax_rate_details.tax_rate, and QuotePreviewInvoice.total_taxes[].tax_rate_details.tax_rate from string to expandable($TaxRate)
    • Add support for buyer_consents on DelegatedCheckout\RequestedSession.confirm().$params
    • Add support for consents on DelegatedCheckout.RequestedSession.buyer_consents.marketing
    • Add support for new value blik on enums Invoice.payment_settings.payment_method_types, QuotePreviewInvoice.payment_settings.payment_method_types, and Subscription.payment_settings.payment_method_types
    • Change Invoice.payment_settings.payment_method_options.pix, QuotePreviewInvoice.payment_settings.payment_method_options.pix, and Subscription.payment_settings.payment_method_options.pix to be required
    • Change Invoice.payment_settings.payment_method_options.upi, QuotePreviewInvoice.payment_settings.payment_method_options.upi, and Subscription.payment_settings.payment_method_options.upi to be required
    • Add support for payment_facilitator_id and sub_merchant_id on Issuing\Authorization.create().$params.merchant_datum, Issuing\Transaction.create_force_capture().$params.merchant_datum, and Issuing\Transaction.create_unlinked_refund().$params.merchant_datum
    • Add support for card_presence on Issuing.Authorization
    • Add support for allowed_card_presences and blocked_card_presences on Issuing.Card.spending_controls, Issuing.Cardholder.spending_controls, Issuing\Card.create().$params.spending_control, Issuing\Card.update().$params.spending_control, Issuing\Cardholder.create().$params.spending_control, and Issuing\Cardholder.update().$params.spending_control
    • Add support for new value fulfillment_error on enum Issuing.Card.cancellation_reason
    • Add support for new value fulfillment_error on enum Issuing.Card.replacement_reason
    • ⚠️ Change type of PaymentAttemptRecord.payment_method_details.gift_card.balance and PaymentRecord.payment_method_details.gift_card.balance from PaymentFlowsPrivatePaymentMethodsGiftCardDeprecatedDetailsResourceBalanceAmount to nullable(PaymentsPrimitivesPaymentRecordsResourcePaymentMethodGiftCardDetailsResourceBalance)
    • ⚠️ Change type of PaymentAttemptRecord.payment_method_details.gift_card.brand and PaymentRecord.payment_method_details.gift_card.brand from enum('fiserv_valuelink'|'givex'|'svs') to nullable(enum('fiserv_valuelink'|'givex'|'svs'))
    • ⚠️ Change type of PaymentAttemptRecord.payment_method_details.gift_card.first6 and PaymentRecord.payment_method_details.gift_card.first6 from string to nullable(string)
    • ⚠️ Change type of PaymentAttemptRecord.payment_method_details.gift_card.transaction_id and PaymentRecord.payment_method_details.gift_card.transaction_id from string to nullable(string)
    • Add support for amount_to_confirm on PaymentIntent.confirm().$params
    • Add support for new value sunbit on enums PaymentIntent.excluded_payment_method_types and SetupIntent.excluded_payment_method_types
    • Add support for klarna_display_qr_code on PaymentIntent.next_action
    • Add support for new value sunbit on enum PaymentLink.payment_method_types
    • Add support for validation_errors on Privacy.RedactionJob
    • Add support for tax_details on Product
    • ⚠️ Change type of Radar.PaymentEvaluation.client_device_metadata_details.radar_session from string to nullable(string)
    • Add support for new values low, not_assessed, and unknown on enum Radar.PaymentEvaluation.signals.fraudulent_payment.risk_level
    • Add support for new value account on enum Radar.ValueList.item_type
    • Add support for moto on SetupAttempt.payment_method_details.card
    • Change SetupIntent.next_action.pix_display_qr_code.data to be required
    • Change SetupIntent.next_action.pix_display_qr_code.expires_at to be required
    • Change SetupIntent.next_action.pix_display_qr_code.hosted_instructions_url to be required
    • Change SetupIntent.next_action.pix_display_qr_code.image_url_png to be required
    • Change SetupIntent.next_action.pix_display_qr_code.image_url_svg to be required
    • Add support for admissions_tax, attendance_tax, entertainment_tax, gross_receipts_tax, hospitality_tax, luxury_tax, resort_tax, and tourism_tax on Tax\Registration.create().$params.country_option.me
    • Add support for purpose on Treasury.OutboundPayment and Treasury\OutboundPayment.create().$params
    • Add support for crypto_wallet on V2.MoneyManagement.FinancialAddress.credentials
    • Add support for mx_bank_account on V2.MoneyManagement.FinancialAddress.credentials and V2.MoneyManagement.ReceivedCredit.bank_transfer
    • Add support for new values crypto_wallet and mx_bank_account on enum V2.MoneyManagement.FinancialAddress.credentials.type
    • Add support for crypto_wallet_transfer on V2.MoneyManagement.ReceivedCredit
    • Add support for eu_bank_account on V2.MoneyManagement.ReceivedCredit.bank_transfer
    • Add support for new values crypto_wallet, eu_bank_account, and mx_bank_account on enum V2.MoneyManagement.ReceivedCredit.bank_transfer.origin_type
    • Add support for new value crypto_wallet_transfer on enum V2.MoneyManagement.ReceivedCredit.type
    • Change V2\Payments\OffSessionPayment.capture().$params.metadata and V2\Payments\OffSessionPayment.create().$params.metadata to be optional
    • Add support for crypto_properties and settlement_currency on V2\MoneyManagement\FinancialAddress.create().$params
    • Add support for event notifications V2CoreApprovalRequestCreatedEvent and V2CoreApprovalRequestExpiredEvent with related object V2.Core.ApprovalRequest
    • Add support for event notification V2ExtendExtensionRunFailedEvent
    • Add support for error codes action_blocked and approval_required on `Invoice.last_finalization...
Read more

v20.2.0-beta.2

v20.2.0-beta.2 Pre-release
Pre-release

Choose a tag to compare

@mbroshi-stripe mbroshi-stripe released this 24 Apr 18:17
  • #2060 Update generated code for beta
    • Add support for new resources V2.Commerce.ProductCatalogImport, V2.Data.Reporting.QueryRun, V2.Extend.WorkflowRun, V2.Extend.Workflow, V2.Iam.ActivityLog, V2.Network.BusinessProfile, and V2.OrchestratedCommerce.Agreement
    • Add support for all, confirm, create, retrieve, and terminate methods on resource V2.OrchestratedCommerce.Agreement
    • Add support for me and retrieve methods on resource V2.Network.BusinessProfile
    • Add support for all method on resource V2.Iam.ActivityLog
    • Add support for all and retrieve methods on resource V2.Extend.WorkflowRun
    • Add support for all, invoke, and retrieve methods on resource V2.Extend.Workflow
    • Add support for create and retrieve methods on resources V2.Commerce.ProductCatalogImport and V2.Data.Reporting.QueryRun
    • ⚠️ Change type of V2.Billing.Cadence.settings_data.collection.payment_method_options.konbini, V2.Billing.CollectionSetting.payment_method_options.konbini, V2.Billing.CollectionSettingVersion.payment_method_options.konbini, V2\Billing\CollectionSetting.create().$params.payment_method_option.konbini, and V2\Billing\CollectionSetting.update().$params.payment_method_option.konbini from map(string: dynamic) to an object
    • ⚠️ Change type of V2.Billing.Cadence.settings_data.collection.payment_method_options.sepa_debit, V2.Billing.CollectionSetting.payment_method_options.sepa_debit, V2.Billing.CollectionSettingVersion.payment_method_options.sepa_debit, V2\Billing\CollectionSetting.create().$params.payment_method_option.sepa_debit, and V2\Billing\CollectionSetting.update().$params.payment_method_option.sepa_debit from map(string: dynamic) to an object
    • Add support for new values cn_bank_account and jp_bank_account on enum V2.Core.Account.configuration.recipient.default_outbound_destination.type
    • Add support for new values futsu and toza on enums V2.Core.Vault.GbBankAccount.bank_account_type and V2.MoneyManagement.PayoutMethod.bank_account.bank_account_type
    • ⚠️ Change type of V2.MoneyManagement.InboundTransfer.transfer_history[].bank_debit_processing from map(string: dynamic) to an object
    • ⚠️ Change type of V2.MoneyManagement.InboundTransfer.transfer_history[].bank_debit_queued from map(string: dynamic) to an object
    • ⚠️ Change type of V2.MoneyManagement.InboundTransfer.transfer_history[].bank_debit_succeeded from map(string: dynamic) to an object
    • Add support for new value payout_method_amount_limit_exceeded on enum V2.MoneyManagement.OutboundTransfer.status_details.failed.reason
    • ⚠️ Add support for new values inbound_transfer_reversal, outbound_payment_reversal, outbound_transfer_reversal, received_credit_reversal, received_debit_reversal, and stripe_fee_tax on enums V2.MoneyManagement.Transaction.category and V2.MoneyManagement.TransactionEntry.transaction_details.category
    • ⚠️ Remove support for value return from enums V2.MoneyManagement.Transaction.category and V2.MoneyManagement.TransactionEntry.transaction_details.category
    • Change type of V2\Core\BatchJob.create().$params.endpoint.http_method from literal('post') to enum('delete'|'post')
    • Add support for new value meter_event_value_too_many_digits on enums EventsV1BillingMeterErrorReportTriggeredEvent.reason.error_types[].code and EventsV1BillingMeterNoMeterFoundEvent.reason.error_types[].code
    • Add support for treasury_transaction on EventsV2MoneyManagementTransactionCreatedEvent
    • Add support for event notifications V2CommerceProductCatalogImportsFailedEvent, V2CommerceProductCatalogImportsProcessingEvent, V2CommerceProductCatalogImportsSucceededEvent, and V2CommerceProductCatalogImportsSucceededWithErrorsEvent with related object V2.Commerce.ProductCatalogImport
    • Add support for event notifications V2DataReportingQueryRunCreatedEvent, V2DataReportingQueryRunFailedEvent, V2DataReportingQueryRunSucceededEvent, and V2DataReportingQueryRunUpdatedEvent with related object V2.Data.Reporting.QueryRun
    • Add support for event notifications V2ExtendWorkflowRunFailedEvent, V2ExtendWorkflowRunStartedEvent, and V2ExtendWorkflowRunSucceededEvent with related object V2.Extend.WorkflowRun
    • Add support for event notifications V2OrchestratedCommerceAgreementConfirmedEvent, V2OrchestratedCommerceAgreementCreatedEvent, V2OrchestratedCommerceAgreementPartiallyConfirmedEvent, and V2OrchestratedCommerceAgreementTerminatedEvent with related object V2.OrchestratedCommerce.Agreement
    • Add support for error type CannotProceedException

See the changelog for more details.

v20.2.0-beta.1

v20.2.0-beta.1 Pre-release
Pre-release

Choose a tag to compare

@mbroshi-stripe mbroshi-stripe released this 24 Apr 00:21

This release changes the pinned API version to 2026-04-22.private.

  • #2050 Update generated code for beta
    • Add support for new resources SharedPayment.GrantedToken and SharedPayment.IssuedToken
    • Add support for retrieve method on resource SharedPayment.GrantedToken
    • Add support for create and revoke test helper methods on resource SharedPayment.GrantedToken
    • Add support for create, retrieve, and revoke methods on resource SharedPayment.IssuedToken
    • Add support for blik on Checkout\Session.create().$params.payment_method_option, Invoice.create().$params.payment_setting.payment_method_option, Invoice.payment_settings.payment_method_options, Invoice.update().$params.payment_setting.payment_method_option, QuotePreviewInvoice.payment_settings.payment_method_options, Subscription.create().$params.payment_setting.payment_method_option, Subscription.payment_settings.payment_method_options, and Subscription.update().$params.payment_setting.payment_method_option
    • Add support for new values fo_vat, gi_tin, it_cf, and py_ruc on enums Checkout.Session.collected_information.tax_ids[].type, Order.tax_details.tax_ids[].type, and QuotePreviewInvoice.customer_tax_ids[].type
    • Change Checkout.Session.managed_payments, PaymentIntent.managed_payments, PaymentLink.managed_payments, and Subscription.managed_payments to be required
    • Add support for shared_payment_granted_token on ConfirmationToken.create().$params.payment_method_datum, PaymentIntent.confirm().$params.payment_method_datum, PaymentIntent.create().$params.payment_method_datum, PaymentIntent.update().$params.payment_method_datum, PaymentMethod, SetupIntent.confirm().$params.payment_method_datum, SetupIntent.create().$params.payment_method_datum, and SetupIntent.update().$params.payment_method_datum
    • Change Invoice.payment_settings.payment_method_options.pix, QuotePreviewInvoice.payment_settings.payment_method_options.pix, and Subscription.payment_settings.payment_method_options.pix to be required
    • Change Invoice.payment_settings.payment_method_options.upi, QuotePreviewInvoice.payment_settings.payment_method_options.upi, and Subscription.payment_settings.payment_method_options.upi to be required
    • Add support for validation_errors on Privacy.RedactionJob
    • Add support for tax_details on Product
    • Add support for new value blik on enum QuotePreviewInvoice.payment_settings.payment_method_types
    • Change type of QuotePreviewInvoice.total_taxes[].tax_rate_details.tax_rate from string to expandable($TaxRate)
    • ⚠️ Change type of Radar.PaymentEvaluation.client_device_metadata_details.radar_session from string to nullable(string)
    • Change SetupIntent.next_action.pix_display_qr_code.data to be required
    • Change SetupIntent.next_action.pix_display_qr_code.expires_at to be required
    • Change SetupIntent.next_action.pix_display_qr_code.hosted_instructions_url to be required
    • Change SetupIntent.next_action.pix_display_qr_code.image_url_png to be required
    • Change SetupIntent.next_action.pix_display_qr_code.image_url_svg to be required
    • Add support for admissions_tax, attendance_tax, entertainment_tax, gross_receipts_tax, hospitality_tax, luxury_tax, resort_tax, and tourism_tax on Tax\Registration.create().$params.country_option.me
    • Add support for purpose on Treasury.OutboundPayment and Treasury\OutboundPayment.create().$params
    • Add support for error codes action_blocked and approval_required on QuotePreviewInvoice.last_finalization_error

See the changelog for more details.

v20.2.0-alpha.1

v20.2.0-alpha.1 Pre-release
Pre-release

Choose a tag to compare

@mbroshi-stripe mbroshi-stripe released this 24 Apr 04:50

This release changes the pinned API version to 2026-04-22.private.

  • #2058 Update generated code for private-preview
    • Add support for new resources V2.Commerce.ProductCatalogImport, V2.Core.ApprovalRequest, V2.Extend.WorkflowRun, V2.Extend.Workflow, V2.Iam.ActivityLog, V2.Network.BusinessProfile, and V2.OrchestratedCommerce.Agreement
    • ⚠️ Remove support for resources V2.Core.WorkflowRun and V2.Core.Workflow
    • Add support for all, confirm, create, retrieve, and terminate methods on resource V2.OrchestratedCommerce.Agreement
    • Add support for me and retrieve methods on resource V2.Network.BusinessProfile
    • Add support for all method on resource V2.Iam.ActivityLog
    • Add support for all and retrieve methods on resource V2.Extend.WorkflowRun
    • Add support for all, invoke, and retrieve methods on resource V2.Extend.Workflow
    • Add support for all, cancel, execute, retrieve, and submit methods on resource V2.Core.ApprovalRequest
    • Add support for create and retrieve methods on resource V2.Commerce.ProductCatalogImport
    • ⚠️ Remove support for all and retrieve methods on resource V2.Core.WorkflowRun
    • ⚠️ Remove support for all, invoke, and retrieve methods on resource V2.Core.Workflow
    • Add support for renew_onboarding_link method on resource V2.Core.ClaimableSandbox
    • ⚠️ Remove support for customer on SharedPayment.IssuedToken
    • Change type of SharedPayment.IssuedToken.payment_method from nullable(string) to string
    • Add support for bill_management and send_money on AccountSession.components.bills.features
    • Add support for gift_card on Charge.payment_method_details, PaymentAttemptRecord.payment_method_details, and PaymentRecord.payment_method_details
    • Add support for custom_payment_method_types on Checkout.Session and Checkout\Session.create().$params
    • Add support for payment_record on Checkout.Session
    • ⚠️ Remove support for shared_payment_granted_token on ConfirmationToken.create().$params.payment_method_datum, PaymentIntent.confirm().$params.payment_method_datum, PaymentIntent.create().$params.payment_method_datum, PaymentIntent.update().$params.payment_method_datum, PaymentIntent, PaymentMethod, SetupIntent.confirm().$params.payment_method_datum, SetupIntent.create().$params.payment_method_datum, and SetupIntent.update().$params.payment_method_datum
    • Add support for payment_method on ConfirmationToken.payment_method_preview.sepa_debit.generated_from, PaymentMethod.sepa_debit.generated_from, and SharedPayment.GrantedToken.payment_method_details.sepa_debit.generated_from
    • Add support for return_url on DelegatedCheckout\RequestedSession.confirm().$params
    • Add support for buyer_consents on DelegatedCheckout.RequestedSession
    • ⚠️ Change type of DelegatedCheckout.RequestedSession.fulfillment_details.fulfillment_options[].type, DelegatedCheckout.RequestedSession.fulfillment_details.selected_fulfillment_option.type, and DelegatedCheckout.RequestedSession.fulfillment_details.selected_fulfillment_option_overrides[].type from string to enum('digital'|'shipping')
    • Add support for crypto_transactions on Issuing.Authorization, Issuing.Dispute, and Issuing.Transaction
    • Add support for payment_facilitator_id and sub_merchant_id on Issuing.Authorization.merchant_data and Issuing.Transaction.merchant_data
    • Add support for identifiers on Order.create().$params.line_item.product_datum, Order.update().$params.line_item.product_datum, Product.create().$params, Product.update().$params, and Product
    • Add support for agent_details on PaymentIntent
    • Add support for external_reference on Price.create().$params and Price.update().$params
    • Add support for login_succeeded and registration_succeeded on Radar.AccountEvaluation.events[] and Radar\AccountEvaluation.update().$params
    • Add support for print_content on Terminal.Reader.action
    • Add support for new value print_content on enum Terminal.Reader.action.type
    • Add support for new values cn_bank_account and jp_bank_account on enum V2.Core.Account.configuration.recipient.default_outbound_destination.type
    • Add support for new values bm_crn, bo_tin, bt_tpn, co_nit, ec_ruc, eg_tin, gh_tin, gy_tin, hn_rtn, jm_trn, jo_crn, ke_pin, ky_crn, lk_tin, mo_tin, mv_tin, ng_tin, pa_ruc, ph_tin, py_ruc, sl_tin, sv_nit, uy_ruc, vg_cn, and za_tin on enum V2.Core.Account.identity.business_details.id_numbers[].type
    • Add support for new values bm_pp, bo_ci, bt_cid, eg_tin, gh_pin, gy_tin, hn_rtn, jm_trn, jo_pin, ky_pp, lk_nic, mo_bir, mt_nic, mv_tin, pa_ruc, ph_tin, py_ruc, si_pin, sv_nit, and vg_pp on enums V2.Core.Account.identity.individual.id_numbers[].type and V2.Core.AccountPerson.id_numbers[].type
    • Add support for app_channel on V2.Core.ClaimableSandbox and V2\Core\ClaimableSandbox.create().$params
    • Add support for onboarding_link_details and owner_details on V2.Core.ClaimableSandbox
    • ⚠️ Remove support for claim_url on V2.Core.ClaimableSandbox
    • ⚠️ Remove support for owner_account on V2.Core.ClaimableSandbox.sandbox_details
    • Add support for new value live on enum V2.Core.ClaimableSandbox.status
    • Add support for snapshot_event on V2.Core.Event
    • Add support for new values futsu and toza on enums V2.Core.Vault.GbBankAccount.bank_account_type and V2.MoneyManagement.PayoutMethod.bank_account.bank_account_type
    • ⚠️ Change V2.MoneyManagement.CurrencyConversion.financial_account to be optional
    • Add support for multiprocessor_settlement on V2.MoneyManagement.FinancialAccount
    • Add support for new value multiprocessor_settlement on enum V2.MoneyManagement.FinancialAccount.type
    • Add support for ca_bank_account on V2.MoneyManagement.FinancialAddress.credentials and V2.MoneyManagement.ReceivedCredit.bank_transfer
    • Add support for new value ca_bank_account on enum V2.MoneyManagement.FinancialAddress.credentials.type
    • Add support for new value tempo on enum V2.MoneyManagement.PayoutMethod.crypto_wallet.network
    • Add support for new value ca_bank_account on enum V2.MoneyManagement.ReceivedCredit.bank_transfer.origin_type
    • ⚠️ Remove support for value return from enums V2.MoneyManagement.Transaction.category and V2.MoneyManagement.TransactionEntry.transaction_details.category
    • Add support for amount_details and payment_details on V2.Payments.OffSessionPayment, V2\Payments\OffSessionPayment.capture().$params, and V2\Payments\OffSessionPayment.create().$params
    • Add support for description on V2.Payments.OffSessionPayment and V2\Payments\OffSessionPayment.create().$params
    • Add support for mcc on V2\Payments\OffSessionPayment.create().$params.payment_method_option.card
    • Change V2\Payments\OffSessionPayment.create().$params.payment_method_option.card.network_transaction_id to be optional
    • Add support for storage on V2\MoneyManagement\FinancialAccount.update().$params
    • Add support for fx_quote on V2\MoneyManagement\CurrencyConversion.create().$params
    • Change V2\MoneyManagement\CurrencyConversion.create().$params.financial_account to be optional
    • ⚠️ Add support for onboarding_link_details on V2\Core\ClaimableSandbox.create().$params
    • Change type of V2\Core\BatchJob.create().$params.endpoint.http_method from literal('post') to enum('delete'|'post')
    • Add support for new value meter_event_value_too_many_digits on enums EventsV1BillingMeterErrorReportTriggeredEvent.reason.error_types[].code and EventsV1BillingMeterNoMeterFoundEvent.reason.error_types[].code
    • Add support for treasury_transaction on EventsV2MoneyManagementTransactionCreatedEvent
    • Add support for event notifications V1AccountApplicationAuthorizedEvent, V1AccountApplicationDeauthorizedEvent, V1AccountExternalAccountCreatedEvent, V1AccountExternalAccountDeletedEvent, V1AccountExternalAccountUpdatedEvent, V1BillingPortalSessionCreatedEvent, V1EntitlementsActiveEntitlementSummaryUpdatedEvent, V2CoreHealthMeterEventSummariesDelayedFiringEvent, and V2CoreHealthMeterEventSummariesDelayedResolvedEvent
    • Add support for event notification V1AccountUpdatedEvent with related object Account
    • Add support for event notifications V1ApplicationFeeCreatedEvent and V1ApplicationFeeRefundedEvent with related object ApplicationFee
    • Add support for event notification V1ApplicationFeeRefundUpdatedEvent with related object ApplicationFeeRefund
    • Add support for event notification V1BalanceAvailableEvent with related object Balance
    • Add support for event notification V1BillingAlertTriggeredEvent with related object Billing.Alert
    • Add support for event notifications V1BillingPortalConfigurationCreatedEvent and V1BillingPortalConfigurationUpdatedEvent with related object BillingPortal.Configuration
    • Add support for event notification V1CapabilityUpdatedEvent with related object Capability
    • Add support for event notification V1CashBalanceFundsAvailableEvent with related object CashBalance
    • Add support for event notifications V1ChargeCapturedEvent, V1ChargeExpiredEvent, V1ChargeFailedEvent, V1ChargePendingEvent, V1ChargeRefundedEvent, V1ChargeSucceededEvent, and V1ChargeUpdatedEvent with related object Charge
    • Add support for event notifications V1ChargeDisputeClosedEvent, V1ChargeDisputeCreatedEvent, V1ChargeDisputeFundsReinstatedEvent, V1ChargeDisputeFundsWithdrawnEvent, and V1ChargeDisputeUpdatedEvent with related object Dispute
    • Add support for event notifications V1ChargeRefundUpdatedEvent, V1RefundCreatedEvent, `V1RefundFailedE...
Read more

v20.1.0

Choose a tag to compare

@mbroshi-stripe mbroshi-stripe released this 24 Apr 00:13

This release changes the pinned API version to 2026-04-22.dahlia.

  • #2056 Update generated code
    • Add support for balance_report and payout_reconciliation_report on AccountSession.components and AccountSession.create().$params.component
    • Add support for app_distribution and sunbit_payments on Account.capabilities, Account.create().$params.capability, and Account.update().$params.capability
    • Add support for new values fee_credit_funding, inbound_transfer_reversal, and inbound_transfer on enum BalanceTransaction.type
    • Add support for sunbit on Charge.payment_method_details, ConfirmationToken.create().$params.payment_method_datum, ConfirmationToken.payment_method_preview, PaymentAttemptRecord.payment_method_details, PaymentIntent.confirm().$params.payment_method_datum, PaymentIntent.create().$params.payment_method_datum, PaymentIntent.update().$params.payment_method_datum, PaymentMethod.create().$params, PaymentMethodConfiguration.create().$params, PaymentMethodConfiguration.update().$params, PaymentMethodConfiguration, PaymentMethod, PaymentRecord.payment_method_details, SetupIntent.confirm().$params.payment_method_datum, SetupIntent.create().$params.payment_method_datum, and SetupIntent.update().$params.payment_method_datum
    • Add support for new values phantom_cash and usdt on enums Charge.payment_method_details.crypto.token_currency, PaymentAttemptRecord.payment_method_details.crypto.token_currency, and PaymentRecord.payment_method_details.crypto.token_currency
    • Add support for location and reader on Charge.payment_method_details.klarna, PaymentAttemptRecord.payment_method_details.klarna, and PaymentRecord.payment_method_details.klarna
    • Add support for mandate on Charge.payment_method_details.pix, PaymentAttemptRecord.payment_method_details.pix, and PaymentRecord.payment_method_details.pix
    • Add support for managed_payments on Checkout.Session, Checkout\Session.create().$params, PaymentIntent, PaymentLink.create().$params, PaymentLink, SetupIntent, and Subscription
    • Add support for mandate_options on Checkout.Session.payment_method_options.pix, Checkout\Session.create().$params.payment_method_option.pix, PaymentIntent.confirm().$params.payment_method_option.pix, PaymentIntent.create().$params.payment_method_option.pix, PaymentIntent.payment_method_options.pix, and PaymentIntent.update().$params.payment_method_option.pix
    • Change type of Checkout\Session.create().$params.payment_method_option.pix.setup_future_usage, PaymentIntent.confirm().$params.payment_method_option.pix.setup_future_usage, PaymentIntent.create().$params.payment_method_option.pix.setup_future_usage, and PaymentIntent.update().$params.payment_method_option.pix.setup_future_usage from literal('none') to enum('none'|'off_session')
    • Add support for new values fo_vat, gi_tin, it_cf, and py_ruc on enums Checkout.Session.customer_details.tax_ids[].type, Invoice.customer_tax_ids[].type, Tax.Calculation.customer_details.tax_ids[].type, Tax.Transaction.customer_details.tax_ids[].type, and TaxId.type
    • ⚠️ Change type of Checkout.Session.payment_method_options.pix.setup_future_usage and PaymentIntent.payment_method_options.pix.setup_future_usage from literal('none') to enum('none'|'off_session')
    • Add support for new value sunbit on enums ConfirmationToken.payment_method_preview.type and PaymentMethod.type
    • Add support for pix on Invoice.create().$params.payment_setting.payment_method_option, Invoice.payment_settings.payment_method_options, Invoice.update().$params.payment_setting.payment_method_option, Mandate.payment_method_details, SetupAttempt.payment_method_details, SetupIntent.confirm().$params.payment_method_option, SetupIntent.create().$params.payment_method_option, SetupIntent.payment_method_options, SetupIntent.update().$params.payment_method_option, Subscription.create().$params.payment_setting.payment_method_option, Subscription.payment_settings.payment_method_options, and Subscription.update().$params.payment_setting.payment_method_option
    • Add support for upi on Invoice.create().$params.payment_setting.payment_method_option, Invoice.payment_settings.payment_method_options, Invoice.update().$params.payment_setting.payment_method_option, Subscription.create().$params.payment_setting.payment_method_option, Subscription.payment_settings.payment_method_options, and Subscription.update().$params.payment_setting.payment_method_option
    • Add support for new values pix and upi on enums Invoice.payment_settings.payment_method_types and Subscription.payment_settings.payment_method_types
    • Add support for card_presence on Issuing.Authorization
    • Add support for allowed_card_presences and blocked_card_presences on Issuing.Card.spending_controls, Issuing.Cardholder.spending_controls, Issuing\Card.create().$params.spending_control, Issuing\Card.update().$params.spending_control, Issuing\Cardholder.create().$params.spending_control, and Issuing\Cardholder.update().$params.spending_control
    • Add support for new value fulfillment_error on enum Issuing.Card.cancellation_reason
    • Add support for new value fulfillment_error on enum Issuing.Card.replacement_reason
    • Add support for amount and currency on Mandate.multi_use
    • Add support for amount_to_confirm on PaymentIntent.confirm().$params
    • Add support for new value sunbit on enums PaymentIntent.excluded_payment_method_types and SetupIntent.excluded_payment_method_types
    • Add support for klarna_display_qr_code on PaymentIntent.next_action
    • Add support for new value sunbit on enum PaymentLink.payment_method_types
    • Add support for new values low, not_assessed, and unknown on enum Radar.PaymentEvaluation.signals.fraudulent_payment.risk_level
    • Add support for new value account on enum Radar.ValueList.item_type
    • Add support for moto on SetupAttempt.payment_method_details.card
    • Add support for pix_display_qr_code on SetupIntent.next_action
    • Add support for error codes action_blocked and approval_required on Invoice.last_finalization_error, PaymentIntent.last_payment_error, SetupAttempt.setup_error, SetupIntent.last_setup_error, and StripeError
  • #2052 Fix 2D array parameter encoding
    • Fixes an issue encoding two-dimensional array request params where the SDK incorrectly flattens the array.

See the changelog for more details.

v20.1.0-alpha.4

v20.1.0-alpha.4 Pre-release
Pre-release

Choose a tag to compare

@prathmesh-stripe prathmesh-stripe released this 15 Apr 20:31
  • #2057 Update generated code for private-preview
    • Add support for latest_version on V2.Billing.LicenseFee, V2.Billing.PricingPlan, and V2.Billing.RateCard
    • Add support for service_interval_count and service_interval on V2.Billing.LicenseFee and V2.Billing.RateCard
  • #2055 Update generated code for private-preview
    • Add support for new resources V2.Core.WorkflowRun and V2.Core.Workflow
    • Add support for report_authorized method on resource PaymentAttemptRecord
    • Add support for all and retrieve methods on resource V2.Core.WorkflowRun
    • Add support for all, invoke, and retrieve methods on resource V2.Core.Workflow
    • Add support for next_action and status on SharedPayment.IssuedToken
    • ⚠️ Remove support for network_id on SharedPayment.IssuedToken.seller_details
    • Add support for bills on AccountSession.components
    • Add support for settlement_currencies on BalanceSettings.payments and BalanceSettings.update().$params.payment
    • Add support for default_settlement_currency on BalanceSettings.payments
    • Add support for account_funding on Charge.payment_method_details.card
    • Add support for automatic_surcharge on Checkout.Session, Checkout\Session.create().$params, PaymentLink.create().$params, and PaymentLink
    • Add support for bizum on Checkout.Session.payment_method_options and Checkout\Session.create().$params.payment_method_option
    • Add support for surcharge_cost on Checkout.Session
    • Add support for amount_surcharge on Checkout.Session.total_details
    • Add support for shared_payment_granted_token on ConfirmationToken.create().$params.payment_method_datum, PaymentIntent.confirm().$params.payment_method_datum, PaymentIntent.create().$params.payment_method_datum, PaymentIntent.update().$params.payment_method_datum, SetupIntent.confirm().$params.payment_method_datum, SetupIntent.create().$params.payment_method_datum, and SetupIntent.update().$params.payment_method_datum
    • Add support for details on Identity.VerificationReport.email
    • Add support for new value email on enums Identity.VerificationReport.type and Identity.VerificationSession.type
    • Add support for confirm on Identity\VerificationSession.create().$params and Identity\VerificationSession.update().$params
    • Add support for subscription on InvoiceItem.parent.schedule_details
    • ⚠️ Remove support for shared_payment_granted_token on PaymentIntent.confirm().$params and PaymentIntent.create().$params
    • Add support for money_services on PaymentIntent.payment_details
    • ⚠️ Remove support for external_reference on Plan
    • Change SharedPayment.GrantedToken.payment_method_details.billing_details to be required

See the changelog for more details.

v20.1.0-alpha.3

v20.1.0-alpha.3 Pre-release
Pre-release

Choose a tag to compare

@mbroshi-stripe mbroshi-stripe released this 08 Apr 20:44
  • #2053 Update generated code for private-preview
    • Add support for payment_record on ApplicationFee.fee_source
    • Add support for fleet_data on Charge.capture().$params.payment_detail, Charge.update().$params.payment_detail, PaymentIntent.capture().$params.amount_detail.line_item.payment_method_option.card, PaymentIntent.capture().$params.payment_detail, PaymentIntent.confirm().$params.amount_detail.line_item.payment_method_option.card, PaymentIntent.confirm().$params.payment_detail, PaymentIntent.create().$params.amount_detail.line_item.payment_method_option.card, PaymentIntent.create().$params.payment_detail, PaymentIntent.decrement_authorization().$params.amount_detail.line_item.payment_method_option.card, PaymentIntent.increment_authorization().$params.amount_detail.line_item.payment_method_option.card, PaymentIntent.payment_details, PaymentIntent.update().$params.amount_detail.line_item.payment_method_option.card, PaymentIntent.update().$params.payment_detail, and PaymentIntentAmountDetailsLineItem.payment_method_options.card
    • Add support for beneficiary_account, beneficiary_details, sender_account, and sender_details on Charge.capture().$params.payment_detail.money_service.account_funding, Charge.update().$params.payment_detail.money_service.account_funding, PaymentIntent.capture().$params.payment_detail.money_service.account_funding, PaymentIntent.confirm().$params.payment_detail.money_service.account_funding, PaymentIntent.create().$params.payment_detail.money_service.account_funding, and PaymentIntent.update().$params.payment_detail.money_service.account_funding
    • Change type of Charge.capture().$params.payment_detail.money_service.transaction_type, Charge.update().$params.payment_detail.money_service.transaction_type, PaymentIntent.capture().$params.payment_detail.money_service.transaction_type, PaymentIntent.confirm().$params.payment_detail.money_service.transaction_type, PaymentIntent.create().$params.payment_detail.money_service.transaction_type, and PaymentIntent.update().$params.payment_detail.money_service.transaction_type from literal('account_funding') to emptyable(literal('account_funding'))
    • Add support for new value requires_action on enum DelegatedCheckout.RequestedSession.status
    • Add support for bizum on Invoice.create().$params.payment_setting.payment_method_option, Invoice.payment_settings.payment_method_options, Invoice.update().$params.payment_setting.payment_method_option, QuotePreviewInvoice.payment_settings.payment_method_options, Subscription.create().$params.payment_setting.payment_method_option, Subscription.payment_settings.payment_method_options, and Subscription.update().$params.payment_setting.payment_method_option
    • Add support for new value bizum on enums Invoice.payment_settings.payment_method_types, QuotePreviewInvoice.payment_settings.payment_method_types, and Subscription.payment_settings.payment_method_types
    • Add support for quantity_precision on PaymentIntent.capture().$params.amount_detail.line_item, PaymentIntent.confirm().$params.amount_detail.line_item, PaymentIntent.create().$params.amount_detail.line_item, PaymentIntent.decrement_authorization().$params.amount_detail.line_item, PaymentIntent.increment_authorization().$params.amount_detail.line_item, PaymentIntent.update().$params.amount_detail.line_item, and PaymentIntentAmountDetailsLineItem
    • Add support for liquid_asset and wallet on PaymentIntent.confirm().$params.payment_method_option.card.payment_detail.money_service.account_funding, PaymentIntent.confirm().$params.payment_method_option.card_present.payment_detail.money_service.account_funding, PaymentIntent.create().$params.payment_method_option.card.payment_detail.money_service.account_funding, PaymentIntent.create().$params.payment_method_option.card_present.payment_detail.money_service.account_funding, PaymentIntent.update().$params.payment_method_option.card.payment_detail.money_service.account_funding, and PaymentIntent.update().$params.payment_method_option.card_present.payment_detail.money_service.account_funding
    • Add support for shared_payment_granted_token on PaymentMethod
    • ⚠️ Change type of Radar.CustomerEvaluation.event_type from string to enum('login'|'registration')
    • ⚠️ Change type of Radar.CustomerEvaluation.signals.account_sharing.risk_level and Radar.CustomerEvaluation.signals.multi_accounting.risk_level from string to enum
    • Add support for data on Radar.PaymentEvaluation.client_device_metadata_details and Radar\PaymentEvaluation.create().$params.client_device_metadata_detail
    • Add support for sunbit on SharedPayment.GrantedToken.payment_method_details
    • Add support for new value sunbit on enum SharedPayment.GrantedToken.payment_method_details.type
    • ⚠️ Remove support for values bm_crn, bo_tin, bt_tpn, co_nit, ec_ruc, eg_tin, gh_tin, gy_tin, hn_rtn, jm_trn, jo_crn, ke_pin, ky_crn, lk_tin, mo_tin, mv_tin, ng_tin, pa_ruc, ph_tin, py_ruc, sl_tin, sv_nit, uy_ruc, vg_cn, and za_tin from enum V2.Core.Account.identity.business_details.id_numbers[].type
    • ⚠️ Remove support for values bm_pp, bo_ci, bt_cid, eg_tin, gh_pin, gy_tin, hn_rtn, jm_trn, jo_pin, ky_pp, lk_nic, mo_bir, mt_nic, mv_tin, pa_ruc, ph_tin, py_ruc, si_pin, sv_nit, and vg_pp from enums V2.Core.Account.identity.individual.id_numbers[].type and V2.Core.AccountPerson.id_numbers[].type
    • Add support for error type CannotProceedException

See the changelog for more details.

v20.1.0-alpha.2

v20.1.0-alpha.2 Pre-release
Pre-release

Choose a tag to compare

@jar-stripe jar-stripe released this 01 Apr 23:40
  • #2051 Update generated code for private-preview
    • Add support for new resources SharedPayment.IssuedToken and V2.Data.Reporting.QueryRun
    • Add support for create and retrieve methods on resource V2.Data.Reporting.QueryRun
    • Add support for pause and resume methods on resource V2.Payments.OffSessionPayment
    • Add support for tenant_keys, tenant_operator, and tenant_values on Billing\MeterEventSummary.all().$params
    • Add support for money_services on Charge.capture().$params.payment_detail, Charge.update().$params.payment_detail, PaymentIntent.capture().$params.payment_detail, PaymentIntent.confirm().$params.payment_detail, PaymentIntent.create().$params.payment_detail, and PaymentIntent.update().$params.payment_detail
    • Add support for payment_method_options on DelegatedCheckout.RequestedSession, DelegatedCheckout\RequestedSession.create().$params, and DelegatedCheckout\RequestedSession.update().$params
    • ⚠️ Remove support for payment_method_data on DelegatedCheckout\RequestedSession.confirm().$params, DelegatedCheckout\RequestedSession.create().$params, and DelegatedCheckout\RequestedSession.update().$params
    • Add support for card_brands and payment_method_types on DelegatedCheckout.RequestedSession.seller_details
    • Change type of DelegatedCheckout.RequestedSession.shared_payment_issued_token from string to expandable($SharedPayment.IssuedToken)
    • Add support for check_scan on Invoice.create().$params.payment_setting.payment_method_option, Invoice.payment_settings.payment_method_options, Invoice.update().$params.payment_setting.payment_method_option, QuotePreviewInvoice.payment_settings.payment_method_options, Subscription.create().$params.payment_setting.payment_method_option, Subscription.payment_settings.payment_method_options, and Subscription.update().$params.payment_setting.payment_method_option
    • Add support for new value check_scan on enums Invoice.payment_settings.payment_method_types, QuotePreviewInvoice.payment_settings.payment_method_types, and Subscription.payment_settings.payment_method_types
    • Add support for processor_details on PaymentAttemptRecord.report_failed().$params, PaymentAttemptRecord.report_guaranteed().$params, PaymentRecord.report_payment().$params.failed, PaymentRecord.report_payment().$params.guaranteed, PaymentRecord.report_payment_attempt().$params.failed, PaymentRecord.report_payment_attempt().$params.guaranteed, PaymentRecord.report_payment_attempt_failed().$params, and PaymentRecord.report_payment_attempt_guaranteed().$params
    • Add support for payment_details on PaymentIntent.confirm().$params.payment_method_option.card_present, PaymentIntent.confirm().$params.payment_method_option.card, PaymentIntent.create().$params.payment_method_option.card_present, PaymentIntent.create().$params.payment_method_option.card, PaymentIntent.update().$params.payment_method_option.card_present, and PaymentIntent.update().$params.payment_method_option.card
    • ⚠️ Remove support for bill_from on QuotePreviewSubscriptionSchedule.billing_schedules[], Subscription.billing_schedules[], and SubscriptionSchedule.billing_schedules[]
    • Add support for agent_details, payment_method_details, and risk_details on SharedPayment.GrantedToken
    • Add support for paper_checks on V2.Account.configuration.recipient_data.features, V2.Core.Account.configuration.recipient.capabilities, V2.Core.Account.configuration.storer.capabilities.outbound_payments, V2\Account.create().$params.configuration.recipient_datum.feature, V2\Account.update().$params.configuration.recipient_datum.feature, V2\Core\Account.create().$params.configuration.recipient.capability, V2\Core\Account.create().$params.configuration.storer.capability.outbound_payment, V2\Core\Account.update().$params.configuration.recipient.capability, and V2\Core\Account.update().$params.configuration.storer.capability.outbound_payment
    • Add support for new value paper_checks on enum V2.Account.configuration.supportable_features.recipient_data
    • Add support for new value paper_checks on enum V2.Account.requirements[].impact.required_for_features
    • ⚠️ Change type of V2.Billing.Cadence.settings_data.collection.payment_method_options.konbini, V2.Billing.CollectionSetting.payment_method_options.konbini, V2.Billing.CollectionSettingVersion.payment_method_options.konbini, V2\Billing\CollectionSetting.create().$params.payment_method_option.konbini, and V2\Billing\CollectionSetting.update().$params.payment_method_option.konbini from map(string: dynamic) to an object
    • ⚠️ Change type of V2.Billing.Cadence.settings_data.collection.payment_method_options.sepa_debit, V2.Billing.CollectionSetting.payment_method_options.sepa_debit, V2.Billing.CollectionSettingVersion.payment_method_options.sepa_debit, V2\Billing\CollectionSetting.create().$params.payment_method_option.sepa_debit, and V2\Billing\CollectionSetting.update().$params.payment_method_option.sepa_debit from map(string: dynamic) to an object
    • Add support for id on V2.Billing.CadenceSpendModifier.max_billing_period_spend.amount.custom_pricing_unit, V2.Billing.IntentAction.apply.spend_modifier_rule.max_billing_period_spend.amount.custom_pricing_unit, and V2\Billing\Intent.create().$params.action.apply.spend_modifier_rule.max_billing_period_spend.amount.custom_pricing_unit
    • Add support for new values outbound_payments.paper_checks and paper_checks on enums V2.Core.Account.future_requirements.entries[].impact.restricts_capabilities[].capability and V2.Core.Account.requirements.entries[].impact.restricts_capabilities[].capability
    • Add support for new values bm_crn, bo_tin, bt_tpn, co_nit, ec_ruc, eg_tin, gh_tin, gy_tin, hn_rtn, jm_trn, jo_crn, ke_pin, ky_crn, lk_tin, mo_tin, mv_tin, ng_tin, pa_ruc, ph_tin, py_ruc, sl_tin, sv_nit, uy_ruc, vg_cn, and za_tin on enum V2.Core.Account.identity.business_details.id_numbers[].type
    • Add support for new values bm_pp, bo_ci, bt_cid, eg_tin, gh_pin, gy_tin, hn_rtn, jm_trn, jo_pin, ky_pp, lk_nic, mo_bir, mt_nic, mv_tin, pa_ruc, ph_tin, py_ruc, si_pin, sv_nit, and vg_pp on enums V2.Core.Account.identity.individual.id_numbers[].type and V2.Core.AccountPerson.id_numbers[].type
    • ⚠️ Change type of V2.Core.Event.reason.request.client.stripe_action from map(string: dynamic) to an object
    • ⚠️ Change type of V2.MoneyManagement.InboundTransfer.transfer_history[].bank_debit_processing from map(string: dynamic) to an object
    • ⚠️ Change type of V2.MoneyManagement.InboundTransfer.transfer_history[].bank_debit_queued from map(string: dynamic) to an object
    • ⚠️ Change type of V2.MoneyManagement.InboundTransfer.transfer_history[].bank_debit_succeeded from map(string: dynamic) to an object
    • Add support for new values paper_check_attachment_too_large, paper_check_expired, and paper_check_undeliverable on enum V2.MoneyManagement.OutboundPayment.status_details.failed.reason
    • ⚠️ Remove support for town on V2.MoneyManagement.OutboundPayment.tracking_details.paper_check.mailing_address
    • Change V2.MoneyManagement.OutboundPayment.delivery_options.paper_check.memo to be required
    • Add support for new value payout_method_amount_limit_exceeded on enum V2.MoneyManagement.OutboundTransfer.status_details.failed.reason
    • Add support for application_fee_amount_requested on V2.Payments.OffSessionPayment
    • ⚠️ Remove support for compartment_id on V2.Payments.OffSessionPayment
    • Add support for new value exceeded_retry_window on enum V2.Payments.OffSessionPayment.failure_reason
    • Add support for retry_until on V2.Payments.OffSessionPayment.retry_details
    • Add support for new value paused on enum V2.Payments.OffSessionPayment.status
    • ⚠️ Change V2.Reporting.ReportRun.result.file to be optional
    • Add support for application_fee_amount on V2\Payments\OffSessionPayment.capture().$params and V2\Payments\OffSessionPayment.create().$params
    • Add support for new value paper_checks on enum EventsV2CoreAccountIncludingConfigurationRecipientCapabilityStatusUpdatedEvent.updated_capability
    • Add support for new value outbound_payments.paper_checks on enum EventsV2CoreAccountIncludingConfigurationStorerCapabilityStatusUpdatedEvent.updated_capability
    • Add support for alert_id on EventsV2CoreHealthApiErrorResolvedEvent, EventsV2CoreHealthApiLatencyResolvedEvent, EventsV2CoreHealthAuthorizationRateDropResolvedEvent, EventsV2CoreHealthIssuingAuthorizationRequestErrorsFiringEvent, EventsV2CoreHealthIssuingAuthorizationRequestErrorsResolvedEvent, EventsV2CoreHealthIssuingAuthorizationRequestTimeoutResolvedEvent, EventsV2CoreHealthPaymentMethodErrorResolvedEvent, EventsV2CoreHealthSepaDebitDelayedFiringEvent, EventsV2CoreHealthSepaDebitDelayedResolvedEvent, EventsV2CoreHealthTrafficVolumeDropResolvedEvent, and EventsV2CoreHealthWebhookLatencyResolvedEvent
    • Add support for api_key on EventsV2IamApiKeyCreatedEvent, EventsV2IamApiKeyDefaultSecretRevealedEvent, EventsV2IamApiKeyExpiredEvent, EventsV2IamApiKeyPermissionsUpdatedEvent, EventsV2IamApiKeyRotatedEvent, and EventsV2IamApiKeyUpdatedEvent
    • Add support for stripe_access_grant on EventsV2IamStripeAccessGrantApprovedEvent, EventsV2IamStripeAccessGrantCanceledEvent, EventsV2IamStripeAccessGrantDeniedEvent, EventsV2IamStripeAccessGrantRemovedEvent, EventsV2IamStripeAccessGrantRequestedEvent, and EventsV2IamStripeAccessGrantUpdatedEvent
    • Add support for event notifications V2DataReportingQueryRunCreatedEvent, V2DataReportingQueryRunFailedEvent, V2DataReportingQueryRunSucceededEvent, and `V2DataReportingQueryRunUpdat...
Read more

v20.1.0-beta.1

v20.1.0-beta.1 Pre-release
Pre-release

Choose a tag to compare

@xavdid-stripe xavdid-stripe released this 26 Mar 02:16

This release changes the pinned API version to 2026-03-25.preview. It is built on top of SDK version 20.0.0 which contains breaking changes. Please review the changelog for 20.0.0 if upgrading from older SDK versions.

  • #2047 Update generated code for beta
  • #2045 Update generated code for beta
    • Release specs are identical.
  • #2020 Update generated code for beta
    • Add support for new resources ProductCatalog.TrialOffer, Tax.Location, and V2.Core.BatchJob
    • Add support for create method on resource ProductCatalog.TrialOffer
    • Add support for all, create, and retrieve methods on resource Tax.Location
    • Add support for cancel, create, and retrieve methods on resource V2.Core.BatchJob
    • Add support for performance_location on Tax.CalculationLineItem and Tax\Calculation.create().$params.line_item
    • Add support for new value performance on enums Tax.Calculation.shipping_cost.tax_breakdown[].sourcing, Tax.CalculationLineItem.tax_breakdown[].sourcing, and Tax.Transaction.shipping_cost.tax_breakdown[].sourcing
    • Add support for new values admissions_tax, attendance_tax, entertainment_tax, gross_receipts_tax, hospitality_tax, luxury_tax, resort_tax, and tourism_tax on enums Tax.Calculation.shipping_cost.tax_breakdown[].tax_rate_details.tax_type, Tax.Calculation.tax_breakdown[].tax_rate_details.tax_type, Tax.CalculationLineItem.tax_breakdown[].tax_rate_details.tax_type, and Tax.Transaction.shipping_cost.tax_breakdown[].tax_rate_details.tax_type
    • Add support for trial_offer on Invoice.create_preview().$params.schedule_detail.amendment.item_action.add, Invoice.create_preview().$params.schedule_detail.amendment.item_action.set, Invoice.create_preview().$params.schedule_detail.phase.item, Quote.create().$params.line.action.add_item, Quote.create().$params.line.action.set_item, Quote.update().$params.line.action.add_item, Quote.update().$params.line.action.set_item, QuoteLine.actions[].add_item, QuoteLine.actions[].set_items[], QuotePreviewSubscriptionSchedule.phases[].items[], SubscriptionSchedule.amend().$params.amendment.item_action.add, SubscriptionSchedule.amend().$params.amendment.item_action.set, SubscriptionSchedule.create().$params.phase.item, SubscriptionSchedule.phases[].items[], and SubscriptionSchedule.update().$params.phase.item
    • Add support for risk_reserved on Balance
    • ⚠️ Remove support for source_type on Charge.payment_method_details.stripe_balance, ConfirmationToken.create().$params.payment_method_datum.stripe_balance, ConfirmationToken.payment_method_preview.stripe_balance, PaymentAttemptRecord.payment_method_details.stripe_balance, PaymentIntent.confirm().$params.payment_method_datum.stripe_balance, PaymentIntent.create().$params.payment_method_datum.stripe_balance, PaymentIntent.update().$params.payment_method_datum.stripe_balance, PaymentMethod.create().$params.stripe_balance, PaymentMethod.stripe_balance, PaymentRecord.payment_method_details.stripe_balance, SetupIntent.confirm().$params.payment_method_datum.stripe_balance, SetupIntent.create().$params.payment_method_datum.stripe_balance, and SetupIntent.update().$params.payment_method_datum.stripe_balance
    • Add support for tax_details on Checkout\Session.create().$params.line_item.price_datum.product_datum, Checkout\Session.update().$params.line_item.price_datum.product_datum, Invoice.add_lines().$params.line.price_datum.product_datum, Invoice.update_lines().$params.line.price_datum.product_datum, InvoiceLineItem.update().$params.price_datum.product_datum, PaymentLink.create().$params.line_item.price_datum.product_datum, Plan.create().$params.product, Price.create().$params.product_datum, Product.create().$params, and Product.update().$params
    • Add support for pending_invoice_item_interval on Checkout\Session.update().$params.subscription_datum
    • Add support for hosted and ui_mode on FinancialConnections.Session and FinancialConnections\Session.create().$params
    • Add support for url on FinancialConnections.Session
    • Add support for expires_after_seconds on Invoice.create().$params.payment_setting.payment_method_option.pix, Invoice.payment_settings.payment_method_options.pix, Invoice.update().$params.payment_setting.payment_method_option.pix, QuotePreviewInvoice.payment_settings.payment_method_options.pix, Subscription.create().$params.payment_setting.payment_method_option.pix, Subscription.payment_settings.payment_method_options.pix, and Subscription.update().$params.payment_setting.payment_method_option.pix
    • Add support for current_trial on Invoice.create_preview().$params.subscription_detail.item, Subscription.create().$params.item, Subscription.update().$params.item, SubscriptionItem.create().$params, SubscriptionItem.update().$params, and SubscriptionItem
    • Add support for surcharge on PaymentIntent.amount_details, PaymentIntent.capture().$params.amount_detail, PaymentIntent.confirm().$params.amount_detail, PaymentIntent.create().$params.amount_detail, PaymentIntent.increment_authorization().$params.amount_detail, and PaymentIntent.update().$params.amount_detail
    • Add support for amount_details and payment_details on PaymentIntent.decrement_authorization().$params
    • Add support for mandate_options on PaymentIntent.payment_method_options.stripe_balance
    • Add support for managed_payments on PaymentLink.create().$params and PaymentLink
    • Add support for stripe_balance on SetupIntent.confirm().$params.payment_method_option, SetupIntent.create().$params.payment_method_option, SetupIntent.payment_method_options, and SetupIntent.update().$params.payment_method_option
    • Add support for billing_cycle_anchor on Subscription.create().$params.trial_setting.end_behavior, Subscription.trial_settings.end_behavior, and Subscription.update().$params.trial_setting.end_behavior
    • Add support for admissions_tax, attendance_tax, entertainment_tax, gross_receipts_tax, hospitality_tax, luxury_tax, resort_tax, and tourism_tax on Tax.Registration.country_options.us
    • Add support for new values admissions_tax, attendance_tax, entertainment_tax, gross_receipts_tax, hospitality_tax, luxury_tax, resort_tax, and tourism_tax on enum Tax.Registration.country_options.us.type
    • Add support for requirements on TaxCode
    • ⚠️ Change type of V2.Billing.Cadence.settings_data.collection.payment_method_options.card.mandate_options.amount, V2.Billing.CollectionSetting.payment_method_options.card.mandate_options.amount, V2.Billing.CollectionSettingVersion.payment_method_options.card.mandate_options.amount, V2\Billing\CollectionSetting.create().$params.payment_method_option.card.mandate_option.amount, and V2\Billing\CollectionSetting.update().$params.payment_method_option.card.mandate_option.amount from longInteger to int64_string
    • Add support for new values ar_bank_account, co_bank_account, and eg_bank_account on enum V2.Core.Account.configuration.recipient.default_outbound_destination.type
    • Add support for timezone on V2.Core.Account.defaults, V2\Core\Account.create().$params.default, and V2\Core\Account.update().$params.default
    • Add support for azure_event_grid on V2.Core.EventDestination and V2\Core\EventDestination.create().$params
    • Add support for new value no_azure_partner_topic_exists on enum V2.Core.EventDestination.status_details.disabled.reason
    • Add support for new value azure_event_grid on enum V2.Core.EventDestination.type
    • Add support for supported_currencies on V2.Core.Vault.GbBankAccount, V2.Core.Vault.UsBankAccount, and V2.MoneyManagement.PayoutMethod.card
    • ⚠️ Change V2.Core.Vault.GbBankAccount.sort_code and V2\Core\Vault\GbBankAccount.create().$params.sort_code to be optional
    • Add support for restricted on V2.MoneyManagement.PayoutMethod
    • Add support for currencies on V2.MoneyManagement.PayoutMethodsBankAccountSpec.countries.value.fields[]
    • Add support for counterparty and description on V2.MoneyManagement.Transaction
    • ⚠️ Add support for currency on V2\Core\Vault\GbBankAccount.create().$params, V2\Core\Vault\UsBankAccount.create().$params, V2\MoneyManagement\OutboundSetupIntent.create().$params.payout_method_datum.bank_account, V2\MoneyManagement\OutboundSetupIntent.create().$params.payout_method_datum.card, V2\MoneyManagement\OutboundSetupIntent.update().$params.payout_method_datum.bank_account, and V2\MoneyManagement\OutboundSetupIntent.update().$params.payout_method_datum.card
    • Add support for iban on V2\Core\Vault\GbBankAccount.create().$params
    • Change V2\Core\Vault\GbBankAccount.create().$params.account_number to be optional
    • Add support for new value currency on enum InvalidPaymentMethodException.invalid_param
    • Add support for event notifications V2CoreBatchJobBatchFailedEvent, V2CoreBatchJobCanceledEvent, V2CoreBatchJobCompletedEvent, V2CoreBatchJobCreatedEvent, V2CoreBatchJobReadyForUploadEvent, V2CoreBatchJobTimeoutEvent, V2CoreBatchJobUpdatedEvent, V2CoreBatchJobUploadTimeoutEvent, V2CoreBatchJobValidatingEvent, and V2CoreBatchJobValidationFailedEvent with related object V2.Core.BatchJob
    • Add support for error code service_period_coupon_with_metered_tiered_item_unsupported on QuotePreviewInvoice.last_finalization_error
  • #2028 Merge to beta

See the changelog for more details.