Skip to content

Releases: stripe/stripe-php

v21.2.1

Choose a tag to compare

@xavdid xavdid released this 20 Aug 21:06
  • #2126 Don't emit agent hint during tests. Fixes #2125

See the changelog for more details.

v21.3.0-alpha.2

v21.3.0-alpha.2 Pre-release
Pre-release

Choose a tag to compare

@xavdid xavdid released this 19 Aug 23:01
  • #2120 Update generated code for private-preview
    • Add support for new resources Billing.FeedbackOption and PaymentPlan
    • ⚠️ Remove support for resource Billing.FeedbackOptions
    • Add support for all, create, retrieve, and update methods on resource PaymentPlan
    • Add support for update method on resource V2.MoneyManagement.Transaction
    • Add support for wechat_pay_payments on Account.create().$params.setting, Account.settings, and Account.update().$params.setting
    • ⚠️ Change type of BillingPortal.Configuration.features.subscription_cancel.cancellation_reason.feedback_options from $Billing.FeedbackOptions to $Billing.FeedbackOption
    • Change BillingPortal.Configuration.features.subscription_cancel.cancellation_reason.feedback_options to be required
    • Add support for subscription_pause on BillingPortal.Session.flow
    • Add support for new value subscription_pause on enum BillingPortal.Session.flow.type
    • Add support for new value usdt on enum Crypto.OnrampSession.transaction_details.destination_currencies
    • Add support for new value usdt on enum Crypto.OnrampSession.transaction_details.destination_currency
    • Add support for active_entitlements on CustomerSession.components
    • Add support for shared_payment_issued_token on DelegatedCheckout\RequestedSession.confirm().$params
    • Add support for new values payment_plan.created, payment_plan.installment_due, payment_plan.installment_paid, payment_plan.installment_will_be_due, and payment_plan.updated on enum Event.type
    • Add support for managed_payments on Invoice.create().$params, InvoiceItem.create().$params, InvoiceItem, Invoice, and QuotePreviewInvoice
    • Add support for payment_plan on Invoice
    • Add support for estimated_fee_details and estimated_fee on Issuing.Authorization.pending_request.hold_amount_details and Issuing.Authorization.request_history[].hold_amount_details
    • ⚠️ Remove support for cryptogram on PaymentAttemptRecord.payment_method_details.card.three_d_secure and PaymentRecord.payment_method_details.card.three_d_secure
    • ⚠️ Change type of ProductCatalog.TrialOffer.end_behavior.transition.price from $Price to deletable($Price)
    • ⚠️ Change type of Subscription.cancellation_details.feedback_option from $Billing.FeedbackOptions to $Billing.FeedbackOption
    • Add support for cancel_at_period_end on Subscription.pending_update
    • Change Subscription.cancellation_details.feedback_option to be required
    • Add support for igic on Tax.Registration.country_options.at, Tax.Registration.country_options.be, Tax.Registration.country_options.bg, Tax.Registration.country_options.cy, Tax.Registration.country_options.cz, Tax.Registration.country_options.de, Tax.Registration.country_options.dk, Tax.Registration.country_options.ee, Tax.Registration.country_options.es, Tax.Registration.country_options.fi, Tax.Registration.country_options.fr, Tax.Registration.country_options.gr, Tax.Registration.country_options.hr, Tax.Registration.country_options.hu, Tax.Registration.country_options.ie, Tax.Registration.country_options.it, Tax.Registration.country_options.lt, Tax.Registration.country_options.lu, Tax.Registration.country_options.lv, Tax.Registration.country_options.mt, Tax.Registration.country_options.nl, Tax.Registration.country_options.pl, Tax.Registration.country_options.pt, Tax.Registration.country_options.ro, Tax.Registration.country_options.se, Tax.Registration.country_options.si, and Tax.Registration.country_options.sk
    • Add support for metadata on V2.Billing.Contract.pricing_lines.data[].pricing.price_details.pricing_overrides.data[], V2.Billing.Contract.pricing_overrides.data[], V2.MoneyManagement.Transaction, V2\Billing\Contract.create().$params.pricing_override, V2\Billing\Contract.update().$params.pricing_line_action.update, V2\Billing\Contract.update().$params.pricing_override_action.add, V2\Billing\Contract.update().$params.pricing_override_action.update, and V2\Billing\Contract.update().$params
    • Add support for tax_amount on V2.MoneyManagement.OutboundPaymentQuote.estimated_fees[]
    • Add support for payout_method_options on V2.MoneyManagement.OutboundPaymentQuote.to and V2\MoneyManagement\OutboundPaymentQuote.create().$params.to
    • Change type of V2\Billing\Contract.update().$params.pricing_line_action.update.pricing.price_detail.pricing_override_action.update.metadata from string to emptyable(string)
    • Add support for snapshot events PAYMENT_PLAN_CREATED, PAYMENT_PLAN_INSTALLMENT_DUE, PAYMENT_PLAN_INSTALLMENT_PAID, PAYMENT_PLAN_INSTALLMENT_WILL_BE_DUE, and PAYMENT_PLAN_UPDATED with resource PaymentPlan

See the changelog for more details.

v21.3.0-alpha.1

v21.3.0-alpha.1 Pre-release
Pre-release

Choose a tag to compare

@xavdid xavdid released this 13 Aug 00:24

This release changes the pinned API version to 2026-08-12.preview.

  • #2116 Update generated code for private-preview
    • Add support for new resource V2.Tax.OperationsResolveAddressResult
    • Add support for resolve_address method on resource V2.Tax.OperationsResolveAddressResult
    • Add support for confirm and fx_quote methods on resource V2.MoneyManagement.PayoutIntent
    • ⚠️ Add support for new value partner_disabled 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
    • ⚠️ Remove support for values partner_disabled_dispute_rate, partner_disabled_responsibilities, partner_disabled_restricted_business, and partner_disabled_suspected_fraud from 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 customer_update on BillingPortal.Session.flow
    • Add support for new value customer_update on enum BillingPortal.Session.flow.type
    • Add support for funding_source_group on Charge.payment_method_details.link
    • ⚠️ Remove support for pricing_group on Charge.payment_method_details.link
    • Add support for new value celo on enum Crypto.CustomerConsumerWallet.network
    • Add support for new value celo on enum Crypto.OnrampSession.transaction_details.destination_network
    • Add support for new value celo on enum Crypto.OnrampSession.transaction_details.destination_networks
    • Add support for celo on Crypto.OnrampSession.transaction_details.wallet_addresses
    • Add support for customer_portal on CustomerSession.components
    • Add support for applied_to_invoice and type on CustomerBalanceTransaction.create().$params
    • Add support for classification_state and enrichment_state on FinancialConnections.Account
    • Add support for country on FinancialConnections.Session.filters
    • Add support for classifications and enrichments on FinancialConnections.Transaction
    • Add support for customer_balance on Invoice and QuotePreviewInvoice
    • Add support for billie on Invoice.payment_settings.payment_method_options, QuotePreviewInvoice.payment_settings.payment_method_options, and Subscription.payment_settings.payment_method_options
    • Add support for new values billie, paypay, and vipps on enums Invoice.payment_settings.payment_method_types, QuotePreviewInvoice.payment_settings.payment_method_types, and Subscription.payment_settings.payment_method_types
    • Add support for hold_amount_details and hold_amount on Issuing.Authorization.pending_request and Issuing.Authorization.request_history[]
    • Add support for new values hu and ro on enum Issuing.Cardholder.preferred_locales
    • Add support for network_decline_code on PaymentAttemptRecord.report_failed().$params.payment_method_detail.card and PaymentRecord.report_payment_attempt_failed().$params.payment_method_detail.card
    • Add support for setup_future_usage on PaymentIntent.payment_method_options.sequra
    • Add support for status on QuotePreviewSubscriptionSchedule.pause_schedules[].pause, QuotePreviewSubscriptionSchedule.pause_schedules[].resume, SubscriptionSchedule.pause_schedules[].pause, and SubscriptionSchedule.pause_schedules[].resume
    • Change SubscriptionSchedule.create().$params.pause_schedule.pause to be optional
    • Change type of SubscriptionSchedule.update().$params.pause_schedule.resume from pause_schedule_update_resume_params to emptyable(pause_schedule_update_resume_params)
    • Add support for acquirer on EventsV2CoreHealthAuthorizationRateDropFiringEvent.impact.dimensions[], EventsV2CoreHealthAuthorizationRateDropResolvedEvent.impact.dimensions[], V2.Core.Health.Alert.authorization_rate_drop.dimensions[], and V2.Core.Health.AlertHistoryEntry.authorization_rate_drop.dimensions[]
    • ⚠️ Change type of EventsV2CoreHealthAuthorizationRateDropFiringEvent.impact.dimensions[].type, EventsV2CoreHealthAuthorizationRateDropResolvedEvent.impact.dimensions[].type, V2.Core.Health.Alert.authorization_rate_drop.dimensions[].type, and V2.Core.Health.AlertHistoryEntry.authorization_rate_drop.dimensions[].type from literal('issuer') to enum('acquirer'|'issuer')
    • Add support for confirmation_method on V2.MoneyManagement.PayoutIntent and V2\MoneyManagement\PayoutIntent.create().$params
    • Add support for estimated_fees and fx_quote on V2.MoneyManagement.PayoutIntent
    • Add support for debited on V2.MoneyManagement.PayoutIntent.from
    • Add support for confirm on V2.MoneyManagement.PayoutIntent.next_action
    • ⚠️ Change type of V2.MoneyManagement.PayoutIntent.next_action.type from literal('handle_failure') to enum('confirm'|'handle_failure')
    • Add support for credited on V2.MoneyManagement.PayoutIntent.to
    • Add support for event notification V1BalanceSettingsUpdatedEvent with related object BalanceSettings
    • Add support for event notification V1BillingCreditBalanceTransactionCreatedEvent with related object Billing.CreditBalanceTransaction
    • Add support for event notifications V1BillingCreditGrantCreatedEvent and V1BillingCreditGrantUpdatedEvent with related object Billing.CreditGrant
    • Add support for event notifications V1BillingMeterCreatedEvent, V1BillingMeterDeactivatedEvent, V1BillingMeterReactivatedEvent, and V1BillingMeterUpdatedEvent with related object Billing.Meter
    • Add support for event notifications V1FinancialConnectionsAccountAccountNumbersUpdatedEvent, V1FinancialConnectionsAccountExpectedDeactivationDateUpdatedEvent, V1FinancialConnectionsAccountSupportedPaymentMethodTypesUpdatedEvent, V1FinancialConnectionsAccountUpcomingAccountNumberExpiryEvent, and V1FinancialConnectionsAccountUpcomingDeactivationEvent with related object FinancialConnections.Account
    • Add support for event notification V1InvoicePaymentAttemptRequiredEvent with related object Invoice
    • Add support for error type FxQuoteNeedsRefreshException

See the changelog for more details.

v21.2.0

Choose a tag to compare

@xavdid xavdid released this 10 Aug 22:11
  • #2119 Surface object property on EventNotification

  • #2117 Emit Claude Code plugin hint at module load time

  • #2115 Fix v2 timestamp phpdoc type annotations (#2114)

  • #2105 add/adjust event parsing helpers

    • Added methods that return their respective Event/EventNotification class instances without verifying authenticity. Use them when you've previously verified an event (e.g. you verified, put the event in a queue, and are now processing). Supports events from AWS EventBridge and Azure Event Grid natively.
      • Webhook::constructEventWithoutVerification($payload)
      • BaseStripeClient::constructEventWithoutVerification($payload)
      • BaseStripeClient::parseEventNotificationWithoutVerification($payload)
    • Added WebhookSignature::generateSignatureHeader($payload, $secret, $timestamp = null), which computes a full Stripe-Signature header for the given payload. Useful for unit tests!
  • #2112 Add stripe.major_api_version constant

See the changelog for more details.

v21.2.0-alpha.2

v21.2.0-alpha.2 Pre-release
Pre-release

Choose a tag to compare

@xavdid xavdid released this 05 Aug 22:23
  • #2108 Update generated code for private-preview
    • Add support for new resource Billing.FeedbackOptions
    • Add support for sequra_payments on Account.capabilities
    • Add support for feedback_options on BillingPortal.Configuration.features.subscription_cancel.cancellation_reason
    • Add support for sequra on Charge.payment_method_details, Checkout.Session.payment_method_options, ConfirmationToken.payment_method_preview, PaymentAttemptRecord.payment_method_details, PaymentIntent.payment_method_options, and PaymentRecord.payment_method_details
    • Add support for retrieval_reference_number on Charge.payment_method_details.card_present, 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 pricing_group on Charge.payment_method_details.link
    • Add support for tax_rates on Checkout.Session.shipping_options[], Checkout\Session.create().$params.shipping_option, and Checkout\Session.update().$params.shipping_option
    • Add support for new value daikin on enums Checkout.Session.automatic_surcharge.provider and PaymentLink.automatic_surcharge.provider
    • Add support for funding_types_blocked on Checkout.Session.payment_method_options.card.restrictions
    • Add support for new value sequra on enums ConfirmationToken.payment_method_preview.type and PaymentMethod.type
    • Add support for healthcare on Issuing\Authorization.capture().$params.purchase_detail, Issuing\Authorization.create().$params, Issuing\Transaction.create_force_capture().$params.purchase_detail, and Issuing\Transaction.create_unlinked_refund().$params.purchase_detail
    • Change type of Issuing.Authorization.healthcare.verification_status from nullable(enum('iias_merchant_exempt'|'iias_merchant_not_certified'|'iias_verified'|'not_verified')) to enum('iias_merchant_exempt'|'iias_merchant_not_certified'|'iias_verified'|'not_verified')
    • Add support for is_anomalous on PaymentAttemptRecord.report_guaranteed().$params
    • Add support for new value sequra on enums PaymentIntent.excluded_payment_method_types and SetupIntent.excluded_payment_method_types
    • Add support for aade_data on PaymentIntent.payment_method_options.card_present
    • Change Radar.PaymentEvaluation.payment_details.payment_method_details.card.first6 to be required
    • Change Radar.PaymentEvaluation.payment_details.payment_method_details.card.last4 to be required
    • Add support for feedback_option on Subscription.cancellation_details
    • Add support for application on V2.Payments.OffSessionPayment
    • Add support for status on V2\MoneyManagement\FinancialAccountStatement.all().$params
    • Change V2\Billing\Contract.create().$params.pricing_lines to be optional

See the changelog for more details.

v21.2.0-alpha.1

v21.2.0-alpha.1 Pre-release
Pre-release

Choose a tag to compare

@jar-stripe jar-stripe released this 30 Jul 03:30

This release changes the pinned API version to 2026-07-29.preview.

  • #2104 Update generated code for private-preview
    • Add support for new resources V2.MoneyManagement.ReceivedDebitMandate, V2.Risk.Inquiry, V2.Signals.AccountActivity, and V2.Signals.AccountEvaluation
    • Add support for create and retrieve methods on resource V2.Signals.AccountEvaluation
    • Add support for create, delete, and retrieve methods on resource V2.Signals.AccountActivity
    • Add support for all, retrieve, and update methods on resource V2.Risk.Inquiry
    • Add support for all, cancel, and retrieve methods on resource V2.MoneyManagement.ReceivedDebitMandate
    • Add support for rate_cards on Billing.CreditGrant.applicability_config.scope, Billing\CreditBalanceSummary.retrieve().$params.filter.applicability_scope, and Billing\CreditGrant.create().$params.applicability_config.scope
    • ⚠️ Change type of ConfirmationToken.payment_method_preview.gift_card.brand, GiftCard.brand, GiftCard.create().$params.brand, PaymentMethod.gift_card.brand, Terminal\Reader.activate_gift_card().$params.brand, Terminal\Reader.cashout_gift_card().$params.brand, Terminal\Reader.check_gift_card_balance().$params.brand, and Terminal\Reader.reload_gift_card().$params.brand from enum('fiserv_valuelink'|'givex'|'svs') to literal('svs')
    • Add support for new value tempo on enum Crypto.CustomerConsumerWallet.network
    • Add support for new value tempo on enum Crypto.OnrampSession.transaction_details.destination_network
    • Add support for new value tempo on enum Crypto.OnrampSession.transaction_details.destination_networks
    • Add support for tempo on Crypto.OnrampSession.transaction_details.wallet_addresses
    • Add support for new value try_again_later on enum GiftCardOperation.failure_code
    • Add support for healthcare on Issuing.Authorization
    • Add support for product_code on Issuing.Card, Issuing\Card.create().$params, and Issuing\Card.update().$params
    • Add support for product_graduation_state on Issuing.Card
    • Add support for cvc and number on Radar\PaymentEvaluation.create().$params.payment_detail.payment_method_detail.card
    • Change Radar\PaymentEvaluation.create().$params.payment_detail.payment_method_detail.card.first6 to be optional
    • Change Radar\PaymentEvaluation.create().$params.payment_detail.payment_method_detail.card.last4 to be optional
    • Add support for card on Radar.PaymentEvaluation.payment_details.payment_method_details
    • ⚠️ Change type of Terminal\Reader.collect_payment_method().$params.collect_config.gift_card_brand and Terminal\Reader.process_payment_intent().$params.process_config.gift_card_brand from enum('fiserv_valuelink'|'givex'|'svs') to literal('svs')
    • Add support for gift_card on Terminal\Reader.present_payment_method().$params
    • Add support for amount_due and customer_balance_applied on V2.Billing.Intent.amount_details
    • ⚠️ Change type of V2.Core.AccountEvaluation.evaluations_triggered from literal('fraudulent_website') to enum('fraudulent_website'|'user_account_sharing'|'user_multi_accounting')
    • Add support for gross_settlement on V2.Core.Account.configuration.merchant, V2\Core\Account.create().$params.configuration.merchant, and V2\Core\Account.update().$params.configuration.merchant
    • ⚠️ Change type of V2.MoneyManagement.DebitDispute.bank_transfer.network from literal('ach') to enum('ach'|'bacs')
    • Add support for new values beneficiary_unrecognized, mandate_canceled_by_stripe, mandate_canceled, no_advance_notice, originator_requested, and signature_invalid on enum V2.MoneyManagement.DebitDispute.bank_transfer.reason
    • ⚠️ Remove support for managed_by on V2.MoneyManagement.FinancialAccount
    • Add support for payout_intent on V2.MoneyManagement.OutboundPayment
    • Add support for settles_at on V2.MoneyManagement.ReceivedDebit
    • Add support for gb_bank_account on V2.MoneyManagement.ReceivedDebit.bank_transfer
    • ⚠️ Change type of V2.MoneyManagement.ReceivedDebit.bank_transfer.origin_type from literal('us_bank_account') to enum('gb_bank_account'|'us_bank_account')
    • ⚠️ Change type of V2.MoneyManagement.ReceivedDebit.bank_transfer.payment_method_type from literal('us_bank_account') to enum('gb_bank_account'|'us_bank_account')
    • Add support for new value scheduled on enum V2.MoneyManagement.ReceivedDebit.status
    • Add support for new value no_mandate on enum V2.MoneyManagement.ReceivedDebit.status_details.failed.reason
    • Add support for target_date on V2.Payments.OffSessionPayment and V2\Payments\OffSessionPayment.create().$params
    • Add support for account_evaluation, fraudulent_website, payment_delinquency_exposure, user_account_sharing, and user_multi_accounting on V2.Signals.AccountSignal
    • Add support for new values fraudulent_website, user_account_sharing, and user_multi_accounting on enum V2.Signals.AccountSignal.type
    • Change type of V2\MoneyManagement\FinancialAddressDebitSimulation.debit().$params.network from literal('ach') to enum('ach'|'bacs')
    • Add support for received_debit_mandate on V2\MoneyManagement\ReceivedDebit.all().$params
    • ⚠️ Remove support for payout_intent on V2\MoneyManagement\OutboundPayment.create().$params
    • Change type of V2\Core\AccountEvaluation.create().$params.signals from literal('fraudulent_website') to enum('fraudulent_website'|'user_account_sharing'|'user_multi_accounting')
    • ⚠️ Remove support for id on EventsV2SignalsAccountSignalFraudulentMerchantReadyEvent
    • Add support for event notifications V2MoneyManagementReceivedDebitCreatedEvent and V2MoneyManagementReceivedDebitScheduledEvent with related object V2.MoneyManagement.ReceivedDebit
    • Add support for event notifications V2MoneyManagementReceivedDebitMandateCanceledEvent, V2MoneyManagementReceivedDebitMandateCreatedEvent, V2MoneyManagementReceivedDebitMandateExpiredEvent, V2MoneyManagementReceivedDebitMandatePendingCancellationEvent, and V2MoneyManagementReceivedDebitMandateUpdatedEvent with related object V2.MoneyManagement.ReceivedDebitMandate
    • Add support for event notification V2SignalsAccountEvaluationCompleteEvent with related object V2.Signals.AccountEvaluation
    • Add support for event notifications V2SignalsAccountSignalFraudulentWebsiteReadyEvent and V2SignalsAccountSignalPaymentDelinquencyExposureReadyEvent with related object V2.Signals.AccountSignal

See the changelog for more details.

v21.1.1

Choose a tag to compare

@xavdid xavdid released this 30 Jul 18:43
  • #2110 suppress warnings when we can't access a directory

See the changelog for more details.

v21.2.0-beta.1

v21.2.0-beta.1 Pre-release
Pre-release

Choose a tag to compare

@jar-stripe jar-stripe released this 29 Jul 23:37

This release changes the pinned API version to 2026-07-29.preview.

  • #2090 Update generated code for beta
    • Add support for all and retrieve methods on resource ProductCatalog.TrialOffer
    • Add support for tax_items on Charge.capture().$params.payment_detail.car_rental_datum.total.tax, Charge.capture().$params.payment_detail.flight_datum.total.tax, Charge.capture().$params.payment_detail.lodging_datum.total.tax, Charge.update().$params.payment_detail.car_rental_datum.total.tax, Charge.update().$params.payment_detail.flight_datum.total.tax, Charge.update().$params.payment_detail.lodging_datum.total.tax, PaymentIntent.capture().$params.payment_detail.car_rental_datum.total.tax, PaymentIntent.capture().$params.payment_detail.flight_datum.total.tax, PaymentIntent.capture().$params.payment_detail.lodging_datum.total.tax, PaymentIntent.confirm().$params.payment_detail.car_rental_datum.total.tax, PaymentIntent.confirm().$params.payment_detail.flight_datum.total.tax, PaymentIntent.confirm().$params.payment_detail.lodging_datum.total.tax, PaymentIntent.create().$params.payment_detail.car_rental_datum.total.tax, PaymentIntent.create().$params.payment_detail.flight_datum.total.tax, PaymentIntent.create().$params.payment_detail.lodging_datum.total.tax, PaymentIntent.payment_details.car_rental_data[].total.tax, PaymentIntent.payment_details.flight_data[].total.tax, PaymentIntent.payment_details.lodging_data[].total.tax, PaymentIntent.update().$params.payment_detail.car_rental_datum.total.tax, PaymentIntent.update().$params.payment_detail.flight_datum.total.tax, and PaymentIntent.update().$params.payment_detail.lodging_datum.total.tax
    • ⚠️ Remove support for taxes on Charge.capture().$params.payment_detail.car_rental_datum.total.tax, Charge.capture().$params.payment_detail.flight_datum.total.tax, Charge.capture().$params.payment_detail.lodging_datum.total.tax, Charge.update().$params.payment_detail.car_rental_datum.total.tax, Charge.update().$params.payment_detail.flight_datum.total.tax, Charge.update().$params.payment_detail.lodging_datum.total.tax, PaymentIntent.capture().$params.payment_detail.car_rental_datum.total.tax, PaymentIntent.capture().$params.payment_detail.flight_datum.total.tax, PaymentIntent.capture().$params.payment_detail.lodging_datum.total.tax, PaymentIntent.confirm().$params.payment_detail.car_rental_datum.total.tax, PaymentIntent.confirm().$params.payment_detail.flight_datum.total.tax, PaymentIntent.confirm().$params.payment_detail.lodging_datum.total.tax, PaymentIntent.create().$params.payment_detail.car_rental_datum.total.tax, PaymentIntent.create().$params.payment_detail.flight_datum.total.tax, PaymentIntent.create().$params.payment_detail.lodging_datum.total.tax, PaymentIntent.payment_details.car_rental_data[].total.tax, PaymentIntent.payment_details.flight_data[].total.tax, PaymentIntent.payment_details.lodging_data[].total.tax, PaymentIntent.update().$params.payment_detail.car_rental_datum.total.tax, PaymentIntent.update().$params.payment_detail.flight_datum.total.tax, and PaymentIntent.update().$params.payment_detail.lodging_datum.total.tax
    • Add support for tax_id on Checkout.Session.collected_information
    • ⚠️ Remove support for tax_ids on Checkout.Session.collected_information
    • Add support for mode on FinancialConnections.Session.manual_entry
    • Add support for name on Issuing\Cardholder.update().$params
    • Add support for new value ic_nif on enums Order.tax_details.tax_ids[].type and QuotePreviewInvoice.customer_tax_ids[].type
    • Add support for new values alipay and mb_way on enum QuotePreviewInvoice.payment_settings.payment_method_types
    • Add support for custom_fields, description, and footer on QuotePreviewSubscriptionSchedule.default_settings.invoice_settings and QuotePreviewSubscriptionSchedule.phases[].invoice_settings
    • Add support for trial on QuotePreviewSubscriptionSchedule.phases[]
    • ⚠️ Remove support for acss_debit, afterpay_clearpay, alipay, alma, amazon_pay, au_becs_debit, bacs_debit, bancontact, billie, bizum, blik, boleto, card_present, cashapp, crypto, customer_balance, eps, fpx, giropay, gopay, grabpay, id_bank_transfer, ideal, interac_present, kakao_pay, konbini, kr_card, mb_way, mobilepay, multibanco, naver_pay, nz_bank_account, oxxo, p24, pay_by_bank, payco, paynow, paypal, paypay, payto, pix, promptpay, qris, rechnung, revolut_pay, samsung_pay, satispay, scalapay, sepa_debit, shopeepay, sofort, stripe_balance, sunbit, swish, twint, upi, us_bank_account, wechat_pay, and zip on SharedPayment.GrantedToken.payment_method_details
    • ⚠️ Remove support for values acss_debit, afterpay_clearpay, alipay, alma, amazon_pay, au_becs_debit, bacs_debit, bancontact, billie, bizum, blik, boleto, card_present, cashapp, crypto, custom, customer_balance, eps, fpx, giropay, gopay, grabpay, id_bank_transfer, ideal, interac_present, kakao_pay, konbini, kr_card, mb_way, mobilepay, multibanco, naver_pay, nz_bank_account, oxxo, p24, pay_by_bank, payco, paynow, paypal, paypay, payto, pix, promptpay, qris, rechnung, revolut_pay, samsung_pay, satispay, scalapay, sepa_debit, shopeepay, sofort, stripe_balance, sunbit, swish, twint, upi, us_bank_account, wechat_pay, and zip from enum SharedPayment.GrantedToken.payment_method_details.type
    • Add support for use_stripe_sdk on SharedPayment.IssuedToken and SharedPayment\IssuedToken.create().$params
    • Add support for redirect_to_url on SharedPayment.IssuedToken.next_action
    • ⚠️ Change type of SharedPayment.IssuedToken.next_action.type from literal('use_stripe_sdk') to enum('redirect_to_url'|'use_stripe_sdk')
    • Add support for livemode on Tax.Location
    • Add support for source on V2.Iam.ActivityLog.details.user_roles
    • Add support for payout on V2.MoneyManagement.ReceivedCredit.balance_transfer
    • ⚠️ Remove support for payout_v1 on V2.MoneyManagement.ReceivedCredit.balance_transfer
    • Add support for new value payout on enum V2.MoneyManagement.ReceivedCredit.balance_transfer.type
    • ⚠️ Change V2.MoneyManagement.ReceivedDebit.bank_transfer.us_bank_account to be optional

See the changelog for more details.

v21.1.0

Choose a tag to compare

@jar-stripe jar-stripe released this 29 Jul 23:30

This release changes the pinned API version to 2026-07-29.dahlia.

  • #2106 Update generated code
    • Add support for new resource FinancialConnections.Authorization
    • Add support for unreject method on resource Account
    • Add support for all method on resource PaymentRecord
    • Add support for new values mass_transit_parking_tax and parking_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, Tax.Transaction.shipping_cost.tax_breakdown[].tax_rate_details.tax_type, and TaxRate.tax_type
    • Add support for new value chaps on enums FundingInstructions.bank_transfer.financial_addresses[].supported_networks and PaymentIntent.next_action.display_bank_transfer_instructions.financial_addresses[].supported_networks
    • Add support for smart_disputes_management on AccountSession.components.disputes_list.features, AccountSession.components.payment_details.features, AccountSession.components.payment_disputes.features, AccountSession.components.payments.features, AccountSession.create().$params.component.disputes_list.feature, AccountSession.create().$params.component.payment.feature, AccountSession.create().$params.component.payment_detail.feature, and AccountSession.create().$params.component.payment_dispute.feature
    • Add support for administrative_address and principal_place_of_business on Account.company, Account.create().$params.company, Account.update().$params.company, and Token.create().$params.account.company
    • Add support for sepa_debit_payments on Account.update().$params.setting
    • Remove support for proof_of_registration on Account.create().$params.document. This field was limited-use and is being deprecated.
    • Add support for payouts_action on Account.reject().$params
    • Add support for new value data_share_only on enums Charge.payment_method_details.card.three_d_secure.result, PaymentAttemptRecord.payment_method_details.card.three_d_secure.result, PaymentRecord.payment_method_details.card.three_d_secure.result, and SetupAttempt.payment_method_details.card.three_d_secure.result
    • Add support for new values bnp_paribas, citibank, and mbsb_bank on enums Charge.payment_method_details.fpx.bank, ConfirmationToken.payment_method_preview.fpx.bank, PaymentAttemptRecord.payment_method_details.fpx.bank, PaymentMethod.fpx.bank, and PaymentRecord.payment_method_details.fpx.bank
    • Remove support for dynamic_tax_rates on Checkout\Session.create().$params.line_item. This field was limited-use and is being deprecated.
    • Add support for setup_future_usage on Checkout.Session.payment_method_options.payco, Checkout.Session.payment_method_options.samsung_pay, Checkout\Session.create().$params.payment_method_option.payco, Checkout\Session.create().$params.payment_method_option.samsung_pay, PaymentIntent.confirm().$params.payment_method_option.payco, PaymentIntent.confirm().$params.payment_method_option.samsung_pay, PaymentIntent.create().$params.payment_method_option.payco, PaymentIntent.create().$params.payment_method_option.samsung_pay, PaymentIntent.payment_method_options.payco, PaymentIntent.payment_method_options.samsung_pay, PaymentIntent.update().$params.payment_method_option.payco, PaymentIntent.update().$params.payment_method_option.samsung_pay, and PaymentLink.update().$params.payment_intent_datum
    • Add support for new value ic_nif 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 network on Dispute.payment_method_details.card
    • Add support for new values financial_connections.account.expected_deactivation_date_updated, financial_connections.account.supported_payment_method_types_updated, financial_connections.account.upcoming_deactivation, financial_connections.authorization.expected_deactivation_date_updated, and financial_connections.authorization.upcoming_deactivation on enum Event.type
    • Add support for limits and manual_entry on FinancialConnections.Session and FinancialConnections\Session.create().$params
    • Add support for require_payment_method_support on FinancialConnections.Session.filters and FinancialConnections\Session.create().$params.filter
    • Add support for bank_account_token on FinancialConnections.Session
    • Add support for metadata on Invoice.create_preview().$params.subscription_detail
    • Add support for new values alipay and mb_way on enums Invoice.payment_settings.payment_method_types and Subscription.payment_settings.payment_method_types
    • Add support for new value stripe_internal_error on enum Issuing.Authorization.request_history[].reason
    • Add support for business_name on Issuing.Card.shipping, Issuing\Card.create().$params.shipping, and Issuing\Card.update().$params.shipping
    • Add support for new value correos on enum Issuing.Card.shipping.carrier
    • Add support for allowed_payment_method_types on PaymentIntent.confirm().$params, PaymentIntent.create().$params, PaymentIntent.update().$params, PaymentIntent, SetupIntent.confirm().$params, SetupIntent.create().$params, SetupIntent.update().$params, and SetupIntent
    • Add support for referrer on PaymentIntent.confirm().$params.radar_option and PaymentIntent.create().$params.radar_option
    • Add support for consent_collection and shipping_options on PaymentLink.update().$params
    • Add support for custom_fields, description, and footer on Quote.create().$params.invoice_setting, Quote.invoice_settings, Quote.update().$params.invoice_setting, SubscriptionSchedule.create().$params.default_setting.invoice_setting, SubscriptionSchedule.create().$params.phase.invoice_setting, SubscriptionSchedule.default_settings.invoice_settings, SubscriptionSchedule.phases[].invoice_settings, SubscriptionSchedule.update().$params.default_setting.invoice_setting, and SubscriptionSchedule.update().$params.phase.invoice_setting
    • Add support for customer_account and customer on Refund
    • Add support for payment_method on Refund and Topup
    • Add support for trial on SubscriptionSchedule.phases[]
    • Add support for mass_transit_parking_tax and parking_tax on Tax.Registration.country_options.us and Tax\Registration.create().$params.country_option.me
    • Add support for new values mass_transit_parking_tax and parking_tax on enum Tax.Registration.country_options.us.type
    • Add support for initiated_by and payment_method_options on Topup
    • Add support for additional_addresses 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 snapshot events FINANCIAL_CONNECTIONS_ACCOUNT_EXPECTED_DEACTIVATION_DATE_UPDATED, FINANCIAL_CONNECTIONS_ACCOUNT_SUPPORTED_PAYMENT_METHOD_TYPES_UPDATED, and FINANCIAL_CONNECTIONS_ACCOUNT_UPCOMING_DEACTIVATION with resource FinancialConnections.Account
    • Add support for snapshot events FINANCIAL_CONNECTIONS_AUTHORIZATION_EXPECTED_DEACTIVATION_DATE_UPDATED and FINANCIAL_CONNECTIONS_AUTHORIZATION_UPCOMING_DEACTIVATION with resource FinancialConnections.Authorization

See the changelog for more details.

v21.1.0-alpha.2

v21.1.0-alpha.2 Pre-release
Pre-release

Choose a tag to compare

@jar-stripe jar-stripe released this 23 Jul 05:05
  • #2103 Update generated code for private-preview
    • Add support for new resources Billing.AlertNotification and Crypto.DepositAddress
    • Add support for all, create, and retrieve methods on resource Crypto.DepositAddress
    • Add support for all method on resource Billing.AlertNotification
    • Add support for new values partner_disabled_dispute_rate, partner_disabled_responsibilities, partner_disabled_restricted_business, and partner_disabled_suspected_fraud 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 new value data_share_only on enums Charge.payment_method_details.card.three_d_secure.result, PaymentAttemptRecord.payment_method_details.card.three_d_secure.result, PaymentRecord.payment_method_details.card.three_d_secure.result, and SetupAttempt.payment_method_details.card.three_d_secure.result
    • Add support for vipps on ConfirmationToken.create().$params.payment_method_datum, ConfirmationToken.payment_method_preview, 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, SetupIntent.confirm().$params.payment_method_datum, SetupIntent.create().$params.payment_method_datum, and SetupIntent.update().$params.payment_method_datum
    • Add support for new value vipps on enums ConfirmationToken.payment_method_preview.type and PaymentMethod.type
    • Add support for new value sui on enum Crypto.CustomerConsumerWallet.network
    • Add support for new value sui on enum Crypto.OnrampSession.transaction_details.destination_network
    • Add support for new value sui on enum Crypto.OnrampSession.transaction_details.destination_networks
    • Add support for sui on Crypto.OnrampSession.transaction_details.wallet_addresses
    • Add support for use_stripe_sdk on DelegatedCheckout\RequestedSession.confirm().$params
    • Add support for new value mb_way on enums Invoice.payment_settings.payment_method_types, QuotePreviewInvoice.payment_settings.payment_method_types, and Subscription.payment_settings.payment_method_types
    • Add support for ev_charging on PaymentIntent.capture().$params.amount_detail.line_item.payment_method_option.card, PaymentIntent.confirm().$params.amount_detail.line_item.payment_method_option.card, PaymentIntent.create().$params.amount_detail.line_item.payment_method_option.card, 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.update().$params.amount_detail.line_item.payment_method_option.card, and PaymentIntentAmountDetailsLineItem.payment_method_options.card
    • ⚠️ Change type of PaymentIntent.allowed_payment_method_types from string to enum
    • Add support for new value vipps on enums PaymentIntent.excluded_payment_method_types and SetupIntent.excluded_payment_method_types
    • Add support for tax_items on PaymentIntent.payment_details.car_rental_data[].total.tax, PaymentIntent.payment_details.flight_data[].total.tax, and PaymentIntent.payment_details.lodging_data[].total.tax
    • ⚠️ Remove support for taxes on PaymentIntent.payment_details.car_rental_data[].total.tax, PaymentIntent.payment_details.flight_data[].total.tax, and PaymentIntent.payment_details.lodging_data[].total.tax
    • Change PaymentRecord.create().$params.closed to be optional
    • Change PaymentRecord.create().$params.funded to be optional
    • Add support for card on Radar\PaymentEvaluation.create().$params.payment_detail.payment_method_detail
    • ⚠️ Remove support for acss_debit, afterpay_clearpay, alipay, alma, amazon_pay, au_becs_debit, bacs_debit, bancontact, billie, bizum, blik, boleto, card_present, cashapp, crypto, customer_balance, eps, fpx, gift_card, giropay, gopay, grabpay, id_bank_transfer, ideal, interac_present, kakao_pay, konbini, kr_card, mb_way, mobilepay, multibanco, naver_pay, nz_bank_account, oxxo, p24, pay_by_bank, payco, paynow, paypal, paypay, payto, pix, promptpay, qris, rechnung, revolut_pay, samsung_pay, satispay, scalapay, sepa_debit, shopeepay, sofort, stripe_balance, sunbit, swish, tamara, twint, upi, us_bank_account, wechat_pay, and zip on SharedPayment.GrantedToken.payment_method_details
    • ⚠️ Add support for new value shop_pay on enum SharedPayment.GrantedToken.payment_method_details.type
    • ⚠️ Remove support for values acss_debit, afterpay_clearpay, alipay, alma, amazon_pay, au_becs_debit, bacs_debit, bancontact, billie, bizum, blik, boleto, card_present, cashapp, crypto, custom, customer_balance, eps, fpx, gift_card, giropay, gopay, grabpay, id_bank_transfer, ideal, interac_present, kakao_pay, konbini, kr_card, mb_way, mobilepay, multibanco, naver_pay, nz_bank_account, oxxo, p24, pay_by_bank, payco, paynow, paypal, paypay, payto, pix, promptpay, qris, rechnung, revolut_pay, samsung_pay, satispay, scalapay, sepa_debit, shopeepay, sofort, stripe_balance, sunbit, swish, tamara, twint, upi, us_bank_account, wechat_pay, and zip from enum SharedPayment.GrantedToken.payment_method_details.type
    • Add support for spend_card on V2.Core.Account.configuration.card_creator.capabilities.commercial.stripe, V2\Core\Account.create().$params.configuration.card_creator.capability.commercial.stripe, and V2\Core\Account.update().$params.configuration.card_creator.capability.commercial.stripe
    • Add support for new value commercial.stripe.spend_card on enums V2.Core.Account.future_requirements.entries[].impact.restricts_capabilities[].capability and V2.Core.Account.requirements.entries[].impact.restricts_capabilities[].capability
    • Add support for new value payment_delinquency_exposure on enum V2.Signals.AccountSignal.type
    • Add support for new value commercial.stripe.spend_card on enum EventsV2CoreAccountIncludingConfigurationCardCreatorCapabilityStatusUpdatedEvent.updated_capability

See the changelog for more details.