Weave Code
Code Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Stripe Php Laravel Package

stripe/stripe-php

Official Stripe PHP SDK for accessing the Stripe API. Install via Composer, configure your API key, and use resource classes to create charges, customers, subscriptions, and more. Works with PHP 7.2+ (requires curl, json, mbstring).

View on GitHub
Deep Wiki
Context7
v20.1.0-alpha.3
  • #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
  • #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 V2DataReportingQueryRunUpdatedEvent with related object V2.Data.Reporting.QueryRun
    • Add support for event notifications V2PaymentsOffSessionPaymentPausedEvent and V2PaymentsOffSessionPaymentResumedEvent with related object V2.Payments.OffSessionPayment

See the changelog for more details.

v20.1.0-alpha.1

This release changes the pinned API version to 2026-03-25.preview and contains additional breaking changes. See the GA changelog for more information.

  • #2049 Update generated code for private-preview
    • Add support for new resource RiskSignals
    • Add support for financial_account_rewards and nesting_demo on AccountSession.components
    • Add support for upi_payments on Account.capabilities, Account.create().$params.capability, and Account.update().$params.capability
    • Add support for risk_signals on Account
    • Add support for fraud_intent on AccountSignals
    • Add support for new value related_accounts on enum AccountSignals.delinquency.indicators[].indicator
    • Add support for risk_reserved on Balance
    • ⚠️ Remove support for billable_items on Billing.Alert.spend_threshold.filters
    • Add support for upi on Charge.payment_method_details, Checkout.Session.payment_method_options, Checkout\Session.create().$params.payment_method_option, ConfirmationToken.create().$params.payment_method_datum, ConfirmationToken.payment_method_preview, Mandate.payment_method_details, PaymentAttemptRecord.payment_method_details, PaymentIntent.confirm().$params.payment_method_datum, PaymentIntent.confirm().$params.payment_method_option, PaymentIntent.create().$params.payment_method_datum, PaymentIntent.create().$params.payment_method_option, PaymentIntent.payment_method_options, PaymentIntent.update().$params.payment_method_datum, PaymentIntent.update().$params.payment_method_option, PaymentMethod.create().$params, PaymentMethodConfiguration.create().$params, PaymentMethodConfiguration.update().$params, PaymentMethodConfiguration, PaymentMethod, PaymentRecord.payment_method_details, SetupAttempt.payment_method_details, SetupIntent.confirm().$params.payment_method_datum, SetupIntent.confirm().$params.payment_method_option, SetupIntent.create().$params.payment_method_datum, SetupIntent.create().$params.payment_method_option, SetupIntent.payment_method_options, SetupIntent.update().$params.payment_method_datum, and SetupIntent.update().$params.payment_method_option
    • Add support for new value tempo on enums Charge.payment_method_details.crypto.network, PaymentAttemptRecord.payment_method_details.crypto.network, and PaymentRecord.payment_method_details.crypto.network
    • ⚠️ 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 integration_identifier on Checkout.Session and Checkout\Session.create().$params
    • Change type of Checkout\Session.create().$params.line_item.price_datum.product_datum.tax_detail.tax_code, Checkout\Session.update().$params.line_item.price_datum.product_datum.tax_detail.tax_code, Invoice.add_lines().$params.line.price_datum.product_datum.tax_detail.tax_code, Invoice.update_lines().$params.line.price_datum.product_datum.tax_detail.tax_code, InvoiceLineItem.update().$params.price_datum.product_datum.tax_detail.tax_code, PaymentLink.create().$params.line_item.price_datum.product_datum.tax_detail.tax_code, Plan.create().$params.product.tax_detail.tax_code, Price.create().$params.product_datum.tax_detail.tax_code, Product.create().$params.tax_detail.tax_code, and Product.update().$params.tax_detail.tax_code from string to emptyable(string)
    • Add support for crypto on Checkout\Session.create().$params.payment_method_option
    • Add support for pending_invoice_item_interval on Checkout\Session.create().$params.subscription_datum and Checkout\Session.update().$params.subscription_datum
    • Change Checkout\Session.create().$params.line_item.price_datum.product_datum.tax_detail.tax_code, Checkout\Session.update().$params.line_item.price_datum.product_datum.tax_detail.tax_code, Invoice.add_lines().$params.line.price_datum.product_datum.tax_detail.tax_code, Invoice.update_lines().$params.line.price_datum.product_datum.tax_detail.tax_code, InvoiceLineItem.update().$params.price_datum.product_datum.tax_detail.tax_code, PaymentLink.create().$params.line_item.price_datum.product_datum.tax_detail.tax_code, Plan.create().$params.product.tax_detail.tax_code, Price.create().$params.product_datum.tax_detail.tax_code, Product.create().$params.tax_detail.tax_code, and Product.update().$params.tax_detail.tax_code to be optional
    • Add support for new value application on enums Checkout.Session.automatic_tax.liability.type, Checkout.Session.invoice_creation.invoice_data.issuer.type, Invoice.automatic_tax.liability.type, Invoice.issuer.type, PaymentLink.automatic_tax.liability.type, PaymentLink.invoice_creation.invoice_data.issuer.type, PaymentLink.subscription_data.invoice_settings.issuer.type, Quote.automatic_tax.liability.type, Quote.invoice_settings.issuer.type, QuotePreviewInvoice.automatic_tax.liability.type, QuotePreviewInvoice.issuer.type, QuotePreviewSubscriptionSchedule.default_settings.automatic_tax.liability.type, QuotePreviewSubscriptionSchedule.default_settings.invoice_settings.issuer.type, QuotePreviewSubscriptionSchedule.phases[].automatic_tax.liability.type, QuotePreviewSubscriptionSchedule.phases[].invoice_settings.issuer.type, Subscription.automatic_tax.liability.type, Subscription.invoice_settings.issuer.type, SubscriptionSchedule.default_settings.automatic_tax.liability.type, SubscriptionSchedule.default_settings.invoice_settings.issuer.type, SubscriptionSchedule.phases[].automatic_tax.liability.type, and SubscriptionSchedule.phases[].invoice_settings.issuer.type
    • Add support for au_becs_debit, bacs_debit, boleto, link, sepa_debit, and us_bank_account on Checkout.Session.current_attempt.payment_method_details
    • Add support for new values elements, embedded_page, form, and hosted_page on enum Checkout.Session.ui_mode
    • ⚠️ Remove support for values custom, embedded, and hosted from enum Checkout.Session.ui_mode
    • Add support for new value marine_carbon_removal on enum Climate.Supplier.removal_pathway
    • Add support for new value upi on enums ConfirmationToken.payment_method_preview.type and PaymentMethod.type
    • Add support for metadata on CreditNote.create().$params.line, CreditNote.preview().$params.line, CreditNote.preview_lines().$params.line, and CreditNoteLineItem
    • Add support for selected_fulfillment_option_overrides on DelegatedCheckout.RequestedSession.fulfillment_details
    • Add support for line_item_keys on DelegatedCheckout.RequestedSession.fulfillment_details.fulfillment_options[].digital.digital_options[] and DelegatedCheckout.RequestedSession.fulfillment_details.fulfillment_options[].shipping.shipping_options[]
    • Add support for quantity_decimal on Invoice.add_lines().$params.line, Invoice.create_preview().$params.invoice_item, Invoice.update_lines().$params.line, InvoiceItem.create().$params, InvoiceItem.update().$params, InvoiceItem, InvoiceLineItem.update().$params, and InvoiceLineItem
    • 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 level on Issuing\Authorization.create().$params.risk_assessment.card_testing_risk and Issuing\Authorization.create().$params.risk_assessment.merchant_dispute_risk
    • ⚠️ Remove support for risk_level on Issuing\Authorization.create().$params.risk_assessment.card_testing_risk and Issuing\Authorization.create().$params.risk_assessment.merchant_dispute_risk
    • Add support for new values da, pl, and sv on enum Issuing.Cardholder.preferred_locales
    • Add support for lifecycle_controls on Issuing.Card and Issuing\Card.create().$params
    • ⚠️ Change type of Issuing.Token.network_data.visa.card_reference_id from string to nullable(string)
    • ⚠️ Change type of PaymentAttemptRecord.payment_method_details.card.brand and PaymentRecord.payment_method_details.card.brand from enum to nullable(enum)
    • ⚠️ Change type of PaymentAttemptRecord.payment_method_details.card.exp_month and PaymentRecord.payment_method_details.card.exp_month from longInteger to nullable(longInteger)
    • ⚠️ Change type of PaymentAttemptRecord.payment_method_details.card.exp_year and PaymentRecord.payment_method_details.card.exp_year from longInteger to nullable(longInteger)
    • ⚠️ Change type of PaymentAttemptRecord.payment_method_details.card.funding and PaymentRecord.payment_method_details.card.funding from enum('credit'|'debit'|'prepaid'|'unknown') to nullable(enum('credit'|'debit'|'prepaid'|'unknown'))
    • ⚠️ Change type of PaymentAttemptRecord.payment_method_details.card.last4 and PaymentRecord.payment_method_details.card.last4 from string to nullable(string)
    • ⚠️ Change type of PaymentAttemptRecord.payment_method_details.card.moto and PaymentRecord.payment_method_details.card.moto from boolean to nullable(boolean)
    • Add support for cryptogram, electronic_commerce_indicator, exemption_indicator_applied, and exemption_indicator on PaymentAttemptRecord.payment_method_details.card.three_d_secure and PaymentRecord.payment_method_details.card.three_d_secure
    • 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 mandate_options on PaymentIntent.confirm().$params.payment_method_option.stripe_balance, PaymentIntent.create().$params.payment_method_option.stripe_balance, PaymentIntent.payment_method_options.stripe_balance, and PaymentIntent.update().$params.payment_method_option.stripe_balance
    • Add support for amount_details and payment_details on PaymentIntent.decrement_authorization().$params
    • Add support for new value upi on enums PaymentIntent.excluded_payment_method_types and SetupIntent.excluded_payment_method_types
    • Add support for upi_handle_redirect_or_display_qr_code on PaymentIntent.next_action and SetupIntent.next_action
    • Add support for managed_payments on PaymentLink.create().$params and PaymentLink
    • Add support for new value upi on enum PaymentLink.payment_method_types
    • Add support for recommended_action and signals on Radar.PaymentEvaluation
    • ⚠️ Remove support for insights on Radar.PaymentEvaluation
    • Add support for new value crypto_fingerprint on enum Radar.ValueList.item_type
    • 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 new value resolved on enum SharedPayment.GrantedToken.deactivated_reason
    • Add support for recurring_interval on SharedPayment.GrantedToken.usage_limits
    • ⚠️ Change type of SharedPayment.GrantedToken.usage_limits.expires_at from DateTime to nullable(DateTime)
    • Add support for presentment_details on Subscription
    • Add support for new value canceled_by_retention_policy on enum Subscription.cancellation_details.reason
    • ⚠️ Remove support for invoice_resources on V2.Billing.Intent
    • ⚠️ Remove support for amount_due and customer_balance_applied on V2.Billing.Intent.amount_details
    • Add support for recurring_credit_grant on V2.Billing.IntentAction.modify.pricing_plan_subscription_details.overrides.partial_period_behaviors[], V2.Billing.IntentAction.subscribe.pricing_plan_subscription_details.overrides.partial_period_behaviors[], V2\Billing\Intent.create().$params.action.modify.pricing_plan_subscription_detail.override.partial_period_behavior, and V2\Billing\Intent.create().$params.action.subscribe.pricing_plan_subscription_detail.override.partial_period_behavior
    • Add support for consumer_privacy_disclosures and consumer_storer on V2.Core.Account.identity.attestations.terms_of_service, V2\Core\Account.create().$params.identity.attestation.terms_of_service, and V2\Core\Account.update().$params.identity.attestation.terms_of_service
    • ⚠️ Remove support for include on V2\Billing\Intent.create().$params and V2\Billing\Intent.reserve().$params
    • Add support for error code service_period_coupon_with_metered_tiered_item_unsupported on Invoice.last_finalization_error, PaymentIntent.last_payment_error, QuotePreviewInvoice.last_finalization_error, SetupAttempt.setup_error, SetupIntent.last_setup_error, and StripeError
  • #2048 Update generated code for private-preview
    • Release specs are identical.
  • #2037 Update generated code for private-preview
    • Add support for new resource V2.Core.AccountEvaluation
    • ⚠️ Remove support for resources V2.Billing.LicenseFeeSubscription and V2.Billing.PricingPlanSubscriptionComponents
    • Add support for create method on resource V2.Core.AccountEvaluation
    • ⚠️ Remove support for retrieve method on resources V2.Billing.LicenseFeeSubscription and V2.Billing.PricingPlanSubscriptionComponents
    • Add support for modify_rates method on resource V2.Billing.RateCard
    • Add support for remove_discounts method on resource V2.Billing.PricingPlanSubscription
    • Add support for new value eg_bank_account on enum V2.Account.configuration.recipient_data.default_outbound_destination.type
    • Add support for invoice_resources on V2.Billing.Intent
    • Add support for amount_due and customer_balance_applied on V2.Billing.Intent.amount_details
    • Add support for expires_at on V2.Billing.Intent.status_transitions
    • Add support for discount on V2.Billing.IntentAction.apply and V2\Billing\Intent.create().$params.action.apply
    • Add support for timestamp on V2.Billing.IntentAction.apply.effective_at and V2\Billing\Intent.create().$params.action.apply.effective_at
    • Add support for new values current_billing_period_start and timestamp on enum V2.Billing.IntentAction.apply.effective_at.type
    • Add support for new value discount on enum V2.Billing.IntentAction.apply.type
    • ⚠️ Change type of V2.Billing.IntentAction.deactivate.pricing_plan_subscription_details.overrides.partial_period_behaviors[].type, V2.Billing.IntentAction.modify.pricing_plan_subscription_details.overrides.partial_period_behaviors[].type, V2.Billing.IntentAction.subscribe.pricing_plan_subscription_details.overrides.partial_period_behaviors[].type, V2\Billing\Intent.create().$params.action.deactivate.pricing_plan_subscription_detail.override.partial_period_behavior.type, V2\Billing\Intent.create().$params.action.modify.pricing_plan_subscription_detail.override.partial_period_behavior.type, and V2\Billing\Intent.create().$params.action.subscribe.pricing_plan_subscription_detail.override.partial_period_behavior.type from literal('license_fee') to enum('license_fee'|'recurring_credit_grant')
    • Add support for service_cycle on V2.Billing.LicenseFee and V2.Billing.RateCard
    • ⚠️ Remove support for latest_version on V2.Billing.LicenseFee, V2.Billing.PricingPlan, and V2.Billing.RateCard
    • ⚠️ Remove support for service_interval_count and service_interval on V2.Billing.LicenseFee and V2.Billing.RateCard
    • ⚠️ Change type of V2.Billing.LicenseFee.transform_quantity.divide_by, V2.Billing.LicenseFeeVersion.transform_quantity.divide_by, V2.Billing.RateCardRate.transform_quantity.divide_by, V2\Billing\LicenseFee.create().$params.transform_quantity.divide_by, V2\Billing\LicenseFee.update().$params.transform_quantity.divide_by, and V2\Billing\RateCardRate.create().$params.transform_quantity.divide_by from longInteger to int64_string
    • Add support for discount_details and pricing_plan_component_details on V2.Billing.PricingPlanSubscription
    • Add support for new value crypto_wallets on enums V2.Core.Account.future_requirements.entries[].impact.restricts_capabilities[].capability and V2.Core.Account.requirements.entries[].impact.restricts_capabilities[].capability
    • ⚠️ Remove support for value crypto from enums V2.Core.Account.future_requirements.entries[].impact.restricts_capabilities[].capability and V2.Core.Account.requirements.entries[].impact.restricts_capabilities[].capability
    • Add support for balance_by_funds_type on V2.MoneyManagement.FinancialAccount.payments
    • Add support for new value next_day_payout_fee on enum V2.MoneyManagement.OutboundPaymentQuote.estimated_fees[].type
    • Add support for treasury_transaction_entry on V2.MoneyManagement.TransactionEntry
    • Add support for treasury_credit_reversal, treasury_debit_reversal, treasury_inbound_transfer, treasury_issuing_authorization, treasury_outbound_payment, treasury_outbound_transfer, treasury_received_credit, and treasury_received_debit on V2.MoneyManagement.Transaction.flow and V2.MoneyManagement.TransactionEntry.transaction_details.flow
    • Add support for new values treasury_credit_reversal, treasury_debit_reversal, treasury_inbound_transfer, treasury_issuing_authorization, treasury_other, treasury_outbound_payment, treasury_outbound_transfer, treasury_received_credit, and treasury_received_debit on enums V2.MoneyManagement.Transaction.flow.type and V2.MoneyManagement.TransactionEntry.transaction_details.flow.type
    • Add support for treasury_transaction on V2.MoneyManagement.Transaction
    • Add support for new value no_valid_payment_method on enum V2.Payments.OffSessionPayment.failure_reason
    • Add support for metadata on V2.Payments.SettlementAllocationIntentSplit
    • ⚠️ Change type of V2.Reporting.ReportRun.result.file.size from longInteger to int64_string
    • Add support for statement_descriptor on V2\MoneyManagement\OutboundPayment.create().$params and V2\MoneyManagement\OutboundTransfer.create().$params
    • Add support for include on V2\Billing\Intent.create().$params, V2\Billing\Intent.reserve().$params, V2\Billing\PricingPlanSubscription.all().$params, V2\Billing\PricingPlanSubscription.retrieve().$params, V2\MoneyManagement\FinancialAccount.all().$params, and V2\MoneyManagement\FinancialAccount.retrieve().$params
    • Add support for event notifications V1AccountSignalsIncludingDelinquencyCreatedEvent, V2CoreAccountSignalsFraudulentWebsiteReadyEvent, and V2SignalsAccountSignalFraudulentMerchantReadyEvent
  • #2040 Merge to private-preview

See the changelog for more details.

v20.1.0-beta.1

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.

v20.0.0

This release changes the pinned API version to 2026-03-25.dahlia and contains breaking changes (prefixed with ⚠️ below). There's also a detailed migration guide to simplify your upgrade process.

Please review details for the breaking changes and alternatives in the Stripe API changelog before upgrading.

  • ⚠️ Breaking change: #2038 Drop support for PHP < 7.2. This is also the last major version to support PHP 7.2 and 7.3. Please upgrade to 7.4+ before September 2026. See the versioning policy for more information.
  • ⚠️ Breaking change: #2042 Preserve null values in v2 JSON request bodies
    • The SDK now preserves and sends null when set in V2 API metadata and params, enabling you to clear metadata entries and some unsettable properties for V2 APIs.
    • ⚠️ The Util::objectsToIds() method now has a required $serializeNull parameter to indicate if null values set in the object should be output in the resulting hash. This is relevant for V2 POST APIs to let callers clear emptyable values.
  • #1917 Avoid using func_get_args
  • #2011 Ensure that previous_attributes is always an instance of StripeObject
  • #2033 Add runtime support for V2 int64 string-encoded fields

See the changelog for more details.

v19.5.0-alpha.4
  • #2035 Update generated code for private-preview
    • Add support for simulate_crypto_deposit test helper method on resource PaymentIntent
    • Add support for deposit_options and mode on PaymentIntent.confirm().$params.payment_method_option.crypto, PaymentIntent.create().$params.payment_method_option.crypto, PaymentIntent.payment_method_options.crypto, and PaymentIntent.update().$params.payment_method_option.crypto
    • Add support for crypto_display_details on PaymentIntent.next_action
  • #2031 Update generated code for private-preview
    • Add support for new resources Orchestration.PaymentAttempt and Radar.CustomerEvaluation
    • Add support for retrieve method on resource Orchestration.PaymentAttempt
    • Add support for create and update methods on resource Radar.CustomerEvaluation
    • Add support for approve method on resource Checkout.Session
    • Add support for report_authenticated, report_canceled, report_failed, report_guaranteed, report_informational, and report_refund methods on resource PaymentAttemptRecord
    • Add support for create_us_paper_check_on_application on AccountSession.create().$params.component.check_scanning.feature
    • ⚠️ Change AccountSignals.delinquency to be optional
    • Add support for approval_method on Checkout.Session and Checkout\Session.create().$params
    • Add support for current_attempt on Checkout.Session
    • Add support for selected_fulfillment_option_overrides on DelegatedCheckout\RequestedSession.update().$params.fulfillment_detail
    • Add support for pricing_plan_subscription_details on InvoiceItem.parent and InvoiceLineItem.parent
    • ⚠️ Remove support for license_fee_subscription_details on InvoiceItem.parent and InvoiceLineItem.parent
    • ⚠️ Remove support for pricing_plan_subscription and pricing_plan_version on InvoiceItem.parent.rate_card_subscription_details and InvoiceLineItem.parent.rate_card_subscription_details
    • Add support for new value pricing_plan_subscription_details on enum InvoiceItem.parent.type
    • ⚠️ Remove support for value license_fee_subscription_details from enum InvoiceItem.parent.type
    • Add support for new value discounts on enum InvoiceItem.frozen_fields
    • Add support for new value pricing_plan_subscription_details on enum InvoiceLineItem.parent.type
    • ⚠️ Remove support for value license_fee_subscription_details from enum InvoiceLineItem.parent.type
    • Add support for token_details on Issuing.Authorization
    • Add support for failure_code on PaymentRecord.report_payment().$params.failed, PaymentRecord.report_payment_attempt().$params.failed, and PaymentRecord.report_payment_attempt_failed().$params
    • Change PaymentRecord.report_payment_attempt_canceled().$params.canceled_at to be optional
    • Change PaymentRecord.report_payment_attempt_failed().$params.failed_at to be optional
    • Change PaymentRecord.report_payment_attempt_guaranteed().$params.guaranteed_at to be optional
    • Change PaymentRecord.report_refund().$params.refunded to be optional
    • ⚠️ Change Radar\IssuingAuthorizationEvaluation.create().$params.card_detail.bin_country to be required
    • Add support for recurring_interval on SharedPayment\GrantedToken.create().$params.usage_limit
    • Change SharedPayment\GrantedToken.create().$params.usage_limit.expires_at to be optional
    • Add support for home_rule_tax on Tax.Registration.country_options.us and Tax\Registration.create().$params.country_option.me
    • Add support for new value home_rule_tax on enum Tax.Registration.country_options.us.type

See the changelog for more details.

v19.5.0-alpha.3
  • #2026 Update generated code for private-preview
    • Add support for new resource Radar.IssuingAuthorizationEvaluation
    • Add support for create method on resource Radar.IssuingAuthorizationEvaluation
    • Add support for new value fee_credits on enum BalanceTransaction.balance_type
    • ⚠️ Rename affiliate_attributions to affiliate_attribution on DelegatedCheckout\RequestedSession.confirm().$params and DelegatedCheckout\RequestedSession.create().$params
    • Add support for amount_to_counter on Dispute
    • Add support for frozen_fields on InvoiceItem
    • Add support for new value next_billing_period_start on enum V2.Billing.IntentAction.apply.effective_at.type
    • Add support for consumer on V2.Core.Account.configuration.card_creator.capabilities, V2.Core.Account.identity.attestations.terms_of_service.card_creator, V2\Core\Account.create().$params.configuration.card_creator.capability, V2\Core\Account.create().$params.identity.attestation.terms_of_service.card_creator, V2\Core\Account.update().$params.configuration.card_creator.capability, and V2\Core\Account.update().$params.identity.attestation.terms_of_service.card_creator
    • Add support for fifth_third on V2.Core.Account.configuration.card_creator.capabilities.commercial, V2.Core.Account.identity.attestations.terms_of_service.card_creator.commercial, V2\Core\Account.create().$params.configuration.card_creator.capability.commercial, V2\Core\Account.create().$params.identity.attestation.terms_of_service.card_creator.commercial, V2\Core\Account.update().$params.configuration.card_creator.capability.commercial, and V2\Core\Account.update().$params.identity.attestation.terms_of_service.card_creator.commercial
    • Add support for prepaid_card on V2.Core.Account.configuration.card_creator.capabilities.commercial.cross_river_bank, V2.Core.Account.identity.attestations.terms_of_service.card_creator.commercial.cross_river_bank, V2\Core\Account.create().$params.configuration.card_creator.capability.commercial.cross_river_bank, V2\Core\Account.create().$params.identity.attestation.terms_of_service.card_creator.commercial.cross_river_bank, V2\Core\Account.update().$params.configuration.card_creator.capability.commercial.cross_river_bank, and V2\Core\Account.update().$params.identity.attestation.terms_of_service.card_creator.commercial.cross_river_bank
    • Add support for new values commercial.cross_river_bank.prepaid_card, commercial.fifth_third.charge_card, consumer.celtic.revolving_credit_card, consumer.cross_river_bank.prepaid_card, and consumer.lead.prepaid_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 payment_method_data on V2\Payments\OffSessionPayment.create().$params
    • Change V2\Payments\OffSessionPayment.create().$params.payment_method to be optional
    • Add support for new values commercial.cross_river_bank.prepaid_card, commercial.fifth_third.charge_card, consumer.celtic.revolving_credit_card, consumer.cross_river_bank.prepaid_card, and consumer.lead.prepaid_card on enum EventsV2CoreAccountIncludingConfigurationCardCreatorCapabilityStatusUpdatedEvent.updated_capability

See the changelog for more details.

v19.4.1
  • #2024 Add Stripe-Request-Trigger header
  • #2022 Add agent information to UserAgent

See the changelog for more details.

v19.5.0-alpha.2

This release changes the pinned API version to 2026-03-04.preview.

  • #2021 Update generated code for private-preview
    • Add support for new resources Billing.AlertRecovered and Profile
    • Add support for reauthorize method on resource PaymentIntent
    • Add support for settings on QuoteLine.actions[].add_discount, QuoteLine.actions[].add_item.discounts[], QuoteLine.actions[].set_discounts[], QuoteLine.actions[].set_items[].discounts[], QuotePreviewSubscriptionSchedule.phases[].discounts[], QuotePreviewSubscriptionSchedule.phases[].items[].discounts[], SubscriptionSchedule.phases[].discounts[], and SubscriptionSchedule.phases[].items[].discounts[]
    • Add support for smart_disputes on Account.create().$params.setting, Account.settings, Account.update().$params.setting, V2.Core.Account.configuration.merchant, V2\Core\Account.create().$params.configuration.merchant, and V2\Core\Account.update().$params.configuration.merchant
    • Add support for email_customers_on_successful_payment on Account.create().$params.setting.payment, Account.settings.payments, and Account.update().$params.setting.payment
    • Add support for balance_update_details on Billing.CreditBalanceSummary.balances[]
    • Add support for reauthorization and reauthorize_before on Charge.payment_method_details.card_present, Charge.payment_method_details.card, ConfirmationToken.payment_method_preview.card.generated_from.payment_method_details.card_present, PaymentAttemptRecord.payment_method_details.card_present, PaymentMethod.card.generated_from.payment_method_details.card_present, and PaymentRecord.payment_method_details.card_present
    • Add support for location and reader on Charge.payment_method_details.card_present, Charge.payment_method_details.interac_present, ConfirmationToken.payment_method_preview.card.generated_from.payment_method_details.card_present, PaymentAttemptRecord.payment_method_details.card_present, PaymentAttemptRecord.payment_method_details.interac_present, PaymentMethod.card.generated_from.payment_method_details.card_present, PaymentRecord.payment_method_details.card_present, and PaymentRecord.payment_method_details.interac_present
    • Add support for managed_payments on Checkout.Session, Checkout\Session.create().$params, PaymentIntent, SetupIntent, and Subscription
    • Add support for new value lk_vat 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
    • Add support for digital on DelegatedCheckout.RequestedSession.fulfillment_details.fulfillment_options[], DelegatedCheckout.RequestedSession.fulfillment_details.selected_fulfillment_option, and DelegatedCheckout\RequestedSession.update().$params.fulfillment_detail.selected_fulfillment_option
    • Change DelegatedCheckout\RequestedSession.update().$params.fulfillment_detail.selected_fulfillment_option.shipping to be optional
    • Add support for affiliate_attributions on DelegatedCheckout.RequestedSession, DelegatedCheckout\RequestedSession.confirm().$params, and DelegatedCheckout\RequestedSession.create().$params
    • Add support for fulfillment_type on DelegatedCheckout.RequestedSession.line_item_details[]
    • Add support for marketplace_seller_details, network_profile, privacy_notice_url, return_policy_url, store_policy_url, and terms_of_service_url on DelegatedCheckout.RequestedSession.seller_details
    • Add support for amount_to_counter on Dispute.update().$params
    • Add support for new values reserve.hold.created, reserve.hold.updated, reserve.plan.created, reserve.plan.disabled, reserve.plan.expired, reserve.plan.updated, and reserve.release.created on enum Event.type
    • Add support for new values terminal_wifi_certificate and terminal_wifi_private_key on enum File.purpose
    • Add support for new value pay_by_bank on enums Invoice.payment_settings.payment_method_types, QuotePreviewInvoice.payment_settings.payment_method_types, and Subscription.payment_settings.payment_method_types
    • Add support for display_name and service_user_number on Mandate.payment_method_details.bacs_debit
    • ⚠️ Change type of PaymentAttemptRecord.payment_method_details.boleto.tax_id and PaymentRecord.payment_method_details.boleto.tax_id from string to nullable(string)
    • Change type of PaymentAttemptRecord.payment_method_details.us_bank_account.expected_debit_date and PaymentRecord.payment_method_details.us_bank_account.expected_debit_date from nullable(string) to string
    • Add support for request_reauthorization 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.payment_method_options.card_present, PaymentIntent.payment_method_options.card, PaymentIntent.update().$params.payment_method_option.card_present, and PaymentIntent.update().$params.payment_method_option.card
    • Add support for transaction_purpose on PaymentIntent.confirm().$params.payment_method_option.us_bank_account, PaymentIntent.create().$params.payment_method_option.us_bank_account, PaymentIntent.payment_method_options.us_bank_account, and PaymentIntent.update().$params.payment_method_option.us_bank_account
    • Add support for new value requires_reauthorization on enum PaymentIntent.status
    • Add support for optional_items on PaymentLink.update().$params
    • Add support for new value billing_schedules_invalid on enum Quote.status_details.stale.last_reason.type
    • ⚠️ Remove support for card_issuer_decline on Radar.PaymentEvaluation.insights
    • Add support for payment_behavior on SubscriptionItem.delete().$params
    • Add support for billing_cycle_anchor on Subscription.trial_settings.end_behavior
    • Add support for lk on Tax.Registration.country_options and Tax\Registration.create().$params.country_option
    • Add support for cellular and stripe_s710 on Terminal.Configuration, Terminal\Configuration.create().$params, and Terminal\Configuration.update().$params
    • Add support for new values simulated_stripe_s710 and stripe_s710 on enum Terminal.Reader.device_type
    • Add support for new values ar_bank_account, bt_bank_account, co_bank_account, cr_bank_account, do_bank_account, gt_bank_account, md_bank_account, mk_bank_account, mo_bank_account, mz_bank_account, pe_bank_account, pk_bank_account, tw_bank_account, and uz_bank_account on enums V2.Account.configuration.recipient_data.default_outbound_destination.type and V2.Core.Account.configuration.recipient.default_outbound_destination.type
    • Add support for recipient_onboarding and recipient_update on V2.Core.AccountLink.use_case and V2\Core\AccountLink.create().$params.use_case
    • Add support for new values recipient_onboarding and recipient_update on enum V2.Core.AccountLink.use_case.type
    • Add support for consumer on V2.Core.Account.configuration.storer.capabilities, V2\Core\Account.create().$params.configuration.storer.capability, and V2\Core\Account.update().$params.configuration.storer.capability
    • Add support for new value consumer.holds_currencies.usd 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 funds_usage_type on V2.MoneyManagement.FinancialAccount.storage and V2\MoneyManagement\FinancialAccount.create().$params.storage
    • Add support for purpose on V2.MoneyManagement.OutboundPayment and V2\MoneyManagement\OutboundPayment.create().$params
    • Add support for branch_number and swift_code on V2.MoneyManagement.PayoutMethod.bank_account
    • Add support for new values dispute, inbound_payment_failure, inbound_payment, india_mdr_processing_fee, payment_method_passthrough_fee, refund, and tax_withholding on enums V2.MoneyManagement.Transaction.category and V2.MoneyManagement.TransactionEntry.transaction_details.category
    • ⚠️ Remove support for values charge_failure and charge from enums V2.MoneyManagement.Transaction.category and V2.MoneyManagement.TransactionEntry.transaction_details.category
    • ⚠️ Change V2.MoneyManagement.Transaction.flow and V2.MoneyManagement.TransactionEntry.transaction_details.flow to be optional
    • Add support for new value consumer.holds_currencies.usd on enum EventsV2CoreAccountIncludingConfigurationStorerCapabilityStatusUpdatedEvent.updated_capability
    • Add support for snapshot event BILLING_ALERT_RECOVERED with resource Billing.AlertRecovered
    • Add support for snapshot events RESERVE_HOLD_CREATED and RESERVE_HOLD_UPDATED with resource Reserve.Hold
    • Add support for snapshot events RESERVE_PLAN_CREATED, RESERVE_PLAN_DISABLED, RESERVE_PLAN_EXPIRED, and RESERVE_PLAN_UPDATED with resource Reserve.Plan
    • Add support for snapshot event RESERVE_RELEASE_CREATED with resource Reserve.Release
    • Add support for event notification V2BillingRateCardCustomPricingUnitOverageRateCreatedEvent with related object V2.Billing.RateCardCustomPricingUnitOverageRate
    • Add support for event notifications V2IamStripeAccessGrantApprovedEvent, V2IamStripeAccessGrantCanceledEvent, V2IamStripeAccessGrantDeniedEvent, V2IamStripeAccessGrantRemovedEvent, V2IamStripeAccessGrantRequestedEvent, and V2IamStripeAccessGrantUpdatedEvent
    • Add support for error codes storer_capability_missing and storer_capability_not_active on Invoice.last_finalization_error, PaymentIntent.last_payment_error, QuotePreviewInvoice.last_finalization_error, SetupAttempt.setup_error, SetupIntent.last_setup_error, and StripeError

See the changelog for more details.

v19.5.0-alpha.1

This release changes the pinned API version to 2026-02-25.preview.

  • #2013 Update generated code for private-preview
    • Add support for new resource AccountSignals
    • Add support for retrieve method on resource AccountSignals
    • Add support for aggregation_period, group_by, and triggered_at on Billing.AlertTriggered
    • Add support for external_account_collection on AccountLink.create().$params.collection_option
    • Add support for funding_source on ApplicationFee
    • Change DelegatedCheckout\RequestedSession.confirm().$params.payment_method_datum.billing_detail.address.line1, DelegatedCheckout\RequestedSession.create().$params.fulfillment_detail.address.line1, DelegatedCheckout\RequestedSession.create().$params.payment_method_datum.billing_detail.address.line1, DelegatedCheckout\RequestedSession.update().$params.fulfillment_detail.address.line1, and DelegatedCheckout\RequestedSession.update().$params.payment_method_datum.billing_detail.address.line1 to be optional
    • 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 billing_cycle_anchor on Subscription.create().$params.trial_setting.end_behavior and Subscription.update().$params.trial_setting.end_behavior

See the changelog for more details.

v19.5.0-beta.1

This release changes the pinned API version to 2026-02-25.preview.

  • #2006 Update generated code for beta
    • Add support for smart_disputes on Account.create().$params.setting, Account.settings, Account.update().$params.setting, V2.Core.Account.configuration.merchant, V2\Core\Account.create().$params.configuration.merchant, and V2\Core\Account.update().$params.configuration.merchant
    • Add support for email_customers_on_successful_payment on Account.create().$params.setting.payment, Account.settings.payments, and Account.update().$params.setting.payment
    • Add support for managed_payments on Checkout.Session, Checkout\Session.create().$params, PaymentIntent, SetupIntent, and Subscription
    • Add support for new value lk_vat on enums Checkout.Session.collected_information.tax_ids[].type, Order.tax_details.tax_ids[].type, and QuotePreviewInvoice.customer_tax_ids[].type
    • Add support for new value pay_by_bank on enum QuotePreviewInvoice.payment_settings.payment_method_types
    • Add support for new values bt_bank_account, cr_bank_account, do_bank_account, gt_bank_account, md_bank_account, mk_bank_account, mo_bank_account, mz_bank_account, pe_bank_account, pk_bank_account, tw_bank_account, and uz_bank_account on enum V2.Core.Account.configuration.recipient.default_outbound_destination.type
    • Add support for purpose on V2.MoneyManagement.OutboundPayment and V2\MoneyManagement\OutboundPayment.create().$params
    • Add support for branch_number and swift_code on V2.MoneyManagement.PayoutMethod.bank_account
    • Change V2.MoneyManagement.Transaction.flow and V2.MoneyManagement.TransactionEntry.transaction_details.flow to be optional
    • Add support for error codes storer_capability_missing and storer_capability_not_active on QuotePreviewInvoice.last_finalization_error

See the changelog for more details.

v19.4.0

This release changes the pinned API version to 2026-02-25.clover.

  • #2016 Update generated code
    • Add support for new resources Reserve.Hold, Reserve.Plan, and Reserve.Release
    • Add support for location and reader on Charge.payment_method_details.card_present, Charge.payment_method_details.interac_present, ConfirmationToken.payment_method_preview.card.generated_from.payment_method_details.card_present, PaymentAttemptRecord.payment_method_details.card_present, PaymentAttemptRecord.payment_method_details.interac_present, PaymentMethod.card.generated_from.payment_method_details.card_present, PaymentRecord.payment_method_details.card_present, and PaymentRecord.payment_method_details.interac_present
    • Add support for new value lk_vat 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
    • Add support for new values reserve.hold.created, reserve.hold.updated, reserve.plan.created, reserve.plan.disabled, reserve.plan.expired, reserve.plan.updated, and reserve.release.created on enum Event.type
    • Add support for new values terminal_wifi_certificate and terminal_wifi_private_key on enum File.purpose
    • Add support for new value pay_by_bank on enums Invoice.payment_settings.payment_method_types and Subscription.payment_settings.payment_method_types
    • Add support for display_name and service_user_number on Mandate.payment_method_details.bacs_debit
    • Change type of PaymentAttemptRecord.payment_method_details.boleto.tax_id and PaymentRecord.payment_method_details.boleto.tax_id from string to nullable(string)
    • Change type of PaymentAttemptRecord.payment_method_details.us_bank_account.expected_debit_date and PaymentRecord.payment_method_details.us_bank_account.expected_debit_date from nullable(string) to string
    • Add support for transaction_purpose on PaymentIntent.confirm().$params.payment_method_option.us_bank_account, PaymentIntent.create().$params.payment_method_option.us_bank_account, PaymentIntent.payment_method_options.us_bank_account, and PaymentIntent.update().$params.payment_method_option.us_bank_account
    • Add support for optional_items on PaymentLink.update().$params
    • Remove support for unused card_issuer_decline on Radar.PaymentEvaluation.insights
    • Add support for payment_behavior on SubscriptionItem.delete().$params
    • Add support for lk on Tax.Registration.country_options and Tax\Registration.create().$params.country_option
    • Add support for cellular and stripe_s710 on Terminal.Configuration, Terminal\Configuration.create().$params, and Terminal\Configuration.update().$params
    • Add support for new values simulated_stripe_s710 and stripe_s710 on enum Terminal.Reader.device_type
    • Add support for snapshot events RESERVE_HOLD_CREATED and RESERVE_HOLD_UPDATED with resource Reserve.Hold
    • Add support for snapshot events RESERVE_PLAN_CREATED, RESERVE_PLAN_DISABLED, RESERVE_PLAN_EXPIRED, and RESERVE_PLAN_UPDATED with resource Reserve.Plan
    • Add support for snapshot event RESERVE_RELEASE_CREATED with resource Reserve.Release
    • Add support for error codes storer_capability_missing and storer_capability_not_active on Invoice.last_finalization_error, PaymentIntent.last_payment_error, SetupAttempt.setup_error, SetupIntent.last_setup_error, and StripeError

See the changelog for more details.

v19.4.0-alpha.4
  • #2010 Update generated code for private-preview
    • Add support for spend_threshold on Billing.Alert and Billing\Alert.create().$params
    • ⚠️ Add support for new value spend_threshold on enum Billing.Alert.alert_type
    • Add support for invoice_item, proration_details, proration, and subscription on InvoiceLineItem.parent.schedule_details
    • Add support for custom on PaymentMethod.update().$params
    • Add support for payment_method_reference and usage on PaymentMethod.custom
    • Add support for outstanding_usage_through and unused_time_from on Subscription.pause().$params.bill_for
    • ⚠️ Remove support for outstanding_usage and unused_time on Subscription.pause().$params.bill_for
    • ⚠️ Remove support for payment_behavior on Subscription.resume().$params

See the changelog for more details.

v19.4.0-alpha.3
  • #2008 Update generated code for private-preview
    • Add support for new resources V2.Billing.CadenceSpendModifier, V2.Billing.OneTimeItem, and V2.Billing.RateCardCustomPricingUnitOverageRate
    • Add support for all, create, delete, and retrieve methods on resource V2.Billing.RateCardCustomPricingUnitOverageRate
    • Add support for all, create, retrieve, and update methods on resource V2.Billing.OneTimeItem
    • Add support for retrieve method on resource V2.Billing.CadenceSpendModifier
    • Change EventsV2CoreHealthFraudRateIncreasedEvent.impact.realized_fraud_amount.value, EventsV2CoreHealthIssuingAuthorizationRequestErrorsFiringEvent.impact.approved_amount.value, EventsV2CoreHealthIssuingAuthorizationRequestErrorsFiringEvent.impact.declined_amount.value, EventsV2CoreHealthIssuingAuthorizationRequestErrorsResolvedEvent.impact.approved_amount.value, EventsV2CoreHealthIssuingAuthorizationRequestErrorsResolvedEvent.impact.declined_amount.value, EventsV2CoreHealthIssuingAuthorizationRequestTimeoutFiringEvent.impact.approved_amount.value, EventsV2CoreHealthIssuingAuthorizationRequestTimeoutFiringEvent.impact.declined_amount.value, EventsV2CoreHealthIssuingAuthorizationRequestTimeoutResolvedEvent.impact.approved_amount.value, EventsV2CoreHealthIssuingAuthorizationRequestTimeoutResolvedEvent.impact.declined_amount.value, V2.Billing.ServiceAction.credit_grant.amount.monetary.value, V2.Billing.ServiceAction.credit_grant_per_tenant.amount.monetary.value, V2.Core.Account.identity.business_details.annual_revenue.amount.value, V2.Core.Account.identity.business_details.monthly_estimated_revenue.amount.value, V2.FinancialAddressGeneratedMicrodeposits.amounts[].value, V2.MoneyManagement.Adjustment.amount.value, V2.MoneyManagement.CurrencyConversion.from.amount.value, V2.MoneyManagement.CurrencyConversion.to.amount.value, V2.MoneyManagement.FinancialAccount.balance.available.value.value, V2.MoneyManagement.FinancialAccount.balance.inbound_pending.value.value, V2.MoneyManagement.FinancialAccount.balance.outbound_pending.value.value, V2.MoneyManagement.FinancialAccount.payments.starting_balance.available.value.value, V2.MoneyManagement.InboundTransfer.amount.value, V2.MoneyManagement.InboundTransfer.from.debited.value, V2.MoneyManagement.InboundTransfer.to.credited.value, V2.MoneyManagement.OutboundPayment.amount.value, V2.MoneyManagement.OutboundPayment.from.debited.value, V2.MoneyManagement.OutboundPayment.to.credited.value, V2.MoneyManagement.OutboundPaymentQuote.amount.value, V2.MoneyManagement.OutboundPaymentQuote.estimated_fees[].amount.value, V2.MoneyManagement.OutboundPaymentQuote.from.debited.value, V2.MoneyManagement.OutboundPaymentQuote.to.credited.value, V2.MoneyManagement.OutboundTransfer.amount.value, V2.MoneyManagement.OutboundTransfer.from.debited.value, V2.MoneyManagement.OutboundTransfer.to.credited.value, V2.MoneyManagement.ReceivedCredit.amount.value, V2.MoneyManagement.ReceivedCredit.external_amount.value, V2.MoneyManagement.ReceivedDebit.amount.value, V2.MoneyManagement.ReceivedDebit.card_spend.authorization.amount.value, V2.MoneyManagement.ReceivedDebit.card_spend.card_transactions[].amount.value, V2.MoneyManagement.ReceivedDebit.external_amount.value, V2.MoneyManagement.Transaction.amount.value, V2.MoneyManagement.Transaction.balance_impact.available.value, V2.MoneyManagement.Transaction.balance_impact.inbound_pending.value, V2.MoneyManagement.Transaction.balance_impact.outbound_pending.value, V2.MoneyManagement.TransactionEntry.balance_impact.available.value, V2.MoneyManagement.TransactionEntry.balance_impact.inbound_pending.value, V2.MoneyManagement.TransactionEntry.balance_impact.outbound_pending.value, V2.Payments.OffSessionPayment.amount_capturable.value, V2.Payments.OffSessionPayment.amount_requested.value, V2.Payments.SettlementAllocationIntent.amount.value, V2.Payments.SettlementAllocationIntentSplit.amount.value, V2\Billing\ServiceAction.create().$params.credit_grant.amount.monetary.value, V2\Billing\ServiceAction.create().$params.credit_grant_per_tenant.amount.monetary.value, V2\Core\Account.create().$params.identity.business_detail.annual_revenue.amount.value, V2\Core\Account.create().$params.identity.business_detail.monthly_estimated_revenue.amount.value, V2\Core\Account.update().$params.identity.business_detail.annual_revenue.amount.value, V2\Core\Account.update().$params.identity.business_detail.monthly_estimated_revenue.amount.value, V2\Core\AccountToken.create().$params.identity.business_detail.annual_revenue.amount.value, V2\Core\AccountToken.create().$params.identity.business_detail.monthly_estimated_revenue.amount.value, V2\FinancialAddressCreditSimulation.credit().$params.amount.value, V2\MoneyManagement\CurrencyConversion.create().$params.from.amount.value, V2\MoneyManagement\CurrencyConversion.create().$params.to.amount.value, V2\MoneyManagement\InboundTransfer.create().$params.amount.value, V2\MoneyManagement\OutboundPayment.create().$params.amount.value, V2\MoneyManagement\OutboundPaymentQuote.create().$params.amount.value, V2\MoneyManagement\OutboundTransfer.create().$params.amount.value, V2\Payments\OffSessionPayment.create().$params.amount.value, V2\Payments\SettlementAllocationIntent.create().$params.amount.value, V2\Payments\SettlementAllocationIntent.update().$params.amount.value, and V2\Payments\SettlementAllocationIntentSplit.create().$params.amount.value to be required
    • Change EventsV2CoreHealthFraudRateIncreasedEvent.impact.realized_fraud_amount.currency, EventsV2CoreHealthIssuingAuthorizationRequestErrorsFiringEvent.impact.approved_amount.currency, EventsV2CoreHealthIssuingAuthorizationRequestErrorsFiringEvent.impact.declined_amount.currency, EventsV2CoreHealthIssuingAuthorizationRequestErrorsResolvedEvent.impact.approved_amount.currency, EventsV2CoreHealthIssuingAuthorizationRequestErrorsResolvedEvent.impact.declined_amount.currency, EventsV2CoreHealthIssuingAuthorizationRequestTimeoutFiringEvent.impact.approved_amount.currency, EventsV2CoreHealthIssuingAuthorizationRequestTimeoutFiringEvent.impact.declined_amount.currency, EventsV2CoreHealthIssuingAuthorizationRequestTimeoutResolvedEvent.impact.approved_amount.currency, EventsV2CoreHealthIssuingAuthorizationRequestTimeoutResolvedEvent.impact.declined_amount.currency, V2.Billing.ServiceAction.credit_grant.amount.monetary.currency, V2.Billing.ServiceAction.credit_grant_per_tenant.amount.monetary.currency, V2.Core.Account.identity.business_details.annual_revenue.amount.currency, V2.Core.Account.identity.business_details.monthly_estimated_revenue.amount.currency, V2.FinancialAddressGeneratedMicrodeposits.amounts[].currency, V2.MoneyManagement.Adjustment.amount.currency, V2.MoneyManagement.CurrencyConversion.from.amount.currency, V2.MoneyManagement.CurrencyConversion.to.amount.currency, V2.MoneyManagement.FinancialAccount.balance.available.value.currency, V2.MoneyManagement.FinancialAccount.balance.inbound_pending.value.currency, V2.MoneyManagement.FinancialAccount.balance.outbound_pending.value.currency, V2.MoneyManagement.FinancialAccount.payments.starting_balance.available.value.currency, V2.MoneyManagement.InboundTransfer.amount.currency, V2.MoneyManagement.InboundTransfer.from.debited.currency, V2.MoneyManagement.InboundTransfer.to.credited.currency, V2.MoneyManagement.OutboundPayment.amount.currency, V2.MoneyManagement.OutboundPayment.from.debited.currency, V2.MoneyManagement.OutboundPayment.to.credited.currency, V2.MoneyManagement.OutboundPaymentQuote.amount.currency, V2.MoneyManagement.OutboundPaymentQuote.estimated_fees[].amount.currency, V2.MoneyManagement.OutboundPaymentQuote.from.debited.currency, V2.MoneyManagement.OutboundPaymentQuote.to.credited.currency, V2.MoneyManagement.OutboundTransfer.amount.currency, V2.MoneyManagement.OutboundTransfer.from.debited.currency, V2.MoneyManagement.OutboundTransfer.to.credited.currency, V2.MoneyManagement.ReceivedCredit.amount.currency, V2.MoneyManagement.ReceivedCredit.external_amount.currency, V2.MoneyManagement.ReceivedDebit.amount.currency, V2.MoneyManagement.ReceivedDebit.card_spend.authorization.amount.currency, V2.MoneyManagement.ReceivedDebit.card_spend.card_transactions[].amount.currency, V2.MoneyManagement.ReceivedDebit.external_amount.currency, V2.MoneyManagement.Transaction.amount.currency, V2.MoneyManagement.Transaction.balance_impact.available.currency, V2.MoneyManagement.Transaction.balance_impact.inbound_pending.currency, V2.MoneyManagement.Transaction.balance_impact.outbound_pending.currency, V2.MoneyManagement.TransactionEntry.balance_impact.available.currency, V2.MoneyManagement.TransactionEntry.balance_impact.inbound_pending.currency, V2.MoneyManagement.TransactionEntry.balance_impact.outbound_pending.currency, V2.Payments.OffSessionPayment.amount_capturable.currency, V2.Payments.OffSessionPayment.amount_requested.currency, V2.Payments.SettlementAllocationIntent.amount.currency, V2.Payments.SettlementAllocationIntentSplit.amount.currency, V2\Billing\ServiceAction.create().$params.credit_grant.amount.monetary.currency, V2\Billing\ServiceAction.create().$params.credit_grant_per_tenant.amount.monetary.currency, V2\Core\Account.create().$params.identity.business_detail.annual_revenue.amount.currency, V2\Core\Account.create().$params.identity.business_detail.monthly_estimated_revenue.amount.currency, V2\Core\Account.update().$params.identity.business_detail.annual_revenue.amount.currency, V2\Core\Account.update().$params.identity.business_detail.monthly_estimated_revenue.amount.currency, V2\Core\AccountToken.create().$params.identity.business_detail.annual_revenue.amount.currency, V2\Core\AccountToken.create().$params.identity.business_detail.monthly_estimated_revenue.amount.currency, V2\FinancialAddressCreditSimulation.credit().$params.amount.currency, V2\MoneyManagement\CurrencyConversion.create().$params.from.amount.currency, V2\MoneyManagement\CurrencyConversion.create().$params.to.amount.currency, V2\MoneyManagement\InboundTransfer.create().$params.amount.currency, V2\MoneyManagement\OutboundPayment.create().$params.amount.currency, V2\MoneyManagement\OutboundPaymentQuote.create().$params.amount.currency, V2\MoneyManagement\OutboundTransfer.create().$params.amount.currency, V2\Payments\OffSessionPayment.create().$params.amount.currency, V2\Payments\SettlementAllocationIntent.create().$params.amount.currency, V2\Payments\SettlementAllocationIntent.update().$params.amount.currency, and V2\Payments\SettlementAllocationIntentSplit.create().$params.amount.currency to be required
    • Add support for settlement_type on ApplicationFee
    • Add support for rate_card_custom_pricing_unit_overage_rate_details on InvoiceItem.pricing and InvoiceLineItem.pricing
    • Add support for new value rate_card_custom_pricing_unit_overage_rate_details on enums InvoiceItem.pricing.type and InvoiceLineItem.pricing.type
    • Add support for default_settings on Invoice.create_preview().$params.schedule_detail
    • Change type of Quote.update().$params.subscription_data_override.billing_schedules from emptyable(array(billing_schedules_update_specs)) to array(billing_schedules_update_specs)
    • Add support for payment_behavior on Subscription.resume().$params
    • Add support for effective_at and spend_modifier_rule on V2.Billing.IntentAction.apply, V2.Billing.IntentAction.remove, V2\Billing\Intent.create().$params.action.apply, and V2\Billing\Intent.create().$params.action.remove
    • Change type of V2.Billing.IntentAction.apply.type, V2.Billing.IntentAction.remove.type, V2\Billing\Intent.create().$params.action.apply.type, and V2\Billing\Intent.create().$params.action.remove.type from literal('invoice_discount_rule') to enum('invoice_discount_rule'|'spend_modifier_rule')

See the changelog for more details.

v19.4.0-alpha.2
  • #2005 Update generated code for private-preview
    • Add support for new resource V2.Core.ConnectionSession
    • Add support for create and retrieve methods on resource V2.Core.ConnectionSession
    • Add support for all method on resources V2.Payments.SettlementAllocationIntentSplit and V2.Payments.SettlementAllocationIntent
    • Add support for agentic_commerce_settings on AccountSession.create().$params.component
    • Add support for terminal_hardware_orders and terminal_hardware_shop on AccountSession.components and AccountSession.create().$params.component
    • Add support for network_cost_passthrough_report on AccountSession.components
    • Add support for new values ae_bank_account, ag_bank_account, bh_bank_account, gm_bank_account, hk_bank_account, kh_bank_account, lc_bank_account, mc_bank_account, mg_bank_account, my_bank_account, qa_bank_account, rw_bank_account, th_bank_account, tt_bank_account, and vn_bank_account on enums V2.Account.configuration.recipient_data.default_outbound_destination.type and V2.Core.Account.configuration.recipient.default_outbound_destination.type
    • Add support for cadence_data on V2.Billing.Intent and V2\Billing\Intent.create().$params
    • Add support for cancellation_details on V2.Billing.IntentAction.deactivate, V2.Billing.PricingPlanSubscription, and V2\Billing\Intent.create().$params.action.deactivate
    • Add support for contact_phone on V2.Core.Account, V2\Core\Account.create().$params, V2\Core\Account.update().$params, and V2\Core\AccountToken.create().$params
    • Add support for registration_date on V2.Core.Account.identity.business_details, V2\Core\Account.create().$params.identity.business_detail, V2\Core\Account.update().$params.identity.business_detail, and V2\Core\AccountToken.create().$params.identity.business_detail
    • Add support for new value gb_vat on enum V2.Core.Account.identity.business_details.id_numbers[].type
    • Add support for reference on V2.MoneyManagement.Adjustment
    • Add support for accrued_fees on V2.MoneyManagement.FinancialAccount
    • Add support for starting_balance on V2.MoneyManagement.FinancialAccount.payments
    • Add support for new value accrued_fees on enum V2.MoneyManagement.FinancialAccount.type
    • Add support for account_holder_address and account_holder_name on V2.MoneyManagement.FinancialAddress.credentials.us_bank_account
    • Add support for fingerprint on V2.MoneyManagement.PayoutMethod.card
    • Add support for card_spend on V2.MoneyManagement.ReceivedCredit and V2.MoneyManagement.ReceivedDebit
    • Add support for new value card_spend on enum V2.MoneyManagement.ReceivedCredit.type
    • Add support for new value card_spend on enum V2.MoneyManagement.ReceivedDebit.type
    • Add support for new values advance, anticipation_repayment, balance_transfer, charge_failure, charge, climate_order_purchase, climate_order_refund, connect_collection_transfer, connect_reserved_funds, contribution, dispute_reversal, financing_paydown_reversal, financing_paydown, inbound_transfer_reversal, issuing_dispute_fraud_liability_debit, issuing_dispute_provisional_credit_reversal, issuing_dispute_provisional_credit, issuing_dispute, minimum_balance_hold, network_cost, obligation, outbound_payment_reversal, outbound_transfer_reversal, partial_capture_reversal, payment_network_reserved_funds, platform_earning_refund, platform_earning, platform_fee, received_credit_reversal, received_debit_reversal, refund_failure, risk_reserved_funds, stripe_balance_payment_debit_reversal, stripe_balance_payment_debit, stripe_fee_tax, transfer_reversal, and unreconciled_customer_funds on enums V2.MoneyManagement.Transaction.category and V2.MoneyManagement.TransactionEntry.transaction_details.category
    • Add support for application_fee_refund, application_fee, charge, dispute, payout, refund, reserve_hold, reserve_release, topup, transfer_reversal, and transfer on V2.MoneyManagement.Transaction.flow and V2.MoneyManagement.TransactionEntry.transaction_details.flow
    • Add support for new values application_fee_refund, application_fee, charge, dispute, payout, refund, reserve_hold, reserve_release, topup, transfer_reversal, and transfer on enums V2.MoneyManagement.Transaction.flow.type and V2.MoneyManagement.TransactionEntry.transaction_details.flow.type
    • Change V2.Payments.SettlementAllocationIntentSplit.flow to be optional
    • Change V2\Billing\RateCardRate.create().$params.metered_item to be required

See the changelog for more details.

v19.4.0-alpha.1

This release changes the pinned API version to 2026-01-28.preview.

  • #2002 Update generated code for private-preview
    • Add support for new resources FrMealVouchersOnboarding, Reserve.Hold, Reserve.Plan, and Reserve.Release
    • Add support for all, create, retrieve, and update methods on resource FrMealVouchersOnboarding
    • Add support for all and retrieve methods on resources Reserve.Hold and Reserve.Release
    • Add support for retrieve method on resource Reserve.Plan
    • Add support for pause method on resource Subscription
    • Add support for service_period_details on Discount
    • Add support for agentic_commerce_settings on AccountSession.components
    • Add support for new value risk_reserved on enum BalanceTransaction.balance_type
    • Add support for service_period on Coupon.create().$params and Coupon
    • Add support for new value service_period on enum Coupon.duration
    • Change type of InvoiceItem.pricing.price_details.price and InvoiceLineItem.pricing.price_details.price from string to expandable($Price)
    • Add support for settings on Invoice.create_preview().$params.discount, Invoice.create_preview().$params.schedule_detail.amendment.discount_action.add, Invoice.create_preview().$params.schedule_detail.amendment.discount_action.set, Invoice.create_preview().$params.schedule_detail.amendment.item_action.add.discount, Invoice.create_preview().$params.schedule_detail.amendment.item_action.set.discount, Invoice.create_preview().$params.schedule_detail.phase.discount, Invoice.create_preview().$params.schedule_detail.phase.item.discount, Invoice.create_preview().$params.subscription_detail.item.discount, Quote.create().$params.line.action.add_discount, Quote.create().$params.line.action.add_item.discount, Quote.create().$params.line.action.set_discount, Quote.create().$params.line.action.set_item.discount, Quote.update().$params.line.action.add_discount, Quote.update().$params.line.action.add_item.discount, Quote.update().$params.line.action.set_discount, Quote.update().$params.line.action.set_item.discount, Subscription.create().$params.discount, Subscription.create().$params.item.discount, Subscription.update().$params.discount, Subscription.update().$params.item.discount, SubscriptionItem.create().$params.discount, SubscriptionItem.update().$params.discount, SubscriptionSchedule.amend().$params.amendment.discount_action.add, SubscriptionSchedule.amend().$params.amendment.discount_action.set, SubscriptionSchedule.amend().$params.amendment.item_action.add.discount, SubscriptionSchedule.amend().$params.amendment.item_action.set.discount, SubscriptionSchedule.create().$params.phase.discount, SubscriptionSchedule.create().$params.phase.item.discount, SubscriptionSchedule.update().$params.phase.discount, and SubscriptionSchedule.update().$params.phase.item.discount
    • Add support for subtotal on InvoiceLineItem
    • Add support for billing_cadence on Subscription.all().$params

See the changelog for more details.

v19.4.0-beta.1

This release changes the pinned API version to 2026-01-28.preview.

  • #1988 Update generated code for beta
    • Add support for new resource FinancialConnections.Authorization
    • Add support for retrieve method on resource FinancialConnections.Authorization
    • Add support for detach_payment method on resource Invoice
    • Remove support for cancel, list_line_items, and reopen methods on resource Order
    • Remove support for attach_cadence method on resource Subscription
    • Add support for additional_files and site on Account.create().$params.setting.paypay_payment, Account.settings.paypay_payments, and Account.update().$params.setting.paypay_payment
    • Remove support for capital on Account.settings
    • Change type of Charge.payment_method_details.stripe_balance.source_type, ConfirmationToken.payment_method_preview.stripe_balance.source_type, PaymentAttemptRecord.payment_method_details.stripe_balance.source_type, PaymentMethod.stripe_balance.source_type, and PaymentRecord.payment_method_details.stripe_balance.source_type from enum('bank_account'|'card'|'fpx') to nullable(enum('bank_account'|'card'|'fpx'))
    • Add support for new value pl_nip on enums Checkout.Session.collected_information.tax_ids[].type, Order.tax_details.tax_ids[].type, and QuotePreviewInvoice.customer_tax_ids[].type
    • Add support for new value capital.financing_summary.line_of_credit_update on enum Event.type
    • Add support for authorization and status_details on FinancialConnections.Account
    • Add support for relink_options on FinancialConnections.Session and FinancialConnections\Session.create().$params
    • Change FinancialConnections\Session.create().$params.account_holder to be optional
    • Add support for relink_result on FinancialConnections.Session
    • Remove support for billing_cadence on Invoice.create_preview().$params, Subscription.create().$params, Subscription.update().$params, and Subscription
    • Remove support for billing_cadence_details on Invoice.parent and QuotePreviewInvoice.parent
    • Remove support for value billing_cadence_details from enums Invoice.parent.type and QuotePreviewInvoice.parent.type
    • Add support for car_rental_data, flight_data, and lodging_data on PaymentIntent.payment_details
    • Change QuotePreviewInvoice.payment_settings.payment_method_options.payto to be required
    • Add support for new values ae_bank_account, ag_bank_account, bh_bank_account, gm_bank_account, hk_bank_account, kh_bank_account, lc_bank_account, mc_bank_account, mg_bank_account, my_bank_account, qa_bank_account, rw_bank_account, th_bank_account, tt_bank_account, and vn_bank_account on enum V2.Core.Account.configuration.recipient.default_outbound_destination.type
    • Add support for alternative_reference on V2.Core.Vault.GbBankAccount, V2.Core.Vault.UsBankAccount, and V2.MoneyManagement.PayoutMethod
    • Add support for account_holder_address and account_holder_name on V2.MoneyManagement.FinancialAddress.credentials.us_bank_account
    • Add support for fingerprint on V2.MoneyManagement.PayoutMethod.card
    • Add support for snapshot event INVOICE_PAYMENT_DETACHED with resource InvoicePayment
    • Add support for error code request_blocked on QuotePreviewInvoice.last_finalization_error
  • #1981 Add EventNotificationHandler example

See the changelog for more details.

v19.3.0

This release changes the pinned API version to 2026-01-28.clover.

  • #2001 Update generated code
    • Add support for new resource Radar.PaymentEvaluation
    • Add support for create method on resource Radar.PaymentEvaluation
    • Add support for adjustable_quantity on LineItem
    • Add support for new value risk_reserved on enum BalanceTransaction.balance_type
    • Add support for new values reserve_hold and reserve_release on enum BalanceTransaction.type
    • Add support for new values 2.3.0 and 2.3.1 on enums Charge.payment_method_details.card.three_d_secure.version and SetupAttempt.payment_method_details.card.three_d_secure.version
    • Add support for new value adyen on enums Charge.payment_method_details.ideal.bank, ConfirmationToken.payment_method_preview.ideal.bank, PaymentAttemptRecord.payment_method_details.ideal.bank, PaymentMethod.ideal.bank, PaymentRecord.payment_method_details.ideal.bank, and SetupAttempt.payment_method_details.ideal.bank
    • Add support for new value ADYBNL2A on enums Charge.payment_method_details.ideal.bic, ConfirmationToken.payment_method_preview.ideal.bic, PaymentAttemptRecord.payment_method_details.ideal.bic, PaymentMethod.ideal.bic, PaymentRecord.payment_method_details.ideal.bic, and SetupAttempt.payment_method_details.ideal.bic
    • Add support for new value pl_nip 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 Invoice.payment_settings.payment_method_options.payto and Subscription.payment_settings.payment_method_options.payto to be required
    • Add support for enforce_arithmetic_validation on 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 error on PaymentIntent.amount_details
    • Remove support for bgn on Terminal.Configuration.tipping, Terminal\Configuration.create().$params.tipping, and Terminal\Configuration.update().$params.tipping
    • Add support for topup on Treasury.ReceivedDebit.linked_flows
    • Add support for contact_phone on V2.Core.Account, V2\Core\Account.create().$params, V2\Core\Account.update().$params, and V2\Core\AccountToken.create().$params
    • Add support for registration_date on V2.Core.Account.identity.business_details, V2\Core\Account.create().$params.identity.business_detail, V2\Core\Account.update().$params.identity.business_detail, and V2\Core\AccountToken.create().$params.identity.business_detail
    • Add support for new value gb_vat on enum V2.Core.Account.identity.business_details.id_numbers[].type
    • Add support for error code request_blocked on Invoice.last_finalization_error, PaymentIntent.last_payment_error, SetupAttempt.setup_error, SetupIntent.last_setup_error, and StripeError
  • #2000 Add guidance for undocumented API parameters

See the changelog for more details.

v19.3.0-alpha.1
  • #1998 Update generated code for private-preview
    • Remove support for pause method on resource Subscription
    • Change type of Quote.subscription_data.phase_effective_at and Quote.subscription_data_overrides[].phase_effective_at from enum('billing_period_start'|'phase_start') to nullable(enum('billing_period_start'|'phase_start'))

See the changelog for more details.

v19.2.0
  • #1997 Update generated code
    • Add support for event notifications V2CoreAccountClosedEvent, V2CoreAccountCreatedEvent, V2CoreAccountIncludingConfigurationCustomerCapabilityStatusUpdatedEvent, V2CoreAccountIncludingConfigurationCustomerUpdatedEvent, V2CoreAccountIncludingConfigurationMerchantCapabilityStatusUpdatedEvent, V2CoreAccountIncludingConfigurationMerchantUpdatedEvent, V2CoreAccountIncludingConfigurationRecipientCapabilityStatusUpdatedEvent, V2CoreAccountIncludingConfigurationRecipientUpdatedEvent, V2CoreAccountIncludingDefaultsUpdatedEvent, V2CoreAccountIncludingFutureRequirementsUpdatedEvent, V2CoreAccountIncludingIdentityUpdatedEvent, V2CoreAccountIncludingRequirementsUpdatedEvent, and V2CoreAccountUpdatedEvent with related object V2.Core.Account
    • Add support for event notification V2CoreAccountLinkReturnedEvent
    • Add support for event notifications V2CoreAccountPersonCreatedEvent, V2CoreAccountPersonDeletedEvent, and V2CoreAccountPersonUpdatedEvent with related object V2.Core.AccountPerson
  • #1984 Improve webhook signature validation doc block

See the changelog for more details.

v19.2.0-alpha.3
  • #1996 Update generated code for private-preview
    • Add support for risk_details on DelegatedCheckout.RequestedSession
    • Remove support for description, images, and name on DelegatedCheckout.RequestedSession.line_item_details[]
    • Add support for name on ProductCatalog.TrialOffer and ProductCatalog\TrialOffer.create().$params
    • Add support for login_failed and registration_failed on Radar.AccountEvaluation.events[] and Radar\AccountEvaluation.update().$params
    • Change type of Radar\AccountEvaluation.update().$params.type from literal('registration_succeeded') to enum('login_failed'|'login_succeeded'|'registration_failed'|'registration_succeeded')

See the changelog for more details.

v19.2.0-alpha.2
  • #1989 Update generated code for private-preview
    • Add support for tracking_details on V2.MoneyManagement.OutboundPayment
    • Add support for paper_check on V2.MoneyManagement.OutboundPayment.delivery_options and V2\MoneyManagement\OutboundPayment.create().$params.delivery_option
    • Add support for event notification V2CoreAccountIncludingFutureRequirementsUpdatedEvent with related object V2.Core.Account
  • #1979 Update generated code for private-preview
    • Add support for new resource Tax.Location
    • Add support for all, create, and retrieve methods on resource Tax.Location
    • Add support for pause method on resource Subscription
    • Add support for performance_location on Checkout\Session.create().$params.line_item.price_datum.product_datum.tax_detail, Checkout\Session.update().$params.line_item.price_datum.product_datum.tax_detail, Invoice.add_lines().$params.line.price_datum.product_datum.tax_detail, Invoice.update_lines().$params.line.price_datum.product_datum.tax_detail, InvoiceLineItem.update().$params.price_datum.product_datum.tax_detail, PaymentLink.create().$params.line_item.price_datum.product_datum.tax_detail, Product.create().$params.tax_detail, Product.update().$params.tax_detail, 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
    • Change type of DelegatedCheckout\RequestedSession.update().$params.metadata from map(string: string) to emptyable(map(string: string))
    • Change type of DelegatedCheckout\RequestedSession.update().$params.payment_method_data from payment_method_data to emptyable(payment_method_data)
    • Change type of DelegatedCheckout\RequestedSession.update().$params.shared_metadata from map(string: string) to emptyable(map(string: string))
    • Add support for subscription on Invoice.parent.schedule_details and QuotePreviewInvoice.parent.schedule_details
    • Change type of PaymentIntent.confirm().$params.payment_detail.benefit.fr_meal_voucher, PaymentIntent.create().$params.payment_detail.benefit.fr_meal_voucher, PaymentIntent.update().$params.payment_detail.benefit.fr_meal_voucher, SetupIntent.confirm().$params.setup_detail.benefit.fr_meal_voucher, SetupIntent.create().$params.setup_detail.benefit.fr_meal_voucher, and SetupIntent.update().$params.setup_detail.benefit.fr_meal_voucher from payment_details_benefit_fr_meal_voucher to emptyable(payment_details_benefit_fr_meal_voucher)
    • Add support for tax_details on Plan.create().$params.product and Price.create().$params.product_datum
    • Add support for external_reference on Plan and Price
    • Add support for new value phase_start on enums Quote.subscription_data.phase_effective_at and Quote.subscription_data_overrides[].phase_effective_at
    • Remove support for value line_start from enums Quote.subscription_data.phase_effective_at and Quote.subscription_data_overrides[].phase_effective_at
    • 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

See the changelog for more details.

v19.2.0-beta.1

This release changes the pinned API version to 2025-12-15.preview.

  • #1955 Add EventNotificationHandler
  • #1969 Update generated code for beta
    • Add support for new resources Reserve.Hold, Reserve.Plan, and Reserve.Release
    • Add support for all and retrieve methods on resources Reserve.Hold and Reserve.Release
    • Add support for retrieve method on resource Reserve.Plan
    • Change Billing.CreditBalanceSummary.customer_account, Billing.CreditGrant.customer_account, BillingPortal.Session.customer_account, CashBalance.customer_account, Checkout.Session.customer_account, ConfirmationToken.payment_method_preview.customer_account, CreditNote.customer_account, CustomerBalanceTransaction.customer_account, CustomerCashBalanceTransaction.customer_account, CustomerSession.customer_account, Discount.customer_account, Invoice.customer_account, InvoiceItem.customer_account, PaymentIntent.customer_account, PaymentMethod.customer_account, PromotionCode.customer_account, Quote.customer_account, QuotePreviewInvoice.customer_account, QuotePreviewSubscriptionSchedule.customer_account, SetupAttempt.customer_account, Subscription.customer_account, SubscriptionSchedule.customer_account, TaxId.customer_account, and TaxId.owner.customer_account to be required
    • Change type of V2.FinancialAddressGeneratedMicrodeposits.amounts from amount to an object
    • Change type of Checkout\Session.create().$params.payment_method_option.payto.mandate_option.amount, PaymentIntent.confirm().$params.payment_method_option.payto.mandate_option.amount, PaymentIntent.create().$params.payment_method_option.payto.mandate_option.amount, PaymentIntent.update().$params.payment_method_option.payto.mandate_option.amount, SetupIntent.confirm().$params.payment_method_option.payto.mandate_option.amount, SetupIntent.create().$params.payment_method_option.payto.mandate_option.amount, and SetupIntent.update().$params.payment_method_option.payto.mandate_option.amount from longInteger to emptyable(longInteger)
    • Change type of Checkout\Session.create().$params.payment_method_option.payto.mandate_option.amount_type, PaymentIntent.confirm().$params.payment_method_option.payto.mandate_option.amount_type, PaymentIntent.create().$params.payment_method_option.payto.mandate_option.amount_type, PaymentIntent.update().$params.payment_method_option.payto.mandate_option.amount_type, SetupIntent.confirm().$params.payment_method_option.payto.mandate_option.amount_type, SetupIntent.create().$params.payment_method_option.payto.mandate_option.amount_type, and SetupIntent.update().$params.payment_method_option.payto.mandate_option.amount_type from enum('fixed'|'maximum') to emptyable(enum('fixed'|'maximum'))
    • Change type of Checkout\Session.create().$params.payment_method_option.payto.mandate_option.end_date, PaymentIntent.confirm().$params.payment_method_option.payto.mandate_option.end_date, PaymentIntent.create().$params.payment_method_option.payto.mandate_option.end_date, PaymentIntent.update().$params.payment_method_option.payto.mandate_option.end_date, SetupIntent.confirm().$params.payment_method_option.payto.mandate_option.end_date, SetupIntent.create().$params.payment_method_option.payto.mandate_option.end_date, and SetupIntent.update().$params.payment_method_option.payto.mandate_option.end_date from string to emptyable(string)
    • Change type of Checkout\Session.create().$params.payment_method_option.payto.mandate_option.payment_schedule, PaymentIntent.confirm().$params.payment_method_option.payto.mandate_option.payment_schedule, PaymentIntent.create().$params.payment_method_option.payto.mandate_option.payment_schedule, PaymentIntent.update().$params.payment_method_option.payto.mandate_option.payment_schedule, SetupIntent.confirm().$params.payment_method_option.payto.mandate_option.payment_schedule, SetupIntent.create().$params.payment_method_option.payto.mandate_option.payment_schedule, and SetupIntent.update().$params.payment_method_option.payto.mandate_option.payment_schedule from enum to emptyable(enum)
    • Change type of Checkout\Session.create().$params.payment_method_option.payto.mandate_option.payments_per_period, PaymentIntent.confirm().$params.payment_method_option.payto.mandate_option.payments_per_period, PaymentIntent.create().$params.payment_method_option.payto.mandate_option.payments_per_period, PaymentIntent.update().$params.payment_method_option.payto.mandate_option.payments_per_period, SetupIntent.confirm().$params.payment_method_option.payto.mandate_option.payments_per_period, SetupIntent.create().$params.payment_method_option.payto.mandate_option.payments_per_period, and SetupIntent.update().$params.payment_method_option.payto.mandate_option.payments_per_period from longInteger to emptyable(longInteger)
    • Change type of Checkout\Session.create().$params.payment_method_option.payto.mandate_option.purpose, PaymentIntent.confirm().$params.payment_method_option.payto.mandate_option.purpose, PaymentIntent.create().$params.payment_method_option.payto.mandate_option.purpose, PaymentIntent.update().$params.payment_method_option.payto.mandate_option.purpose, SetupIntent.confirm().$params.payment_method_option.payto.mandate_option.purpose, SetupIntent.create().$params.payment_method_option.payto.mandate_option.purpose, and SetupIntent.update().$params.payment_method_option.payto.mandate_option.purpose from enum to emptyable(enum)
    • Change type of Checkout\Session.create().$params.payment_method_option.payto.mandate_option.start_date, SetupIntent.confirm().$params.payment_method_option.payto.mandate_option.start_date, SetupIntent.create().$params.payment_method_option.payto.mandate_option.start_date, and SetupIntent.update().$params.payment_method_option.payto.mandate_option.start_date from string to emptyable(string)
    • Change Identity.VerificationSession.related_customer_account to be required
    • Add support for async_workflows on PaymentIntent
    • Add support for payto on QuotePreviewInvoice.payment_settings.payment_method_options
    • Add support for new value payto on enum QuotePreviewInvoice.payment_settings.payment_method_types
    • Remove support for requested on V2.Core.Account.configuration.customer.capabilities.automatic_indirect_tax, V2.Core.Account.configuration.merchant.capabilities.ach_debit_payments, V2.Core.Account.configuration.merchant.capabilities.acss_debit_payments, V2.Core.Account.configuration.merchant.capabilities.affirm_payments, V2.Core.Account.configuration.merchant.capabilities.afterpay_clearpay_payments, V2.Core.Account.configuration.merchant.capabilities.alma_payments, V2.Core.Account.configuration.merchant.capabilities.amazon_pay_payments, V2.Core.Account.configuration.merchant.capabilities.au_becs_debit_payments, V2.Core.Account.configuration.merchant.capabilities.bacs_debit_payments, V2.Core.Account.configuration.merchant.capabilities.bancontact_payments, V2.Core.Account.configuration.merchant.capabilities.blik_payments, V2.Core.Account.configuration.merchant.capabilities.boleto_payments, V2.Core.Account.configuration.merchant.capabilities.card_payments, V2.Core.Account.configuration.merchant.capabilities.cartes_bancaires_payments, V2.Core.Account.configuration.merchant.capabilities.cashapp_payments, V2.Core.Account.configuration.merchant.capabilities.eps_payments, V2.Core.Account.configuration.merchant.capabilities.fpx_payments, V2.Core.Account.configuration.merchant.capabilities.gb_bank_transfer_payments, V2.Core.Account.configuration.merchant.capabilities.grabpay_payments, V2.Core.Account.configuration.merchant.capabilities.ideal_payments, V2.Core.Account.configuration.merchant.capabilities.jcb_payments, V2.Core.Account.configuration.merchant.capabilities.jp_bank_transfer_payments, V2.Core.Account.configuration.merchant.capabilities.kakao_pay_payments, V2.Core.Account.configuration.merchant.capabilities.klarna_payments, V2.Core.Account.configuration.merchant.capabilities.konbini_payments, V2.Core.Account.configuration.merchant.capabilities.kr_card_payments, V2.Core.Account.configuration.merchant.capabilities.link_payments, V2.Core.Account.configuration.merchant.capabilities.mobilepay_payments, V2.Core.Account.configuration.merchant.capabilities.multibanco_payments, V2.Core.Account.configuration.merchant.capabilities.mx_bank_transfer_payments, V2.Core.Account.configuration.merchant.capabilities.naver_pay_payments, V2.Core.Account.configuration.merchant.capabilities.oxxo_payments, V2.Core.Account.configuration.merchant.capabilities.p24_payments, V2.Core.Account.configuration.merchant.capabilities.pay_by_bank_payments, V2.Core.Account.configuration.merchant.capabilities.payco_payments, V2.Core.Account.configuration.merchant.capabilities.paynow_payments, V2.Core.Account.configuration.merchant.capabilities.promptpay_payments, V2.Core.Account.configuration.merchant.capabilities.revolut_pay_payments, V2.Core.Account.configuration.merchant.capabilities.samsung_pay_payments, V2.Core.Account.configuration.merchant.capabilities.sepa_bank_transfer_payments, V2.Core.Account.configuration.merchant.capabilities.sepa_debit_payments, V2.Core.Account.configuration.merchant.capabilities.stripe_balance.payouts, V2.Core.Account.configuration.merchant.capabilities.swish_payments, V2.Core.Account.configuration.merchant.capabilities.twint_payments, V2.Core.Account.configuration.merchant.capabilities.us_bank_transfer_payments, V2.Core.Account.configuration.merchant.capabilities.zip_payments, V2.Core.Account.configuration.recipient.capabilities.bank_accounts.local, V2.Core.Account.configuration.recipient.capabilities.bank_accounts.wire, V2.Core.Account.configuration.recipient.capabilities.cards, V2.Core.Account.configuration.recipient.capabilities.stripe_balance.payouts, V2.Core.Account.configuration.recipient.capabilities.stripe_balance.stripe_transfers, V2.Core.Account.configuration.storer.capabilities.financial_addresses.bank_accounts, V2.Core.Account.configuration.storer.capabilities.holds_currencies.eur, V2.Core.Account.configuration.storer.capabilities.holds_currencies.gbp, V2.Core.Account.configuration.storer.capabilities.holds_currencies.usd, V2.Core.Account.configuration.storer.capabilities.inbound_transfers.bank_accounts, V2.Core.Account.configuration.storer.capabilities.outbound_payments.bank_accounts, V2.Core.Account.configuration.storer.capabilities.outbound_payments.cards, V2.Core.Account.configuration.storer.capabilities.outbound_payments.financial_accounts, V2.Core.Account.configuration.storer.capabilities.outbound_transfers.bank_accounts, and V2.Core.Account.configuration.storer.capabilities.outbound_transfers.financial_accounts
    • Add support for new values al_bank_account, am_bank_account, bn_bank_account, bw_bank_account, dz_bank_account, gy_bank_account, jm_bank_account, jo_bank_account, kw_bank_account, lk_bank_account, ma_bank_account, om_bank_account, and tz_bank_account on enum V2.Core.Account.configuration.recipient.default_outbound_destination.type
    • Change type of V2.Core.Account.identity.business_details.annual_revenue.amount, V2.Core.Account.identity.business_details.monthly_estimated_revenue.amount, V2.MoneyManagement.Adjustment.amount, V2.MoneyManagement.InboundTransfer.amount, V2.MoneyManagement.OutboundPayment.amount, V2.MoneyManagement.OutboundPaymentQuote.amount, V2.MoneyManagement.OutboundPaymentQuote.estimated_fees[].amount, V2.MoneyManagement.OutboundTransfer.amount, V2.MoneyManagement.ReceivedCredit.amount, V2.MoneyManagement.ReceivedDebit.amount, V2.MoneyManagement.Transaction.amount, V2\Core\Account.create().$params.identity.business_detail.annual_revenue.amount, V2\Core\Account.create().$params.identity.business_detail.monthly_estimated_revenue.amount, V2\Core\Account.update().$params.identity.business_detail.annual_revenue.amount, V2\Core\Account.update().$params.identity.business_detail.monthly_estimated_revenue.amount, V2\Core\AccountToken.create().$params.identity.business_detail.annual_revenue.amount, V2\Core\AccountToken.create().$params.identity.business_detail.monthly_estimated_revenue.amount, V2\FinancialAddressCreditSimulation.credit().$params.amount, V2\MoneyManagement\InboundTransfer.create().$params.amount, V2\MoneyManagement\OutboundPayment.create().$params.amount, V2\MoneyManagement\OutboundPaymentQuote.create().$params.amount, and V2\MoneyManagement\OutboundTransfer.create().$params.amount from amount to an object
    • Add support for new values at_stn, at_vat, be_vat, bg_vat, ca_gst_hst, cy_he, cy_vat, cz_vat, de_stn, dk_vat, ee_vat, es_vat, fi_vat, fr_rna, gr_afm, gr_vat, hr_mbs, hr_oib, hr_vat, hu_tin, hu_vat, ie_trn, ie_vat, lt_vat, lu_nif, lu_vat, lv_vat, mt_tin, mt_vat, my_itn, nl_rsin, nl_vat, nz_ird, pl_nip, pl_vat, ro_orc, ro_vat, se_vat, si_tin, si_vat, sk_dic, and sk_vat on enum V2.Core.Account.identity.business_details.id_numbers[].type
    • Remove support for value hk_mbs from enum V2.Core.Account.identity.business_details.id_numbers[].type
    • Add support for new values ar_cuil, at_stn, be_nrn, bg_ucn, bn_nric, ca_sin, ch_oasi, cl_rut, cn_pp, co_nuip, cr_ci, cy_tic, cz_rc, dk_cpr, do_cie, ec_ci, ee_ik, es_nif, fi_hetu, fr_nir, gb_nino, gr_afm, hr_oib, hu_ad, id_nik, ie_ppsn, is_kt, it_cf, jp_inc, ke_pin, li_peid, lt_ak, lu_nif, lv_pk, ng_nin, no_nin, nz_ird, pl_pesel, pt_nif, ro_cnp, se_pin, sk_dic, tr_tin, uy_dni, and za_id on enums V2.Core.Account.identity.individual.id_numbers[].type and V2.Core.AccountPerson.id_numbers[].type
    • Change V2.Core.Account.defaults.responsibilities to be required
    • Change V2.Core.Account.defaults.responsibilities.fees_collector to be optional
    • Change V2.Core.Account.defaults.responsibilities.losses_collector to be optional
    • Add support for financial_connections_account on V2.Core.Vault.UsBankAccount and V2.MoneyManagement.PayoutMethod.bank_account
    • Change type of V2.MoneyManagement.FinancialAccount.balance.available, V2.MoneyManagement.Transaction.balance_impact.available, and V2.MoneyManagement.TransactionEntry.balance_impact.available from amount to an object
    • Change type of V2.MoneyManagement.FinancialAccount.balance.inbound_pending, V2.MoneyManagement.Transaction.balance_impact.inbound_pending, and V2.MoneyManagement.TransactionEntry.balance_impact.inbound_pending from amount to an object
    • Change type of V2.MoneyManagement.FinancialAccount.balance.outbound_pending, V2.MoneyManagement.Transaction.balance_impact.outbound_pending, and V2.MoneyManagement.TransactionEntry.balance_impact.outbound_pending from amount to an object
    • Change type of V2.MoneyManagement.InboundTransfer.from.debited, V2.MoneyManagement.OutboundPayment.from.debited, V2.MoneyManagement.OutboundPaymentQuote.from.debited, and V2.MoneyManagement.OutboundTransfer.from.debited from amount to an object
    • Change type of V2.MoneyManagement.InboundTransfer.to.credited, V2.MoneyManagement.OutboundPayment.to.credited, V2.MoneyManagement.OutboundPaymentQuote.to.credited, and V2.MoneyManagement.OutboundTransfer.to.credited from amount to an object
    • Add support for transfer on V2.MoneyManagement.ReceivedCredit.balance_transfer
    • Add support for new value transfer on enum V2.MoneyManagement.ReceivedCredit.balance_transfer.type
    • Change V2\Core\AccountToken.create().$params.identity to be optional
    • Add support for event notification V2MoneyManagementPayoutMethodCreatedEvent with related object V2.MoneyManagement.PayoutMethod
    • Add support for error type ControlledByAlternateResourceException
    • Remove support for error type RateLimitException
    • Add support for error code account_token_required_for_v2_account on QuotePreviewInvoice.last_finalization_error

See the changelog for more details.

v19.1.0

This release changes the pinned API version to 2025-12-15.clover.

  • #1975 Update generated code
    • Add support for new resources V2.Core.AccountLink, V2.Core.AccountPersonToken, V2.Core.AccountPerson, V2.Core.AccountToken, and V2.Core.Account
    • Add support for create and retrieve methods on resources V2.Core.AccountPersonToken and V2.Core.AccountToken
    • Add support for create method on resource V2.Core.AccountLink
    • Add support for all, close, create, retrieve, and update methods on resource V2.Core.Account
    • Add support for all, create, delete, retrieve, and update methods on resource V2.Core.AccountPerson
    • Add support for customer_account on Billing.CreditBalanceSummary, Billing.CreditGrant, BillingPortal.Session, BillingPortal\Session.create().$params, Billing\CreditBalanceSummary.retrieve().$params, Billing\CreditBalanceTransaction.all().$params, Billing\CreditGrant.all().$params, Billing\CreditGrant.create().$params, CashBalance, Checkout.Session, Checkout\Session.all().$params, Checkout\Session.create().$params, ConfirmationToken.payment_method_preview, CreditNote.all().$params, CreditNote, CustomerBalanceTransaction, CustomerCashBalanceTransaction, CustomerSession.create().$params, CustomerSession, Customer, Discount, FinancialConnections.Account.account_holder, FinancialConnections.Session.account_holder, FinancialConnections\Account.all().$params.account_holder, FinancialConnections\Session.create().$params.account_holder, Invoice.all().$params, Invoice.create().$params, Invoice.create_preview().$params, InvoiceItem.all().$params, InvoiceItem.create().$params, InvoiceItem, Invoice, PaymentIntent.all().$params, PaymentIntent.create().$params, PaymentIntent.update().$params, PaymentIntent, PaymentMethod.all().$params, PaymentMethod.attach().$params, PaymentMethod, PromotionCode.all().$params, PromotionCode.create().$params, PromotionCode, Quote.all().$params, Quote.create().$params, Quote.update().$params, Quote, SetupAttempt, SetupIntent.all().$params, SetupIntent.create().$params, SetupIntent.update().$params, SetupIntent, Subscription.all().$params, Subscription.create().$params, SubscriptionSchedule.all().$params, SubscriptionSchedule.create().$params, SubscriptionSchedule, Subscription, TaxId.all().$params.owner, TaxId.create().$params.owner, TaxId.owner, and TaxId
    • Add support for metadata on Checkout\Session.create().$params.line_item and LineItem
    • Add support for payto_payments on Account.capabilities, Account.create().$params.capability, and Account.update().$params.capability
    • Add support for signer on Account.create().$params.document.proof_of_registration, Account.create().$params.document.proof_of_ultimate_beneficial_ownership, Account.update().$params.document.proof_of_registration, and Account.update().$params.document.proof_of_ultimate_beneficial_ownership
    • Change BillingPortal\Session.create().$params.customer, Billing\CreditBalanceSummary.retrieve().$params.customer, Billing\CreditBalanceTransaction.all().$params.customer, Billing\CreditGrant.create().$params.customer, CustomerSession.create().$params.customer, InvoiceItem.create().$params.customer, PaymentMethod.attach().$params.customer, and Subscription.create().$params.customer to be optional
    • Add support for billing_cycle_anchor on BillingPortal.Configuration.features.subscription_update, BillingPortal\Configuration.create().$params.feature.subscription_update, and BillingPortal\Configuration.update().$params.feature.subscription_update
    • Add support for payto on Charge.payment_method_details, Checkout.Session.payment_method_options, Checkout\Session.create().$params.payment_method_option, ConfirmationToken.create().$params.payment_method_datum, ConfirmationToken.payment_method_preview, 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, PaymentAttemptRecord.payment_method_details, PaymentIntent.confirm().$params.payment_method_datum, PaymentIntent.confirm().$params.payment_method_option, PaymentIntent.create().$params.payment_method_datum, PaymentIntent.create().$params.payment_method_option, PaymentIntent.payment_method_options, PaymentIntent.update().$params.payment_method_datum, PaymentIntent.update().$params.payment_method_option, PaymentMethod.create().$params, PaymentMethod.update().$params, PaymentMethodConfiguration.create().$params, PaymentMethodConfiguration.update().$params, PaymentMethodConfiguration, PaymentMethod, PaymentRecord.payment_method_details, SetupAttempt.payment_method_details, SetupIntent.confirm().$params.payment_method_datum, SetupIntent.confirm().$params.payment_method_option, SetupIntent.create().$params.payment_method_datum, SetupIntent.create().$params.payment_method_option, SetupIntent.payment_method_options, SetupIntent.update().$params.payment_method_datum, 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 expected_debit_date on Charge.payment_method_details.acss_debit, Charge.payment_method_details.au_becs_debit, Charge.payment_method_details.bacs_debit, Charge.payment_method_details.nz_bank_account, Charge.payment_method_details.sepa_debit, Charge.payment_method_details.us_bank_account, PaymentAttemptRecord.payment_method_details.acss_debit, PaymentAttemptRecord.payment_method_details.au_becs_debit, PaymentAttemptRecord.payment_method_details.bacs_debit, PaymentAttemptRecord.payment_method_details.nz_bank_account, PaymentAttemptRecord.payment_method_details.sepa_debit, PaymentAttemptRecord.payment_method_details.us_bank_account, PaymentRecord.payment_method_details.acss_debit, PaymentRecord.payment_method_details.au_becs_debit, PaymentRecord.payment_method_details.bacs_debit, PaymentRecord.payment_method_details.nz_bank_account, PaymentRecord.payment_method_details.sepa_debit, and PaymentRecord.payment_method_details.us_bank_account
    • Add support for new value mollie on enums Charge.payment_method_details.ideal.bank, ConfirmationToken.payment_method_preview.ideal.bank, PaymentAttemptRecord.payment_method_details.ideal.bank, PaymentMethod.ideal.bank, PaymentRecord.payment_method_details.ideal.bank, and SetupAttempt.payment_method_details.ideal.bank
    • Add support for new value MLLENL2A on enums Charge.payment_method_details.ideal.bic, ConfirmationToken.payment_method_preview.ideal.bic, PaymentAttemptRecord.payment_method_details.ideal.bic, PaymentMethod.ideal.bic, PaymentRecord.payment_method_details.ideal.bic, and SetupAttempt.payment_method_details.ideal.bic
    • Add support for line_items on Checkout\Session.update().$params
    • Add support for new value payto on enums ConfirmationToken.payment_method_preview.type and PaymentMethod.type
    • Add support for invoice on CustomerBalanceTransaction.all().$params
    • Add support for related_customer_account on Identity.VerificationSession, Identity\VerificationSession.all().$params, and Identity\VerificationSession.create().$params
    • Change type of InvoiceItem.pricing.price_details.price and InvoiceLineItem.pricing.price_details.price from string to expandable($Price)
    • Add support for new value payto on enums Invoice.payment_settings.payment_method_types and Subscription.payment_settings.payment_method_types
    • Add support for subtotal on InvoiceLineItem
    • Add support for authorization_code, description, iin, installments, issuer, network_advice_code, network_decline_code, and stored_credential_usage on PaymentAttemptRecord.payment_method_details.card and PaymentRecord.payment_method_details.card
    • Add support for new value payto on enums PaymentIntent.excluded_payment_method_types and SetupIntent.excluded_payment_method_types
    • Change PaymentIntent.transfer_data to be optional
    • Add support for new value payto on enum PaymentLink.payment_method_types
    • Add support for allow_redisplay on PaymentMethod.all().$params
    • Add support for reported_by on PaymentRecord
    • Change Product.tax_code to be optional
    • Add support for changes on V2.Core.Event
    • Add support for error code account_token_required_for_v2_account on Invoice.last_finalization_error, PaymentIntent.last_payment_error, SetupAttempt.setup_error, SetupIntent.last_setup_error, and StripeError
  • #1976 Updated bundled CA certs
  • #1973 Remove deprecated usage of curl_close() for PHP versions > 8.0

See the changelog for more details.

v19.2.0-alpha.1
  • #1978 Update generated code for private-preview
    • Add support for new resources SharedPayment.GrantedToken, V2.Iam.ApiKey, V2.Payments.SettlementAllocationIntentSplit, V2.Payments.SettlementAllocationIntent, and V2.Tax.ManualRule
    • Add support for retrieve method on resource SharedPayment.GrantedToken
    • Add support for create and update test helper methods on resource SharedPayment.GrantedToken
    • Add support for all, create, deactivate, retrieve, and update methods on resource V2.Tax.ManualRule
    • Add support for cancel, create, retrieve, submit, and update methods on resource V2.Payments.SettlementAllocationIntent
    • Add support for cancel, create, and retrieve methods on resource V2.Payments.SettlementAllocationIntentSplit
    • Add support for all, create, expire, retrieve, rotate, and update methods on resource V2.Iam.ApiKey
    • Add support for check_scanning on AccountSession.create().$params.component
    • 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, Product.create().$params, and Product.update().$params
    • Add support for payment_method_data on DelegatedCheckout\RequestedSession.confirm().$params
    • Add support for product_details on DelegatedCheckout.RequestedSession.line_item_details[]
    • Add support for wallets on Issuing\Card.all().$params
    • Add support for primary_account_identifier on Issuing.Card.wallets.apple_pay and Issuing.Card.wallets.google_pay
    • Add support for shared_payment_granted_token on PaymentIntent.confirm().$params, PaymentIntent.create().$params, and PaymentIntent
    • Change ProductCatalog.TrialOffer.duration.relative to be optional
    • Add support for new values al_bank_account, am_bank_account, bn_bank_account, bw_bank_account, dz_bank_account, gy_bank_account, jm_bank_account, jo_bank_account, kw_bank_account, lk_bank_account, ma_bank_account, om_bank_account, and tz_bank_account on enum V2.Account.configuration.recipient_data.default_outbound_destination.type
    • Add support for instant on V2.Account.configuration.recipient_data.features.bank_accounts, V2.Core.Account.configuration.recipient.capabilities.bank_accounts, V2\Account.create().$params.configuration.recipient_datum.feature.bank_account, V2\Account.update().$params.configuration.recipient_datum.feature.bank_account, V2\Core\Account.create().$params.configuration.recipient.capability.bank_account, and V2\Core\Account.update().$params.configuration.recipient.capability.bank_account
    • Add support for new value bank_accounts.instant on enum V2.Account.requirements[].impact.required_for_features
    • Add support for collect_at on V2.Billing.IntentAction.deactivate, V2.Billing.IntentAction.modify, V2.Billing.IntentAction.subscribe, V2\Billing\Intent.create().$params.action.deactivate, V2\Billing\Intent.create().$params.action.modify, and V2\Billing\Intent.create().$params.action.subscribe
    • Remove support for billing_details on V2.Billing.IntentAction.deactivate, V2.Billing.IntentAction.modify, V2.Billing.IntentAction.subscribe, V2\Billing\Intent.create().$params.action.deactivate, V2\Billing\Intent.create().$params.action.modify, and V2\Billing\Intent.create().$params.action.subscribe
    • Add support for overrides on V2.Billing.IntentAction.deactivate.pricing_plan_subscription_details, V2.Billing.IntentAction.modify.pricing_plan_subscription_details, V2.Billing.IntentAction.subscribe.pricing_plan_subscription_details, V2\Billing\Intent.create().$params.action.deactivate.pricing_plan_subscription_detail, V2\Billing\Intent.create().$params.action.modify.pricing_plan_subscription_detail, and V2\Billing\Intent.create().$params.action.subscribe.pricing_plan_subscription_detail
    • Remove support for requested on V2.Core.Account.configuration.card_creator.capabilities.commercial.celtic.charge_card, V2.Core.Account.configuration.card_creator.capabilities.commercial.celtic.spend_card, V2.Core.Account.configuration.card_creator.capabilities.commercial.cross_river_bank.charge_card, V2.Core.Account.configuration.card_creator.capabilities.commercial.cross_river_bank.spend_card, V2.Core.Account.configuration.card_creator.capabilities.commercial.lead.prepaid_card, V2.Core.Account.configuration.card_creator.capabilities.commercial.stripe.charge_card, V2.Core.Account.configuration.card_creator.capabilities.commercial.stripe.prepaid_card, V2.Core.Account.configuration.recipient.capabilities.crypto_wallets, V2.Core.Account.configuration.storer.capabilities.financial_addresses.crypto_wallets, V2.Core.Account.configuration.storer.capabilities.holds_currencies.usdc, V2.Core.Account.configuration.storer.capabilities.outbound_payments.crypto_wallets, and V2.Core.Account.configuration.storer.capabilities.outbound_transfers.crypto_wallets
    • Add support for new value bank_accounts.instant 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 alternative_reference on V2.Core.Vault.GbBankAccount, V2.Core.Vault.UsBankAccount, and V2.MoneyManagement.PayoutMethod
    • Add support for managed_by and payments on V2.MoneyManagement.FinancialAccount
    • Add support for new value payments on enum V2.MoneyManagement.FinancialAccount.type
    • Add support for speed on V2.MoneyManagement.OutboundPayment.delivery_options, V2.MoneyManagement.OutboundPaymentQuote.delivery_options, V2\MoneyManagement\OutboundPayment.create().$params.delivery_option, and V2\MoneyManagement\OutboundPaymentQuote.create().$params.delivery_option
    • Add support for new value real_time_payout_fee on enum V2.MoneyManagement.OutboundPaymentQuote.estimated_fees[].type
    • Add support for types on V2\MoneyManagement\FinancialAccount.all().$params
    • Add support for new value bank_accounts.instant on enum EventsV2CoreAccountIncludingConfigurationRecipientCapabilityStatusUpdatedEvent.updated_capability
    • Add support for top_impacted_accounts on EventsV2CoreHealthApiErrorFiringEvent.impact, EventsV2CoreHealthApiErrorResolvedEvent.impact, EventsV2CoreHealthApiLatencyFiringEvent.impact, EventsV2CoreHealthApiLatencyResolvedEvent.impact, EventsV2CoreHealthPaymentMethodErrorFiringEvent.impact, and EventsV2CoreHealthPaymentMethodErrorResolvedEvent.impact
    • Add support for event notifications V2CoreHealthSepaDebitDelayedFiringEvent, V2CoreHealthSepaDebitDelayedResolvedEvent, and V2PaymentsSettlementAllocationIntentNotFoundEvent
    • Add support for event notifications V2PaymentsSettlementAllocationIntentCanceledEvent, V2PaymentsSettlementAllocationIntentCreatedEvent, V2PaymentsSettlementAllocationIntentErroredEvent, V2PaymentsSettlementAllocationIntentFundsNotReceivedEvent, V2PaymentsSettlementAllocationIntentMatchedEvent, V2PaymentsSettlementAllocationIntentSettledEvent, and V2PaymentsSettlementAllocationIntentSubmittedEvent with related object V2.Payments.SettlementAllocationIntent
    • Add support for event notifications V2PaymentsSettlementAllocationIntentSplitCanceledEvent, V2PaymentsSettlementAllocationIntentSplitCreatedEvent, and V2PaymentsSettlementAllocationIntentSplitSettledEvent with related object V2.Payments.SettlementAllocationIntentSplit

See the changelog for more details.

v19.1.0-alpha.4
  • #1977 Update generated code for private-preview
    • Add support for event notifications V2IamApiKeyCreatedEvent, V2IamApiKeyDefaultSecretRevealedEvent, V2IamApiKeyExpiredEvent, V2IamApiKeyPermissionsUpdatedEvent, V2IamApiKeyRotatedEvent, and V2IamApiKeyUpdatedEvent
  • #1974 Update generated code for private-preview
    • Add support for check_scanning on AccountSession.components
    • Add support for client on V2.Core.Event.reason.request
    • Add support for stripe_balance_payment on V2.MoneyManagement.ReceivedCredit and V2.MoneyManagement.ReceivedDebit
    • Add support for new value stripe_balance_payment on enum V2.MoneyManagement.ReceivedCredit.type
    • Add support for balance_transfer on V2.MoneyManagement.ReceivedDebit
    • Add support for new values balance_transfer and stripe_balance_payment on enum V2.MoneyManagement.ReceivedDebit.type
    • Add support for include on V2\Core\Event.all().$params and V2\Core\Event.retrieve().$params

See the changelog for more details.

v19.1.0-alpha.3
  • #1971 Update generated code for private-preview
    • Add support for new resource ProductCatalog.TrialOffer
    • Add support for create method on resource ProductCatalog.TrialOffer
    • Remove support for amount_subtotal_after_discount on DelegatedCheckout.RequestedSession.line_item_details[] and DelegatedCheckout.RequestedSession.total_details
    • Remove support for amount_total, unit_amount_after_discount, and unit_discount on DelegatedCheckout.RequestedSession.line_item_details[]
    • Add support for amount_cart_discount and amount_items_discount on DelegatedCheckout.RequestedSession.total_details
    • Remove support for amount_discount on DelegatedCheckout.RequestedSession.total_details
    • Add support for payments_orchestration on PaymentIntent.create().$params and PaymentIntent

See the changelog for more details.

v19.1.0-alpha.2

This release changes the pinned API version to 2025-11-17.preview.

  • #1968 Update generated code for private-preview
    • Add support for new resources V2.Core.AccountPersonToken, V2.Core.AccountToken, and V2.MoneyManagement.CurrencyConversion
    • Add support for all, create, and retrieve methods on resource V2.MoneyManagement.CurrencyConversion
    • Add support for create and retrieve methods on resources V2.Core.AccountPersonToken and V2.Core.AccountToken
    • Add support for effective_at on Invoice.create_preview().$params.schedule_detail.amendment, Invoice.create_preview().$params.schedule_detail.phase, Quote.create().$params.line, Quote.update().$params.line, QuoteLine, QuotePreviewSubscriptionSchedule.phases[], SubscriptionSchedule.amend().$params.amendment, SubscriptionSchedule.create().$params.phase, SubscriptionSchedule.phases[], and SubscriptionSchedule.update().$params.phase
    • 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
    • Change type of DelegatedCheckout.RequestedSession.amount_subtotal from longInteger to nullable(longInteger)
    • Change type of DelegatedCheckout.RequestedSession.amount_total from longInteger to nullable(longInteger)
    • Add support for amount_discount, amount_subtotal, amount_total, unit_amount_after_discount, and unit_discount on DelegatedCheckout.RequestedSession.line_item_details[]
    • Add support for amount_subtotal_after_discount on DelegatedCheckout.RequestedSession.line_item_details[] and DelegatedCheckout.RequestedSession.total_details
    • Change type of Invoice.create_preview().$params.schedule_detail.billing_schedules from array(billing_schedules_update_params) to emptyable(array(billing_schedules_update_params))
    • 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
    • Change type of Quote.create().$params.subscription_data_override.billing_schedules and Quote.create().$params.subscription_datum.billing_schedules from emptyable(array(billing_schedules_create_specs)) to array(billing_schedules_create_specs)
    • Change type of Quote.subscription_data.billing_schedules and Quote.subscription_data_overrides[].billing_schedules from nullable(array(SubscriptionsResourceBillingSchedules)) to array(QuotesResourceSubscriptionDataBillingSchedules)
    • Change type of Quote.subscription_data.phase_effective_at and Quote.subscription_data_overrides[].phase_effective_at from nullable(enum('billing_period_start'|'phase_start')) to enum('billing_period_start'|'line_start')
    • Change type of QuotePreviewSubscriptionSchedule.default_settings.phase_effective_at and SubscriptionSchedule.default_settings.phase_effective_at from nullable(enum('billing_period_start'|'phase_start')) to enum('billing_period_start'|'phase_start')
    • Change type of QuotePreviewSubscriptionSchedule.billing_schedules and SubscriptionSchedule.billing_schedules from nullable(array(SubscriptionsResourceBillingSchedules)) to array(SubscriptionsResourceBillingSchedules)
    • Remove support for amendment_start, line_starts_at, and relative on Subscription.billing_schedules[].bill_from
    • Change type of Subscription.billing_schedules[].bill_from.computed_timestamp from nullable(DateTime) to DateTime
    • Change type of Subscription.billing_schedules[].bill_from.type from enum to literal('timestamp')
    • Remove support for amendment_end and line_ends_at on Subscription.billing_schedules[].bill_until
    • Remove support for values amendment_end, line_ends_at, schedule_end, and upcoming_invoice from enum Subscription.billing_schedules[].bill_until.type
    • Change type of V2.Billing.ServiceAction.credit_grant.amount.monetary, V2.Billing.ServiceAction.credit_grant_per_tenant.amount.monetary, V2\Billing\ServiceAction.create().$params.credit_grant.amount.monetary, and V2\Billing\ServiceAction.create().$params.credit_grant_per_tenant.amount.monetary from amount to an object
    • Add support for future_requirements on V2.Core.Account
    • Add support for konbini_payments and script_statement_descriptor on V2.Core.Account.configuration.merchant, V2\Core\Account.create().$params.configuration.merchant, and V2\Core\Account.update().$params.configuration.merchant
    • Add support for eur on V2.Core.Account.configuration.storer.capabilities.holds_currencies, V2\Core\Account.create().$params.configuration.storer.capability.holds_currency, and V2\Core\Account.update().$params.configuration.storer.capability.holds_currency
    • Add support for requirements_collector on V2.Core.Account.defaults.responsibilities
    • Add support for new value ar_cuit on enum V2.Core.Account.identity.business_details.id_numbers[].type
    • Add support for new value ar_dni on enums V2.Core.Account.identity.individual.id_numbers[].type and V2.Core.AccountPerson.id_numbers[].type
    • Remove support for collector on V2.Core.Account.requirements
    • Add support for new value holds_currencies.eur on enum V2.Core.Account.requirements.entries[].impact.restricts_capabilities[].capability
    • Add support for new values payment_method and person on enum V2.Core.Account.requirements.entries[].reference.type
    • Remove support for value resource from enum V2.Core.Account.requirements.entries[].reference.type
    • Remove support for value future_requirements from enum V2.Core.Account.requirements.entries[].requested_reasons[].code
    • Remove support for v1_event_id on V2.Core.Event
    • Remove support for amount_details and capture_method on V2.Payments.OffSessionPayment and V2\Payments\OffSessionPayment.create().$params
    • Change type of V2.Payments.OffSessionPayment.amount_capturable from amount to an object
    • Change type of V2.Payments.OffSessionPayment.amount_requested from amount to an object
    • Change type of V2\Payments\OffSessionPayment.create().$params.amount from amount to an object
    • Change V2\Payments\OffSessionPayment.create().$params.retry_detail.retry_strategy to be optional
    • Remove support for destination on V2\Payments\OffSessionPayment.capture().$params.transfer_datum
    • Change V2\Payments\OffSessionPayment.capture().$params.amount_to_capture to be optional
    • Add support for created on V2\Core\Event.all().$params
    • Remove support for gt, gte, lt, and lte on V2\Core\Event.all().$params
    • Add support for account_token on V2\Core\Account.create().$params and V2\Core\Account.update().$params
    • Add support for person_token on V2\Core\AccountPerson.create().$params and V2\Core\AccountPerson.update().$params
    • Add support for impacted_requests_percentage on EventsV2CoreHealthApiErrorFiringEvent.impact, EventsV2CoreHealthApiErrorResolvedEvent.impact, EventsV2CoreHealthApiLatencyFiringEvent.impact, EventsV2CoreHealthApiLatencyResolvedEvent.impact, EventsV2CoreHealthPaymentMethodErrorFiringEvent.impact, and EventsV2CoreHealthPaymentMethodErrorResolvedEvent.impact
    • Add support for context and related_object on EventsV2CoreHealthEventGenerationFailureResolvedEvent.impact
    • Remove support for account, livemode, missing_delivery_attempts, and related_object_id on EventsV2CoreHealthEventGenerationFailureResolvedEvent.impact
    • Change type of EventsV2CoreHealthFraudRateIncreasedEvent.impact.realized_fraud_amount from amount to an object
    • Change type of EventsV2CoreHealthIssuingAuthorizationRequestErrorsFiringEvent.impact.approved_amount, EventsV2CoreHealthIssuingAuthorizationRequestErrorsResolvedEvent.impact.approved_amount, EventsV2CoreHealthIssuingAuthorizationRequestTimeoutFiringEvent.impact.approved_amount, and EventsV2CoreHealthIssuingAuthorizationRequestTimeoutResolvedEvent.impact.approved_amount from amount to an object
    • Change type of EventsV2CoreHealthIssuingAuthorizationRequestErrorsFiringEvent.impact.declined_amount, EventsV2CoreHealthIssuingAuthorizationRequestErrorsResolvedEvent.impact.declined_amount, EventsV2CoreHealthIssuingAuthorizationRequestTimeoutFiringEvent.impact.declined_amount, and EventsV2CoreHealthIssuingAuthorizationRequestTimeoutResolvedEvent.impact.declined_amount from amount to an object
    • Add support for thin events V2PaymentsOffSessionPaymentAttemptFailedEvent and V2PaymentsOffSessionPaymentAttemptStartedEvent with related object V2.Payments.OffSessionPayment
    • Remove support for thin event V1AccountUpdatedEvent with related object Account
    • Remove support for thin events V1ApplicationFeeCreatedEvent and V1ApplicationFeeRefundedEvent with related object ApplicationFee
    • Remove support for thin events V1BillingPortalConfigurationCreatedEvent and V1BillingPortalConfigurationUpdatedEvent with related object BillingPortal.Configuration
    • Remove support for thin event V1CapabilityUpdatedEvent with related object Capability
    • Remove support for thin events V1ChargeCapturedEvent, V1ChargeExpiredEvent, V1ChargeFailedEvent, V1ChargePendingEvent, V1ChargeRefundedEvent, V1ChargeSucceededEvent, and V1ChargeUpdatedEvent with related object Charge
    • Remove support for thin events V1ChargeDisputeClosedEvent, V1ChargeDisputeCreatedEvent, V1ChargeDisputeFundsReinstatedEvent, V1ChargeDisputeFundsWithdrawnEvent, and V1ChargeDisputeUpdatedEvent with related object Dispute
    • Remove support for thin events V1ChargeRefundUpdatedEvent, V1RefundCreatedEvent, V1RefundFailedEvent, and V1RefundUpdatedEvent with related object Refund
    • Remove support for thin events V1CheckoutSessionAsyncPaymentFailedEvent, V1CheckoutSessionAsyncPaymentSucceededEvent, V1CheckoutSessionCompletedEvent, and V1CheckoutSessionExpiredEvent with related object Checkout.Session
    • Remove support for thin events V1ClimateOrderCanceledEvent, V1ClimateOrderCreatedEvent, V1ClimateOrderDelayedEvent, V1ClimateOrderDeliveredEvent, and V1ClimateOrderProductSubstitutedEvent with related object Climate.Order
    • Remove support for thin events V1ClimateProductCreatedEvent and V1ClimateProductPricingUpdatedEvent with related object Climate.Product
    • Remove support for thin events V1CouponCreatedEvent, V1CouponDeletedEvent, and V1CouponUpdatedEvent with related object Coupon
    • Remove support for thin events V1CreditNoteCreatedEvent, V1CreditNoteUpdatedEvent, and V1CreditNoteVoidedEvent with related object CreditNote
    • Remove support for thin events V1CustomerCreatedEvent, V1CustomerDeletedEvent, and V1CustomerUpdatedEvent with related object Customer
    • Remove support for thin events V1CustomerSubscriptionCreatedEvent, V1CustomerSubscriptionDeletedEvent, V1CustomerSubscriptionPausedEvent, V1CustomerSubscriptionPendingUpdateAppliedEvent, V1CustomerSubscriptionPendingUpdateExpiredEvent, V1CustomerSubscriptionResumedEvent, V1CustomerSubscriptionTrialWillEndEvent, and V1CustomerSubscriptionUpdatedEvent with related object Subscription
    • Remove support for thin events V1CustomerTaxIdCreatedEvent, V1CustomerTaxIdDeletedEvent, and V1CustomerTaxIdUpdatedEvent with related object TaxId
    • Remove support for thin event V1FileCreatedEvent with related object File
    • Remove support for thin events V1FinancialConnectionsAccountCreatedEvent, V1FinancialConnectionsAccountDeactivatedEvent, V1FinancialConnectionsAccountDisconnectedEvent, V1FinancialConnectionsAccountReactivatedEvent, V1FinancialConnectionsAccountRefreshedBalanceEvent, V1FinancialConnectionsAccountRefreshedOwnershipEvent, and V1FinancialConnectionsAccountRefreshedTransactionsEvent with related object FinancialConnections.Account
    • Remove support for thin events V1IdentityVerificationSessionCanceledEvent, V1IdentityVerificationSessionCreatedEvent, V1IdentityVerificationSessionProcessingEvent, V1IdentityVerificationSessionRedactedEvent, V1IdentityVerificationSessionRequiresInputEvent, and V1IdentityVerificationSessionVerifiedEvent with related object Identity.VerificationSession
    • Remove support for thin events V1InvoiceCreatedEvent, V1InvoiceDeletedEvent, V1InvoiceFinalizationFailedEvent, V1InvoiceFinalizedEvent, V1InvoiceMarkedUncollectibleEvent, V1InvoiceOverdueEvent, V1InvoiceOverpaidEvent, V1InvoicePaidEvent, V1InvoicePaymentActionRequiredEvent, V1InvoicePaymentFailedEvent, V1InvoicePaymentSucceededEvent, V1InvoiceSentEvent, V1InvoiceUpcomingEvent, V1InvoiceUpdatedEvent, V1InvoiceVoidedEvent, and V1InvoiceWillBeDueEvent with related object Invoice
    • Remove support for thin event V1InvoicePaymentPaidEvent with related object InvoicePayment
    • Remove support for thin events V1InvoiceitemCreatedEvent and V1InvoiceitemDeletedEvent with related object InvoiceItem
    • Remove support for thin events V1IssuingAuthorizationCreatedEvent, V1IssuingAuthorizationRequestEvent, and V1IssuingAuthorizationUpdatedEvent with related object Issuing.Authorization
    • Remove support for thin events V1IssuingCardCreatedEvent and V1IssuingCardUpdatedEvent with related object Issuing.Card
    • Remove support for thin events V1IssuingCardholderCreatedEvent and V1IssuingCardholderUpdatedEvent with related object Issuing.Cardholder
    • Remove support for thin events V1IssuingDisputeClosedEvent, V1IssuingDisputeCreatedEvent, V1IssuingDisputeFundsReinstatedEvent, V1IssuingDisputeFundsRescindedEvent, V1IssuingDisputeSubmittedEvent, and V1IssuingDisputeUpdatedEvent with related object Issuing.Dispute
    • Remove support for thin events V1IssuingPersonalizationDesignActivatedEvent, V1IssuingPersonalizationDesignDeactivatedEvent, V1IssuingPersonalizationDesignRejectedEvent, and V1IssuingPersonalizationDesignUpdatedEvent with related object Issuing.PersonalizationDesign
    • Remove support for thin events V1IssuingTokenCreatedEvent and V1IssuingTokenUpdatedEvent with related object Issuing.Token
    • Remove support for thin events V1IssuingTransactionCreatedEvent, V1IssuingTransactionPurchaseDetailsReceiptUpdatedEvent, and V1IssuingTransactionUpdatedEvent with related object Issuing.Transaction
    • Remove support for thin event V1MandateUpdatedEvent with related object Mandate
    • Remove support for thin events V1PaymentIntentAmountCapturableUpdatedEvent, V1PaymentIntentCanceledEvent, V1PaymentIntentCreatedEvent, V1PaymentIntentPartiallyFundedEvent, V1PaymentIntentPaymentFailedEvent, V1PaymentIntentProcessingEvent, V1PaymentIntentRequiresActionEvent, and V1PaymentIntentSucceededEvent with related object PaymentIntent
    • Remove support for thin events V1PaymentLinkCreatedEvent and V1PaymentLinkUpdatedEvent with related object PaymentLink
    • Remove support for thin events V1PaymentMethodAttachedEvent, V1PaymentMethodAutomaticallyUpdatedEvent, V1PaymentMethodDetachedEvent, and V1PaymentMethodUpdatedEvent with related object PaymentMethod
    • Remove support for thin events V1PayoutCanceledEvent, V1PayoutCreatedEvent, V1PayoutFailedEvent, V1PayoutPaidEvent, V1PayoutReconciliationCompletedEvent, and V1PayoutUpdatedEvent with related object Payout
    • Remove support for thin events V1PersonCreatedEvent, V1PersonDeletedEvent, and V1PersonUpdatedEvent with related object Person
    • Remove support for thin events V1PlanCreatedEvent, V1PlanDeletedEvent, and V1PlanUpdatedEvent with related object Plan
    • Remove support for thin events V1PriceCreatedEvent, V1PriceDeletedEvent, and V1PriceUpdatedEvent with related object Price
    • Remove support for thin events V1ProductCreatedEvent, V1ProductDeletedEvent, and V1ProductUpdatedEvent with related object Product
    • Remove support for thin events V1PromotionCodeCreatedEvent and V1PromotionCodeUpdatedEvent with related object PromotionCode
    • Remove support for thin events V1QuoteAcceptedEvent, V1QuoteCanceledEvent, V1QuoteCreatedEvent, and V1QuoteFinalizedEvent with related object Quote
    • Remove support for thin events V1RadarEarlyFraudWarningCreatedEvent and V1RadarEarlyFraudWarningUpdatedEvent with related object Radar.EarlyFraudWarning
    • Remove support for thin events V1ReviewClosedEvent and V1ReviewOpenedEvent with related object Review
    • Remove support for thin events V1SetupIntentCanceledEvent, V1SetupIntentCreatedEvent, V1SetupIntentRequiresActionEvent, V1SetupIntentSetupFailedEvent, and V1SetupIntentSucceededEvent with related object SetupIntent
    • Remove support for thin event V1SigmaScheduledQueryRunCreatedEvent with related object Sigma.ScheduledQueryRun
    • Remove support for thin events V1SourceCanceledEvent, V1SourceChargeableEvent, V1SourceFailedEvent, and V1SourceRefundAttributesRequiredEvent with related object Source
    • Remove support for thin events V1SubscriptionScheduleAbortedEvent, V1SubscriptionScheduleCanceledEvent, V1SubscriptionScheduleCompletedEvent, V1SubscriptionScheduleCreatedEvent, V1SubscriptionScheduleExpiringEvent, V1SubscriptionScheduleReleasedEvent, and V1SubscriptionScheduleUpdatedEvent with related object SubscriptionSchedule
    • Remove support for thin events V1TaxRateCreatedEvent and V1TaxRateUpdatedEvent with related object TaxRate
    • Remove support for thin events V1TerminalReaderActionFailedEvent, V1TerminalReaderActionSucceededEvent, and V1TerminalReaderActionUpdatedEvent with related object Terminal.Reader
    • Remove support for thin events V1TestHelpersTestClockAdvancingEvent, V1TestHelpersTestClockCreatedEvent, V1TestHelpersTestClockDeletedEvent, V1TestHelpersTestClockInternalFailureEvent, and V1TestHelpersTestClockReadyEvent with related object TestHelpers.TestClock
    • Remove support for thin events V1TopupCanceledEvent, V1TopupCreatedEvent, V1TopupFailedEvent, V1TopupReversedEvent, and V1TopupSucceededEvent with related object Topup
    • Remove support for thin events V1TransferCreatedEvent, V1TransferReversedEvent, and V1TransferUpdatedEvent with related object Transfer
  • #1967 Update CHANGELOG.md for private preview

See the changelog for more details.

v19.1.0-alpha.1

This release changes the pinned API version to 2025-11-17.preview.

  • #1963 Update generated code for private-preview
    • Add support for billing_schedules_actions on Invoice.create_preview().$params.schedule_detail.amendment and SubscriptionSchedule.amend().$params.amendment
  • #1962 Update generated code for private-preview
    • Add support for new resources BalanceTransfer and Radar.AccountEvaluation
    • Add support for create method on resource BalanceTransfer
    • Add support for create, retrieve, and update methods on resource Radar.AccountEvaluation
    • Change Tax.Association.tax_transaction_attempts to be required
    • Add support for specified_commercial_transactions_act_url on Account.business_profile, Account.create().$params.business_profile, and Account.update().$params.business_profile
    • Add support for paypay_payments on Account.create().$params.setting, Account.settings, and Account.update().$params.setting
    • Change type of Billing\Analytics\MeterUsage.retrieve().$params.meter.dimension_filters from string to array(string)
    • Change type of Billing\Analytics\MeterUsage.retrieve().$params.meter.tenant_filters from string to array(string)
    • Add support for payment_method_configuration on BillingPortal.Configuration.features.payment_method_update
    • Add support for car_rental_data, flight_data, and lodging_data 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 transaction_id on Charge.payment_method_details.ideal, PaymentAttemptRecord.payment_method_details.ideal, and PaymentRecord.payment_method_details.ideal
    • Add support for new value finom on enums Charge.payment_method_details.ideal.bank, ConfirmationToken.payment_method_preview.ideal.bank, PaymentAttemptRecord.payment_method_details.ideal.bank, PaymentMethod.ideal.bank, PaymentRecord.payment_method_details.ideal.bank, and SetupAttempt.payment_method_details.ideal.bank
    • Add support for new value FNOMNL22 on enums Charge.payment_method_details.ideal.bic, ConfirmationToken.payment_method_preview.ideal.bic, PaymentAttemptRecord.payment_method_details.ideal.bic, PaymentMethod.ideal.bic, PaymentRecord.payment_method_details.ideal.bic, and SetupAttempt.payment_method_details.ideal.bic
    • Add support for new value tokenized_account_number_deactivated on enums ConfirmationToken.payment_method_preview.us_bank_account.status_details.blocked.reason and PaymentMethod.us_bank_account.status_details.blocked.reason
    • Add support for created on CustomerBalanceTransaction.all().$params and InvoicePayment.all().$params
    • Add support for new values capital.financing_offer.accepted_other_offer, financial_connections.account.account_numbers_updated, and financial_connections.account.upcoming_account_number_expiry on enum Event.type
    • Add support for account_numbers on FinancialConnections.Account
    • Change type of FinancialConnections.Session.client_secret from string to nullable(string)
    • Add support for fraud_risk on Issuing\Authorization.create().$params.risk_assessment
    • Add support for latest_fraud_warning on Issuing.Card
    • Add support for supplementary_purchase_data on Order.create().$params.payment.setting.payment_method_option.klarna, Order.update().$params.payment.setting.payment_method_option.klarna, PaymentIntent.confirm().$params.payment_method_option.klarna, PaymentIntent.create().$params.payment_method_option.klarna, and PaymentIntent.update().$params.payment_method_option.klarna
    • Add support for capture_method on PaymentIntent.confirm().$params.payment_method_option.card_present, PaymentIntent.create().$params.payment_method_option.card_present, PaymentIntent.payment_method_options.card_present, and PaymentIntent.update().$params.payment_method_option.card_present
    • Add support for allow_redisplay and customer_account on PaymentMethod.all().$params
    • Add support for mb_way and twint on Refund.destination_details
    • Change type of SubscriptionSchedule.update().$params.billing_schedules from array(billing_schedules_update_params) to emptyable(array(billing_schedules_update_params))
    • Add support for snapshot events FINANCIAL_CONNECTIONS_ACCOUNT_ACCOUNT_NUMBERS_UPDATED and FINANCIAL_CONNECTIONS_ACCOUNT_UPCOMING_ACCOUNT_NUMBER_EXPIRY with resource FinancialConnections.Account

See the changelog for more details.

v19.1.0-beta.1

This release changes the pinned API version to 2025-11-17.preview.

  • #1952 Update generated code for beta
    • Add support for new resources V2.Core.AccountPersonToken and V2.Core.AccountToken
    • Remove support for resource V2.Payments.OffSessionPayment
    • Add support for create and retrieve methods on resources V2.Core.AccountPersonToken and V2.Core.AccountToken
    • Remove support for all, cancel, capture, create, and retrieve methods on resource V2.Payments.OffSessionPayment
    • Change Tax.Association.tax_transaction_attempts to be required
    • Add support for specified_commercial_transactions_act_url on Account.business_profile, Account.create().$params.business_profile, and Account.update().$params.business_profile
    • Add support for paypay_payments on Account.create().$params.setting, Account.settings, and Account.update().$params.setting
    • Change type of Billing\Analytics\MeterUsage.retrieve().$params.meter.dimension_filters from string to array(string)
    • Change type of Billing\Analytics\MeterUsage.retrieve().$params.meter.tenant_filters from string to array(string)
    • Add support for car_rental_data, flight_data, and lodging_data 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 supplementary_purchase_data on Order.create().$params.payment.setting.payment_method_option.klarna, Order.update().$params.payment.setting.payment_method_option.klarna, PaymentIntent.confirm().$params.payment_method_option.klarna, PaymentIntent.create().$params.payment_method_option.klarna, and PaymentIntent.update().$params.payment_method_option.klarna
    • Add support for allow_redisplay and customer_account on PaymentMethod.all().$params
    • Add support for future_requirements on V2.Core.Account
    • Add support for konbini_payments and script_statement_descriptor on V2.Core.Account.configuration.merchant, V2\Core\Account.create().$params.configuration.merchant, and V2\Core\Account.update().$params.configuration.merchant
    • Add support for eur on V2.Core.Account.configuration.storer.capabilities.holds_currencies, V2\Core\Account.create().$params.configuration.storer.capability.holds_currency, and V2\Core\Account.update().$params.configuration.storer.capability.holds_currency
    • Add support for requirements_collector on V2.Core.Account.defaults.responsibilities
    • Add support for new value ar_cuit on enum V2.Core.Account.identity.business_details.id_numbers[].type
    • Add support for new value ar_dni on enums V2.Core.Account.identity.individual.id_numbers[].type and V2.Core.AccountPerson.id_numbers[].type
    • Remove support for collector on V2.Core.Account.requirements
    • Add support for new value holds_currencies.eur on enum V2.Core.Account.requirements.entries[].impact.restricts_capabilities[].capability
    • Add support for new values payment_method and person on enum V2.Core.Account.requirements.entries[].reference.type
    • Remove support for value resource from enum V2.Core.Account.requirements.entries[].reference.type
    • Remove support for value future_requirements from enum V2.Core.Account.requirements.entries[].requested_reasons[].code
    • Add support for changes on V2.Core.Event
    • Remove support for value sepa_bank_account from enum V2.MoneyManagement.FinancialAddress.credentials.type
    • Add support for account_token on V2\Core\Account.create().$params and V2\Core\Account.update().$params
    • Add support for person_token on V2\Core\AccountPerson.create().$params and V2\Core\AccountPerson.update().$params
    • Add support for thin event V2CoreHealthEventGenerationFailureResolvedEvent
    • Remove support for thin events V2PaymentsOffSessionPaymentAuthorizationAttemptFailedEvent, V2PaymentsOffSessionPaymentAuthorizationAttemptStartedEvent, V2PaymentsOffSessionPaymentCanceledEvent, V2PaymentsOffSessionPaymentCreatedEvent, V2PaymentsOffSessionPaymentFailedEvent, V2PaymentsOffSessionPaymentRequiresCaptureEvent, and V2PaymentsOffSessionPaymentSucceededEvent with related object V2.Payments.OffSessionPayment

See the changelog for more details.

v19.0.0

This release changes the pinned API version to 2025-11-17.clover.

  • #1961 Update generated code
    • ⚠️ Remove gt, gte, lt, and lte on V2\Core\Event.all().$params in favor of created.
  • #1958 Update v2 array parameter serialization to use indexed format
    • Retrieve and List calls for /v2 endpoints now use indexed format (e.g., ?include[0]=foo&include[1]=bar) instead of repeated parameter format (e.g., ?include=foo&include=bar) when communicating with the Stripe API. This may break any unit tests that expect the latter behavior when setting up a mock server. Instead, they should now expect the former.
  • #1956 Update generated code
    • Add support for new resources Tax.Association and Terminal.OnboardingLink
    • Add support for find method on resource Tax.Association
    • Add support for create method on resource Terminal.OnboardingLink
    • Add support for payment_method_configuration on BillingPortal.Configuration.features.payment_method_update
    • Add support for transaction_id on Charge.payment_method_details.ideal, PaymentAttemptRecord.payment_method_details.ideal, and PaymentRecord.payment_method_details.ideal
    • Add support for new value finom on enums Charge.payment_method_details.ideal.bank, ConfirmationToken.payment_method_preview.ideal.bank, PaymentAttemptRecord.payment_method_details.ideal.bank, PaymentMethod.ideal.bank, PaymentRecord.payment_method_details.ideal.bank, and SetupAttempt.payment_method_details.ideal.bank
    • Add support for new value FNOMNL22 on enums Charge.payment_method_details.ideal.bic, ConfirmationToken.payment_method_preview.ideal.bic, PaymentAttemptRecord.payment_method_details.ideal.bic, PaymentMethod.ideal.bic, PaymentRecord.payment_method_details.ideal.bic, and SetupAttempt.payment_method_details.ideal.bic
    • Add support for new value tokenized_account_number_deactivated on enums ConfirmationToken.payment_method_preview.us_bank_account.status_details.blocked.reason and PaymentMethod.us_bank_account.status_details.blocked.reason
    • Add support for created on CustomerBalanceTransaction.all().$params and InvoicePayment.all().$params
    • Add support for new values financial_connections.account.account_numbers_updated and financial_connections.account.upcoming_account_number_expiry on enum Event.type
    • Add support for account_numbers on FinancialConnections.Account
    • Change type of FinancialConnections.Session.client_secret from string to nullable(string)
    • Add support for fraud_risk on Issuing\Authorization.create().$params.risk_assessment
    • Add support for latest_fraud_warning on Issuing.Card
    • Add support for hooks on PaymentIntent.capture().$params, PaymentIntent.confirm().$params, PaymentIntent.create().$params, PaymentIntent.increment_authorization().$params, PaymentIntent.update().$params, and PaymentIntent
    • Add support for mb_way and twint on Refund.destination_details
    • Add support for snapshot events FINANCIAL_CONNECTIONS_ACCOUNT_ACCOUNT_NUMBERS_UPDATED and FINANCIAL_CONNECTIONS_ACCOUNT_UPCOMING_ACCOUNT_NUMBER_EXPIRY with resource FinancialConnections.Account

See the changelog for more details.

v18.3.0-alpha.2

This release changes the pinned API version to 2025-10-29.preview.

  • #1960 Update generated code for private-preview
    • Add support for new resource Issuing.Program
    • Add support for all, create, retrieve, and update methods on resource Issuing.Program
    • Add support for schedule on Discount
    • Add support for applicable_fees on DelegatedCheckout.RequestedSession.total_details
    • Add support for schedule_details on Invoice.parent, InvoiceItem.parent, InvoiceLineItem.parent, and QuotePreviewInvoice.parent
    • Add support for new value schedule_details on enum InvoiceItem.parent.type
    • Add support for billing_schedules on Invoice.create_preview().$params.schedule_detail, QuotePreviewSubscriptionSchedule, SubscriptionSchedule.create().$params, SubscriptionSchedule.update().$params, and SubscriptionSchedule
    • Add support for new value schedule_details on enums Invoice.parent.type and QuotePreviewInvoice.parent.type
    • Add support for new value schedule_details on enum InvoiceLineItem.parent.type
    • Add support for latest_invoice on QuotePreviewSubscriptionSchedule and SubscriptionSchedule
    • Add support for phase_effective_at on QuotePreviewSubscriptionSchedule.default_settings, SubscriptionSchedule.create().$params.default_setting, SubscriptionSchedule.default_settings, and SubscriptionSchedule.update().$params.default_setting
  • #1954 Update generated code for private-preview
    • Remove support for resource V2.Tax.AutomaticRule
    • Remove support for create, deactivate, find, retrieve, and update methods on resource V2.Tax.AutomaticRule
    • Add support for self_reported_income and self_reported_monthly_housing_payment on Account.create().$params.individual, Account.update().$params.individual, Person.create().$params, Person.update().$params, Person, Token.create().$params.account.individual, and Token.create().$params.person
    • Add support for billing_schedules and phase_effective_at on Quote.create().$params.subscription_data_override, Quote.create().$params.subscription_datum, Quote.subscription_data_overrides[], Quote.subscription_data, Quote.update().$params.subscription_data_override, and Quote.update().$params.subscription_datum
    • Add support for bill_from on Subscription.billing_schedules[]
    • Add support for amendment_end and line_ends_at on Subscription.billing_schedules[].bill_until
    • Add support for new values amendment_end, line_ends_at, schedule_end, and upcoming_invoice on enum Subscription.billing_schedules[].bill_until.type

See the changelog for more details.

v18.3.0-alpha.1
  • #1951 Update generated code for private-preview
    • Add support for new resources TransitBalance, V2.Reporting.ReportRun, V2.Reporting.Report
    • Add support for create and retrieve methods on resource V2.Reporting.ReportRun
    • Add support for retrieve method on resource V2.Reporting.Report
    • Add support for create and refill test helper methods on resource Capital.FinancingOffer
    • Add support for allocated_funds on Charge, PaymentIntent.confirm().$params, PaymentIntent.create().$params, and PaymentIntent.update().$params
    • Add support for thin events V2ReportingReportRunCreatedEvent, V2ReportingReportRunFailedEvent, V2ReportingReportRunSucceededEvent, and V2ReportingReportRunUpdatedEvent with related object V2.Reporting.ReportRun

See the changelog for more details.

v18.2.0
  • #1953 Update generated code
    • Add support for capture_method on PaymentIntent.confirm().$params.payment_method_option.card_present, PaymentIntent.create().$params.payment_method_option.card_present, PaymentIntent.payment_method_options.card_present, and PaymentIntent.update().$params.payment_method_option.card_present

See the changelog for more details.

v18.2.0-alpha.2
  • #1949 Update generated code for private-preview
    • Change DelegatedCheckout\RequestedSession.update().$params.line_item_detail.quantity to be required
    • Add support for payment_method_preview on DelegatedCheckout.RequestedSession
    • Add support for order_id on DelegatedCheckout.RequestedSession.order_details
    • Add support for lead on V2.Core.Account.configuration.card_creator.capabilities.commercial, V2.Core.Account.identity.attestations.terms_of_service.card_creator.commercial, V2\Core\Account.create().$params.configuration.card_creator.capability.commercial, V2\Core\Account.create().$params.identity.attestation.terms_of_service.card_creator.commercial, V2\Core\Account.update().$params.configuration.card_creator.capability.commercial, and V2\Core\Account.update().$params.identity.attestation.terms_of_service.card_creator.commercial
    • Add support for global_account_holder on V2.Core.Account.identity.attestations.terms_of_service.card_creator.commercial, V2\Core\Account.create().$params.identity.attestation.terms_of_service.card_creator.commercial, and V2\Core\Account.update().$params.identity.attestation.terms_of_service.card_creator.commercial
    • Add support for new value commercial.lead.prepaid_card on enum V2.Core.Account.requirements.entries[].impact.restricts_capabilities[].capability
    • Add support for new value commercial.lead.prepaid_card on enum EventsV2CoreAccountIncludingConfigurationCardCreatorCapabilityStatusUpdatedEvent.updated_capability

See the changelog for more details.

v18.2.0-alpha.1
  • #1944 Update generated code for private-preview
    • Add support for report_refund method on resource PaymentRecord
    • Add support for new value verification_data_not_found on enums Account.future_requirements.errors[].code, Account.requirements.errors[].code, BankAccount.future_requirements.errors[].code, BankAccount.requirements.errors[].code, Capability.future_requirements.errors[].code, Capability.requirements.errors[].code, Person.future_requirements.errors[].code, and Person.requirements.errors[].code
    • Add support for tenants on Billing.Analytics.MeterUsageRow
    • Add support for representative_declaration on Account.company, Account.create().$params.company, Account.update().$params.company, and Token.create().$params.account.company
    • Add support for transfer on ApplicationFee.fee_source
    • Add support for new value transfer on enum ApplicationFee.fee_source.type
    • Add support for transit_balances_total on Balance
    • Add support for new value transit on enum BalanceTransaction.balance_type
    • Add support for tenant_group_by_keys on Billing\Analytics\MeterUsage.retrieve().$params.meter
    • Change Billing\CreditGrant.create().$params.category to be optional
    • Add support for payment_method_configuration on BillingPortal\Configuration.create().$params.feature.payment_method_update and BillingPortal\Configuration.update().$params.feature.payment_method_update
    • Add support for new value solana on enums Charge.payment_method_details.crypto.network, PaymentAttemptRecord.payment_method_details.crypto.network, and PaymentRecord.payment_method_details.crypto.network
    • Add support for payment_portal_url on Charge.payment_method_details.rechnung, PaymentAttemptRecord.payment_method_details.rechnung, and PaymentRecord.payment_method_details.rechnung
    • Add support for twint on Checkout.Session.payment_method_options and Checkout\Session.create().$params.payment_method_option
    • Add support for new value custom on enums ConfirmationToken.payment_method_preview.type and PaymentMethod.type
    • Change CreditNote.refunds[].payment_record_refund to be required
    • Change CreditNote.refunds[].type to be required
    • Add support for customer_sheet, mobile_payment_element, and tax_id_element on CustomerSession.components and CustomerSession.create().$params.component
    • Add support for provider on Customer.tax
    • Remove support for risk_details on DelegatedCheckout\RequestedSession.create().$params
    • Add support for risk_details on DelegatedCheckout\RequestedSession.confirm().$params
    • Add support for new value platform_terms_of_service on enum File.purpose
    • Add support for starting_after on PaymentAttemptRecord.all().$params
    • Add support for reference on PaymentIntent.capture().$params.amount_detail.line_item.payment_method_option.klarna, PaymentIntent.confirm().$params.amount_detail.line_item.payment_method_option.klarna, PaymentIntent.create().$params.amount_detail.line_item.payment_method_option.klarna, PaymentIntent.increment_authorization().$params.amount_detail.line_item.payment_method_option.klarna, PaymentIntent.update().$params.amount_detail.line_item.payment_method_option.klarna, and PaymentIntentAmountDetailsLineItem.payment_method_options.klarna
    • Add support for allocated_funds on PaymentIntent
    • Change PaymentIntent.payment_details.customer_reference to be required
    • Change PaymentIntent.payment_details.order_reference to be required
    • Add support for subscription_reference on PaymentIntentAmountDetailsLineItem.payment_method_options.klarna
    • Add support for name_collection on PaymentLink.create().$params, PaymentLink.update().$params, and PaymentLink
    • Add support for crypto on PaymentMethodConfiguration.create().$params, PaymentMethodConfiguration.update().$params, PaymentMethodConfiguration, and Refund.destination_details
    • Add support for mb_way on PaymentMethodConfiguration.create().$params, PaymentMethodConfiguration.update().$params, and PaymentMethodConfiguration
    • Add support for custom on PaymentMethod.create().$params and PaymentMethod
    • Add support for excluded_payment_method_types on SetupIntent.create().$params, SetupIntent.update().$params, and SetupIntent
    • Change SetupIntent.flow_directions to be optional
    • Add support for tw on Tax.Registration.country_options and Tax\Registration.create().$params.country_option
    • Add support for gip on Terminal.Configuration.tipping, Terminal\Configuration.create().$params.tipping, and Terminal\Configuration.update().$params.tipping
    • Add support for last_seen_at on Terminal.Reader
    • Add support for application_fee_amount on Transfer.create().$params and Transfer
    • Add support for application_fee on Transfer
    • Add support for high_risk_activities_description, high_risk_activities, money_services_description, operates_in_prohibited_countries, participates_in_regulated_activity, purpose_of_funds_description, purpose_of_funds, regulated_activity, source_of_funds_description, and source_of_funds on V2.Core.Account.configuration.storer, V2\Core\Account.create().$params.configuration.storer, and V2\Core\Account.update().$params.configuration.storer
    • Add support for crypto_wallets on V2.Core.Account.configuration.storer.capabilities.financial_addresses, V2.Core.Account.configuration.storer.capabilities.outbound_payments, V2.Core.Account.configuration.storer.capabilities.outbound_transfers, V2\Core\Account.create().$params.configuration.storer.capability.financial_address, V2\Core\Account.create().$params.configuration.storer.capability.outbound_payment, V2\Core\Account.create().$params.configuration.storer.capability.outbound_transfer, V2\Core\Account.update().$params.configuration.storer.capability.financial_address, V2\Core\Account.update().$params.configuration.storer.capability.outbound_payment, and V2\Core\Account.update().$params.configuration.storer.capability.outbound_transfer
    • Add support for usdc on V2.Core.Account.configuration.storer.capabilities.holds_currencies, V2\Core\Account.create().$params.configuration.storer.capability.holds_currency, and V2\Core\Account.update().$params.configuration.storer.capability.holds_currency
    • Add support for crypto_storer on V2.Core.Account.identity.attestations.terms_of_service and V2\Core\Account.create().$params.identity.attestation.terms_of_service
    • Add support for compliance_screening_description on V2.Core.Account.identity.business_details, V2\Core\Account.create().$params.identity.business_detail, and V2\Core\Account.update().$params.identity.business_detail
    • Add support for external_amount on V2.MoneyManagement.ReceivedCredit and V2.MoneyManagement.ReceivedDebit
    • Add support for error code payment_intent_rate_limit_exceeded on Invoice.last_finalization_error, PaymentIntent.last_payment_error, QuotePreviewInvoice.last_finalization_error, SetupAttempt.setup_error, SetupIntent.last_setup_error, and StripeError

See the changelog for more details.

v18.2.0-beta.1

This release changes the pinned API version to 2025-10-29.preview.

  • #1945 Update generated code for beta
    • Add support for crypto_storer on V2\Core\Account.update().$params.identity.attestation.terms_of_service
  • #1937 Update generated code for beta
    • Add support for update method on resource V2.MoneyManagement.FinancialAccount
    • Add support for all, confirm_microdeposits, and send_microdeposits methods on resource V2.Core.Vault.UsBankAccount
    • Add support for all method on resource V2.Core.Vault.GbBankAccount
    • Add support for new value verification_data_not_found on enums Account.future_requirements.errors[].code, Account.requirements.errors[].code, BankAccount.future_requirements.errors[].code, BankAccount.requirements.errors[].code, Capability.future_requirements.errors[].code, Capability.requirements.errors[].code, Person.future_requirements.errors[].code, and Person.requirements.errors[].code
    • Add support for payment_portal_url on Charge.payment_method_details.rechnung, PaymentAttemptRecord.payment_method_details.rechnung, and PaymentRecord.payment_method_details.rechnung
    • Add support for tax_id_element on CustomerSession.components and CustomerSession.create().$params.component
    • Add support for starting_after on PaymentAttemptRecord.all().$params
    • Add support for new value solana on enums PaymentAttemptRecord.payment_method_details.crypto.network and PaymentRecord.payment_method_details.crypto.network
    • Add support for reference on PaymentIntent.capture().$params.amount_detail.line_item.payment_method_option.klarna, PaymentIntent.confirm().$params.amount_detail.line_item.payment_method_option.klarna, PaymentIntent.create().$params.amount_detail.line_item.payment_method_option.klarna, PaymentIntent.increment_authorization().$params.amount_detail.line_item.payment_method_option.klarna, PaymentIntent.update().$params.amount_detail.line_item.payment_method_option.klarna, and PaymentIntentAmountDetailsLineItem.payment_method_options.klarna
    • Change PaymentIntent.payment_details.customer_reference to be required
    • Change PaymentIntent.payment_details.order_reference to be required
    • Add support for subscription_reference on PaymentIntentAmountDetailsLineItem.payment_method_options.klarna
    • Add support for closed on V2.Core.Account and V2\Core\Account.all().$params
    • Add support for new value payment_method on enum V2.Core.Account.configuration.customer.automatic_indirect_tax.location_source
    • Add support for usd on V2.Core.Account.configuration.storer.capabilities.holds_currencies, V2\Core\Account.create().$params.configuration.storer.capability.holds_currency, and V2\Core\Account.update().$params.configuration.storer.capability.holds_currency
    • Add support for new values application_custom and application_express on enum V2.Core.Account.defaults.responsibilities.fees_collector
    • Add support for representative_declaration on V2.Core.Account.identity.attestations, V2\Core\Account.create().$params.identity.attestation, and V2\Core\Account.update().$params.identity.attestation
    • Add support for new value holds_currencies.usd on enum V2.Core.Account.requirements.entries[].impact.restricts_capabilities[].capability
    • Add support for verification on V2.Core.Vault.UsBankAccount
    • Add support for v1_id on EventsV2MoneyManagementTransactionCreatedEvent
    • Remove support for thin event V2BillingBillSettingUpdatedEvent with related object V2.Billing.BillSetting
    • Add support for error code payment_intent_rate_limit_exceeded on QuotePreviewInvoice.last_finalization_error
  • #1930 Update generated code for beta
    • Add support for last_seen_at on Terminal.Reader

See the changelog for more details.

v18.1.0

This release changes the pinned API version to 2025-10-29.clover.

  • #1946 Update generated code
    • Improve docs for PaymentIntent related endpoints
  • #1942 Update generated code
    • Add support for new resources PaymentAttemptRecord, PaymentIntentAmountDetailsLineItem, and PaymentRecord
    • Add support for all and retrieve methods on resource PaymentAttemptRecord
    • Add support for report_payment_attempt_canceled, report_payment_attempt_failed, report_payment_attempt_guaranteed, report_payment_attempt_informational, report_payment_attempt, report_payment, report_refund, and retrieve methods on resource PaymentRecord
    • Add support for all method on resource PaymentIntentAmountDetailsLineItem
    • Add support for representative_declaration on Account.company, Account.create().$params.company, Account.update().$params.company, and Token.create().$params.account.company
    • Change Billing\CreditGrant.create().$params.category to be optional
    • Add support for payment_method_configuration on BillingPortal\Configuration.create().$params.feature.payment_method_update and BillingPortal\Configuration.update().$params.feature.payment_method_update
    • Add support for new value solana on enum Charge.payment_method_details.crypto.network
    • Add support for twint on Checkout.Session.payment_method_options and Checkout\Session.create().$params.payment_method_option
    • Add support for new value custom on enums ConfirmationToken.payment_method_preview.type and PaymentMethod.type
    • Add support for payment_record_refund and type on CreditNote.create().$params.refund, CreditNote.preview().$params.refund, CreditNote.preview_lines().$params.refund, and CreditNote.refunds[]
    • Add support for customer_sheet and mobile_payment_element on CustomerSession.components and CustomerSession.create().$params.component
    • Add support for provider on Customer.tax
    • Add support for new values balance_settings.updated and invoice.payment_attempt_required on enum Event.type
    • Add support for new value platform_terms_of_service on enum File.purpose
    • Add support for payment_record on Invoice.attach_payment().$params, InvoicePayment.all().$params.payment, and InvoicePayment.payment
    • Change type of InvoicePayment.all().$params.payment.type from literal('payment_intent') to enum('payment_intent'|'payment_record')
    • Add support for new value custom on enums Invoice.payment_settings.payment_method_types and Subscription.payment_settings.payment_method_types
    • Add support for amount_details on PaymentIntent.capture().$params, PaymentIntent.confirm().$params, PaymentIntent.create().$params, PaymentIntent.increment_authorization().$params, and PaymentIntent.update().$params
    • Add support for payment_details on PaymentIntent.capture().$params, PaymentIntent.confirm().$params, PaymentIntent.create().$params, PaymentIntent.increment_authorization().$params, PaymentIntent.update().$params, and PaymentIntent
    • Add support for discount_amount, line_items, shipping, and tax on PaymentIntent.amount_details
    • Add support for name_collection on PaymentLink.create().$params, PaymentLink.update().$params, and PaymentLink
    • Add support for new value mb_way on enum PaymentLink.payment_method_types
    • Add support for crypto on PaymentMethodConfiguration.create().$params, PaymentMethodConfiguration.update().$params, PaymentMethodConfiguration, and Refund.destination_details
    • Add support for mb_way on PaymentMethodConfiguration.create().$params, PaymentMethodConfiguration.update().$params, and PaymentMethodConfiguration
    • Add support for custom on PaymentMethod.create().$params and PaymentMethod
    • Add support for excluded_payment_method_types on SetupIntent.create().$params, SetupIntent.update().$params, and SetupIntent
    • Add support for tw on Tax.Registration.country_options and Tax\Registration.create().$params.country_option
    • Add support for gip on Terminal.Configuration.tipping, Terminal\Configuration.create().$params.tipping, and Terminal\Configuration.update().$params.tipping
    • Add support for last_seen_at on Terminal.Reader
    • Add support for gt, gte, lt, lte, and types on V2\Core\Event.all().$params
    • Change V2\Core\Event.all().$params.object_id to be optional
    • Add support for snapshot event BALANCE_SETTINGS_UPDATED with resource BalanceSettings
    • Add support for snapshot event INVOICE_PAYMENT_ATTEMPT_REQUIRED with resource Invoice
    • Add support for error code payment_intent_rate_limit_exceeded on Invoice.last_finalization_error, PaymentIntent.last_payment_error, SetupAttempt.setup_error, SetupIntent.last_setup_error, and StripeError

See the changelog for more details.

v18.1.0-alpha.4
  • #1941 Update generated code for private-preview
    • Add support for new resource V2.Billing.PricingPlanSubscriptionComponents
    • Add support for retrieve method on resource V2.Billing.PricingPlanSubscriptionComponents
    • Add support for dimension_payload_keys on Billing.Meter and Billing\Meter.create().$params
    • Add support for dimension_filters and dimension_group_by_keys on Billing\MeterEventSummary.all().$params
    • Add support for dimensions on Billing.MeterEventSummary
    • Add support for fulfillment_details and payment_method_data on DelegatedCheckout\RequestedSession.create().$params and DelegatedCheckout\RequestedSession.update().$params
    • Add support for line_item_details, metadata, payment_method, and shared_metadata on DelegatedCheckout.RequestedSession, DelegatedCheckout\RequestedSession.create().$params, and DelegatedCheckout\RequestedSession.update().$params
    • Add support for currency, customer, and risk_details on DelegatedCheckout\RequestedSession.create().$params
    • Add support for seller_details and setup_future_usage on DelegatedCheckout.RequestedSession and DelegatedCheckout\RequestedSession.create().$params
    • Add support for amount_subtotal, amount_total, created_at, expires_at, order_details, shared_payment_issued_token, status, total_details, and updated_at on DelegatedCheckout.RequestedSession
    • Add support for address, email, fulfillment_options, name, phone, and selected_fulfillment_option on DelegatedCheckout.RequestedSession.fulfillment_details
    • Add support for new values billie, crypto, kr_card, kriya, mb_way, mondu, ng_bank_transfer, ng_bank, ng_card, ng_market, ng_ussd, ng_wallet, payco, paypay, rechnung, samsung_pay, satispay, scalapay, sequra, sunbit, us_bank_account, and vipps on enums EventsV2CoreHealthAuthorizationRateDropFiringEvent.impact.payment_method_type, EventsV2CoreHealthAuthorizationRateDropResolvedEvent.impact.payment_method_type, EventsV2CoreHealthPaymentMethodErrorFiringEvent.impact.payment_method_type, and EventsV2CoreHealthPaymentMethodErrorResolvedEvent.impact.payment_method_type

See the changelog for more details.

v18.1.0-alpha.3
  • #1939 Update generated code for private-preview
    • Add support for new resources DelegatedCheckout.RequestedSession and Identity.BlocklistEntry
    • Add support for confirm, create, expire, retrieve, and update methods on resource DelegatedCheckout.RequestedSession
    • Add support for all, create, disable, and retrieve methods on resource Identity.BlocklistEntry
    • Add support for blocked_by_entry on Identity.VerificationReport.document, Identity.VerificationReport.selfie, and Identity\VerificationReport.all().$params

See the changelog for more details.

v18.1.0-alpha.2
  • #1938 Update generated code for private-preview
    • Add support for new resource PaymentMethodBalance
    • Add support for check_balance method on resource PaymentMethod
    • Add support for benefits on Card, Charge.payment_method_details.card, ConfirmationToken.payment_method_preview.card, and PaymentMethod.card
    • Add support for benefit on PaymentIntent.confirm().$params.payment_detail, PaymentIntent.create().$params.payment_detail, PaymentIntent.payment_details, and PaymentIntent.update().$params.payment_detail
    • Add support for setup_details on SetupIntent.confirm().$params, SetupIntent.create().$params, SetupIntent.update().$params, and SetupIntent
    • Add support for new value card_creator on enum V2.Core.Account.applied_configurations
    • Add support for card_creator on V2.Core.Account.configuration, V2.Core.Account.identity.attestations.terms_of_service, V2\Core\Account.create().$params.configuration, V2\Core\Account.create().$params.identity.attestation.terms_of_service, V2\Core\Account.update().$params.configuration, and V2\Core\Account.update().$params.identity.attestation.terms_of_service
    • Add support for new values commercial.celtic.charge_card, commercial.celtic.spend_card, commercial.cross_river_bank.charge_card, commercial.cross_river_bank.spend_card, commercial.stripe.charge_card, and commercial.stripe.prepaid_card on enum V2.Core.Account.requirements.entries[].impact.restricts_capabilities[].capability
    • Add support for new value card_creator on enum V2.Core.Account.requirements.entries[].impact.restricts_capabilities[].configuration
    • Add support for thin events V2CoreAccountIncludingConfigurationCardCreatorCapabilityStatusUpdatedEvent and V2CoreAccountIncludingConfigurationCardCreatorUpdatedEvent with related object V2.Core.Account
    • Remove support for thin events V1CustomerDiscountCreatedEvent, V1CustomerDiscountDeletedEvent, and V1CustomerDiscountUpdatedEvent with related object Discount
  • #1933 Update private preview changelog

See the changelog for more details.

v18.1.0-alpha.1

This release changes the pinned API version to 2025-09-30.preview. It is built on top of SDK version 18.0.0 and 18.1.0-beta.1 which contain breaking changes. Please review the changelog for these versions if upgrading from older SDK versions.

  • #1906 Update generated code for private-preview
    • Add support for new resource V2.MoneyManagement.RecipientVerification
    • Add support for acknowledge, create, recipient_verifications, and retrieve methods on resource V2.MoneyManagement.RecipientVerification
    • Add support for update method on resources V2.Billing.PricingPlanSubscription and V2.Billing.ServiceAction
    • Add support for crypto_wallets on V2.Account.configuration.recipient_data.features, V2.Core.Account.configuration.recipient.capabilities, V2\Account.create().$params.configuration.recipient_datum.feature, V2\Account.update().$params.configuration.recipient_datum.feature, V2\Core\Account.create().$params.configuration.recipient.capability, and V2\Core\Account.update().$params.configuration.recipient.capability
    • Add support for new value crypto on enum V2.Core.Account.requirements.entries[].impact.restricts_capabilities[].capability
    • Add support for new value crypto_wallet on enum V2.Account.configuration.recipient_data.default_outbound_destination.type
    • Add support for new value crypto_wallets on enum V2.Account.configuration.supportable_features.recipient_data
    • Add support for new value crypto_wallets on enum V2.Account.requirements[].impact.required_for_features
    • Add support for lookup_key on V2.Billing.Cadence, V2\Billing\Cadence.create().$params, and V2\Billing\Cadence.update().$params
    • Add support for settings_data on V2.Billing.Cadence
    • Change type of V2.Billing.Cadence.payer.billing_profile from nullable(string) to string
    • Add support for v1_event_id on V2.Event
    • Add support for recipient_verification on V2.MoneyManagement.OutboundPayment, V2.MoneyManagement.OutboundTransfer, V2\MoneyManagement\OutboundPayment.create().$params, and V2\MoneyManagement\OutboundTransfer.create().$params
    • Add support for crypto_wallet on V2.MoneyManagement.PayoutMethod and V2\MoneyManagement\OutboundSetupIntent.create().$params.payout_method_datum
    • Add support for custom_pricing_unit_details on V2.Billing.RateCardRate.custom_pricing_unit_amount, V2.Billing.ServiceAction.credit_grant.amount.custom_pricing_unit, and V2.Billing.ServiceAction.credit_grant_per_tenant.amount.custom_pricing_unit
    • Add support for origin_type on V2.MoneyManagement.ReceivedDebit.bank_transfer
    • Add support for sepa_bank_account on V2\MoneyManagement\FinancialAddress.create().$params
    • Remove support for price on V2\Billing\RateCardRate.create().$params
    • Add support for lookup_keys on V2\Billing\Cadence.all().$params
    • Change type of V2\Billing\Cadence.all().$params.include, V2\Billing\Cadence.cancel().$params.include, V2\Billing\Cadence.create().$params.include, V2\Billing\Cadence.retrieve().$params.include, and V2\Billing\Cadence.update().$params.include from literal('invoice_discount_rules') to enum('invoice_discount_rules'|'settings_data')
    • Remove support for customer and type on V2\Billing\Cadence.create().$params.payer
    • Change V2\Billing\Cadence.create().$params.payer.billing_profile to be required
    • Add support for new value crypto_wallets on enum EventsAccountConfigurationRecipientDataFeatureStatusUpdatedEvent.feature_name
    • Add support for new value crypto_wallets_v2 on enum EventsV2CoreAccountIncludingConfigurationRecipientCapabilityStatusUpdatedEvent.updated_capability
    • Remove support for alert_id on EventsV2CoreHealthApiErrorResolvedEvent, EventsV2CoreHealthApiLatencyResolvedEvent, EventsV2CoreHealthAuthorizationRateDropResolvedEvent, EventsV2CoreHealthIssuingAuthorizationRequestTimeoutResolvedEvent, EventsV2CoreHealthPaymentMethodErrorResolvedEvent, EventsV2CoreHealthTrafficVolumeDropResolvedEvent, and EventsV2CoreHealthWebhookLatencyResolvedEvent
    • Add support for thin event V1AccountUpdatedEvent with related object V2.Account
    • Add support for thin events V1ApplicationFeeCreatedEvent, V1ApplicationFeeRefundedEvent, V1BillingPortalConfigurationCreatedEvent, V1BillingPortalConfigurationUpdatedEvent, V1CapabilityUpdatedEvent, V1ChargeCapturedEvent, V1ChargeDisputeClosedEvent, V1ChargeDisputeCreatedEvent, V1ChargeDisputeFundsReinstatedEvent, V1ChargeDisputeFundsWithdrawnEvent, V1ChargeDisputeUpdatedEvent, V1ChargeExpiredEvent, V1ChargeFailedEvent, V1ChargePendingEvent, V1ChargeRefundUpdatedEvent, V1ChargeRefundedEvent, V1ChargeSucceededEvent, V1ChargeUpdatedEvent, V1CheckoutSessionAsyncPaymentFailedEvent, V1CheckoutSessionAsyncPaymentSucceededEvent, V1CheckoutSessionCompletedEvent, V1CheckoutSessionExpiredEvent, V1ClimateOrderCanceledEvent, V1ClimateOrderCreatedEvent, V1ClimateOrderDelayedEvent, V1ClimateOrderDeliveredEvent, V1ClimateOrderProductSubstitutedEvent, V1ClimateProductCreatedEvent, V1ClimateProductPricingUpdatedEvent, V1CouponCreatedEvent, V1CouponDeletedEvent, V1CouponUpdatedEvent, V1CreditNoteCreatedEvent, V1CreditNoteUpdatedEvent, V1CreditNoteVoidedEvent, V1CustomerCreatedEvent, V1CustomerDeletedEvent, V1CustomerDiscountCreatedEvent, V1CustomerDiscountDeletedEvent, V1CustomerDiscountUpdatedEvent, V1CustomerSubscriptionCreatedEvent, V1CustomerSubscriptionDeletedEvent, V1CustomerSubscriptionPausedEvent, V1CustomerSubscriptionPendingUpdateAppliedEvent, V1CustomerSubscriptionPendingUpdateExpiredEvent, V1CustomerSubscriptionResumedEvent, V1CustomerSubscriptionTrialWillEndEvent, V1CustomerSubscriptionUpdatedEvent, V1CustomerTaxIdCreatedEvent, V1CustomerTaxIdDeletedEvent, V1CustomerTaxIdUpdatedEvent, V1CustomerUpdatedEvent, V1FileCreatedEvent, V1FinancialConnectionsAccountCreatedEvent, V1FinancialConnectionsAccountDeactivatedEvent, V1FinancialConnectionsAccountDisconnectedEvent, V1FinancialConnectionsAccountReactivatedEvent, V1FinancialConnectionsAccountRefreshedBalanceEvent, V1FinancialConnectionsAccountRefreshedOwnershipEvent, V1FinancialConnectionsAccountRefreshedTransactionsEvent, V1IdentityVerificationSessionCanceledEvent, V1IdentityVerificationSessionCreatedEvent, V1IdentityVerificationSessionProcessingEvent, V1IdentityVerificationSessionRedactedEvent, V1IdentityVerificationSessionRequiresInputEvent, V1IdentityVerificationSessionVerifiedEvent, V1InvoiceCreatedEvent, V1InvoiceDeletedEvent, V1InvoiceFinalizationFailedEvent, V1InvoiceFinalizedEvent, V1InvoiceMarkedUncollectibleEvent, V1InvoiceOverdueEvent, V1InvoiceOverpaidEvent, V1InvoicePaidEvent, V1InvoicePaymentActionRequiredEvent, V1InvoicePaymentFailedEvent, V1InvoicePaymentPaidEvent, V1InvoicePaymentSucceededEvent, V1InvoiceSentEvent, V1InvoiceUpcomingEvent, V1InvoiceUpdatedEvent, V1InvoiceVoidedEvent, V1InvoiceWillBeDueEvent, V1InvoiceitemCreatedEvent, V1InvoiceitemDeletedEvent, V1IssuingAuthorizationCreatedEvent, V1IssuingAuthorizationRequestEvent, V1IssuingAuthorizationUpdatedEvent, V1IssuingCardCreatedEvent, V1IssuingCardUpdatedEvent, V1IssuingCardholderCreatedEvent, V1IssuingCardholderUpdatedEvent, V1IssuingDisputeClosedEvent, V1IssuingDisputeCreatedEvent, V1IssuingDisputeFundsReinstatedEvent, V1IssuingDisputeFundsRescindedEvent, V1IssuingDisputeSubmittedEvent, V1IssuingDisputeUpdatedEvent, V1IssuingPersonalizationDesignActivatedEvent, V1IssuingPersonalizationDesignDeactivatedEvent, V1IssuingPersonalizationDesignRejectedEvent, V1IssuingPersonalizationDesignUpdatedEvent, V1IssuingTokenCreatedEvent, V1IssuingTokenUpdatedEvent, V1IssuingTransactionCreatedEvent, V1IssuingTransactionPurchaseDetailsReceiptUpdatedEvent, V1IssuingTransactionUpdatedEvent, V1MandateUpdatedEvent, V1PaymentIntentAmountCapturableUpdatedEvent, V1PaymentIntentCanceledEvent, V1PaymentIntentCreatedEvent, V1PaymentIntentPartiallyFundedEvent, V1PaymentIntentPaymentFailedEvent, V1PaymentIntentProcessingEvent, V1PaymentIntentRequiresActionEvent, V1PaymentIntentSucceededEvent, V1PaymentLinkCreatedEvent, V1PaymentLinkUpdatedEvent, V1PaymentMethodAttachedEvent, V1PaymentMethodAutomaticallyUpdatedEvent, V1PaymentMethodDetachedEvent, V1PaymentMethodUpdatedEvent, V1PayoutCanceledEvent, V1PayoutCreatedEvent, V1PayoutFailedEvent, V1PayoutPaidEvent, V1PayoutReconciliationCompletedEvent, V1PayoutUpdatedEvent, V1PersonCreatedEvent, V1PersonDeletedEvent, V1PersonUpdatedEvent, V1PlanCreatedEvent, V1PlanDeletedEvent, V1PlanUpdatedEvent, V1PriceCreatedEvent, V1PriceDeletedEvent, V1PriceUpdatedEvent, V1ProductCreatedEvent, V1ProductDeletedEvent, V1ProductUpdatedEvent, V1PromotionCodeCreatedEvent, V1PromotionCodeUpdatedEvent, V1QuoteAcceptedEvent, V1QuoteCanceledEvent, V1QuoteCreatedEvent, V1QuoteFinalizedEvent, V1RadarEarlyFraudWarningCreatedEvent, V1RadarEarlyFraudWarningUpdatedEvent, V1RefundCreatedEvent, V1RefundFailedEvent, V1RefundUpdatedEvent, V1ReviewClosedEvent, V1ReviewOpenedEvent, V1SetupIntentCanceledEvent, V1SetupIntentCreatedEvent, V1SetupIntentRequiresActionEvent, V1SetupIntentSetupFailedEvent, V1SetupIntentSucceededEvent, V1SigmaScheduledQueryRunCreatedEvent, V1SourceCanceledEvent, V1SourceChargeableEvent, V1SourceFailedEvent, V1SourceRefundAttributesRequiredEvent, V1SubscriptionScheduleAbortedEvent, V1SubscriptionScheduleCanceledEvent, V1SubscriptionScheduleCompletedEvent, V1SubscriptionScheduleCreatedEvent, V1SubscriptionScheduleExpiringEvent, V1SubscriptionScheduleReleasedEvent, V1SubscriptionScheduleUpdatedEvent, V1TaxRateCreatedEvent, V1TaxRateUpdatedEvent, V1TerminalReaderActionFailedEvent, V1TerminalReaderActionSucceededEvent, V1TerminalReaderActionUpdatedEvent, V1TestHelpersTestClockAdvancingEvent, V1TestHelpersTestClockCreatedEvent, V1TestHelpersTestClockDeletedEvent, V1TestHelpersTestClockInternalFailureEvent, V1TestHelpersTestClockReadyEvent, V1TopupCanceledEvent, V1TopupCreatedEvent, V1TopupFailedEvent, V1TopupReversedEvent, V1TopupSucceededEvent, V1TransferCreatedEvent, V1TransferReversedEvent, V1TransferUpdatedEvent, V2CoreHealthIssuingAuthorizationRequestErrorsFiringEvent, and V2CoreHealthIssuingAuthorizationRequestErrorsResolvedEvent
    • Add support for thin event V2CoreClaimableSandboxCreatedEvent with related object V2.Core.ClaimableSandbox
    • Add support for thin events V2MoneyManagementRecipientVerificationCreatedEvent and V2MoneyManagementRecipientVerificationUpdatedEvent with related object V2.MoneyManagement.RecipientVerification

See the changelog for more details.

v18.1.0-beta.1

This release changes the pinned API version to 2025-09-30.preview. It is built on top of SDK version 18.0.0 which contains breaking changes. Please review the changelog for 18.0.0 if upgrading from older SDK versions.

  • #1914 Update generated code for beta
    • Add support for attach_cadence method on resource Subscription
    • Add support for billing_cadence on Invoice.create_preview().$params, Subscription.create().$params, Subscription.update().$params, and Subscription
    • Add support for billing_cadence_details on Invoice.parent and QuotePreviewInvoice.parent
    • Add support for new value billing_cadence_details on enums Invoice.parent.type and QuotePreviewInvoice.parent.type
  • #1907 Update generated code for beta
    • Add support for new resources V2.Billing.BillSettingVersion, V2.Billing.BillSetting, V2.Billing.Cadence, V2.Billing.CollectionSettingVersion, V2.Billing.CollectionSetting, and V2.Billing.Profile
    • Add support for all, create, retrieve, and update methods on resources V2.Billing.BillSetting, V2.Billing.CollectionSetting, and V2.Billing.Profile
    • Add support for all and retrieve methods on resources V2.Billing.BillSettingVersion and V2.Billing.CollectionSettingVersion
    • Add support for all, cancel, create, retrieve, and update methods on resource V2.Billing.Cadence
    • Add support for thin event V2BillingBillSettingUpdatedEvent with related object V2.Billing.BillSetting
    • Remove support for currency on V2\MoneyManagement\FinancialAddress.create().$params
    • Add support for amount_details and payments_orchestration on V2.Payments.OffSessionPayment and V2\Payments\OffSessionPayment.create().$params
    • Add support for mandate_data and payment_method_options on V2\Payments\OffSessionPayment.create().$params
    • Add support for retry_policy on V2.Payments.OffSessionPayment.retry_details and V2\Payments\OffSessionPayment.create().$params.retry_detail
    • Add support for profile on V2.Core.Account.defaults, V2\Core\Account.create().$params.default, and V2\Core\Account.update().$params.default
    • Add support for sepa_bank_account on V2.MoneyManagement.FinancialAddress.credentials and V2.MoneyManagement.ReceivedCredit.bank_transfer
    • Add support for new value sepa_bank_account on enum V2.MoneyManagement.FinancialAddress.credentials.type
    • Add support for new value crypto_wallet on enum V2.Core.Account.configuration.recipient.default_outbound_destination.type
    • Add support for settlement_currency on V2.MoneyManagement.FinancialAddress
    • Add support for new value authorization_expired on enum V2.Payments.OffSessionPayment.failure_reason
    • Change type of V2.MoneyManagement.OutboundPaymentQuote.fx_quote.lock_expires_at from DateTime to nullable(DateTime)
    • Add support for i_p on V2.Core.Account.identity.attestations.directorship_declaration, V2.Core.Account.identity.attestations.ownership_declaration, V2.Core.Account.identity.attestations.terms_of_service.account, V2.Core.Account.identity.attestations.terms_of_service.storer, V2.Core.Account.identity.individual.additional_terms_of_service.account, V2.Core.Person.additional_terms_of_service.account, V2\Core\Account.create().$params.identity.attestation.terms_of_service.account, V2\Core\Account.create().$params.identity.attestation.terms_of_service.storer, V2\Core\Account.update().$params.identity.attestation.terms_of_service.account, V2\Core\Account.update().$params.identity.attestation.terms_of_service.storer, V2\Core\Person.create().$params.additional_terms_of_service.account, and V2\Core\Person.update().$params.additional_terms_of_service.account
    • Remove support for ip on V2.Core.Account.identity.attestations.directorship_declaration, V2.Core.Account.identity.attestations.ownership_declaration, V2.Core.Account.identity.attestations.terms_of_service.account, V2.Core.Account.identity.attestations.terms_of_service.storer, V2.Core.Account.identity.individual.additional_terms_of_service.account, V2.Core.Person.additional_terms_of_service.account, V2\Core\Account.create().$params.identity.attestation.terms_of_service.account, V2\Core\Account.create().$params.identity.attestation.terms_of_service.storer, V2\Core\Account.update().$params.identity.attestation.terms_of_service.account, V2\Core\Account.update().$params.identity.attestation.terms_of_service.storer, V2\Core\Person.create().$params.additional_terms_of_service.account, and V2\Core\Person.update().$params.additional_terms_of_service.account
    • Remove support for doing_business_as, product_description, and url on V2.Core.Account.identity.business_details, V2\Core\Account.create().$params.identity.business_detail, and V2\Core\Account.update().$params.identity.business_detail
    • Add support for new values heuristic and scheduled on enum V2.Payments.OffSessionPayment.retry_details.retry_strategy
    • Change type of V2.MoneyManagement.OutboundPaymentQuote.fx_quote.lock_duration from literal('five_minutes') to enum('five_minutes'|'none')
    • Add support for new value none on enum V2.MoneyManagement.OutboundPaymentQuote.fx_quote.lock_status
    • Add support for new value crypto_wallet on enum V2.MoneyManagement.PayoutMethod.type
    • Add support for origin_type on V2.MoneyManagement.ReceivedCredit.bank_transfer
    • Remove support for payment_method_type on V2.MoneyManagement.ReceivedCredit.bank_transfer
    • Add support for type on V2\MoneyManagement\FinancialAddress.create().$params
    • Add support for new values financial_addressses.crypto_wallets, holds_currencies.usdc, outbound_payments.crypto_wallets, and outbound_transfers.crypto_wallets on enum EventsV2CoreAccountIncludingConfigurationStorerCapabilityStatusUpdatedEvent.updated_capability
  • #1896 Update generated code for beta
    • Add support for new resources Billing.Analytics.MeterUsageRow and Billing.Analytics.MeterUsage
    • Remove support for resources Billing.MeterUsageRow and Billing.MeterUsage
    • Add support for retrieve method on resource Billing.Analytics.MeterUsage
    • Remove support for retrieve method on resource Billing.MeterUsage
    • Add support for report_payment_attempt_informational method on resource PaymentRecord
    • Add support for minimum_balance_by_currency on BalanceSettings.payments.payouts and BalanceSettings.update().$params.payment.payout
    • Change type of BalanceSettings.update().$params.payment.settlement_timing.delay_days_override from longInteger to emptyable(longInteger)
    • Change BalanceSettings.update().$params.payments to be optional
    • Remove support for values saturday and sunday from enum BalanceSettings.payments.payouts.schedule.weekly_payout_days
    • Add support for delay_days_override on BalanceSettings.payments.settlement_timing
    • Add support for automatic_tax and invoice_creation on Checkout\Session.update().$params
    • Add support for unit_label on Checkout\Session.update().$params.line_item.price_datum.product_datum
    • Add support for invoice_settings on Checkout\Session.update().$params.subscription_datum
    • Change Checkout.Session.collected_information.business_name to be required
    • Add support for intended_submission_method on Dispute.update().$params and Dispute
    • Change type of Dispute.smart_disputes.recommended_evidence from string to array(string)
    • 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, 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 billing_schedules on Invoice.create_preview().$params.subscription_detail, Subscription.create().$params, Subscription.update().$params, and Subscription
    • Add support for new value pix on enums Invoice.payment_settings.payment_method_types, QuotePreviewInvoice.payment_settings.payment_method_types, and Subscription.payment_settings.payment_method_types
    • Add support for paypay on PaymentAttemptRecord.payment_method_details and PaymentRecord.payment_method_details
    • Add support for wallet on PaymentAttemptRecord.payment_method_details.card and PaymentRecord.payment_method_details.card
    • Change type of PaymentAttemptRecord.processor_details.custom.payment_reference and PaymentRecord.processor_details.custom.payment_reference from string to nullable(string)
    • Add support for flexible on QuotePreviewSubscriptionSchedule.billing_mode
    • Add support for billed_until on SubscriptionItem
    • Add support for error codes financial_connections_account_pending_account_numbers and financial_connections_account_unavailable_account_numbers on QuotePreviewInvoice.last_finalization_error

See the changelog for more details.

Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
davejamesmiller/laravel-breadcrumbs
artisanry/parsedown
christhompsontldr/phpsdk
enqueue/dsn
bunny/bunny
enqueue/test
enqueue/null
enqueue/amqp-tools
milesj/emojibase
bower-asset/punycode
bower-asset/inputmask
bower-asset/jquery
bower-asset/yii2-pjax
laravel/nova
spatie/laravel-mailcoach
spatie/laravel-superseeder
laravel/liferaft
nst/json-test-suite
danielmiessler/sec-lists
jackalope/jackalope-transport