Skip to content

Releases: stripe/stripe-python

v15.4.0a5

v15.4.0a5 Pre-release
Pre-release

Choose a tag to compare

@jar-stripe jar-stripe released this 23 Jul 05:04
  • #1852 Update generated code for private-preview
    • Add support for new resources billing.AlertNotification and crypto.DepositAddress
    • Add support for create, list, and retrieve methods on resource crypto.DepositAddress
    • Add support for list 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.FutureRequirement.Error.code, Account.Requirement.Error.code, BankAccount.FutureRequirement.Error.code, BankAccount.Requirement.Error.code, Capability.FutureRequirement.Error.code, Capability.Requirement.Error.code, Person.FutureRequirement.Error.code, and Person.Requirement.Error.code
    • Add support for new value data_share_only on enums Charge.PaymentMethodDetail.Card.ThreeDSecure.result, PaymentAttemptRecord.PaymentMethodDetail.Card.ThreeDSecure.result, PaymentRecord.PaymentMethodDetail.Card.ThreeDSecure.result, and SetupAttempt.PaymentMethodDetail.Card.ThreeDSecure.result
    • Add support for vipps on ConfirmationToken.PaymentMethodPreview, ConfirmationTokenCreateParamsPaymentMethodDatum, PaymentIntent.PaymentMethodOption, PaymentIntentConfirmParamsPaymentMethodDatum, PaymentIntentConfirmParamsPaymentMethodOption, PaymentIntentCreateParamsPaymentMethodDatum, PaymentIntentCreateParamsPaymentMethodOption, PaymentIntentModifyParamsPaymentMethodDatum, PaymentIntentModifyParamsPaymentMethodOption, PaymentMethodConfigurationCreateParams, PaymentMethodConfigurationModifyParams, PaymentMethodConfiguration, PaymentMethodCreateParams, PaymentMethod, SetupIntentConfirmParamsPaymentMethodDatum, SetupIntentCreateParamsPaymentMethodDatum, and SetupIntentModifyParamsPaymentMethodDatum
    • Add support for new value vipps on enums ConfirmationTokenCreateParamsPaymentMethodDatum.type, PaymentIntentConfirmParamsPaymentMethodDatum.type, PaymentIntentCreateParamsPaymentMethodDatum.type, PaymentIntentModifyParamsPaymentMethodDatum.type, SetupIntentConfirmParamsPaymentMethodDatum.type, SetupIntentCreateParamsPaymentMethodDatum.type, and SetupIntentModifyParamsPaymentMethodDatum.type
    • Add support for new value vipps on enums ConfirmationToken.PaymentMethodPreview.type and PaymentMethod.type
    • Add support for new value sui on enum Crypto.CustomerConsumerWallet.network
    • Add support for new value sui on enums Crypto.OnrampSession.TransactionDetail.destination_network, crypto.OnrampSessionCreateParams.destination_network, crypto.OnrampSessionListParams.destination_network, and crypto.OnrampTransactionLimitsRetrieveParams.destination_network
    • Add support for new value sui on enums Crypto.OnrampSession.TransactionDetail.destination_networks and crypto.OnrampSessionCreateParams.destination_networks
    • Add support for sui on Crypto.OnrampSession.TransactionDetail.WalletAddress
    • Add support for new value vipps on enums CustomerListPaymentMethodsParams.type, PaymentMethodCreateParams.type, and PaymentMethodListParams.type
    • Add support for use_stripe_sdk on delegated_checkout.RequestedSessionConfirmParams
    • Add support for new value mb_way on enums Invoice.PaymentSetting.payment_method_types, InvoiceCreateParamsPaymentSetting.payment_method_types, InvoiceModifyParamsPaymentSetting.payment_method_types, QuotePreviewInvoice.PaymentSetting.payment_method_types, Subscription.PaymentSetting.payment_method_types, SubscriptionCreateParamsPaymentSetting.payment_method_types, and SubscriptionModifyParamsPaymentSetting.payment_method_types
    • Add support for ev_charging on PaymentIntentAmountDetailsLineItem.PaymentMethodOption.Card, PaymentIntentCaptureParamsAmountDetailLineItemPaymentMethodOptionCard, PaymentIntentConfirmParamsAmountDetailLineItemPaymentMethodOptionCard, PaymentIntentCreateParamsAmountDetailLineItemPaymentMethodOptionCard, PaymentIntentDecrementAuthorizationParamsAmountDetailLineItemPaymentMethodOptionCard, PaymentIntentIncrementAuthorizationParamsAmountDetailLineItemPaymentMethodOptionCard, and PaymentIntentModifyParamsAmountDetailLineItemPaymentMethodOptionCard
    • Add support for new values ev_battery_exchanges, ev_charging_fee, evc_level_1, evc_level_2, evc_level_3, evc_level_4, and evc_level_5 on enums PaymentIntentCaptureParamsAmountDetailLineItemPaymentMethodOptionCardFleetDatum.product_type, PaymentIntentConfirmParamsAmountDetailLineItemPaymentMethodOptionCardFleetDatum.product_type, PaymentIntentCreateParamsAmountDetailLineItemPaymentMethodOptionCardFleetDatum.product_type, PaymentIntentDecrementAuthorizationParamsAmountDetailLineItemPaymentMethodOptionCardFleetDatum.product_type, PaymentIntentIncrementAuthorizationParamsAmountDetailLineItemPaymentMethodOptionCardFleetDatum.product_type, and PaymentIntentModifyParamsAmountDetailLineItemPaymentMethodOptionCardFleetDatum.product_type
    • Add support for new value vipps on enums PaymentIntent.excluded_payment_method_types, PaymentIntentConfirmParams.excluded_payment_method_types, PaymentIntentCreateParams.excluded_payment_method_types, PaymentIntentModifyParams.excluded_payment_method_types, SetupIntent.excluded_payment_method_types, SetupIntentCreateParams.excluded_payment_method_types, and SetupIntentModifyParams.excluded_payment_method_types
    • ⚠️ Change type of PaymentIntent.allowed_payment_method_types from string to enum
    • Add support for tax_items on PaymentIntent.PaymentDetail.CarRentalDatum.Total.Tax, PaymentIntent.PaymentDetail.FlightDatum.Total.Tax, and PaymentIntent.PaymentDetail.LodgingDatum.Total.Tax
    • ⚠️ Remove support for taxes on PaymentIntent.PaymentDetail.CarRentalDatum.Total.Tax, PaymentIntent.PaymentDetail.FlightDatum.Total.Tax, and PaymentIntent.PaymentDetail.LodgingDatum.Total.Tax
    • Change PaymentRecordCreateParams.closed to be optional
    • Change PaymentRecordCreateParams.funded to be optional
    • Add support for card on radar.PaymentEvaluationCreateParamsPaymentDetailPaymentMethodDetail
    • ⚠️ 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.PaymentMethodDetail
    • ⚠️ Add support for new value shop_pay on enum SharedPayment.GrantedToken.PaymentMethodDetail.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.PaymentMethodDetail.type
    • Add support for spend_card on V2.Core.Account.Configuration.CardCreator.Capability.Commercial.Stripe, v2.core.AccountCreateParamsConfigurationCardCreatorCapabilityCommercialStripe, and v2.core.AccountModifyParamsConfigurationCardCreatorCapabilityCommercialStripe
    • Add support for new value commercial.stripe.spend_card on enums V2.Core.Account.FutureRequirement.Entry.Impact.RestrictsCapability.capability and V2.Core.Account.Requirement.Entry.Impact.RestrictsCapability.capability
    • Add support for new value payment_delinquency_exposure on enums V2.Signals.AccountSignal.type and v2.signals.AccountSignalListParams.type
    • Add support for new value commercial.stripe.spend_card on enum EventsV2CoreAccountIncludingConfigurationCardCreatorCapabilityStatusUpdatedEvent.updated_capability

See the changelog for more details.

v15.4.0a4

v15.4.0a4 Pre-release
Pre-release

Choose a tag to compare

@jar-stripe jar-stripe released this 16 Jul 18:38
  • #1844 Update generated code for private-preview
    • ⚠️ Remove support for resource FrMealVouchersOnboarding
    • ⚠️ Remove support for create, list, modify, and retrieve methods on resource FrMealVouchersOnboarding
    • Add support for create method on resource PaymentRecord
    • Add support for new value chaps on enums FundingInstructions.BankTransfer.FinancialAddress.supported_networks and PaymentIntent.NextAction.DisplayBankTransferInstruction.FinancialAddress.supported_networks
    • ⚠️ Remove support for financial_accounts_transactions, financial_accounts, and recipients_list on AccountSessionCreateParamsComponent
    • Add support for smart_disputes_management on AccountSession.Component.DisputesList.Feature, AccountSession.Component.Payment.Feature, AccountSession.Component.PaymentDetail.Feature, and AccountSession.Component.PaymentDispute.Feature
    • ⚠️ Add support for new value ic_nif on enums Checkout.Session.CollectedInformation.TaxId.type, Checkout.Session.CustomerDetail.TaxId.type, Invoice.CustomerTaxId.type, Order.TaxDetail.TaxId.type, QuotePreviewInvoice.CustomerTaxId.type, Tax.Calculation.CustomerDetail.TaxId.type, and Tax.Transaction.CustomerDetail.TaxId.type
    • 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 mode on FinancialConnections.Session.ManualEntry
    • Add support for new values alipay and sequra on enums Invoice.PaymentSetting.payment_method_types, InvoiceCreateParamsPaymentSetting.payment_method_types, InvoiceModifyParamsPaymentSetting.payment_method_types, QuotePreviewInvoice.PaymentSetting.payment_method_types, Subscription.PaymentSetting.payment_method_types, SubscriptionCreateParamsPaymentSetting.payment_method_types, and SubscriptionModifyParamsPaymentSetting.payment_method_types
    • Add support for new value stripe_internal_error on enum Issuing.Authorization.RequestHistory.reason
    • Add support for business_name on Issuing.Card.Shipping
    • Add support for new value correos on enum Issuing.Card.Shipping.carrier
    • ⚠️ Change type of Issuing.Transaction.NetworkDatum.trace_id from IssuingTransactionTraceId to nullable(IssuingTransactionTraceId)
    • Add support for pause_schedules on QuotePreviewSubscriptionSchedule, SubscriptionScheduleCreateParams, SubscriptionScheduleModifyParams, and SubscriptionSchedule
    • Add support for trial on QuotePreviewSubscriptionSchedule.Phase and SubscriptionSchedule.Phase
    • Add support for payment_record on RefundCreateParams
    • Add support for redirect_to_url on SharedPayment.IssuedToken.NextAction
    • ⚠️ Change type of SharedPayment.IssuedToken.NextAction.type from literal('use_stripe_sdk') to enum('redirect_to_url'|'use_stripe_sdk')
    • 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 enums WebhookEndpointCreateParams.enabled_events and WebhookEndpointModifyParams.enabled_events
    • 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 financial_connections.Account
    • Add support for snapshot events financial_connections.authorization.expected_deactivation_date_updated and financial_connections.authorization.upcoming_deactivation with resource financial_connections.Authorization

See the changelog for more details.

v15.3.1

Choose a tag to compare

@xavdid xavdid released this 16 Jul 00:39
  • #1846 Replace source hash with Telemetry UUID
  • #1845 Make Error fields generated
  • #1843 Remove unused Retry-After header support
  • #1834 Reduce StripeClient() cold start latency for serverless environments
    • Moves HTTP library imports to module load time to better accommodate AWS Lambda and other serverless environments that have separate Init phase and Invoke phase time budgets.

See the changelog for more details.

v15.4.0a3

v15.4.0a3 Pre-release
Pre-release

Choose a tag to compare

@jar-stripe jar-stripe released this 08 Jul 23:42

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

  • #1842 Update generated code for private-preview
    • Add support for activate_gift_card, cashout_gift_card, check_gift_card_balance, and reload_gift_card methods on resource terminal.Reader
    • Add support for aggregation_period on Billing.AlertRecovered
    • ⚠️ Add support for new values mass_transit_parking_tax and parking_tax on enums Tax.Calculation.ShippingCost.TaxBreakdown.TaxRateDetail.tax_type, Tax.Calculation.TaxBreakdown.TaxRateDetail.tax_type, Tax.CalculationLineItem.TaxBreakdown.TaxRateDetail.tax_type, and Tax.Transaction.ShippingCost.TaxBreakdown.TaxRateDetail.tax_type
    • Add support for administrative_address and principal_place_of_business on Account.Company
    • ⚠️ Add support for new values bnp_paribas, citibank, and mbsb_bank on enums Charge.PaymentMethodDetail.Fpx.bank, ConfirmationToken.PaymentMethodPreview.Fpx.bank, PaymentAttemptRecord.PaymentMethodDetail.Fpx.bank, PaymentMethod.Fpx.bank, PaymentRecord.PaymentMethodDetail.Fpx.bank, and SharedPayment.GrantedToken.PaymentMethodDetail.Fpx.bank
    • Add support for address_collection_precision on Checkout.Session.AutomaticTax
    • Add support for tax_id on Checkout.Session.CollectedInformation
    • ⚠️ Remove support for tax_ids on Checkout.Session.CollectedInformation
    • Add support for setup_future_usage on Checkout.Session.PaymentMethodOption.Payco, Checkout.Session.PaymentMethodOption.SamsungPay, PaymentIntent.PaymentMethodOption.Payco, PaymentIntent.PaymentMethodOption.Paypay, PaymentIntent.PaymentMethodOption.SamsungPay, PaymentIntentConfirmParamsPaymentMethodOptionPaypay, PaymentIntentCreateParamsPaymentMethodOptionPaypay, and PaymentIntentModifyParamsPaymentMethodOptionPaypay
    • Add support for network on Dispute.PaymentMethodDetail.Card
    • Add support for require_payment_method_support on FinancialConnections.Session.Filter
    • Add support for network_data on Issuing.Authorization.RequestHistory
    • Add support for acquiring_institution_country, acquiring_institution_id, retrieval_reference_number, routed_network, and trace_id on Issuing.Transaction.NetworkDatum
    • Add support for new values boku_promptpay, capchase_pay, check_scan, click_to_pay, demo_pay, duitnow, dummy_auth_push, dummy_passthrough_card, edenred, gcash, getbalance, knet, kr_market, kriya, momo, mondu, netbanking, ng_bank_transfer, ng_bank, ng_card, ng_market, ng_ussd, ng_wallet, octopus, paper_check, sequra, shop_pay, south_korea_market, test_pay, truemoney, us_cash_voucher, vipps, and wero on enums PaymentIntentConfirmParams.allowed_payment_method_types, PaymentIntentCreateParams.allowed_payment_method_types, and PaymentIntentModifyParams.allowed_payment_method_types
    • Add support for custom_fields, description, and footer on Quote.InvoiceSetting, QuotePreviewSubscriptionSchedule.DefaultSetting.InvoiceSetting, QuotePreviewSubscriptionSchedule.Phase.InvoiceSetting, SubscriptionSchedule.DefaultSetting.InvoiceSetting, and SubscriptionSchedule.Phase.InvoiceSetting
    • Add support for paypay on SetupAttempt.PaymentMethodDetail
    • Add support for new values mass_transit_parking_tax and parking_tax on enum tax.RegistrationCreateParamsCountryOptionMe.type
    • Add support for mass_transit_parking_tax and parking_tax on Tax.Registration.CountryOption.Me
    • ⚠️ Add support for new values mass_transit_parking_tax and parking_tax on enum Tax.Registration.CountryOption.Me.type
    • Add support for gift_card_brand on terminal.ReaderCollectPaymentMethodParamsCollectConfig and terminal.ReaderProcessPaymentIntentParamsProcessConfig
    • Add support for activate_gift_card, cashout_gift_card, check_gift_card_balance, deactivate_gift_card, and reload_gift_card on Terminal.Reader.Action
    • ⚠️ Add support for new values activate_gift_card, cashout_gift_card, check_gift_card_balance, deactivate_gift_card, and reload_gift_card on enum Terminal.Reader.Action.type
    • Add support for status_transitions on V2.Billing.Contract
    • ⚠️ Remove support for one_time_fees on V2.Billing.Contract and v2.billing.ContractCreateParams
    • ⚠️ Remove support for status_details on V2.Billing.Contract
    • Add support for id and priority on V2.Billing.Contract.PricingLine.Datum.Pricing.PriceDetail.PricingOverride.Datum
    • ⚠️ Remove support for pricing_override on V2.Billing.Contract.PricingLine.Datum.Pricing.PriceDetail.PricingOverride.Datum
    • ⚠️ Remove support for tiering_mode and tiers on V2.Billing.Contract.PricingLine.Datum.Pricing.PriceDetail.PricingOverride.Datum.OverwritePrice, v2.billing.ContractCreateParamsPricingLinePricingPriceDetailPricingOverrideOverwritePrice, v2.billing.ContractModifyParamsPricingLineActionAddPricingPriceDetailPricingOverrideOverwritePrice, v2.billing.ContractModifyParamsPricingLineActionUpdatePricingPriceDetailPricingOverrideActionAddOverwritePrice, and v2.billing.ContractModifyParamsPricingOverrideActionAddOverwritePrice
    • Add support for multiply_pricing on V2.Billing.Contract.PricingOverride.Datum, v2.billing.ContractCreateParamsPricingOverride, and v2.billing.ContractModifyParamsPricingOverrideActionAdd
    • ⚠️ Remove support for multiplier on V2.Billing.Contract.PricingOverride.Datum, v2.billing.ContractCreateParamsPricingOverride, and v2.billing.ContractModifyParamsPricingOverrideActionAdd
    • ⚠️ Change type of V2.Billing.Contract.PricingOverride.Datum.type, v2.billing.ContractCreateParamsPricingOverride.type, and v2.billing.ContractModifyParamsPricingOverrideActionAdd.type from literal('multiplier') to literal('multiply_pricing')
    • Add support for related_network_object on V2.Core.Account and v2.core.AccountListParams
    • ⚠️ Add support for new value network_business_profile_wallet on enum V2.Core.Account.Configuration.Recipient.DefaultOutboundDestination.type
    • Add support for network_business_profile_wallet on V2.MoneyManagement.PayoutMethod
    • Add support for new value network_business_profile_wallet on enums V2.MoneyManagement.PayoutMethod.type, v2.money_management.OutboundSetupIntentCreateParamsPayoutMethodDatum.type, and v2.money_management.OutboundSetupIntentModifyParamsPayoutMethodDatum.type
    • Add support for stripe_network_transfer on V2.MoneyManagement.ReceivedCredit
    • Add support for new value stripe_network_transfer on enum V2.MoneyManagement.ReceivedCredit.type
    • ⚠️ Remove support for value one_time_fees from enums v2.billing.ContractActivateParams.include, v2.billing.ContractCancelParams.include, v2.billing.ContractCreateParams.include, v2.billing.ContractListParams.include, v2.billing.ContractModifyParams.include, and v2.billing.ContractRetrieveParams.include
    • ⚠️ Change type of v2.billing.ContractCreateParamsPricingLineEndsAt.type, v2.billing.ContractCreateParamsPricingLinePricingPriceDetailPricingOverrideEndsAt.type, v2.billing.ContractCreateParamsPricingOverrideEndsAt.type, and v2.billing.ContractModifyParamsPricingLineActionAddPricingPriceDetailPricingOverrideEndsAt.type from enum('contract_end'|'timestamp') to literal('timestamp')
    • ⚠️ Change type of v2.billing.ContractCreateParamsPricingLinePricingPriceDetailPricingOverrideStartsAt.type, v2.billing.ContractCreateParamsPricingLineStartsAt.type, v2.billing.ContractCreateParamsPricingOverrideStartsAt.type, and v2.billing.ContractModifyParamsPricingLineActionAddPricingPriceDetailPricingOverrideStartsAt.type from enum('contract_start'|'timestamp') to literal('timestamp')
    • Change v2.billing.ContractCreateParamsPricingOverride.priority and v2.billing.ContractModifyParamsPricingOverrideActionAdd.priority to be optional
    • ⚠️ Change type of v2.billing.ContractModifyParamsPricingLineActionAddEndsAt.type, v2.billing.ContractModifyParamsPricingLineActionUpdateEndsAt.type, v2.billing.ContractModifyParamsPricingLineActionUpdatePricingPriceDetailPricingOverrideActionAddEndsAt.type, v2.billing.ContractModifyParamsPricingLineActionUpdatePricingPriceDetailPricingOverrideActionUpdateEndsAt.type, v2.billing.ContractModifyParamsPricingOverrideActionAddEndsAt.type, and v2.billing.ContractModifyParamsPricingOverrideActionUpdateEndsAt.type from enum('billing_period_end'|'timestamp') to literal('timestamp')
    • ⚠️ Change type of v2.billing.ContractModifyParamsPricingLineActionAddStartsAt.type, v2.billing.ContractModifyParamsPricingLineActionUpdatePricingPriceDetailPricingOverrideActionAddStartsAt.type, v2.billing.ContractModifyParamsPricingLineActionUpdatePricingPriceDetailPricingOverrideActionUpdateStartsAt.type, v2.billing.ContractModifyParamsPricingLineActionUpdateStartsAt.type, v2.billing.ContractModifyParamsPricingOverrideActionAddStartsAt.type, and v2.billing.ContractModifyParamsPricingOverrideActionUpdateStartsAt.type from enum('billing_period_start'|'timestamp') to literal('timestamp')
    • Add support for event notifications V2BillingContractActivatedEvent, V2BillingContractCanceledEvent, V2BillingContractCreatedEvent, V2BillingContractEndedEvent, and V2BillingContractUpdatedEvent with related object v2.billing.Contract

See the changelog for more details.

v15.4.0a2

v15.4.0a2 Pre-release
Pre-release

Choose a tag to compare

@jar-stripe jar-stripe released this 02 Jul 03:57

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

  • #1839 Update generated code for private-preview
    • Add support for new resources crypto.CustomerConsumerWallet, crypto.CustomerPaymentToken, crypto.Customer, crypto.OnrampSession, and crypto.OnrampTransactionLimits
    • Add support for list and retrieve methods on resource crypto.Customer
    • Add support for checkout, create, list, quote, and retrieve methods on resource crypto.OnrampSession
    • Add support for retrieve method on resource crypto.OnrampTransactionLimits
    • Add support for electronic_commerce_indicator on Charge.PaymentMethodDetail.Card
    • Add support for amount_received and amount_requested on Charge.PaymentMethodDetail.Crypto, PaymentAttemptRecord.PaymentMethodDetail.Crypto, and PaymentRecord.PaymentMethodDetail.Crypto
    • Add support for fingerprint on Charge.PaymentMethodDetail.GiftCard, PaymentAttemptRecord.PaymentMethodDetail.GiftCard, and PaymentRecord.PaymentMethodDetail.GiftCard
    • Add support for address_collection_precision on checkout.SessionCreateParamsAutomaticTax
    • Add support for subscription on Checkout.Session.Item
    • ⚠️ Remove support for deactivation on GiftCardOperation
    • ⚠️ Remove support for value deactivation from enum GiftCardOperation.type
    • Add support for merchant_amount_exchange_rate on Issuing.Authorization and Issuing.Transaction
    • Add support for device_id on Issuing.Authorization.TokenDetail.NetworkDatum.Device and Issuing.Token.NetworkDatum.Device
    • Add support for program on Issuing.Card
    • Add support for payment_method_details on PaymentAttemptRecordReportFailedParams and PaymentRecordReportPaymentAttemptFailedParams
    • Add support for reason on PaymentAttemptRecordReportRefundParams and PaymentRecordReportRefundParams
    • Add support for amount_reconciliation on PaymentIntent.PaymentMethodOption.Crypto, PaymentIntentConfirmParamsPaymentMethodOptionCrypto, PaymentIntentCreateParamsPaymentMethodOptionCrypto, and PaymentIntentModifyParamsPaymentMethodOptionCrypto
    • Add support for connect_permissions and permissions on V2.Iam.ApiKey, v2.iam.ApiKeyCreateParams, and v2.iam.ApiKeyModifyParams
    • Add support for credit on V2.MoneyManagement.FinancialAccount
    • ⚠️ Add support for new value credit on enum V2.MoneyManagement.FinancialAccount.type
    • Add support for new value currency_required on enum V2.MoneyManagement.PayoutIntent.NextAction.HandleFailure.failure_reason
    • Add support for new values issuing_authorization, issuing_transaction, and platform_funded_credit_transaction on enums V2.MoneyManagement.Transaction.category and V2.MoneyManagement.TransactionEntry.TransactionDetail.category
    • Add support for account, issuing_authorization, issuing_dispute, and issuing_transaction on V2.MoneyManagement.Transaction.Flow and V2.MoneyManagement.TransactionEntry.TransactionDetail.Flow
    • Add support for new values issuing_authorization, issuing_dispute, and issuing_transaction on enums V2.MoneyManagement.Transaction.Flow.type and V2.MoneyManagement.TransactionEntry.TransactionDetail.Flow.type
    • Add support for new value credit on enum v2.money_management.FinancialAccountListParams.types
    • Change type of v2.money_management.FinancialAccountCreateParams.type from literal('storage') to enum('credit'|'storage')
    • Add support for expires_at on v2.iam.ApiKeyCreateParams

See the changelog for more details.

v15.4.0b1

v15.4.0b1 Pre-release
Pre-release

Choose a tag to compare

@xavdid xavdid released this 24 Jun 23:02

This release changes the pinned API version to 2026-06-24.preview.

  • #1819 Update generated code for beta
    • Add support for redaction on Card, Charge, Checkout.Session, Customer, Issuing.Authorization, Issuing.Card, Issuing.Cardholder, Issuing.Dispute, Issuing.Transaction, PaymentIntent, PaymentMethod, SetupIntent, Source, and Token
    • Add support for disclaimer_variant on Capital.FinancingOffer and Capital.FinancingSummary.Detail
    • Add support for active on FinancialConnections.Account.StatusDetail and FinancialConnections.Authorization.StatusDetail
    • ⚠️ Add support for new value institution_requirement on enum FinancialConnections.Account.StatusDetail.Inactive.cause
    • Change type of financial_connections.SessionCreateParamsLimit.accounts from longInteger to emptyable(longInteger)
    • Add support for pause on InvoiceCreatePreviewParamsSubscriptionDetail
    • ⚠️ Add support for new value satispay on enum QuotePreviewInvoice.PaymentSetting.payment_method_types
    • Add support for release_details on Reserve.Hold
    • Add support for buyer_id on SharedPayment.GrantedToken.PaymentMethodDetail.Bizum and SharedPayment.GrantedToken.PaymentMethodDetail.Blik
    • Add support for fingerprint on SharedPayment.GrantedToken.PaymentMethodDetail.Pix
    • ⚠️ Remove support for value invoice_payment.detached from enum WebhookEndpointModifyParams.enabled_events
    • ⚠️ Add support for new value money_manager on enums EventsV2CoreAccountLinkReturnedEvent.configurations, V2.Core.AccountLink.UseCase.AccountOnboarding.configurations, and V2.Core.AccountLink.UseCase.AccountUpdate.configurations
    • ⚠️ Add support for new value money_manager on enums V2.Core.Account.applied_configurations, v2.core.AccountCloseParams.applied_configurations, and v2.core.AccountListParams.applied_configurations
    • ⚠️ Remove support for value storer from enums V2.Core.Account.applied_configurations, v2.core.AccountCloseParams.applied_configurations, and v2.core.AccountListParams.applied_configurations
    • Add support for money_manager on V2.Core.Account.Configuration, V2.Core.Account.Identity.Attestation.TermsOfService, v2.core.AccountCreateParamsConfiguration, v2.core.AccountCreateParamsIdentityAttestationTermsOfService, v2.core.AccountModifyParamsConfiguration, and v2.core.AccountTokenCreateParamsIdentityAttestationTermsOfService
    • ⚠️ Remove support for storer on V2.Core.Account.Configuration, V2.Core.Account.Identity.Attestation.TermsOfService, v2.core.AccountCreateParamsConfiguration, v2.core.AccountCreateParamsIdentityAttestationTermsOfService, v2.core.AccountModifyParamsConfiguration, and v2.core.AccountTokenCreateParamsIdentityAttestationTermsOfService
    • ⚠️ Add support for new values business_storage.inbound.eur, business_storage.inbound.gbp, business_storage.inbound.usd, business_storage.outbound.eur, business_storage.outbound.gbp, business_storage.outbound.usd, received_credits.bank_accounts, and received_debits.bank_accounts on enums V2.Core.Account.FutureRequirement.Entry.Impact.RestrictsCapability.capability and V2.Core.Account.Requirement.Entry.Impact.RestrictsCapability.capability
    • ⚠️ Add support for new value money_manager on enums V2.Core.Account.FutureRequirement.Entry.Impact.RestrictsCapability.configuration and V2.Core.Account.Requirement.Entry.Impact.RestrictsCapability.configuration
    • ⚠️ Remove support for maximum_rps on V2.Core.BatchJob and v2.core.BatchJobCreateParams
    • Add support for bic on V2.MoneyManagement.FinancialAddress.Credential.UsBankAccount
    • ⚠️ Remove support for swift_code on V2.MoneyManagement.FinancialAddress.Credential.UsBankAccount
    • Add support for processing on V2.MoneyManagement.OutboundPayment.StatusDetail and V2.MoneyManagement.OutboundTransfer.StatusDetail
    • ⚠️ Add support for new values fx_rate_drift_exceeded_after_review, payout_method_amount_limit_exceeded, and review_rejected on enum V2.MoneyManagement.OutboundPayment.StatusDetail.Failed.reason
    • ⚠️ Add support for new values fx_rate_drift_exceeded_after_review and review_rejected on enum V2.MoneyManagement.OutboundTransfer.StatusDetail.Failed.reason
    • Add support for account_holder_name on V2.MoneyManagement.ReceivedCredit.BankTransfer.UsBankAccount
    • ⚠️ Add support for new value capability_inactive on enum V2.MoneyManagement.ReceivedDebit.StatusDetail.Failed.reason
    • Add support for statuses on v2.money_management.FinancialAccountListParams
    • ⚠️ Remove support for status on v2.money_management.FinancialAccountListParams
    • Change v2.core.BatchJobCreateParams.metadata to be optional
    • Add support for new value money_manager on enums v2.core.AccountLinkCreateParamsUseCaseAccountOnboarding.configurations and v2.core.AccountLinkCreateParamsUseCaseAccountUpdate.configurations
    • ⚠️ Add support for new value configuration.money_manager on enums v2.core.AccountCreateParams.include, v2.core.AccountModifyParams.include, and v2.core.AccountRetrieveParams.include
    • ⚠️ Remove support for value configuration.storer from enums v2.core.AccountCreateParams.include, v2.core.AccountModifyParams.include, and v2.core.AccountRetrieveParams.include
    • Add support for event notifications V2CoreAccountIncludingConfigurationMoneyManagerCapabilityStatusUpdatedEvent and V2CoreAccountIncludingConfigurationMoneyManagerUpdatedEvent with related object v2.core.Account
    • Add support for event notification V2MoneyManagementOutboundPaymentUnderReviewEvent with related object v2.money_management.OutboundPayment
    • Add support for event notification V2MoneyManagementOutboundTransferUnderReviewEvent with related object v2.money_management.OutboundTransfer
    • ⚠️ Remove support for event notifications V2CoreAccountIncludingConfigurationStorerCapabilityStatusUpdatedEvent and V2CoreAccountIncludingConfigurationStorerUpdatedEvent with related object v2.core.Account
    • Add support for error codes anomalous_money_movement_request, failed_tax_calculation, financial_account_balance_does_not_support_currency, financial_account_capability_not_enabled, and financial_account_capability_restricted on QuotePreviewInvoice.LastFinalizationError
    • Add support for error code default_us_bank_account_cannot_be_archived on CannotProceedError

See the changelog for more details.

v15.4.0a1

v15.4.0a1 Pre-release
Pre-release

Choose a tag to compare

@xavdid xavdid released this 24 Jun 23:20

This release changes the pinned API version to 2026-06-24.preview.

  • #1833 Update generated code for private-preview
    • Add support for new resources v2.billing.ContractPricingLineQuantityChange, v2.core.health.AlertHistoryEntry, v2.core.health.Alert, v2.money_management.FinancialAddressDebitSimulation, and v2.money_management.PayoutIntent
    • ⚠️ Remove support for resource v2.billing.ContractLicensePricingQuantityChange
    • Add support for report_offer_acceptance method on resource issuing.CreditUnderwritingRecord
    • Add support for provisional_credit test helper method on resource issuing.Dispute
    • Add support for report_early_fraud_warning method on resource PaymentAttemptRecord
    • Add support for search method on resource PaymentRecord
    • Add support for debit method on resource v2.money_management.FinancialAddressDebitSimulation
    • Add support for cancel, create, list, modify, and retrieve methods on resource v2.money_management.PayoutIntent
    • Add support for list and retrieve methods on resource v2.core.health.Alert
    • Add support for delete method on resource v2.billing.Contract
    • ⚠️ Remove support for performance_location_details on Tax.TransactionLineItem
    • Add support for financial_accounts_transactions, financial_accounts, and recipients_list on AccountSession.Component and AccountSessionCreateParamsComponent
    • Add support for location and reader on Charge.PaymentMethodDetail.GiftCard, GiftCardOperation, PaymentAttemptRecord.PaymentMethodDetail.GiftCard, and PaymentRecord.PaymentMethodDetail.GiftCard
    • Add support for subscription on checkout.SessionCreateParamsItem
    • Add support for items on Checkout.Session
    • Add support for brand on Checkout.Session.CurrentAttempt.PaymentMethodDetail.Card
    • Add support for network_data on issuing.AuthorizationCaptureParams and issuing.TransactionCreateForceCaptureParams
    • Add support for enriched_merchant_data on Issuing.Authorization
    • Add support for available_balance and current_balance on Issuing.Authorization.BalanceResponse
    • ⚠️ Remove support for amount on Issuing.Authorization.BalanceResponse
    • Add support for decision_deadline_updated_at on Issuing.CreditUnderwritingRecord
    • Add support for acquirer_reference_number on Issuing.Transaction.NetworkDatum
    • Change PaymentAttemptRecordReportRefundParams.outcome and PaymentRecordReportRefundParams.outcome to be optional
    • Add support for tip on PaymentIntentCaptureParamsAmountDetail, PaymentIntentConfirmParamsAmountDetail, PaymentIntentCreateParamsAmountDetail, PaymentIntentDecrementAuthorizationParamsAmountDetail, PaymentIntentIncrementAuthorizationParamsAmountDetail, and PaymentIntentModifyParamsAmountDetail
    • ⚠️ Remove support for values billing.alert.recovered and payment_intent.expired from enums WebhookEndpointCreateParams.enabled_events and WebhookEndpointModifyParams.enabled_events
    • Add support for billing_cycle_anchor on V2.Billing.Contract and v2.billing.ContractCreateParams
    • ⚠️ Remove support for contract_line_details, contract_value_details, and license_quantities on V2.Billing.Contract
    • Add support for bill_settings_details on V2.Billing.Contract.BillingSetting and v2.billing.ContractCreateParamsBillingSetting
    • Add support for billing_profile_details and collection_settings_details on V2.Billing.Contract.BillingSetting
    • ⚠️ Remove support for contract_billing_details on V2.Billing.Contract.BillingSetting and v2.billing.ContractCreateParamsBillingSetting
    • ⚠️ Change type of V2.Billing.Contract.one_time_fees from array(an object) to an object
    • ⚠️ Change type of V2.Billing.Contract.pricing_lines from array(an object) to an object
    • ⚠️ Change type of V2.Billing.Contract.pricing_overrides from array(an object) to an object
    • ⚠️ Change V2.Billing.Contract.pricing_lines to be optional
    • ⚠️ Change V2.Billing.Contract.pricing_overrides to be optional
    • Add support for mode on V2.Commerce.ProductCatalogImport
    • Add support for new value money_manager on enums EventsV2CoreAccountLinkReturnedEvent.configurations, V2.Core.AccountLink.UseCase.AccountOnboarding.configurations, V2.Core.AccountLink.UseCase.AccountUpdate.configurations, v2.core.AccountLinkCreateParamsUseCaseAccountOnboarding.configurations, and v2.core.AccountLinkCreateParamsUseCaseAccountUpdate.configurations
    • ⚠️ Add support for new value money_manager on enums V2.Core.Account.applied_configurations, v2.core.AccountCloseParams.applied_configurations, and v2.core.AccountListParams.applied_configurations
    • ⚠️ Remove support for value storer from enums V2.Core.Account.applied_configurations, v2.core.AccountCloseParams.applied_configurations, and v2.core.AccountListParams.applied_configurations
    • Add support for money_manager on V2.Core.Account.Configuration, V2.Core.Account.Identity.Attestation.TermsOfService, v2.core.AccountCreateParamsConfiguration, v2.core.AccountCreateParamsIdentityAttestationTermsOfService, v2.core.AccountModifyParamsConfiguration, v2.core.AccountModifyParamsIdentityAttestationTermsOfService, and v2.core.AccountTokenCreateParamsIdentityAttestationTermsOfService
    • ⚠️ Remove support for storer on V2.Core.Account.Configuration, V2.Core.Account.Identity.Attestation.TermsOfService, v2.core.AccountCreateParamsConfiguration, v2.core.AccountCreateParamsIdentityAttestationTermsOfService, v2.core.AccountModifyParamsConfiguration, v2.core.AccountModifyParamsIdentityAttestationTermsOfService, and v2.core.AccountTokenCreateParamsIdentityAttestationTermsOfService
    • Add support for sunbit_payments on V2.Core.Account.Configuration.Merchant.Capability, v2.core.AccountCreateParamsConfigurationMerchantCapability, and v2.core.AccountModifyParamsConfigurationMerchantCapability
    • Add support for ach, becs, eft, fedwire, fps, npp, rtp, sepa_credit, sepa_instant, and swift on V2.Core.Account.Configuration.Recipient.Capability.BankAccount, v2.core.AccountCreateParamsConfigurationRecipientCapabilityBankAccount, and v2.core.AccountModifyParamsConfigurationRecipientCapabilityBankAccount
    • Add support for new values bank_accounts.ach, bank_accounts.becs, bank_accounts.eft, bank_accounts.fedwire, bank_accounts.fps, bank_accounts.npp, bank_accounts.rtp, bank_accounts.sepa_credit, bank_accounts.sepa_instant, bank_accounts.swift, business_storage.inbound.eur, business_storage.inbound.gbp, business_storage.inbound.usd, business_storage.outbound.eur, business_storage.outbound.gbp, business_storage.outbound.usd, consumer_storage.inbound.usd, consumer_storage.outbound.usd, received_credits.bank_accounts, and received_debits.bank_accounts on enums V2.Core.Account.FutureRequirement.Entry.Impact.RestrictsCapability.capability and V2.Core.Account.Requirement.Entry.Impact.RestrictsCapability.capability
    • Add support for new value money_manager on enums V2.Core.Account.FutureRequirement.Entry.Impact.RestrictsCapability.configuration and V2.Core.Account.Requirement.Entry.Impact.RestrictsCapability.configuration
    • Add support for consumer_money_manager on V2.Core.Account.Identity.Attestation.TermsOfService, v2.core.AccountCreateParamsIdentityAttestationTermsOfService, and v2.core.AccountModifyParamsIdentityAttestationTermsOfService
    • Add support for crypto_money_manager on V2.Core.Account.Identity.Attestation.TermsOfService, v2.core.AccountCreateParamsIdentityAttestationTermsOfService, v2.core.AccountModifyParamsIdentityAttestationTermsOfService, and v2.core.AccountTokenCreateParamsIdentityAttestationTermsOfService
    • ⚠️ Remove support for consumer_storer on V2.Core.Account.Identity.Attestation.TermsOfService, v2.core.AccountCreateParamsIdentityAttestationTermsOfService, and v2.core.AccountModifyParamsIdentityAttestationTermsOfService
    • ⚠️ Remove support for crypto_storer on V2.Core.Account.Identity.Attestation.TermsOfService, v2.core.AccountCreateParamsIdentityAttestationTermsOfService, v2.core.AccountModifyParamsIdentityAttestationTermsOfService, and v2.core.AccountTokenCreateParamsIdentityAttestationTermsOfService
    • ⚠️ Remove support for maximum_rps on V2.Core.BatchJob and v2.core.BatchJobCreateParams
    • Add support for bic on V2.MoneyManagement.FinancialAddress.Credential.UsBankAccount
    • ⚠️ Remove support for swift_code on V2.MoneyManagement.FinancialAddress.Credential.UsBankAccount
    • Add support for attachment on V2.MoneyManagement.OutboundPayment.DeliveryOption.PaperCheck and v2.money_management.OutboundPaymentCreateParamsDeliveryOptionPaperCheck
    • Add support for processing on V2.MoneyManagement.OutboundPayment.StatusDetail and V2.MoneyManagement.OutboundTransfer.StatusDetail
    • Add support for new values fx_rate_drift_exceeded_after_review and review_rejected on enum V2.MoneyManagement.OutboundPayment.StatusDetail.Failed.reason
    • Add support for payout_method_options on V2.MoneyManagement.OutboundPayment.To, V2.MoneyManagement.OutboundTransfer.To, v2.money_management.OutboundPaymentCreateParamsTo, and v2.money_management.OutboundTransferCreateParamsTo
    • Add support for new values fx_rate_drift_exceeded_after_review and review_rejected on enum V2.MoneyManagement.OutboundTransfer.StatusDetail.Failed.reason
    • Add support for account_holder_name on V2.MoneyManagement.ReceivedCredit.BankTransfer.UsBankAccount
    • Add support for returned on V2.MoneyManagement.ReceivedDebit.StatusDetail
    • Add support for new value capability_inactive on enum V2.MoneyManagement.ReceivedDebit.StatusDetail.Failed.reason
    • Add support for returned_at on `V2.MoneyManagement.ReceivedDebit...
Read more

v15.3.0

Choose a tag to compare

@xavdid xavdid released this 24 Jun 22:46

This release changes the pinned API version to 2026-06-24.dahlia.

  • #1836 Update generated code
    • Add support for release_details on Reserve.Hold
    • ⚠️ Add support for new value tax_fund on enum BalanceTransaction.type
    • Change Billing.CreditGrant.priority to be required
    • Add support for buyer_id on Charge.PaymentMethodDetail.Bizum, ConfirmationToken.PaymentMethodPreview.Bizum, ConfirmationToken.PaymentMethodPreview.Blik, PaymentAttemptRecord.PaymentMethodDetail.Bizum, PaymentMethod.Bizum, PaymentMethod.Blik, and PaymentRecord.PaymentMethodDetail.Bizum
    • Add support for transaction_link_id on Charge.PaymentMethodDetail.Card
    • ⚠️ Add support for new value sui on enums Charge.PaymentMethodDetail.Crypto.network, PaymentAttemptRecord.PaymentMethodDetail.Crypto.network, and PaymentRecord.PaymentMethodDetail.Crypto.network
    • ⚠️ Add support for new value usdsui on enums Charge.PaymentMethodDetail.Crypto.token_currency, PaymentAttemptRecord.PaymentMethodDetail.Crypto.token_currency, and PaymentRecord.PaymentMethodDetail.Crypto.token_currency
    • Add support for fingerprint on Charge.PaymentMethodDetail.Pix, ConfirmationToken.PaymentMethodPreview.Pix, PaymentMethod.Pix, and SetupAttempt.PaymentMethodDetail.Pix
    • Add support for sunbit on Checkout.Session.PaymentMethodOption, PaymentIntent.PaymentMethodOption, PaymentIntentConfirmParamsPaymentMethodOption, PaymentIntentCreateParamsPaymentMethodOption, PaymentIntentModifyParamsPaymentMethodOption, and checkout.SessionCreateParamsPaymentMethodOption
    • Add support for billing_cycle_anchor_config on checkout.SessionCreateParamsSubscriptionDatum
    • Add support for wechat_pay on Checkout.Session.PaymentMethodOption
    • Add support for mastercard_compliance on Dispute.Evidence.EnhancedEvidence, Dispute.EvidenceDetail.EnhancedEligibility, and DisputeModifyParamsEvidenceEnhancedEvidence
    • ⚠️ Add support for new value mastercard_compliance on enum Dispute.enhanced_eligibility_types
    • Add support for status_details on FinancialConnections.Account
    • ⚠️ Add support for new value validated on enum Identity.VerificationSession.Redaction.status
    • Add support for new value satispay on enums InvoiceCreateParamsPaymentSetting.payment_method_types, InvoiceModifyParamsPaymentSetting.payment_method_types, SubscriptionCreateParamsPaymentSetting.payment_method_types, and SubscriptionModifyParamsPaymentSetting.payment_method_types
    • ⚠️ Add support for new value satispay on enums Invoice.PaymentSetting.payment_method_types and Subscription.PaymentSetting.payment_method_types
    • ⚠️ Remove support for stored_credential_usage on PaymentAttemptRecord.PaymentMethodDetail.Card and PaymentRecord.PaymentMethodDetail.Card
    • ⚠️ Change PaymentAttemptRecord.PaymentMethodDetail.Card.description and PaymentRecord.PaymentMethodDetail.Card.description to be optional
    • ⚠️ Change PaymentAttemptRecord.PaymentMethodDetail.Card.iin and PaymentRecord.PaymentMethodDetail.Card.iin to be optional
    • ⚠️ Change PaymentAttemptRecord.PaymentMethodDetail.Card.issuer and PaymentRecord.PaymentMethodDetail.Card.issuer to be optional
    • Add support for setup_future_usage on PaymentIntent.PaymentMethodOption.Satispay, PaymentIntentConfirmParamsPaymentMethodOptionSatispay, PaymentIntentCreateParamsPaymentMethodOptionSatispay, and PaymentIntentModifyParamsPaymentMethodOptionSatispay
    • Change PaymentRecordReportRefundParams.refunded to be optional
    • Add support for satispay on SetupAttempt.PaymentMethodDetail
    • Add support for custom_fields, description, and footer on Subscription.InvoiceSetting, SubscriptionCreateParamsInvoiceSetting, and SubscriptionModifyParamsInvoiceSetting
    • Add support for payment_method_options and payment_method on TopupCreateParams
    • Add support for new value 2026-06-24.dahlia on enum WebhookEndpointCreateParams.api_version
    • Add support for mode on V2.Commerce.ProductCatalogImport
    • ⚠️ Add support for new value promotion on enum V2.Commerce.ProductCatalogImport.feed_type
    • Add support for sunbit_payments on V2.Core.Account.Configuration.Merchant.Capability, v2.core.AccountCreateParamsConfigurationMerchantCapability, and v2.core.AccountModifyParamsConfigurationMerchantCapability
    • Add support for crypto_money_manager and money_manager on v2.core.AccountModifyParamsIdentityAttestationTermsOfService
    • ⚠️ Remove support for crypto_storer and storer on v2.core.AccountModifyParamsIdentityAttestationTermsOfService
    • Add support for new value promotion on enum v2.commerce.ProductCatalogImportCreateParams.feed_type
    • ⚠️ Add support for new value sunbit_payments on enum EventsV2CoreAccountIncludingConfigurationMerchantCapabilityStatusUpdatedEvent.updated_capability
    • Add support for error codes anomalous_money_movement_request, failed_tax_calculation, financial_account_balance_does_not_support_currency, financial_account_capability_not_enabled, and financial_account_capability_restricted on Invoice.LastFinalizationError, PaymentIntent.LastPaymentError, SetupAttempt.SetupError, SetupIntent.LastSetupError, StripeError, and Terminal.Reader.Action.ApiError

See the changelog for more details.

v15.3.0a4

v15.3.0a4 Pre-release
Pre-release

Choose a tag to compare

@xavdid xavdid released this 17 Jun 23:02
  • #1828 Update generated code for private-preview
    • Add support for retrieve method on resource radar.CustomerEvaluation
    • Add support for disable_stripe_user_authentication on AccountSession.Component.Bill.Feature
    • Add support for tamara on Charge.PaymentMethodDetail, ConfirmationToken.PaymentMethodPreview, ConfirmationTokenCreateParamsPaymentMethodDatum, PaymentAttemptRecord.PaymentMethodDetail, PaymentIntentConfirmParamsPaymentMethodDatum, PaymentIntentCreateParamsPaymentMethodDatum, PaymentIntentModifyParamsPaymentMethodDatum, PaymentMethodCreateParams, PaymentMethod, PaymentRecord.PaymentMethodDetail, SetupIntentConfirmParamsPaymentMethodDatum, SetupIntentCreateParamsPaymentMethodDatum, SetupIntentModifyParamsPaymentMethodDatum, and SharedPayment.GrantedToken.PaymentMethodDetail
    • Add support for status on Charge.PaymentMethodDetail.Card.AccountFunding
    • ⚠️ Remove support for processed_transaction_type on Charge.PaymentMethodDetail.Card.AccountFunding
    • Add support for items on checkout.SessionCreateParams
    • ⚠️ Remove support for brand on Checkout.Session.CurrentAttempt.PaymentMethodDetail.Card
    • Add support for new value tamara on enums ConfirmationTokenCreateParamsPaymentMethodDatum.type, PaymentIntentConfirmParamsPaymentMethodDatum.type, PaymentIntentCreateParamsPaymentMethodDatum.type, PaymentIntentModifyParamsPaymentMethodDatum.type, SetupIntentConfirmParamsPaymentMethodDatum.type, SetupIntentCreateParamsPaymentMethodDatum.type, and SetupIntentModifyParamsPaymentMethodDatum.type
    • ⚠️ Remove support for first6 on ConfirmationToken.PaymentMethodPreview.GiftCard, PaymentMethod.GiftCard, and SharedPayment.GrantedToken.PaymentMethodDetail.GiftCard
    • ⚠️ Add support for new value tamara on enums ConfirmationToken.PaymentMethodPreview.type, PaymentMethod.type, and SharedPayment.GrantedToken.PaymentMethodDetail.type
    • Add support for new value tamara on enums CustomerListPaymentMethodsParams.type, PaymentMethodCreateParams.type, and PaymentMethodListParams.type
    • Add support for fingerprint on GiftCard
    • Add support for blik on Mandate.PaymentMethodDetail
    • Add support for buyer_id on Order.Payment.Setting.PaymentMethodOption.WechatPay, OrderCreateParamsPaymentSettingPaymentMethodOptionWechatPay, OrderModifyParamsPaymentSettingPaymentMethodOptionWechatPay, PaymentIntent.PaymentMethodOption.WechatPay, PaymentIntentConfirmParamsPaymentMethodOptionWechatPay, PaymentIntentCreateParamsPaymentMethodOptionWechatPay, and PaymentIntentModifyParamsPaymentMethodOptionWechatPay
    • Add support for new value mini_program on enums OrderCreateParamsPaymentSettingPaymentMethodOptionWechatPay.client, OrderModifyParamsPaymentSettingPaymentMethodOptionWechatPay.client, PaymentIntentConfirmParamsPaymentMethodOptionWechatPay.client, PaymentIntentCreateParamsPaymentMethodOptionWechatPay.client, and PaymentIntentModifyParamsPaymentMethodOptionWechatPay.client
    • ⚠️ Add support for new value mini_program on enums Order.Payment.Setting.PaymentMethodOption.WechatPay.client and PaymentIntent.PaymentMethodOption.WechatPay.client
    • Add support for payment_method_details on PaymentAttemptRecordReportGuaranteedParams and PaymentRecordReportPaymentAttemptGuaranteedParams
    • Add support for failed and refund_group on PaymentAttemptRecordReportRefundParams and PaymentRecordReportRefundParams
    • Change type of PaymentAttemptRecordReportRefundParams.outcome and PaymentRecordReportRefundParams.outcome from literal('refunded') to enum('failed'|'refunded')
    • Add support for new value tamara on enums PaymentIntentConfirmParams.allowed_payment_method_types, PaymentIntentCreateParams.allowed_payment_method_types, and PaymentIntentModifyParams.allowed_payment_method_types
    • Add support for new value tamara on enums PaymentIntentConfirmParams.excluded_payment_method_types, PaymentIntentCreateParams.excluded_payment_method_types, PaymentIntentModifyParams.excluded_payment_method_types, SetupIntentCreateParams.excluded_payment_method_types, and SetupIntentModifyParams.excluded_payment_method_types
    • Add support for beneficiary_details on PaymentIntent.PaymentDetail.MoneyService, PaymentIntentConfirmParamsPaymentDetailMoneyService, PaymentIntentCreateParamsPaymentDetailMoneyService, and PaymentIntentModifyParamsPaymentDetailMoneyService
    • ⚠️ Remove support for beneficiary_account and beneficiary_details on PaymentIntent.PaymentDetail.MoneyService.AccountFunding, PaymentIntentConfirmParamsPaymentDetailMoneyServiceAccountFunding, PaymentIntentCreateParamsPaymentDetailMoneyServiceAccountFunding, and PaymentIntentModifyParamsPaymentDetailMoneyServiceAccountFunding
    • ⚠️ Remove support for sender_account on PaymentIntentConfirmParamsPaymentDetailMoneyServiceAccountFunding, PaymentIntentCreateParamsPaymentDetailMoneyServiceAccountFunding, and PaymentIntentModifyParamsPaymentDetailMoneyServiceAccountFunding
    • Add support for given_name and surname on PaymentIntent.PaymentDetail.MoneyService.AccountFunding.SenderDetail, PaymentIntentConfirmParamsPaymentDetailMoneyServiceAccountFundingSenderDetail, PaymentIntentCreateParamsPaymentDetailMoneyServiceAccountFundingSenderDetail, and PaymentIntentModifyParamsPaymentDetailMoneyServiceAccountFundingSenderDetail
    • ⚠️ Remove support for name on PaymentIntent.PaymentDetail.MoneyService.AccountFunding.SenderDetail, PaymentIntentConfirmParamsPaymentDetailMoneyServiceAccountFundingSenderDetail, PaymentIntentCreateParamsPaymentDetailMoneyServiceAccountFundingSenderDetail, and PaymentIntentModifyParamsPaymentDetailMoneyServiceAccountFundingSenderDetail
    • Change type of PaymentIntentConfirmParamsPaymentMethodOptionCard.capture_method, PaymentIntentCreateParamsPaymentMethodOptionCard.capture_method, and PaymentIntentModifyParamsPaymentMethodOptionCard.capture_method from literal('manual') to enum('automatic_delayed'|'manual')
    • ⚠️ Remove support for wallet on PaymentIntentConfirmParamsPaymentMethodOptionCardPaymentDetailMoneyServiceAccountFunding, PaymentIntentConfirmParamsPaymentMethodOptionCardPresentPaymentDetailMoneyServiceAccountFunding, PaymentIntentCreateParamsPaymentMethodOptionCardPaymentDetailMoneyServiceAccountFunding, PaymentIntentCreateParamsPaymentMethodOptionCardPresentPaymentDetailMoneyServiceAccountFunding, PaymentIntentModifyParamsPaymentMethodOptionCardPaymentDetailMoneyServiceAccountFunding, and PaymentIntentModifyParamsPaymentMethodOptionCardPresentPaymentDetailMoneyServiceAccountFunding
    • Add support for new value automatic_delayed on enums PaymentIntentConfirmParamsPaymentMethodOptionCardPresent.capture_method, PaymentIntentCreateParamsPaymentMethodOptionCardPresent.capture_method, and PaymentIntentModifyParamsPaymentMethodOptionCardPresent.capture_method
    • Add support for transaction_verification_options on PaymentIntent.PaymentMethodOption.Crypto, PaymentIntentConfirmParamsPaymentMethodOptionCrypto, PaymentIntentCreateParamsPaymentMethodOptionCrypto, and PaymentIntentModifyParamsPaymentMethodOptionCrypto
    • Add support for new values ethereum and polygon on enums PaymentIntentConfirmParamsPaymentMethodOptionCryptoDepositOption.networks, PaymentIntentCreateParamsPaymentMethodOptionCryptoDepositOption.networks, and PaymentIntentModifyParamsPaymentMethodOptionCryptoDepositOption.networks
    • Add support for new values ethereum and polygon on enum PaymentIntentSimulateCryptoDepositParams.network
    • Change type of PaymentIntentSimulateCryptoDepositParams.token_currency from literal('usdc') to enum('usdc'|'usdg'|'usdp')
    • Add support for forced_capture on PaymentIntent.AdvancedFeatureDetail
    • ⚠️ Add support for new value tamara on enums PaymentIntent.excluded_payment_method_types and SetupIntent.excluded_payment_method_types
    • Add support for wechat_pay_handle_app_redirect on PaymentIntent.NextAction and SetupIntent.NextAction
    • Add support for ethereum and polygon on PaymentIntent.NextAction.CryptoDisplayDetail.DepositAddress
    • ⚠️ Change type of PaymentIntent.NextAction.CryptoDisplayDetail.DepositAddress.Base.SupportedToken.token_currency, PaymentIntent.NextAction.CryptoDisplayDetail.DepositAddress.Solana.SupportedToken.token_currency, and PaymentIntent.NextAction.CryptoDisplayDetail.DepositAddress.Tempo.SupportedToken.token_currency from literal('usdc') to enum('usdc'|'usdg'|'usdp')
    • Add support for beneficiary_account on PaymentIntent.PaymentDetail.MoneyService
    • ⚠️ Change type of PaymentIntent.PaymentMethodOption.Card.capture_method from literal('manual') to enum('automatic_delayed'|'manual')
    • ⚠️ Add support for new value automatic_delayed on enum PaymentIntent.PaymentMethodOption.CardPresent.capture_method
    • ⚠️ Add support for new values ethereum and polygon on enum PaymentIntent.PaymentMethodOption.Crypto.DepositOption.networks
    • Change type of PaymentLocationModifyParamsBusinessRegistration.siret from string to emptyable(string)
    • Add support for card on PaymentRecordReportPaymentAttemptParamsPaymentMethodDetail and PaymentRecordReportPaymentParamsPaymentMethodDetail
    • Change type of PaymentRecordReportPaymentAttemptParamsPaymentMethodDetail.type and PaymentRecordReportPaymentParamsPaymentMethodDetail.type from literal('custom') to enum('card'|'custom')
    • Add support for managed_payments on Product
    • Add support for payment_attempt_record on RefundCreateParams and RefundListParams
    • Add support for payment_record on RefundListParams
    • Add support for protections on V2.Core.Account.Configuration.CardCreator.Capability.Commercial.Celtic.ChargeCard, `V2.Core.Account.Configuration.CardCr...
Read more

v15.2.1

Choose a tag to compare

@xavdid xavdid released this 12 Jun 22:41
  • #1825 Add "source" field to user-agent header

See the changelog for more details.