fix(deps): update dependencies (major and minor) (major) #118
No reviewers
Labels
No labels
Compat/Breaking
Kind/Bug
Kind/Documentation
Kind/Enhancement
Kind/Feature
Kind/Security
Kind/Testing
Priority
Critical
Priority
High
Priority
Low
Priority
Medium
Reviewed
Confirmed
Reviewed
Duplicate
Reviewed
Invalid
Reviewed
Won't Fix
Status
Abandoned
Status
Blocked
Status
Need More Info
backend
ci
docs
frontend
lgtm
blocked
lgtm
done
lgtm
need 1
size
huge
size
large
size
medium
size
small
No milestone
No project
No assignees
1 participant
Due date
No due date set.
Dependencies
No dependencies set.
Reference: SZUT/casino#118
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "renovate/major-dependencies-(major-and-minor)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This PR contains the following updates:
2.1.1
->3.0.1
20.136.0
->29.0.0
Release Notes
ajv-validator/ajv-formats (ajv-formats)
v3.0.1
Compare Source
v3.0.0
Compare Source
stripe/stripe-java (com.stripe:stripe-java)
v29.0.0
#1950 Support for APIs in the new API version 2025-03-31.basil
This release changes the pinned API version to
2025-03-31.basil
.⚠️ Breaking changes due to changes in the Stripe API
Please review details for the breaking changes and alternatives in the Stripe API changelog before upgrading.
SubscriptionItemUsageRecordSummary
andSubscriptionItemUsageRecord
create
method on resourceSubscriptionItemUsageRecord
list
method on resourceSubscriptionItemUsageRecordSummary
upcomingLines
andupcoming
methods on resourceInvoice
invoice
onCharge
andPaymentIntent
shippingDetails
onCheckout.Session
carrier
,phone
, andtrackingNumber
onCheckout.Session.collected_information.shipping_details
refund
onCreditNoteCreateParams
,CreditNotePreviewLinesListParams
,CreditNotePreviewParams
, andCreditNote
taxAmounts
onCreditNoteLineItem
,CreditNote
, andInvoiceLineItem
amountExcludingTax
andunitAmountExcludingTax
onCreditNoteLineItem
andInvoiceLineItem
coupon
onCustomerCreateParams
,CustomerUpdateParams
,InvoiceCreatePreviewParams.schedule_details.phases[]
,InvoiceCreatePreviewParams
,SubscriptionCreateParams
,SubscriptionSchedule.phases[]
,SubscriptionScheduleCreateParams.phases[]
,SubscriptionScheduleUpdateParams.phases[]
, andSubscriptionUpdateParams
promotionCode
onCustomerCreateParams
,CustomerUpdateParams
,SubscriptionCreateParams
, andSubscriptionUpdateParams
price
onInvoiceAddLinesParams.lines[]
,InvoiceItemCreateParams
,InvoiceItemUpdateParams
,InvoiceItem
,InvoiceLineItemUpdateParams
,InvoiceLineItem
, andInvoiceUpdateLinesParams.lines[]
billingThresholds
onInvoiceCreatePreviewParams.schedule_details.phases[].items[]
,InvoiceCreatePreviewParams.schedule_details.phases[]
,InvoiceCreatePreviewParams.subscription_details.items[]
,SubscriptionCreateParams.items[]
,SubscriptionCreateParams
,SubscriptionItemCreateParams
,SubscriptionItemUpdateParams
,SubscriptionItem
,SubscriptionSchedule.default_settings
,SubscriptionSchedule.phases[].items[]
,SubscriptionSchedule.phases[]
,SubscriptionScheduleCreateParams.default_settings
,SubscriptionScheduleCreateParams.phases[].items[]
,SubscriptionScheduleCreateParams.phases[]
,SubscriptionScheduleUpdateParams.default_settings
,SubscriptionScheduleUpdateParams.phases[].items[]
,SubscriptionScheduleUpdateParams.phases[]
,SubscriptionUpdateParams.items[]
,SubscriptionUpdateParams
, andSubscription
applicationFeeAmount
,charge
,paidOutOfBand
,paid
,paymentIntent
,quote
,subscription
,subscriptionDetails
,subscriptionProrationDate
,tax
,totalTaxAmounts
, andtransferData
onInvoice
discount
onInvoice
andSubscription
invoiceItem
,prorationDetails
,proration
,taxRates
, andtype
onInvoiceLineItem
plan
andsubscriptionItem
onInvoiceItem
andInvoiceLineItem
unitAmount
onInvoiceItemCreateParams
,InvoiceItemUpdateParams
, andInvoiceItem
subscription
andunitAmountDecimal
onInvoiceItem
naverPay
onPaymentMethodUpdateParams
aggregateUsage
onPlanCreateParams
,Plan
,Price.recurring
, andPriceCreateParams.recurring
currentPeriodEnd
andcurrentPeriodStart
onSubscription
V2.EventDestinationListParams
andV2.EventListParams
Changes to the Stripe API
PaymentIntentConfirmParams.payment_method_options.wechat_pay.client
,PaymentIntentCreateParams.payment_method_options.wechat_pay.client
, andPaymentIntentUpdateParams.payment_method_options.wechat_pay.client
to be optionalpoliticalExposure
onAccountPersonUpdateParams
,AccountPersonCreateParams
fromstring
toPoliticalExposure
enum.Additions to the Stripe API
Add support for new resource
InvoicePayment
Add support for
list
andretrieve
methods on resourceInvoicePayment
Add support for
billiePayments
,nzBankAccountBecsDebitPayments
, andsatispayPayments
onAccount.capabilities
,AccountCreateParams.capabilities
, andAccountUpdateParams.capabilities
Add support for
hostedPaymentMethodSave
onAccount.settings.invoices
andAccountUpdateParams.settings.invoices
Add support for
invoices
onAccountCreateParams.settings
Add support for new value
last
on enumbilling.MeterCreateParams.default_aggregation.formula
Add support for
presentmentDetails
onCharge
,Checkout.Session
,PaymentIntent
, andRefund
Add support for
billie
andsatispay
onCharge.payment_method_details
,ConfirmationToken.payment_method_preview
,ConfirmationTokenCreateParams.payment_method_data
,CustomerPaymentMethod
,PaymentIntentConfirmParams.payment_method_data
,PaymentIntentCreateParams.payment_method_data
,PaymentIntentUpdateParams.payment_method_data
,PaymentMethodConfigurationCreateParams
,PaymentMethodConfigurationUpdateParams
,PaymentMethodConfiguration
,PaymentMethodCreateParams
,PaymentMethod
,SetupIntentConfirmParams.payment_method_data
,SetupIntentCreateParams.payment_method_data
, andSetupIntentUpdateParams.payment_method_data
Add support for
nzBankAccount
onCharge.payment_method_details
,ConfirmationToken.payment_method_preview
,ConfirmationTokenCreateParams.payment_method_data
,CustomerPaymentMethod
,Mandate.payment_method_details
,PaymentIntent.payment_method_options
,PaymentIntentConfirmParams.payment_method_data
,PaymentIntentConfirmParams.payment_method_options
,PaymentIntentCreateParams.payment_method_data
,PaymentIntentCreateParams.payment_method_options
,PaymentIntentUpdateParams.payment_method_data
,PaymentIntentUpdateParams.payment_method_options
,PaymentMethodConfigurationCreateParams
,PaymentMethodConfigurationUpdateParams
,PaymentMethodConfiguration
,PaymentMethodCreateParams
,PaymentMethod
,SetupAttempt.payment_method_details
,SetupIntentConfirmParams.payment_method_data
,SetupIntentCreateParams.payment_method_data
, andSetupIntentUpdateParams.payment_method_data
Add support for
optionalItems
onCheckout.Session
,PaymentLinkCreateParams
,PaymentLink
, andcheckout.SessionCreateParams
Add support for
permissions
onCheckout.Session
andcheckout.SessionCreateParams
Add support for new values
billie
andsatispay
on enumcheckout.SessionCreateParams.paymentMethodTypes
Add support for new value
custom
on enumcheckout.SessionCreateParams.uiMode
Add support for
shippingOptions
oncheckout.SessionUpdateParams
Add support for new values
billie
,nz_bank_account
, andsatispay
on enumsConfirmationTokenCreateParams.payment_method_data.type
,PaymentIntentConfirmParams.payment_method_data.type
,PaymentIntentCreateParams.payment_method_data.type
,PaymentIntentUpdateParams.payment_method_data.type
,SetupIntentConfirmParams.payment_method_data.type
,SetupIntentCreateParams.payment_method_data.type
, andSetupIntentUpdateParams.payment_method_data.type
Add support for
buyerId
onConfirmationToken.payment_method_preview.naver_pay
,CustomerPaymentMethod.naver_pay
, andPaymentMethod.naver_pay
Add support for
refunds
onCreditNoteCreateParams
,CreditNotePreviewLinesListParams
,CreditNotePreviewParams
, andCreditNote
Add support for
totalTaxes
onCreditNote
andInvoice
Add support for
taxes
onCreditNoteLineItem
andInvoiceLineItem
Add support for
taxabilityReason
onInvoiceAddLinesParams.lines[].tax_amounts[]
,InvoiceLineItemUpdateParams.tax_amounts[]
, andInvoiceUpdateLinesParams.lines[].tax_amounts[]
Add support for
jurisdictionLevel
onInvoiceAddLinesParams.lines[].tax_amounts[].tax_rate_data
,InvoiceLineItemUpdateParams.tax_amounts[].tax_rate_data
, andInvoiceUpdateLinesParams.lines[].tax_amounts[].tax_rate_data
Add support for
amountOverpaid
,confirmationSecret
, andpayments
onInvoice
Add support for
parent
onInvoiceItem
,InvoiceLineItem
, andInvoice
Add support for new values
klarna
andnz_bank_account
on enumsInvoiceCreateParams.payment_settings.paymentMethodTypes
,InvoiceUpdateParams.payment_settings.paymentMethodTypes
,SubscriptionCreateParams.payment_settings.paymentMethodTypes
, andSubscriptionUpdateParams.payment_settings.paymentMethodTypes
Add support for
pricing
onInvoiceAddLinesParams.lines[]
,InvoiceItemCreateParams
,InvoiceItemUpdateParams
,InvoiceItem
,InvoiceLineItemUpdateParams
,InvoiceLineItem
, andInvoiceUpdateLinesParams.lines[]
Add support for
taxabilityReason
onInvoiceAddLinesParams.lines[].tax_amounts[]
,InvoiceLineItemUpdateParams.tax_amounts[]
, andInvoiceUpdateLinesParams.lines[].tax_amounts[]
Add support for
defaultValue
onPaymentLink.custom_fields[].dropdown
,PaymentLink.custom_fields[].numeric
,PaymentLink.custom_fields[].text
,PaymentLinkCreateParams.custom_fields[].dropdown
,PaymentLinkCreateParams.custom_fields[].numeric
,PaymentLinkCreateParams.custom_fields[].text
,PaymentLinkUpdateParams.custom_fields[].dropdown
,PaymentLinkUpdateParams.custom_fields[].numeric
, andPaymentLinkUpdateParams.custom_fields[].text
Add support for new values
billie
andsatispay
on enumsPaymentLinkCreateParams.paymentMethodTypes
andPaymentLinkUpdateParams.paymentMethodTypes
Add support for
nzBankTransfer
onRefund.destination_details
Add support for
currentPeriodEnd
andcurrentPeriodStart
onSubscriptionItem
Add support for
wifi
onTerminal.Configuration
,terminal.ConfigurationCreateParams
, andterminal.ConfigurationUpdateParams
Add support for new value
invoice.overpaid
on enumsWebhookEndpointCreateParams.enabledEvents
andWebhookEndpointUpdateParams.enabledEvents
Add support for new values
2025-03-01.dashboard
and2025-03-31.basil
on enumWebhookEndpointCreateParams.apiVersion
#1958 Support for StripeAccount in StripeClient, and StripeContext on V1
getStripeAccount
toStripeResponseGetterOptions
. If you have a class that extendsStripeResponseGetterOptions
you will need to implement this method.setStripeAccount
to StripeClientBuilder, so you can specify the Stripe-Account header at the client (instead of the individual request) level.#1955 Add @EqualsAndHashCode annotations
@EqualsAndHashCode(callSuper = false)
to all Params objects which is useful for unit test assertions and caching scenarios.v28.4.0
prices
onBilling.CreditGrant.applicability_config.scope
,billing.CreditBalanceSummaryRetrieveParams.filter.applicability_scope
, andbilling.CreditGrantCreateParams.applicability_config.scope
billing.CreditBalanceSummaryRetrieveParams.filter.applicability_scope.price_type
andbilling.CreditGrantCreateParams.applicability_config.scope.price_type
to be optionalpriority
onBilling.CreditGrant
andbilling.CreditGrantCreateParams
target_date
onCheckout.Session.payment_method_options.acss_debit
,Checkout.Session.payment_method_options.au_becs_debit
,Checkout.Session.payment_method_options.bacs_debit
,Checkout.Session.payment_method_options.sepa_debit
,Checkout.Session.payment_method_options.us_bank_account
,PaymentIntent.payment_method_options.acss_debit
,PaymentIntent.payment_method_options.au_becs_debit
,PaymentIntent.payment_method_options.bacs_debit
,PaymentIntent.payment_method_options.sepa_debit
,PaymentIntent.payment_method_options.us_bank_account
,PaymentIntentConfirmParams.payment_method_options.acss_debit
,PaymentIntentConfirmParams.payment_method_options.au_becs_debit
,PaymentIntentConfirmParams.payment_method_options.bacs_debit
,PaymentIntentConfirmParams.payment_method_options.sepa_debit
,PaymentIntentConfirmParams.payment_method_options.us_bank_account
,PaymentIntentCreateParams.payment_method_options.acss_debit
,PaymentIntentCreateParams.payment_method_options.au_becs_debit
,PaymentIntentCreateParams.payment_method_options.bacs_debit
,PaymentIntentCreateParams.payment_method_options.sepa_debit
,PaymentIntentCreateParams.payment_method_options.us_bank_account
,PaymentIntentUpdateParams.payment_method_options.acss_debit
,PaymentIntentUpdateParams.payment_method_options.au_becs_debit
,PaymentIntentUpdateParams.payment_method_options.bacs_debit
,PaymentIntentUpdateParams.payment_method_options.sepa_debit
,PaymentIntentUpdateParams.payment_method_options.us_bank_account
,checkout.SessionCreateParams.payment_method_options.acss_debit
,checkout.SessionCreateParams.payment_method_options.au_becs_debit
,checkout.SessionCreateParams.payment_method_options.bacs_debit
,checkout.SessionCreateParams.payment_method_options.sepa_debit
, andcheckout.SessionCreateParams.payment_method_options.us_bank_account
restrictions
onCheckout.Session.payment_method_options.card
andcheckout.SessionCreateParams.payment_method_options.card
collected_information
onCheckout.Session
andcheckout.SessionUpdateParams
metadata
onProductCreateParams.default_price_data
TokenCreateParams.person.political_exposure
fromstring
toenum('existing'|'none')
2025-02-24.acacia
on enumWebhookEndpointCreateParams.api_version
v28.3.1
getRawJsonObject
returns data for constructed webhooksv28.3.0
close
method on resourceTreasury.FinancialAccount
pay_by_bank_payments
onAccount.capabilities
,AccountCreateParams.capabilities
, andAccountUpdateParams.capabilities
directorship_declaration
andownership_exemption_reason
onAccount.company
,AccountCreateParams.company
,AccountUpdateParams.company
, andTokenCreateParams.account.company
proof_of_ultimate_beneficial_ownership
onAccountCreateParams.documents
andAccountUpdateParams.documents
financial_account
onAccountSession.components
,AccountSessionCreateParams.components
, andTreasury.OutboundTransfer.destination_payment_method_details
financial_account_transactions
,issuing_card
, andissuing_cards_list
onAccountSession.components
andAccountSessionCreateParams.components
advice_code
onCharge.outcome
,Invoice.last_finalization_error
,PaymentIntent.last_payment_error
,SetupAttempt.setup_error
,SetupIntent.last_setup_error
, andStripeError
pay_by_bank
onCharge.payment_method_details
,ConfirmationToken.payment_method_preview
,ConfirmationTokenCreateParams.payment_method_data
,PaymentIntent.payment_method_options
,PaymentIntentConfirmParams.payment_method_data
,PaymentIntentConfirmParams.payment_method_options
,PaymentIntentCreateParams.payment_method_data
,PaymentIntentCreateParams.payment_method_options
,PaymentIntentUpdateParams.payment_method_data
,PaymentIntentUpdateParams.payment_method_options
,PaymentMethodConfigurationCreateParams
,PaymentMethodConfigurationUpdateParams
,PaymentMethodConfiguration
,PaymentMethodCreateParams
,PaymentMethodUpdateParams
,PaymentMethod
,SetupIntentConfirmParams.payment_method_data
,SetupIntentCreateParams.payment_method_data
,SetupIntentUpdateParams.payment_method_data
, andcheckout.SessionCreateParams.payment_method_options
country
onCharge.payment_method_details.paypal
,ConfirmationToken.payment_method_preview.paypal
, andPaymentMethod.paypal
pay_by_bank
on enumsCustomerListPaymentMethodsParams.type
,PaymentMethodCreateParams.type
,PaymentMethodListParams.type
, andcheckout.SessionCreateParams.payment_method_types[]
SD
on enumsPaymentLinkCreateParams.shipping_address_collection.allowed_countries[]
,PaymentLinkUpdateParams.shipping_address_collection.allowed_countries[]
, andcheckout.SessionCreateParams.shipping_address_collection.allowed_countries[]
discounts
onCheckout.Session
pay_by_bank
on enumsConfirmationTokenCreateParams.payment_method_data.type
,PaymentIntentConfirmParams.payment_method_data.type
,PaymentIntentCreateParams.payment_method_data.type
,PaymentIntentUpdateParams.payment_method_data.type
,SetupIntentConfirmParams.payment_method_data.type
,SetupIntentCreateParams.payment_method_data.type
, andSetupIntentUpdateParams.payment_method_data.type
pay_by_bank
on enumsPaymentLinkCreateParams.payment_method_types[]
andPaymentLinkUpdateParams.payment_method_types[]
phone_number_collection
onPaymentLinkUpdateParams
jpy
onTerminal.Configuration.tipping
,terminal.ConfigurationCreateParams.tipping
, andterminal.ConfigurationUpdateParams.tipping
nickname
onTreasury.FinancialAccount
,treasury.FinancialAccountCreateParams
, andtreasury.FinancialAccountUpdateParams
forwarding_settings
ontreasury.FinancialAccountUpdateParams
is_default
onTreasury.FinancialAccount
destination_payment_method_data
ontreasury.OutboundTransferCreateParams
Treasury.OutboundTransfer.destination_payment_method_details.type
fromliteral('us_bank_account')
toenum('financial_account'|'us_bank_account')
outbound_transfer
on enumtreasury.ReceivedCreditListParams.linked_flows.source_flow_type
outbound_transfer
onTreasury.ReceivedCredit.linked_flows.source_flow_details
2025-01-27.acacia
on enumWebhookEndpointCreateParams.api_version
v28.2.0
2024-12-18.acacia
.network_advice_code
andnetwork_decline_code
onCharge.outcome
,Invoice.last_finalization_error
,PaymentIntent.last_payment_error
,SetupAttempt.setup_error
,SetupIntent.last_setup_error
, andStripeError
credits_application_invoice_voided
onBilling.CreditBalanceTransaction.credit
Billing.CreditBalanceTransaction.credit.type
fromliteral('credits_granted')
toenum('credits_application_invoice_voided'|'credits_granted')
allow_redisplay
onCard
andSource
regulated_status
onCard
,Charge.payment_method_details.card
,ConfirmationToken.payment_method_preview.card
, andPaymentMethod.card
funding
onCharge.payment_method_details.amazon_pay
andCharge.payment_method_details.revolut_pay
network_transaction_id
onCharge.payment_method_details.card
reference_prefix
onCheckout.Session.payment_method_options.bacs_debit.mandate_options
,Checkout.Session.payment_method_options.sepa_debit.mandate_options
,PaymentIntent.payment_method_options.bacs_debit.mandate_options
,PaymentIntent.payment_method_options.sepa_debit.mandate_options
,PaymentIntentConfirmParams.payment_method_options.bacs_debit.mandate_options
,PaymentIntentConfirmParams.payment_method_options.sepa_debit.mandate_options
,PaymentIntentCreateParams.payment_method_options.bacs_debit.mandate_options
,PaymentIntentCreateParams.payment_method_options.sepa_debit.mandate_options
,PaymentIntentUpdateParams.payment_method_options.bacs_debit.mandate_options
,PaymentIntentUpdateParams.payment_method_options.sepa_debit.mandate_options
,SetupIntent.payment_method_options.bacs_debit.mandate_options
,SetupIntent.payment_method_options.sepa_debit.mandate_options
,SetupIntentConfirmParams.payment_method_options.bacs_debit.mandate_options
,SetupIntentConfirmParams.payment_method_options.sepa_debit.mandate_options
,SetupIntentCreateParams.payment_method_options.bacs_debit.mandate_options
,SetupIntentCreateParams.payment_method_options.sepa_debit.mandate_options
,SetupIntentUpdateParams.payment_method_options.bacs_debit.mandate_options
,SetupIntentUpdateParams.payment_method_options.sepa_debit.mandate_options
,checkout.SessionCreateParams.payment_method_options.bacs_debit.mandate_options
, andcheckout.SessionCreateParams.payment_method_options.sepa_debit.mandate_options
al_tin
,am_tin
,ao_tin
,ba_tin
,bb_tin
,bs_tin
,cd_nif
,gn_nif
,kh_tin
,me_pib
,mk_vat
,mr_nif
,np_pan
,sn_ninea
,sr_fin
,tj_tin
,ug_tin
,zm_tin
, andzw_tin
on enumsCustomerCreateParams.tax_id_data[].type
,InvoiceCreatePreviewParams.customer_details.tax_ids[].type
,InvoiceUpcomingLinesParams.customer_details.tax_ids[].type
,InvoiceUpcomingParams.customer_details.tax_ids[].type
,TaxIdCreateParams.type
, andtax.CalculationCreateParams.customer_details.tax_ids[].type
visa_compliance
onDispute.evidence.enhanced_evidence
,Dispute.evidence_details.enhanced_eligibility
, andDisputeUpdateParams.evidence.enhanced_evidence
request_signature
on enumforwarding.RequestCreateParams.replacements[]
account_holder_address
andbank_address
onFundingInstructions.bank_transfer.financial_addresses[].iban
,FundingInstructions.bank_transfer.financial_addresses[].sort_code
,FundingInstructions.bank_transfer.financial_addresses[].spei
,FundingInstructions.bank_transfer.financial_addresses[].zengin
,PaymentIntent.next_action.display_bank_transfer_instructions.financial_addresses[].iban
,PaymentIntent.next_action.display_bank_transfer_instructions.financial_addresses[].sort_code
,PaymentIntent.next_action.display_bank_transfer_instructions.financial_addresses[].spei
, andPaymentIntent.next_action.display_bank_transfer_instructions.financial_addresses[].zengin
account_holder_name
onFundingInstructions.bank_transfer.financial_addresses[].spei
andPaymentIntent.next_action.display_bank_transfer_instructions.financial_addresses[].spei
disabled_reason
onInvoice.automatic_tax
,Subscription.automatic_tax
,SubscriptionSchedule.default_settings.automatic_tax
, andSubscriptionSchedule.phases[].automatic_tax
tax_id
onIssuing.Authorization.merchant_data
andIssuing.Transaction.merchant_data
trial_period_days
onPaymentLinkUpdateParams.subscription_data
al
,am
,ao
,ba
,bb
,bs
,cd
,gn
,kh
,me
,mk
,mr
,np
,pe
,sn
,sr
,tj
,ug
,uy
,zm
, andzw
onTax.Registration.country_options
andtax.RegistrationCreateParams.country_options
2024-12-18.acacia
on enumWebhookEndpointCreateParams.api_version
v28.1.0
2024-11-20.acacia
.respond
test helper method on resourceIssuing.Authorization
authorizer
onAccountPersonsParams.relationship
andTokenCreateParams.person.relationship
adaptive_pricing
onCheckout.Session
andcheckout.SessionCreateParams
mandate_options
onCheckout.Session.payment_method_options.bacs_debit
,Checkout.Session.payment_method_options.sepa_debit
,checkout.SessionCreateParams.payment_method_options.bacs_debit
, andcheckout.SessionCreateParams.payment_method_options.sepa_debit
request_extended_authorization
,request_incremental_authorization
,request_multicapture
, andrequest_overcapture
onCheckout.Session.payment_method_options.card
andcheckout.SessionCreateParams.payment_method_options.card
capture_method
oncheckout.SessionCreateParams.payment_method_options.kakao_pay
,checkout.SessionCreateParams.payment_method_options.kr_card
,checkout.SessionCreateParams.payment_method_options.naver_pay
,checkout.SessionCreateParams.payment_method_options.payco
, andcheckout.SessionCreateParams.payment_method_options.samsung_pay
subscribe
on enumsPaymentLinkCreateParams.submit_type
andcheckout.SessionCreateParams.submit_type
li_vat
on enumsCustomerCreateParams.tax_id_data[].type
,InvoiceCreatePreviewParams.customer_details.tax_ids[].type
,InvoiceUpcomingLinesParams.customer_details.tax_ids[].type
,InvoiceUpcomingParams.customer_details.tax_ids[].type
,TaxIdCreateParams.type
, andtax.CalculationCreateParams.customer_details.tax_ids[].type
financial_account_statement
on enumFileListParams.purpose
account_holder_address
,account_holder_name
,account_type
, andbank_address
onFundingInstructions.bank_transfer.financial_addresses[].aba
,FundingInstructions.bank_transfer.financial_addresses[].swift
,PaymentIntent.next_action.display_bank_transfer_instructions.financial_addresses[].aba
, andPaymentIntent.next_action.display_bank_transfer_instructions.financial_addresses[].swift
service_tax
on enumsInvoiceAddLinesParams.lines[].tax_amounts[].tax_rate_data.tax_type
,InvoiceUpdateLinesParams.lines[].tax_amounts[].tax_rate_data.tax_type
,TaxRateCreateParams.tax_type
, andTaxRateUpdateParams.tax_type
merchant_amount
andmerchant_currency
onissuing.AuthorizationCreateParams
issuing.AuthorizationCreateParams.amount
to be optionalfraud_challenges
andverified_by_fraud_challenge
onIssuing.Authorization
link
on enumsPaymentIntentConfirmParams.payment_method_options.card.network
,PaymentIntentCreateParams.payment_method_options.card.network
,PaymentIntentUpdateParams.payment_method_options.card.network
,SetupIntentConfirmParams.payment_method_options.card.network
,SetupIntentCreateParams.payment_method_options.card.network
,SetupIntentUpdateParams.payment_method_options.card.network
,SubscriptionCreateParams.payment_settings.payment_method_options.card.network
, andSubscriptionUpdateParams.payment_settings.payment_method_options.card.network
submit_type
onPaymentLinkUpdateParams
trace_id
onPayout
network_decline_code
onRefund.destination_details.blik
andRefund.destination_details.swish
2024-11-20.acacia
on enumWebhookEndpointCreateParams.api_version
v28.0.1
JsonSyntaxException
when processing all errorsv28.0.0
Historically, when upgrading webhooks to a new API version, you also had to upgrade your SDK version. Your webhook's API version needed to match the API version pinned by the SDK you were using to ensure successful deserialization of events. With the
2024-09-30.acacia
release, Stripe follows a new API release process. As a result, you can safely upgrade your webhook endpoints to any API version within a biannual release (likeacacia
) without upgrading the SDK.However, a bug in the
27.x.y
SDK releases meant that webhook version upgrades from the SDK's pinned2024-09-30.acacia
version to the new2024-10-28.acacia
version would fail. Therefore, we are shipping SDK support for2024-10-28.acacia
as a major version to enforce the idea that an SDK upgrade is also required. Future API versions in theacacia
line will be released as minor versions.2024-10-28.acacia
.V2.EventDestinations
create
,retrieve
,update
,list
,delete
,disable
,enable
andping
methods on resourceV2.EventDestinations
submit_card
test helper method on resourceIssuing.Card
groups
onAccountCreateParams
,AccountUpdateParams
, andAccount
alma_payments
,kakao_pay_payments
,kr_card_payments
,naver_pay_payments
,payco_payments
, andsamsung_pay_payments
onAccount.capabilities
,AccountCreateParams.capabilities
, andAccountUpdateParams.capabilities
disable_stripe_user_authentication
onAccountSession.components.account_management.features
,AccountSession.components.account_onboarding.features
,AccountSession.components.balances.features
,AccountSession.components.notification_banner.features
,AccountSession.components.payouts.features
,AccountSessionCreateParams.components.account_management.features
,AccountSessionCreateParams.components.account_onboarding.features
,AccountSessionCreateParams.components.balances.features
,AccountSessionCreateParams.components.notification_banner.features
, andAccountSessionCreateParams.components.payouts.features
schedule_at_period_end
onBillingPortal.Configuration.features.subscription_update
,billingportal.ConfigurationCreateParams.features.subscription_update
, andbillingportal.ConfigurationUpdateParams.features.subscription_update
billingportal.ConfigurationCreateParams.business_profile
to be optionalalma
onCharge.payment_method_details
,ConfirmationToken.payment_method_preview
,ConfirmationTokenCreateParams.payment_method_data
,PaymentIntent.payment_method_options
,PaymentIntentConfirmParams.payment_method_data
,PaymentIntentConfirmParams.payment_method_options
,PaymentIntentCreateParams.payment_method_data
,PaymentIntentCreateParams.payment_method_options
,PaymentIntentUpdateParams.payment_method_data
,PaymentIntentUpdateParams.payment_method_options
,PaymentMethodConfigurationCreateParams
,PaymentMethodConfigurationUpdateParams
,PaymentMethodConfiguration
,PaymentMethodCreateParams
,PaymentMethod
,Refund.destination_details
,SetupIntentConfirmParams.payment_method_data
,SetupIntentCreateParams.payment_method_data
, andSetupIntentUpdateParams.payment_method_data
kakao_pay
andkr_card
onCharge.payment_method_details
,Checkout.Session.payment_method_options
,ConfirmationToken.payment_method_preview
,ConfirmationTokenCreateParams.payment_method_data
,Mandate.payment_method_details
,PaymentIntent.payment_method_options
,PaymentIntentConfirmParams.payment_method_data
,PaymentIntentConfirmParams.payment_method_options
,PaymentIntentCreateParams.payment_method_data
,PaymentIntentCreateParams.payment_method_options
,PaymentIntentUpdateParams.payment_method_data
,PaymentIntentUpdateParams.payment_method_options
,PaymentMethodCreateParams
,PaymentMethod
,SetupAttempt.payment_method_details
,SetupIntentConfirmParams.payment_method_data
,SetupIntentCreateParams.payment_method_data
,SetupIntentUpdateParams.payment_method_data
, andcheckout.SessionCreateParams.payment_method_options
naver_pay
onCharge.payment_method_details
,Checkout.Session.payment_method_options
,ConfirmationToken.payment_method_preview
,ConfirmationTokenCreateParams.payment_method_data
,PaymentIntent.payment_method_options
,PaymentIntentConfirmParams.payment_method_data
,PaymentIntentConfirmParams.payment_method_options
,PaymentIntentCreateParams.payment_method_data
,PaymentIntentCreateParams.payment_method_options
,PaymentIntentUpdateParams.payment_method_data
,PaymentIntentUpdateParams.payment_method_options
,PaymentMethodCreateParams
,PaymentMethodUpdateParams
,PaymentMethod
,SetupIntentConfirmParams.payment_method_data
,SetupIntentCreateParams.payment_method_data
,SetupIntentUpdateParams.payment_method_data
, andcheckout.SessionCreateParams.payment_method_options
payco
andsamsung_pay
onCharge.payment_method_details
,Checkout.Session.payment_method_options
,ConfirmationToken.payment_method_preview
,ConfirmationTokenCreateParams.payment_method_data
,PaymentIntent.payment_method_options
,PaymentIntentConfirmParams.payment_method_data
,PaymentIntentConfirmParams.payment_method_options
,PaymentIntentCreateParams.payment_method_data
,PaymentIntentCreateParams.payment_method_options
,PaymentIntentUpdateParams.payment_method_data
,PaymentIntentUpdateParams.payment_method_options
,PaymentMethodCreateParams
,PaymentMethod
,SetupIntentConfirmParams.payment_method_data
,SetupIntentCreateParams.payment_method_data
,SetupIntentUpdateParams.payment_method_data
, andcheckout.SessionCreateParams.payment_method_options
alma
,kakao_pay
,kr_card
,naver_pay
,payco
, andsamsung_pay
on enumsCustomerListPaymentMethodsParams.type
,PaymentMethodCreateParams.type
,PaymentMethodListParams.type
, andcheckout.SessionCreateParams.payment_method_types[]
alma
,kakao_pay
,kr_card
,naver_pay
,payco
, andsamsung_pay
on enumsConfirmationTokenCreateParams.payment_method_data.type
,PaymentIntentConfirmParams.payment_method_data.type
,PaymentIntentCreateParams.payment_method_data.type
,PaymentIntentUpdateParams.payment_method_data.type
,SetupIntentConfirmParams.payment_method_data.type
,SetupIntentCreateParams.payment_method_data.type
, andSetupIntentUpdateParams.payment_method_data.type
auto
on enumCustomerUpdateParams.tax.validate_location
by_tin
,ma_vat
,md_vat
,tz_vat
,uz_tin
, anduz_vat
on enumsCustomerCreateParams.tax_id_data[].type
,InvoiceCreatePreviewParams.customer_details.tax_ids[].type
,InvoiceUpcomingLinesParams.customer_details.tax_ids[].type
,InvoiceUpcomingParams.customer_details.tax_ids[].type
,TaxIdCreateParams.type
, andtax.CalculationCreateParams.customer_details.tax_ids[].type
enhanced_evidence
onDispute.evidence
andDisputeUpdateParams.evidence
enhanced_eligibility_types
onDispute
enhanced_eligibility
onDispute.evidence_details
metadata
onForwarding.Request
andforwarding.RequestCreateParams
automatically_finalizes_at
onInvoiceCreateParams
andInvoiceUpdateParams
jp_credit_transfer
,kakao_pay
,kr_card
,naver_pay
, andpayco
on enumsInvoiceCreateParams.payment_settings.payment_method_types[]
,InvoiceUpdateParams.payment_settings.payment_method_types[]
,SubscriptionCreateParams.payment_settings.payment_method_types[]
, andSubscriptionUpdateParams.payment_settings.payment_method_types[]
retail_delivery_fee
on enumsInvoiceAddLinesParams.lines[].tax_amounts[].tax_rate_data.tax_type
,InvoiceUpdateLinesParams.lines[].tax_amounts[].tax_rate_data.tax_type
,TaxRateCreateParams.tax_type
, andTaxRateUpdateParams.tax_type
alma
on enumsPaymentLinkCreateParams.payment_method_types[]
andPaymentLinkUpdateParams.payment_method_types[]
amazon_pay
onPaymentMethodDomain
flat_amount
andrate_type
onTax.Calculation.tax_breakdown[].tax_rate_details
andTaxRate
by
,cr
,ec
,ma
,md
,rs
,ru
,tz
, anduz
onTax.Registration.country_options
andtax.RegistrationCreateParams.country_options
state_retail_delivery_fee
on enumtax.RegistrationCreateParams.country_options.us.type
pln
onTerminal.Configuration.tipping
,terminal.ConfigurationCreateParams.tipping
, andterminal.ConfigurationUpdateParams.tipping
issuing_transaction.purchase_details_receipt_updated
andrefund.failed
on enumsWebhookEndpointCreateParams.enabled_events[]
andWebhookEndpointUpdateParams.enabled_events[]
2024-10-28.acacia
on enumWebhookEndpointCreateParams.api_version
v27.1.2
tolerance
argument toparseThinEvent
tolerance
value is still what most users will want, but this fixes an oversight where it wasn't possible to settolerance
at all when parsing thin eventsv27.1.1
#1901 update object tags for meter-related classes
object
property of theMeterEvent
,MeterEventAdjustment
, andMeterEventSession
didn't match the server.#1898 Clean up examples
#1894 Fixed example for raw request in readme file
v27.1.0
ThinEvent
to includelivemode
andreason
RequestSigningAuthenticator
that was added in the previous release. Request Signing is not supported yet.Margin
that was accidentally made public in the last releasev27.0.0
#1880 Support for APIs in the new API version 2024-09-30.acacia
This release changes the pinned API version to
2024-09-30.acacia
. Please read the API Upgrade Guide and carefully review the API changes before upgrading.⚠️ Breaking changes due to changes in the API
usage_threshold_config
tousage_threshold
onBilling.Alert
andbilling.AlertCreateParams
filter
onBilling.Alert
andbilling.AlertCreateParams
. Use the filters on theusage_threshold
insteadcustomer_consent_collected
onterminal.ReaderProcessSetupIntentParams
⚠️ Other Breaking changes in the SDK
0
->2
parseThinEvent()
on theStripeClient
class to parse thin events. RenameconstructEvent()
method on the same class toparseSnapshotEvent()
to clearly distinguish between the two kinds of events.setStripeResponseGetter
onApiResource
to `setGlobalResponseGetterAPIRequest
GlobalStripeResponseGetterOptions.getAPiKey
&StripeResponseGetterOptions.getApiKey
. We now use a higher abstraction calledAuthenticator
instead of passing around api keysRequestOptions.RequestOptionsBuilder.getConnectTimeout
from int to java.lang.Integer.StripeRequest
in favor of a staticStripeRequest.create()
partnerId
on classStripe
is removedAdditions
usage_threshold
onBilling.Alert
andbilling.AlertCreateParams
custom_unit_amount
onProductCreateParams.default_price_data
allow_redisplay
onterminal.ReaderProcessPaymentIntentParams.process_config
andterminal.ReaderProcessSetupIntentParams
2024-09-30.acacia
on enumWebhookEndpointCreateParams.api_version
Billing.MeterEvent
,Billing.MeterEventAdjustments
,Billing.MeterEventSession
,Billing.MeterEventStream
and the new Events APICore.Events
under the v2 namespaceStripeClient
class that takes a HTTP method type, url and relevant parameters to make requests to the Stripe API that are not yet supported in the SDK.Changes
billingportal.ConfigurationCreateParams.features.subscription_update.default_allowed_updates
andbillingportal.ConfigurationCreateParams.features.subscription_update.products
to be optionalv26.12.0
payer_details
onCharge.payment_method_details.klarna
amazon_pay
onDispute.payment_method_details
automatically_finalizes_at
onInvoice
state_sales_tax
onTax.Registration.country_options.us
andtax.RegistrationCreateParams.country_options.us
v26.11.0
InvoiceRenderingTemplate
archive
,list
,retrieve
, andunarchive
methods on resourceInvoiceRenderingTemplate
required
onCheckout.Session.tax_id_collection
,PaymentLink.tax_id_collection
,PaymentLinkCreateParams.tax_id_collection
,PaymentLinkUpdateParams.tax_id_collection
, andcheckout.SessionCreateParams.tax_id_collection
template
onCustomer.invoice_settings.rendering_options
,CustomerCreateParams.invoice_settings.rendering_options
,CustomerUpdateParams.invoice_settings.rendering_options
,Invoice.rendering
,InvoiceCreateParams.rendering
, andInvoiceUpdateParams.rendering
template_version
onInvoice.rendering
,InvoiceCreateParams.rendering
, andInvoiceUpdateParams.rendering
v26.10.0
subscription_item
andsubscription
onbilling.AlertCreateParams.filter
terminal.ReaderProcessSetupIntentParams.customer_consent_collected
to be optionalv26.9.0
AccountLinkCreateParams.collection_options.fields
to be optionalhr_oib
on enumsCustomerCreateParams.tax_id_data[].type
,InvoiceCreatePreviewParams.customer_details.tax_ids[].type
,InvoiceUpcomingLinesParams.customer_details.tax_ids[].type
,InvoiceUpcomingParams.customer_details.tax_ids[].type
,TaxIdCreateParams.type
, andtax.CalculationCreateParams.customer_details.tax_ids[].type
issuing_regulatory_reporting
on enumFileListParams.purpose
issuing_regulatory_reporting
on enumFileCreateParams.purpose
status_details
onTestHelpers.TestClock
v26.8.0
authorization_code
onCharge.payment_method_details.card
wallet
onCharge.payment_method_details.card_present
,ConfirmationToken.payment_method_preview.card.generated_from.payment_method_details.card_present
,ConfirmationToken.payment_method_preview.card_present
,PaymentMethod.card.generated_from.payment_method_details.card_present
, andPaymentMethod.card_present
mandate_options
onPaymentIntent.payment_method_options.bacs_debit
,PaymentIntentConfirmParams.payment_method_options.bacs_debit
,PaymentIntentCreateParams.payment_method_options.bacs_debit
, andPaymentIntentUpdateParams.payment_method_options.bacs_debit
bacs_debit
onSetupIntent.payment_method_options
,SetupIntentConfirmParams.payment_method_options
,SetupIntentCreateParams.payment_method_options
, andSetupIntentUpdateParams.payment_method_options
chips
onTreasury.OutboundPayment.tracking_details.us_domestic_wire
,Treasury.OutboundTransfer.tracking_details.us_domestic_wire
,treasury.OutboundPaymentUpdateParams.tracking_details.us_domestic_wire
, andtreasury.OutboundTransferUpdateParams.tracking_details.us_domestic_wire
v26.7.0
activate
,archive
,create
,deactivate
,list
, andretrieve
methods on resourceBilling.Alert
retrieve
method on resourceTax.Calculation
type
onCharge.payment_method_details.card_present.offline
,ConfirmationToken.payment_method_preview.card.generated_from.payment_method_details.card_present.offline
,PaymentMethod.card.generated_from.payment_method_details.card_present.offline
, andSetupAttempt.payment_method_details.card_present.offline
offline
onConfirmationToken.payment_method_preview.card_present
andPaymentMethod.card_present
related_customer
onIdentity.VerificationSession
,identity.VerificationSessionCreateParams
, andidentity.VerificationSessionListParams
InvoiceCreateParams.payment_settings.payment_method_options.card.installments.plan.count
,InvoiceCreateParams.payment_settings.payment_method_options.card.installments.plan.interval
,InvoiceUpdateParams.payment_settings.payment_method_options.card.installments.plan.count
,InvoiceUpdateParams.payment_settings.payment_method_options.card.installments.plan.interval
,PaymentIntentConfirmParams.payment_method_options.card.installments.plan.count
,PaymentIntentConfirmParams.payment_method_options.card.installments.plan.interval
,PaymentIntentCreateParams.payment_method_options.card.installments.plan.count
,PaymentIntentCreateParams.payment_method_options.card.installments.plan.interval
,PaymentIntentUpdateParams.payment_method_options.card.installments.plan.count
, andPaymentIntentUpdateParams.payment_method_options.card.installments.plan.interval
to be optionalgirocard
on enumsPaymentIntentConfirmParams.payment_method_options.card.network
,PaymentIntentCreateParams.payment_method_options.card.network
,PaymentIntentUpdateParams.payment_method_options.card.network
,SetupIntentConfirmParams.payment_method_options.card.network
,SetupIntentCreateParams.payment_method_options.card.network
,SetupIntentUpdateParams.payment_method_options.card.network
,SubscriptionCreateParams.payment_settings.payment_method_options.card.network
, andSubscriptionUpdateParams.payment_settings.payment_method_options.card.network
v26.6.0
Billing.AlertTriggered
andBilling.Alert
authorization_code
onCharge.payment_method_details.card
. This was accidentally released last week.billing.alert.triggered
on enumsWebhookEndpointCreateParams.enabled_events[]
andWebhookEndpointUpdateParams.enabled_events[]
v26.5.1
tax_registrations
andtax_settings
onAccountSession.components
andAccountSessionCreateParams.components
v26.4.0
customer
onConfirmationToken.payment_method_preview
multibanco
on enumsInvoiceCreateParams.payment_settings.payment_method_types[]
,InvoiceUpdateParams.payment_settings.payment_method_types[]
,SubscriptionCreateParams.payment_settings.payment_method_types[]
, andSubscriptionUpdateParams.payment_settings.payment_method_types[]
stripe_s700
on enumterminal.ReaderListParams.device_type
issuing_dispute.funds_rescinded
on enumsWebhookEndpointCreateParams.enabled_events[]
andWebhookEndpointUpdateParams.enabled_events[]
v26.3.0
payment_method_options
onConfirmationToken
payment_element
onCustomerSession.components
andCustomerSessionCreateParams.components
address_validation
onIssuing.Card.shipping
andissuing.CardCreateParams.shipping
shipping
onissuing.CardUpdateParams
v26.2.0
add_lines
,remove_lines
, andupdate_lines
methods on resourceInvoice
posted_at
onTax.Transaction
andtax.TransactionCreateFromCalculationParams
v26.1.0
filters
onCheckout.Session.payment_method_options.us_bank_account.financial_connections
,Invoice.payment_settings.payment_method_options.us_bank_account.financial_connections
,InvoiceCreateParams.payment_settings.payment_method_options.us_bank_account.financial_connections
,InvoiceUpdateParams.payment_settings.payment_method_options.us_bank_account.financial_connections
,PaymentIntent.payment_method_options.us_bank_account.financial_connections
,PaymentIntentConfirmParams.payment_method_options.us_bank_account.financial_connections
,PaymentIntentCreateParams.payment_method_options.us_bank_account.financial_connections
,PaymentIntentUpdateParams.payment_method_options.us_bank_account.financial_connections
,SetupIntent.payment_method_options.us_bank_account.financial_connections
,SetupIntentConfirmParams.payment_method_options.us_bank_account.financial_connections
,SetupIntentCreateParams.payment_method_options.us_bank_account.financial_connections
,SetupIntentUpdateParams.payment_method_options.us_bank_account.financial_connections
,Subscription.payment_settings.payment_method_options.us_bank_account.financial_connections
,SubscriptionCreateParams.payment_settings.payment_method_options.us_bank_account.financial_connections
, andSubscriptionUpdateParams.payment_settings.payment_method_options.us_bank_account.financial_connections
email_type
onCreditNoteCreateParams
,CreditNotePreviewLinesParams
, andCreditNotePreviewParams
account_subcategories
onFinancialConnections.Session.filters
andfinancialconnections.SessionCreateParams.filters
multibanco
,twint
, andzip
on enumsPaymentLinkCreateParams.payment_method_types[]
andPaymentLinkUpdateParams.payment_method_types[]
reboot_window
onTerminal.Configuration
,terminal.ConfigurationCreateParams
, andterminal.ConfigurationUpdateParams
v26.0.0
#1825
This release changes the pinned API version to 2024-06-20. Please read the API Upgrade Guide and carefully review the API changes before upgrading.
⚠️ Breaking changes
Additions
finalize_amount
test helper method on resourceIssuing.Authorization
platform_disabled
,paused.inactivity
andother
on enumsCapability.Requirements.disabledReason
andCapability.FutureRequirements.disabledReason
ch_uid
on enumsCustomerCreateParams.tax_id_data[].type
,InvoiceCreatePreviewParams.customer_details.tax_ids[].type
,InvoiceUpcomingLinesParams.customer_details.tax_ids[].type
,InvoiceUpcomingParams.customer_details.tax_ids[].type
,TaxIdCreateParams.type
, andtax.CalculationCreateParams.customer_details.tax_ids[].type
fleet
onIssuing.Authorization
,Issuing.Transaction.purchase_details
,issuing.AuthorizationCaptureParams.purchase_details
,issuing.AuthorizationCreateParams
,issuing.TransactionCreateForceCaptureParams.purchase_details
, andissuing.TransactionCreateUnlinkedRefundParams.purchase_details
fuel
onIssuing.Authorization
andissuing.AuthorizationCreateParams
industry_product_code
andquantity_decimal
onIssuing.Transaction.purchase_details.fuel
,issuing.AuthorizationCaptureParams.purchase_details.fuel
,issuing.TransactionCreateForceCaptureParams.purchase_details.fuel
, andissuing.TransactionCreateUnlinkedRefundParams.purchase_details.fuel
charging_minute
,imperial_gallon
,kilogram
,kilowatt_hour
, andpound
on enumsissuing.AuthorizationCaptureParams.purchase_details.fuel.unit
,issuing.TransactionCreateForceCaptureParams.purchase_details.fuel.unit
, andissuing.TransactionCreateUnlinkedRefundParams.purchase_details.fuel.unit
2024-06-20
on enumWebhookEndpointCreateParams.api_version
v25.13.0
mobilepay
on enumsPaymentLinkCreateParams.payment_method_types[]
andPaymentLinkUpdateParams.payment_method_types[]
tax_id_collection
onPaymentLinkUpdateParams
v25.12.0
multibanco_payments
andtwint_payments
onAccount.capabilities
,AccountCreateParams.capabilities
, andAccountUpdateParams.capabilities
twint
onCharge.payment_method_details
,ConfirmationToken.payment_method_preview
,ConfirmationTokenCreateParams.payment_method_data
,PaymentIntent.payment_method_options
,PaymentIntentConfirmParams.payment_method_data
,PaymentIntentConfirmParams.payment_method_options
,PaymentIntentCreateParams.payment_method_data
,PaymentIntentCreateParams.payment_method_options
,PaymentIntentUpdateParams.payment_method_data
,PaymentIntentUpdateParams.payment_method_options
,PaymentMethodCreateParams
,PaymentMethod
,SetupIntentConfirmParams.payment_method_data
,SetupIntentCreateParams.payment_method_data
, andSetupIntentUpdateParams.payment_method_data
multibanco
onCheckout.Session.payment_method_options
,ConfirmationToken.payment_method_preview
,ConfirmationTokenCreateParams.payment_method_data
,PaymentIntent.payment_method_options
,PaymentIntentConfirmParams.payment_method_data
,PaymentIntentConfirmParams.payment_method_options
,PaymentIntentCreateParams.payment_method_data
,PaymentIntentCreateParams.payment_method_options
,PaymentIntentUpdateParams.payment_method_data
,PaymentIntentUpdateParams.payment_method_options
,PaymentMethodConfigurationCreateParams
,PaymentMethodConfigurationUpdateParams
,PaymentMethodConfiguration
,PaymentMethodCreateParams
,PaymentMethod
,Refund.destination_details
,SetupIntentConfirmParams.payment_method_data
,SetupIntentCreateParams.payment_method_data
,SetupIntentUpdateParams.payment_method_data
, andcheckout.SessionCreateParams.payment_method_options
multibanco
andtwint
on enumsCustomerListPaymentMethodsParams.type
,PaymentMethodCreateParams.type
,PaymentMethodListParams.type
, andcheckout.SessionCreateParams.payment_method_types[]
multibanco
andtwint
on enumsConfirmationTokenCreateParams.payment_method_data.type
,PaymentIntentConfirmParams.payment_method_data.type
,PaymentIntentCreateParams.payment_method_data.type
,PaymentIntentUpdateParams.payment_method_data.type
,SetupIntentConfirmParams.payment_method_data.type
,SetupIntentCreateParams.payment_method_data.type
, andSetupIntentUpdateParams.payment_method_data.type
de_stn
on enumsCustomerCreateParams.tax_id_data[].type
,InvoiceCreatePreviewParams.customer_details.tax_ids[].type
,InvoiceUpcomingLinesParams.customer_details.tax_ids[].type
,InvoiceUpcomingParams.customer_details.tax_ids[].type
,TaxIdCreateParams.type
, andtax.CalculationCreateParams.customer_details.tax_ids[].type
multibanco_display_details
onPaymentIntent.next_action
invoice_settings
onSubscription
v25.11.0
gb_bank_transfer_payments
,jp_bank_transfer_payments
,mx_bank_transfer_payments
,sepa_bank_transfer_payments
, andus_bank_transfer_payments
onAccount.capabilities
,AccountCreateParams.capabilities
, andAccountUpdateParams.capabilities
swish
on enumsInvoiceCreateParams.payment_settings.payment_method_types[]
,InvoiceUpdateParams.payment_settings.payment_method_types[]
,SubscriptionCreateParams.payment_settings.payment_method_types[]
, andSubscriptionUpdateParams.payment_settings.payment_method_types[]
v25.10.0
default_value
onCheckout.Session.custom_fields[].dropdown
,Checkout.Session.custom_fields[].numeric
,Checkout.Session.custom_fields[].text
,checkout.SessionCreateParams.custom_fields[].dropdown
,checkout.SessionCreateParams.custom_fields[].numeric
, andcheckout.SessionCreateParams.custom_fields[].text
generated_from
onConfirmationToken.payment_method_preview.card
andPaymentMethod.card
en-RO
andro-RO
on enumsPaymentIntentConfirmParams.payment_method_options.klarna.preferred_locale
,PaymentIntentCreateParams.payment_method_options.klarna.preferred_locale
, andPaymentIntentUpdateParams.payment_method_options.klarna.preferred_locale
issuing_personalization_design.activated
,issuing_personalization_design.deactivated
,issuing_personalization_design.rejected
, andissuing_personalization_design.updated
on enumsWebhookEndpointCreateParams.enabled_events[]
andWebhookEndpointUpdateParams.enabled_events[]
v25.9.0
external_account_collection
onAccountSession.components.balances.features
,AccountSession.components.payouts.features
,AccountSessionCreateParams.components.balances.features
, andAccountSessionCreateParams.components.payouts.features
payment_method_remove
onCheckout.Session.saved_payment_method_options
v25.8.0
fee_source
onApplicationFee
net_available
onBalance.instant_available[]
preferred_locales
onCharge.payment_method_details.card_present
,ConfirmationToken.payment_method_preview.card_present
, andPaymentMethod.card_present
klarna
onDispute.payment_method_details
archived
andlookup_key
onentitlements.FeatureListParams
financialconnections.SessionCreateParams.filters.countries
to be optionalno_valid_authorization
onIssuing.Dispute.evidence
,issuing.DisputeCreateParams.evidence
, andissuing.DisputeUpdateParams.evidence
no_valid_authorization
on enumsissuing.DisputeCreateParams.evidence.reason
andissuing.DisputeUpdateParams.evidence.reason
loss_reason
onIssuing.Dispute
routing
onPaymentIntent.payment_method_options.card_present
,PaymentIntentConfirmParams.payment_method_options.card_present
,PaymentIntentCreateParams.payment_method_options.card_present
, andPaymentIntentUpdateParams.payment_method_options.card_present
application_fee_amount
andapplication_fee
onPayout
stripe_s700
onTerminal.Configuration
,terminal.ConfigurationCreateParams
, andterminal.ConfigurationUpdateParams
PaymentIntentConfirmParams
,PaymentIntentCreateParams
,PaymentIntentUpdateParams
,SetupIntentConfirmParams
,SetupIntentCreateParams
,SetupIntentUpdateParams
. This is a legacy parameter that no longer has any function.v25.7.0
pending_invoice_items_behavior
onSubscriptionCreateParams
that was prematurely added in the previous release on the same dayv25.6.0
update
test helper method on resourcesTreasury.OutboundPayment
andTreasury.OutboundTransfer
allow_redisplay
onConfirmationToken.payment_method_preview
andPaymentMethod
preview_mode
onInvoiceCreatePreviewParams
,InvoiceUpcomingLinesParams
, andInvoiceUpcomingParams
tracking_details
onTreasury.OutboundPayment
andTreasury.OutboundTransfer
treasury.outbound_payment.tracking_details_updated
andtreasury.outbound_transfer.tracking_details_updated
on enumsWebhookEndpointCreateParams.enabled_events[]
andWebhookEndpointUpdateParams.enabled_events[]
v25.5.0
paypal
onDispute.payment_method_details
Dispute.payment_method_details.type
fromliteral('card')
toenum('card'|'paypal')
entitlements.FeatureUpdateParams.metadata
frommap(string: string)
toemptyable(map(string: string))
payment_method_types
onPaymentIntentConfirmParams
ship_from_details
onTax.Calculation
,Tax.Transaction
, andtax.CalculationCreateParams
bh
,eg
,ge
,ke
,kz
,ng
, andom
onTax.Registration.country_options
andtax.RegistrationCreateParams.country_options
persistent_token
property onConfirmationToken.Link.persistentToken
,PaymentIntent.Link.persistentToken
,PaymentMethod.Link.persistentToken
,SetupIntent.Link.persistentToken
,PaymentIntentConfirmParams.Link.persistentToken
,PaymentIntentCreateParams.Link.persistentToken
,PaymentIntentUpdateParams.Link.persistentToken
,SetupIntentConfirmParams.Link.persistentToken
,SetupIntentCreateParams.Link.persistentToken
,SetupIntentUpdateParams.Link.persistentToken
. This is a legacy parameter that no longer has any function.v25.4.0
setup_future_usage
onCheckout.Session.payment_method_options.amazon_pay
,Checkout.Session.payment_method_options.revolut_pay
,PaymentIntent.payment_method_options.amazon_pay
, andPaymentIntent.payment_method_options.revolut_pay
Entitlements.ActiveEntitlement.feature
fromstring
toexpandable($Entitlements.Feature)
email
andphone
onidentity.VerificationSessionCreateParams.options
andidentity.VerificationSessionUpdateParams.options
amazon_pay
andrevolut_pay
on enumsInvoiceCreateParams.payment_settings.payment_method_types[]
,InvoiceUpdateParams.payment_settings.payment_method_types[]
,SubscriptionCreateParams.payment_settings.payment_method_types[]
, andSubscriptionUpdateParams.payment_settings.payment_method_types[]
amazon_pay
andrevolut_pay
onMandate.payment_method_details
andSetupAttempt.payment_method_details
ending_before
,limit
, andstarting_after
onPaymentMethodConfigurationListParams
mobilepay
onPaymentMethodConfigurationCreateParams
,PaymentMethodConfigurationUpdateParams
, andPaymentMethodConfiguration
approve
anddecline
methods on Authorization. Instead, respond directly to the webhook request to approve an authorization.v25.3.0
create_preview
method on resourceInvoice
payment_method_data
oncheckout.SessionCreateParams
saved_payment_method_options
onCheckout.Session
andcheckout.SessionCreateParams
mobilepay
onCheckout.Session.payment_method_options
andcheckout.SessionCreateParams.payment_method_options
mobilepay
on enumcheckout.SessionCreateParams.payment_method_types[]
allow_redisplay
onConfirmationTokenCreateParams.payment_method_data
,CustomerListPaymentMethodsParams
,PaymentIntentConfirmParams.payment_method_data
,PaymentIntentCreateParams.payment_method_data
,PaymentIntentUpdateParams.payment_method_data
,PaymentMethodCreateParams
,PaymentMethodUpdateParams
,SetupIntentConfirmParams.payment_method_data
,SetupIntentCreateParams.payment_method_data
, andSetupIntentUpdateParams.payment_method_data
schedule_details
andsubscription_details
onInvoiceUpcomingLinesParams
andInvoiceUpcomingParams
other
on enumsissuing.AuthorizationCaptureParams.purchase_details.fuel.unit
,issuing.TransactionCreateForceCaptureParams.purchase_details.fuel.unit
, andissuing.TransactionCreateUnlinkedRefundParams.purchase_details.fuel.unit
v25.2.0
Entitlements.ActiveEntitlementSummary
balances
andpayouts_list
onAccountSession.components
andAccountSessionCreateParams.components
billing.MeterEventCreateParams.timestamp
to be optionalconfig
onForwarding.Request
andforwarding.RequestCreateParams
. This field is no longer used by the Forwarding Request API.capture_method
onPaymentIntent.payment_method_options.revolut_pay
,PaymentIntentConfirmParams.payment_method_options.revolut_pay
,PaymentIntentCreateParams.payment_method_options.revolut_pay
, andPaymentIntentUpdateParams.payment_method_options.revolut_pay
swish
onPaymentMethodConfigurationCreateParams
,PaymentMethodConfigurationUpdateParams
, andPaymentMethodConfiguration
entitlements.active_entitlement_summary.updated
on enumsWebhookEndpointCreateParams.enabled_events[]
andWebhookEndpointUpdateParams.enabled_events[]
v25.1.0
account_management
andnotification_banner
onAccountSession.components
andAccountSessionCreateParams.components
external_account_collection
onAccountSession.components.account_onboarding.features
andAccountSessionCreateParams.components.account_onboarding.features
billing.MeterEventAdjustmentCreateParams.cancel.identifier
andbilling.MeterEventAdjustmentCreateParams.cancel
to be optionalbilling.MeterEventAdjustmentCreateParams.type
to be requiredBilling.MeterEventAdjustment.cancel
fromBillingMeterResourceBillingMeterEventAdjustmentCancel
tonullable(BillingMeterResourceBillingMeterEventAdjustmentCancel)
amazon_pay
onCharge.payment_method_details
,Checkout.Session.payment_method_options
,ConfirmationToken.payment_method_preview
,ConfirmationTokenCreateParams.payment_method_data
,PaymentIntent.payment_method_options
,PaymentIntentConfirmParams.payment_method_data
,PaymentIntentConfirmParams.payment_method_options
,PaymentIntentCreateParams.payment_method_data
,PaymentIntentCreateParams.payment_method_options
,PaymentIntentUpdateParams.payment_method_data
,PaymentIntentUpdateParams.payment_method_options
,PaymentMethodConfigurationCreateParams
,PaymentMethodConfigurationUpdateParams
,PaymentMethodConfiguration
,PaymentMethodCreateParams
,PaymentMethod
,Refund.destination_details
,SetupIntent.payment_method_options
,SetupIntentConfirmParams.payment_method_data
,SetupIntentConfirmParams.payment_method_options
,SetupIntentCreateParams.payment_method_data
,SetupIntentCreateParams.payment_method_options
,SetupIntentUpdateParams.payment_method_data
,SetupIntentUpdateParams.payment_method_options
, andcheckout.SessionCreateParams.payment_method_options
ownership
on enumsInvoiceCreateParams.payment_settings.payment_method_options.us_bank_account.financial_connections.prefetch[]
,InvoiceUpdateParams.payment_settings.payment_method_options.us_bank_account.financial_connections.prefetch[]
,PaymentIntentConfirmParams.payment_method_options.us_bank_account.financial_connections.prefetch[]
,PaymentIntentCreateParams.payment_method_options.us_bank_account.financial_connections.prefetch[]
,PaymentIntentUpdateParams.payment_method_options.us_bank_account.financial_connections.prefetch[]
,SetupIntentConfirmParams.payment_method_options.us_bank_account.financial_connections.prefetch[]
,SetupIntentCreateParams.payment_method_options.us_bank_account.financial_connections.prefetch[]
,SetupIntentUpdateParams.payment_method_options.us_bank_account.financial_connections.prefetch[]
,SubscriptionCreateParams.payment_settings.payment_method_options.us_bank_account.financial_connections.prefetch[]
,SubscriptionUpdateParams.payment_settings.payment_method_options.us_bank_account.financial_connections.prefetch[]
, andcheckout.SessionCreateParams.payment_method_options.us_bank_account.financial_connections.prefetch[]
amazon_pay
on enumcheckout.SessionCreateParams.payment_method_types[]
amazon_pay
on enumsConfirmationTokenCreateParams.payment_method_data.type
,PaymentIntentConfirmParams.payment_method_data.type
,PaymentIntentCreateParams.payment_method_data.type
,PaymentIntentUpdateParams.payment_method_data.type
,SetupIntentConfirmParams.payment_method_data.type
,SetupIntentCreateParams.payment_method_data.type
, andSetupIntentUpdateParams.payment_method_data.type
bh_vat
,kz_bin
,ng_tin
, andom_vat
on enumsCustomerCreateParams.tax_id_data[].type
,InvoiceUpcomingLinesParams.customer_details.tax_ids[].type
,InvoiceUpcomingParams.customer_details.tax_ids[].type
,TaxIdCreateParams.type
, andtax.CalculationCreateParams.customer_details.tax_ids[].type
amazon_pay
on enumsCustomerListPaymentMethodsParams.type
,PaymentMethodCreateParams.type
, andPaymentMethodListParams.type
next_refresh_available_at
onFinancialConnections.Account.ownership_refresh
v25.0.0
#1776
This release changes the pinned API version to
2024-04-10
. Please read the API Upgrade Guide and carefully review the API changes before upgrading.Add a new
TaxIdService
for operations on/v1/tax_ids
endpoints.⚠️ Breaking changes
features
tomarketing_features
onProductCreateParams
,ProductUpdateParams
, andProduct
/v1/tax_ids
viaclient.taxIds()
) and as a child (e.g.,/v1/customers/{}/tax_ids
viaclient.customers().taxIds()
).CapabilityService
->AccountCapabilityService
ExternalAccountService
->AccountExternalAccountService
LoginLinkService
->AccountLoginLinkService
PersonService
->AccountPersonService
FeeRefundService
->ApplicationFeeRefundService
CashBalanceService
->CustomerCashBalanceService
PaymentSourceService
->CustomerPaymentSourceService
UsageRecordService
->SubscriptionItemUsageRecordService
UsageRecordSummaryService
->SubscriptionItemUsageRecordSummaryService
TaxIdService
->CustomerTaxIdService
.verify
method onBankAccountService
.verify
method onCustomerPaymentSourceService
insteadlist
andcreate
methods ontreasury.FinancialAccountFeaturesService
. These methods were incorrectly named.list
->retrieve
andcreate
->update
.setPageTypeToken
method onStripeCollectionInterface
to be required and remove default implementation.setUsage
method onBaseApiRequest
.usage
onBaseApiRequest
class to befinal
.maybeEnqueueMetrics
method onRequestTelemetry
.⚠️ Removal of enum values, properties and events that are no longer part of the publicly documented Stripe API
Configuration.SubscriptionPause
for Billing Portal as the feature to pause subscription on the portal has been deprecated.BalanceTransaction.Type
obligation_inbound
obligation_payout
obligation_payout_failure
obligation_reversal_outbound
Event.Type
,WebhookEndpointCreateOptions.EnabledEvent
,WebhookEndpointUpdateOptions.EnabledEvent
invoiceitem.updated
order.created
recipient.created
recipient.deleted
recipient.updated
sku.created
sku.deleted
sku.updated
id_bank_transfer
,multibanco
,netbanking
,pay_by_bank
, andupi
onPaymentMethodConfiguration
by removing the below classesPaymentMethodConfiguration.IdBankTransfer
PaymentMethodConfiguration.Multibanco
PaymentMethodConfiguration.Netbanking
PaymentMethodConfiguration.PayByBank
PaymentMethodConfiguration.Upi
challenge_only
inSetupIntent.PaymentMethodOptions.Card.RequestThreeDSecure
service_tax
inTaxRate.TaxType
,InvoiceLinetItemUpdateParams.TaxAmount.TaxRateData.TaxType
,pwebTaxRateCreateParams.TaxType
,TaxRateUpdateParams.TaxType
various
inClimate.Supplier.removalPathway
INCLUDE_AND_REQUIRE
on the enumInvoiceCreateParams.PendingInvoiceItemsBehavior
RequestIncrementalAuthorization
onPaymentIntentConfirmParams.PaymentMethodOptions.CardPresent
,PaymentIntentCreateParams.PaymentMethodOptions.CardPresent
andPaymentIntentUpdateParams.PaymentMethodOptions.CardPresent
. This was shipped by mistake.obligation
onReportRunCreateParams.ReportingCategory
rendering_options
onInvoiceCreateParams
,InvoiceUpdateParams
, andInvoice
. Userendering
instead.v24.24.0
Entitlements.ActiveEntitlement
andEntitlements.Feature
list
andretrieve
methods on resourceActiveEntitlement
create
,list
,retrieve
, andupdate
methods on resourceFeature
controller
onAccountCreateParams
fees
,losses
,requirement_collection
, andstripe_dashboard
onAccount.controller
event_name
onBilling.MeterEventAdjustment
andbilling.MeterEventAdjustmentCreateParams
cancel
andtype
onBilling.MeterEventAdjustment
v24.23.0
checkout.SessionCreateParams.payment_method_options.swish.reference
fromemptyable(string)
tostring
subscription_item
onDiscount
email
andphone
onIdentity.VerificationReport
,Identity.VerificationSession.options
,Identity.VerificationSession.verified_outputs
,identity.VerificationSessionCreateParams.options
, andidentity.VerificationSessionUpdateParams.options
verification_flow
onIdentity.VerificationReport
,Identity.VerificationSession
, andidentity.VerificationSessionCreateParams
provided_details
onIdentity.VerificationSession
,identity.VerificationSessionCreateParams
, andidentity.VerificationSessionUpdateParams
identity.VerificationSessionCreateParams.type
to be optionalpromotion_code
onInvoiceCreateParams.discounts[]
,InvoiceItemCreateParams.discounts[]
,InvoiceItemUpdateParams.discounts[]
,InvoiceUpdateParams.discounts[]
,QuoteCreateParams.discounts[]
, andQuoteUpdateParams.discounts[]
discounts
onInvoiceUpcomingLinesParams.subscription_items[]
,InvoiceUpcomingParams.subscription_items[]
,QuoteCreateParams.line_items[]
,QuoteUpdateParams.line_items[]
,SubscriptionCreateParams.add_invoice_items[]
,SubscriptionCreateParams.items[]
,SubscriptionCreateParams
,SubscriptionItemCreateParams
,SubscriptionItemUpdateParams
,SubscriptionItem
,SubscriptionSchedule.phases[].add_invoice_items[]
,SubscriptionSchedule.phases[].items[]
,SubscriptionSchedule.phases[]
,SubscriptionScheduleCreateParams.phases[].add_invoice_items[]
,SubscriptionScheduleCreateParams.phases[].items[]
,SubscriptionScheduleCreateParams.phases[]
,SubscriptionScheduleUpdateParams.phases[].add_invoice_items[]
,SubscriptionScheduleUpdateParams.phases[].items[]
,SubscriptionScheduleUpdateParams.phases[]
,SubscriptionUpdateParams.add_invoice_items[]
,SubscriptionUpdateParams.items[]
,SubscriptionUpdateParams
, andSubscription
allowed_merchant_countries
andblocked_merchant_countries
onIssuing.Card.spending_controls
,Issuing.Cardholder.spending_controls
,issuing.CardCreateParams.spending_controls
,issuing.CardUpdateParams.spending_controls
,issuing.CardholderCreateParams.spending_controls
, andissuing.CardholderUpdateParams.spending_controls
zip
onPaymentMethodConfigurationCreateParams
,PaymentMethodConfigurationUpdateParams
, andPaymentMethodConfiguration
offline
onSetupAttempt.payment_method_details.card_present
card_present
onSetupIntent.payment_method_options
,SetupIntentConfirmParams.payment_method_options
,SetupIntentCreateParams.payment_method_options
, andSetupIntentUpdateParams.payment_method_options
mobile_phone_reader
on enumterminal.ReaderListParams.device_type
v24.22.0
Billing.MeterEventAdjustment
,Billing.MeterEvent
, andBilling.Meter
create
,deactivate
,list
,reactivate
,retrieve
, andupdate
methods on resourceMeter
create
method on resourcesMeterEventAdjustment
andMeterEvent
amazon_pay_payments
onAccount.capabilities
,AccountCreateParams.capabilities
, andAccountUpdateParams.capabilities
destination_on_behalf_of_charge_management
onAccountSession.components.payment_details.features
,AccountSession.components.payments.features
,AccountSessionCreateParams.components.payment_details.features
, andAccountSessionCreateParams.components.payments.features
mandate
onCharge.payment_method_details.us_bank_account
,Treasury.InboundTransfer.origin_payment_method_details.us_bank_account
,Treasury.OutboundPayment.destination_payment_method_details.us_bank_account
, andTreasury.OutboundTransfer.destination_payment_method_details.us_bank_account
second_line
onissuing.CardCreateParams
meter
onPlanCreateParams
,Plan
,Price.recurring
,PriceCreateParams.recurring
, andPriceListParams.recurring
v24.21.0
ConfirmationToken
andForwarding.Request
retrieve
method on resourceConfirmationToken
create
,list
, andretrieve
methods on resourceRequest
mobilepay_payments
onAccount.capabilities
,AccountCreateParams.capabilities
, andAccountUpdateParams.capabilities
mobilepay
onCharge.payment_method_details
,PaymentIntent.payment_method_options
,PaymentIntentConfirmParams.payment_method_data
,PaymentIntentConfirmParams.payment_method_options
,PaymentIntentCreateParams.payment_method_data
,PaymentIntentCreateParams.payment_method_options
,PaymentIntentUpdateParams.payment_method_data
,PaymentIntentUpdateParams.payment_method_options
,PaymentMethodCreateParams
,PaymentMethod
,SetupIntentConfirmParams.payment_method_data
,SetupIntentCreateParams.payment_method_data
, andSetupIntentUpdateParams.payment_method_data
payment_reference
onCharge.payment_method_details.us_bank_account
mobilepay
on enumsCustomerListPaymentMethodsParams.type
,PaymentMethodCreateParams.type
, andPaymentMethodListParams.type
confirmation_token
onPaymentIntentConfirmParams
,PaymentIntentCreateParams
,SetupIntentConfirmParams
, andSetupIntentCreateParams
mobilepay
on enumsPaymentIntentConfirmParams.payment_method_data.type
,PaymentIntentCreateParams.payment_method_data.type
,PaymentIntentUpdateParams.payment_method_data.type
,SetupIntentConfirmParams.payment_method_data.type
,SetupIntentCreateParams.payment_method_data.type
, andSetupIntentUpdateParams.payment_method_data.type
name
onTerminal.Configuration
,terminal.ConfigurationCreateParams
, andterminal.ConfigurationUpdateParams
payout
onTreasury.ReceivedDebit.linked_flows
v24.20.0
Issuing.PersonalizationDesign
andIssuing.PhysicalBundle
create
,list
,retrieve
, andupdate
methods on resourcePersonalizationDesign
list
andretrieve
methods on resourcePhysicalBundle
personalization_design
onIssuing.Card
,issuing.CardCreateParams
,issuing.CardListParams
, andissuing.CardUpdateParams
SubscriptionCreateParams.application_fee_percent
andSubscriptionUpdateParams.application_fee_percent
fromnumber
toemptyStringable(number)
sepa_debit
onSubscription.payment_settings.payment_method_options
,SubscriptionCreateParams.payment_settings.payment_method_options
, andSubscriptionUpdateParams.payment_settings.payment_method_options
v24.19.0
documents
onAccountSession.components
andAccountSessionCreateParams.components
request_three_d_secure
onCheckout.Session.payment_method_options.card
andcheckout.SessionCreateParams.payment_method_options.card
created
onCreditNoteListParams
sepa_debit
onInvoice.payment_settings.payment_method_options
,InvoiceCreateParams.payment_settings.payment_method_options
, andInvoiceUpdateParams.payment_settings.payment_method_options
v24.18.0
number
onInvoiceCreateParams
andInvoiceUpdateParams
enable_customer_cancellation
onTerminal.Reader.action.process_payment_intent.process_config
,Terminal.Reader.action.process_setup_intent.process_config
,terminal.ReaderProcessPaymentIntentParams.process_config
, andterminal.ReaderProcessSetupIntentParams.process_config
refund_payment_config
onTerminal.Reader.action.refund_payment
andterminal.ReaderRefundPaymentParams
payment_method
onTokenCreateParams.bank_account
v24.17.0
client_reference_id
onIdentity.VerificationReport
,Identity.VerificationSession
,identity.VerificationReportListParams
,identity.VerificationSessionCreateParams
, andidentity.VerificationSessionListParams
include_and_require
from enumInvoiceCreateParams.pending_invoice_items_behavior
service_tax
from enumsTaxRateCreateParams.tax_type
andTaxRateUpdateParams.tax_type
created
ontreasury.OutboundPaymentListParams
InvoiceLineItem.update
method.v24.16.0
networks
onCard
,PaymentMethodCreateParams.CardDetails
,PaymentMethodUpdateParams.Card
, andTokenCreateParams.Card
no_voec
on enumsCustomerCreateParams.tax_id_data[].type
,InvoiceUpcomingLinesParams.customer_details.tax_ids[].type
,InvoiceUpcomingParams.customer_details.tax_ids[].type
,TaxIdCreateParams.type
, andtax.CalculationCreateParams.customer_details.tax_ids[].type
display_brand
onPaymentMethod.card
financial_connections.account.refreshed_ownership
on enumsWebhookEndpointCreateParams.enabled_events[]
andWebhookEndpointUpdateParams.enabled_events[]
v24.15.0
invoices
onAccount.settings
andAccountUpdateParams.settings
velobank
on enumsPaymentIntentConfirmParams.payment_method_data.p24.bank
,PaymentIntentCreateParams.payment_method_data.p24.bank
,PaymentIntentUpdateParams.payment_method_data.p24.bank
,PaymentMethodCreateParams.p24.bank
,SetupIntentConfirmParams.payment_method_data.p24.bank
,SetupIntentCreateParams.payment_method_data.p24.bank
, andSetupIntentUpdateParams.payment_method_data.p24.bank
setup_future_usage
onPaymentIntent.payment_method_options.blik
,PaymentIntentConfirmParams.payment_method_options.blik
,PaymentIntentCreateParams.payment_method_options.blik
, andPaymentIntentUpdateParams.payment_method_options.blik
require_cvc_recollection
onPaymentIntent.payment_method_options.card
,PaymentIntentConfirmParams.payment_method_options.card
,PaymentIntentCreateParams.payment_method_options.card
, andPaymentIntentUpdateParams.payment_method_options.card
account_tax_ids
onSubscriptionCreateParams.invoice_settings
,SubscriptionSchedule.default_settings.invoice_settings
,SubscriptionSchedule.phases[].invoice_settings
,SubscriptionScheduleCreateParams.default_settings.invoice_settings
,SubscriptionScheduleCreateParams.phases[].invoice_settings
,SubscriptionScheduleUpdateParams.default_settings.invoice_settings
,SubscriptionScheduleUpdateParams.phases[].invoice_settings
, andSubscriptionUpdateParams.invoice_settings
v24.14.0
swish
payment method throughout the APIrelationship
onAccountCreateParams.individual
,AccountUpdateParams.individual
, andTokenCreateParams.account.individual
jurisdiction_level
onTaxRate
com.stripe.model.Discount
fromcheckout.Session.TotalDetails.Breakdown.Discount
(this represents a bugfix as this class would never have worked, but might be a breaking type change)v24.13.0
annual_revenue
andestimated_worker_count
onAccount.business_profile
,Account.CreateParams.business_profile
, andAccount.UpdateParams.business_profile
registered_charity
on enumsAccount.CreateParams.company.structure
,Account.UpdateParams.company.structure
, andToken.CreateParams.account.company.structure
collection_options
onAccountLink.CreateParams
liability
onCheckout.Session.automatic_tax
,PaymentLink.automatic_tax
,PaymentLink.CreateParams.automatic_tax
,PaymentLink.UpdateParams.automatic_tax
,Quote.automatic_tax
,Quote.CreateParams.automatic_tax
,Quote.UpdateParams.automatic_tax
,SubscriptionSchedule.default_settings.automatic_tax
,SubscriptionSchedule.phases[].automatic_tax
,SubscriptionSchedule.CreateParams.default_settings.automatic_tax
,SubscriptionSchedule.CreateParams.phases[].automatic_tax
,SubscriptionSchedule.UpdateParams.default_settings.automatic_tax
,SubscriptionSchedule.UpdateParams.phases[].automatic_tax
, andcheckout.Session.CreateParams.automatic_tax
issuer
onCheckout.Session.invoice_creation.invoice_data
,PaymentLink.invoice_creation.invoice_data
,PaymentLink.CreateParams.invoice_creation.invoice_data
,PaymentLink.UpdateParams.invoice_creation.invoice_data
,Quote.invoice_settings
,Quote.CreateParams.invoice_settings
,Quote.UpdateParams.invoice_settings
,SubscriptionSchedule.default_settings.invoice_settings
,SubscriptionSchedule.phases[].invoice_settings
,SubscriptionSchedule.CreateParams.default_settings.invoice_settings
,SubscriptionSchedule.CreateParams.phases[].invoice_settings
,SubscriptionSchedule.UpdateParams.default_settings.invoice_settings
,SubscriptionSchedule.UpdateParams.phases[].invoice_settings
, andcheckout.Session.CreateParams.invoice_creation.invoice_data
invoice_settings
onPaymentLink.subscription_data
,PaymentLink.CreateParams.subscription_data
,PaymentLink.UpdateParams.subscription_data
, andcheckout.Session.CreateParams.subscription_data
challenge
on enumsInvoice.CreateParams.payment_settings.payment_method_options.card.request_three_d_secure
,Invoice.UpdateParams.payment_settings.payment_method_options.card.request_three_d_secure
,Subscription.CreateParams.payment_settings.payment_method_options.card.request_three_d_secure
, andSubscription.UpdateParams.payment_settings.payment_method_options.card.request_three_d_secure
promotion_code
onInvoice.UpcomingLinesParams.discounts[]
,Invoice.UpcomingLinesParams.invoice_items[].discounts[]
,Invoice.UpcomingParams.discounts[]
, andInvoice.UpcomingParams.invoice_items[].discounts[]
account_type
onPaymentMethod.UpdateParams.us_bank_account
v24.12.0
issuer
onInvoiceCreateParams
,InvoiceUpcomingLinesParams
,InvoiceUpcomingParams
,InvoiceUpdateParams
, andInvoice
liability
onInvoice.automatic_tax
,InvoiceCreateParams.automatic_tax
,InvoiceUpcomingLinesParams.automatic_tax
,InvoiceUpcomingParams.automatic_tax
,InvoiceUpdateParams.automatic_tax
,Subscription.automatic_tax
,SubscriptionCreateParams.automatic_tax
, andSubscriptionUpdateParams.automatic_tax
on_behalf_of
onInvoiceUpcomingLinesParams
andInvoiceUpcomingParams
pin
onissuing.CardCreateParams
revocation_reason
onMandate.payment_method_details.bacs_debit
nn
on enumsPaymentIntentConfirmParams.payment_method_data.ideal.bank
,PaymentIntentCreateParams.payment_method_data.ideal.bank
,PaymentIntentUpdateParams.payment_method_data.ideal.bank
,PaymentMethodCreateParams.ideal.bank
,SetupIntentConfirmParams.payment_method_data.ideal.bank
,SetupIntentCreateParams.payment_method_data.ideal.bank
, andSetupIntentUpdateParams.payment_method_data.ideal.bank
customer_balance
onPaymentMethodConfigurationCreateParams
,PaymentMethodConfigurationUpdateParams
, andPaymentMethodConfiguration
invoice_settings
onSubscriptionCreateParams
andSubscriptionUpdateParams
constructEvent()
instance method onStripeClient
that parses Webhook events and uses the settings inherited from the StripeClient instance to make further requests.stripe_client
StripeClient
inX-Stripe-Client-Telemetry
. (You can disable telemetry viaStripe.enableTelemetry = false;
, see the README.)v24.11.0
CustomerSession
create
method on resourceCustomerSession
expand
onBankAccountDeleteParams
andCardDeleteParams
account_type
,default_for_currency
, anddocuments
onBankAccountUpdateParams
andCardUpdateParams
owner
onBankAccountUpdateParams
andCardUpdateParams
BankAccountUpdateParams.account_holder_type
andCardUpdateParams.account_holder_type
fromenum('company'|'individual')
toemptyStringable(enum('company'|'individual'))
eps
andp24
on enumsInvoiceCreateParams.payment_settings.payment_method_types[]
,InvoiceUpdateParams.payment_settings.payment_method_types[]
,SubscriptionCreateParams.payment_settings.payment_method_types[]
, andSubscriptionUpdateParams.payment_settings.payment_method_types[]
obligation
from enumreporting.ReportRunCreateParams.parameters.reporting_category
billing_cycle_anchor_config
onSubscriptionCreateParams
andSubscription
v24.10.0
retrieve
method on resourceTax.Registration
v24.9.0
FinancialConnections.Transaction
list
andretrieve
methods on resourceTransaction
subscribe
andunsubscribe
methods on resourceFinancialConnections.Account
features
onAccountSessionCreateParams.components.payouts
edit_payout_schedule
,instant_payouts
, andstandard_payouts
onAccountSession.components.payouts.features
Checkout.Session.payment_method_options.us_bank_account.financial_connections.prefetch[]
,Invoice.payment_settings.payment_method_options.us_bank_account.financial_connections.prefetch[]
,InvoiceCreateParams.payment_settings.payment_method_options.us_bank_account.financial_connections.prefetch[]
,InvoiceUpdateParams.payment_settings.payment_method_options.us_bank_account.financial_connections.prefetch[]
,PaymentIntent.payment_method_options.us_bank_account.financial_connections.prefetch[]
,PaymentIntentConfirmParams.payment_method_options.us_bank_account.financial_connections.prefetch[]
,PaymentIntentCreateParams.payment_method_options.us_bank_account.financial_connections.prefetch[]
,PaymentIntentUpdateParams.payment_method_options.us_bank_account.financial_connections.prefetch[]
,SetupIntent.payment_method_options.us_bank_account.financial_connections.prefetch[]
,SetupIntentConfirmParams.payment_method_options.us_bank_account.financial_connections.prefetch[]
,SetupIntentCreateParams.payment_method_options.us_bank_account.financial_connections.prefetch[]
,SetupIntentUpdateParams.payment_method_options.us_bank_account.financial_connections.prefetch[]
,Subscription.payment_settings.payment_method_options.us_bank_account.financial_connections.prefetch[]
,SubscriptionCreateParams.payment_settings.payment_method_options.us_bank_account.financial_connections.prefetch[]
,SubscriptionUpdateParams.payment_settings.payment_method_options.us_bank_account.financial_connections.prefetch[]
, andcheckout.SessionCreateParams.payment_method_options.us_bank_account.financial_connections.prefetch[]
fromliteral('balances')
toenum('balances'|'transactions')
transactions
on enumfinancialconnections.AccountRefreshParams.features[]
subscriptions
andtransaction_refresh
onFinancialConnections.Account
next_refresh_available_at
onFinancialConnections.Account.balance_refresh
transactions
on enumfinancialconnections.SessionCreateParams.prefetch[]
unknown
on enumissuing.AuthorizationCreateParams.verification_data.authentication_exemption.type
collection_method
onMandate.payment_method_details.us_bank_account
challenge
on enumsPaymentIntentConfirmParams.payment_method_options.card.request_three_d_secure
,PaymentIntentCreateParams.payment_method_options.card.request_three_d_secure
,PaymentIntentUpdateParams.payment_method_options.card.request_three_d_secure
,SetupIntentConfirmParams.payment_method_options.card.request_three_d_secure
,SetupIntentCreateParams.payment_method_options.card.request_three_d_secure
, andSetupIntentUpdateParams.payment_method_options.card.request_three_d_secure
mandate_options
onPaymentIntent.payment_method_options.us_bank_account
,PaymentIntentConfirmParams.payment_method_options.us_bank_account
,PaymentIntentCreateParams.payment_method_options.us_bank_account
,PaymentIntentUpdateParams.payment_method_options.us_bank_account
,SetupIntent.payment_method_options.us_bank_account
,SetupIntentConfirmParams.payment_method_options.us_bank_account
,SetupIntentCreateParams.payment_method_options.us_bank_account
, andSetupIntentUpdateParams.payment_method_options.us_bank_account
revolut_pay
onPaymentMethodConfigurationCreateParams
,PaymentMethodConfigurationUpdateParams
, andPaymentMethodConfiguration
destination_details
onRefund
financial_connections.account.refreshed_transactions
on enumsWebhookEndpointCreateParams.enabled_events[]
andWebhookEndpointUpdateParams.enabled_events[]
v24.8.0
payment_method_reuse_agreement
onCheckout.Session.consent_collection
,PaymentLink.consent_collection
,PaymentLinkCreateParams.consent_collection
, andcheckout.SessionCreateParams.consent_collection
after_submit
onCheckout.Session.custom_text
,PaymentLink.custom_text
,PaymentLinkCreateParams.custom_text
,PaymentLinkUpdateParams.custom_text
, andcreated
onradar.EarlyFraudWarningListParams
v24.7.0
payment_details
,payments
, andpayouts
onAccountSession.components
andAccountSessionCreateParams.components
features
onAccountSession.components.account_onboarding
andAccountSessionCreateParams.components.account_onboarding
inactive_message
andrestrictions
onPaymentLinkCreateParams
,PaymentLinkUpdateParams
, andPaymentLink
transfer_group
onPaymentLink.payment_intent_data
,PaymentLinkCreateParams.payment_intent_data
, andPaymentLinkUpdateParams.payment_intent_data
trial_settings
onPaymentLink.subscription_data
,PaymentLinkCreateParams.subscription_data
, andPaymentLinkUpdateParams.subscription_data
v24.6.0
Climate.Order
,Climate.Product
, andClimate.Supplier
cancel
,create
,list
,retrieve
, andupdate
methods on resourceOrder
list
andretrieve
methods on resourcesProduct
andSupplier
created
oncheckout.SessionListParams
validate_location
onCustomerCreateParams.tax
andCustomerUpdateParams.tax
climate_order_purchase
andclimate_order_refund
on enumreporting.ReportRunCreateParams.parameters.reporting_category
climate.order.canceled
,climate.order.created
,climate.order.delayed
,climate.order.delivered
,climate.order.product_substituted
,climate.product.created
, andclimate.product.pricing_updated
on enumsWebhookEndpointCreateParams.enabled_events[]
andWebhookEndpointUpdateParams.enabled_events[]
v24.5.0
electronic_commerce_indicator
andtransaction_id
onCharge.payment_method_details.card.three_d_secure
andSetupAttempt.payment_method_details.card.three_d_secure
exemption_indicator_applied
andexemption_indicator
onCharge.payment_method_details.card.three_d_secure
three_d_secure
onPaymentIntentConfirmParams.payment_method_options.card
,PaymentIntentCreateParams.payment_method_options.card
,PaymentIntentUpdateParams.payment_method_options.card
,SetupIntentConfirmParams.payment_method_options.card
,SetupIntentCreateParams.payment_method_options.card
, andSetupIntentUpdateParams.payment_method_options.card
v24.4.0
offline
onCharge.payment_method_details.card_present
system_trace_audit_number
onIssuing.Authorization.network_data
transaction_id
onIssuing.Authorization.network_data
andIssuing.Transaction.network_data
network_risk_score
onIssuing.Authorization.pending_request
andIssuing.Authorization.request_history[]
requested_at
onIssuing.Authorization.request_history[]
authorization_code
onIssuing.Transaction.network_data
v24.3.0
status
oncheckout.SessionListParams
bacs_debit_payments
onAccountCreateParams.settings
andAccountUpdateParams.settings
service_user_number
onAccount.settings.bacs_debit_payments
capture_before
onCharge.payment_method_details.card
paypal
onCheckout.Session.payment_method_options
tax_amounts
onCreditNoteCreateParams.lines[]
,CreditNotePreviewLinesParams.lines[]
, andCreditNotePreviewParams.lines[]
network_data
onIssuing.Transaction
v24.2.0
metadata
onQuote.subscription_data
,QuoteCreateParams.subscription_data
, andQuoteUpdateParams.subscription_data
v24.1.0
Tax.Registration
revolut_pay
throughout the API.aba
andswift
onFundingInstructions.bank_transfer.financial_addresses[]
andPaymentIntent.next_action.display_bank_transfer_instructions.financial_addresses[]
url
onIssuing.Authorization.merchant_data
,Issuing.Transaction.merchant_data
,issuing.AuthorizationCreateParams.merchant_data
,issuing.TransactionCreateForceCaptureParams.merchant_data
, andissuing.TransactionCreateUnlinkedRefundParams.merchant_data
authentication_exemption
andthree_d_secure
onIssuing.Authorization.verification_data
andissuing.AuthorizationCreateParams.verification_data
description
onPaymentLink.payment_intent_data
,PaymentLinkCreateParams.payment_intent_data
, andPaymentLinkUpdateParams.payment_intent_data
unreconciled_customer_funds
on enumreporting.ReportRunCreateParams.parameters.reporting_category
v24.0.0
2023-10-16
. Please read the API Upgrade Guide and carefully review the API changes before upgradingstripe-java
.legal_guardian
onAccountPersonsParams.relationship
andTokenCreateParams.person.relationship
additional_tos_acceptances
onTokenCreateParams.person
2023-10-16
on enumWebhookEndpointCreateParams.api_version
v23.10.0
issuing_token.created
andissuing_token.updated
on enumsWebhookEndpointCreateParams.enabled_events[]
andWebhookEndpointUpdateParams.enabled_events[]
v23.9.0
redirect_on_completion
,return_url
, andui_mode
onCheckout.Session
andcheckout.SessionCreateParams
checkout.SessionCreateParams.success_url
to be optionalclient_secret
onCheckout.Session
postal_code
onIssuing.Authorization.verification_data
offline
onTerminal.Configuration
,terminal.ConfigurationCreateParams
, andterminal.ConfigurationUpdateParams
v23.8.0
Issuing.Token
list
,retrieve
, andupdate
methods on resourceToken
amount_authorized
,extended_authorization
,incremental_authorization
,multicapture
, andovercapture
onCharge.payment_method_details.card
token
onIssuing.Authorization
andIssuing.Transaction
authorization_code
onIssuing.Authorization.request_history[]
request_extended_authorization
,request_multicapture
, andrequest_overcapture
onPaymentIntent.payment_method_options.card
,PaymentIntentConfirmParams.payment_method_options.card
,PaymentIntentCreateParams.payment_method_options.card
, andPaymentIntentUpdateParams.payment_method_options.card
request_incremental_authorization
onPaymentIntent.payment_method_options.card
,PaymentIntentConfirmParams.payment_method_options.card_present
,PaymentIntentConfirmParams.payment_method_options.card
,PaymentIntentCreateParams.payment_method_options.card_present
,PaymentIntentCreateParams.payment_method_options.card
,PaymentIntentUpdateParams.payment_method_options.card_present
, andPaymentIntentUpdateParams.payment_method_options.card
final_capture
onPaymentIntentCaptureParams
metadata
onPaymentLink.payment_intent_data
,PaymentLink.subscription_data
,PaymentLinkCreateParams.payment_intent_data
, andPaymentLinkCreateParams.subscription_data
statement_descriptor_suffix
andstatement_descriptor
onPaymentLink.payment_intent_data
andPaymentLinkCreateParams.payment_intent_data
payment_intent_data
andsubscription_data
onPaymentLinkUpdateParams
v23.7.0
rendering
onInvoiceCreateParams
,InvoiceUpdateParams
, andInvoice
v23.6.0
terms_of_service_acceptance
onCheckout.Session.custom_text
,PaymentLink.custom_text
,PaymentLinkCreateParams.custom_text
,PaymentLinkUpdateParams.custom_text
, andcheckout.SessionCreateParams.custom_text
v23.5.0
PaymentMethodConfiguration
create
,list
,retrieve
, andupdate
methods on resourcePaymentMethodConfiguration
capture
,create
,expire
,increment
, andreverse
test helper methods on resourceIssuing.Authorization
create_force_capture
,create_unlinked_refund
, andrefund
test helper methods on resourceIssuing.Transaction
payment_method_configuration
onPaymentIntentCreateParams
,PaymentIntentUpdateParams
,SetupIntentCreateParams
,SetupIntentUpdateParams
, andcheckout.SessionCreateParams
payment_method_configuration_details
onCheckout.Session
,PaymentIntent
, andSetupIntent
nonce
onEphemeralKeyCreateParams
cashback_amount
onIssuing.Authorization.amount_details
,Issuing.Authorization.pending_request.amount_details
,Issuing.Authorization.request_history[].amount_details
, andIssuing.Transaction.amount_details
serial_number
onterminal.ReaderListParams
v23.4.0
PaymentMethodDomain
create
,list
,retrieve
,update
, andvalidate
methods on resourcePaymentMethodDomain
n26
on enumsPaymentIntentConfirmParams.payment_method_data.ideal.bank
,PaymentIntentCreateParams.payment_method_data.ideal.bank
,PaymentIntentUpdateParams.payment_method_data.ideal.bank
,PaymentMethodCreateParams.ideal.bank
,SetupIntentConfirmParams.payment_method_data.ideal.bank
,SetupIntentCreateParams.payment_method_data.ideal.bank
, andSetupIntentUpdateParams.payment_method_data.ideal.bank
features
onProductCreateParams
,ProductUpdateParams
, andProduct
invoiceitem.updated
from enumsWebhookEndpointCreateParams.enabled_events[]
andWebhookEndpointUpdateParams.enabled_events[]
v23.3.0
AccountSession
create
method on resourceAccountSession
application
onPaymentLink
obligation
on enumreporting.ReportRunCreateParams.parameters.reporting_category
v23.2.0
retention
onBillingPortal.Session.flow.subscription_cancel
andbillingportal.SessionCreateParams.flow_data.subscription_cancel
prefetch
onCheckout.Session.payment_method_options.us_bank_account.financial_connections
,FinancialConnections.Session
,Invoice.payment_settings.payment_method_options.us_bank_account.financial_connections
,InvoiceCreateParams.payment_settings.payment_method_options.us_bank_account.financial_connections
,InvoiceUpdateParams.payment_settings.payment_method_options.us_bank_account.financial_connections
,PaymentIntent.payment_method_options.us_bank_account.financial_connections
,PaymentIntentConfirmParams.payment_method_options.us_bank_account.financial_connections
,PaymentIntentCreateParams.payment_method_options.us_bank_account.financial_connections
,PaymentIntentUpdateParams.payment_method_options.us_bank_account.financial_connections
,SetupIntent.payment_method_options.us_bank_account.financial_connections
,SetupIntentConfirmParams.payment_method_options.us_bank_account.financial_connections
,SetupIntentCreateParams.payment_method_options.us_bank_account.financial_connections
,SetupIntentUpdateParams.payment_method_options.us_bank_account.financial_connections
,Subscription.payment_settings.payment_method_options.us_bank_account.financial_connections
,SubscriptionCreateParams.payment_settings.payment_method_options.us_bank_account.financial_connections
,SubscriptionUpdateParams.payment_settings.payment_method_options.us_bank_account.financial_connections
,checkout.SessionCreateParams.payment_method_options.us_bank_account.financial_connections
, andfinancialconnections.SessionCreateParams
payment_method_details
onDispute
PaymentIntentCreateParams.mandate_data
andSetupIntentCreateParams.mandate_data
fromsecret_key_param
toemptyStringable(secret_key_param)
PaymentIntentConfirmParams.mandate_data
andSetupIntentConfirmParams.mandate_data
fromsecret_key_param | client_key_param
toemptyStringable(secret_key_param | client_key_param)
balance_transaction
onCustomerCashBalanceTransaction.adjusted_for_overdraft
v23.1.1
v23.1.0
flat_amount
ontax.TransactionCreateReversalParams
v23.0.0
2023-08-16
. Please read the API Upgrade Guide and carefully review the API changes before upgradingstripe-java
."⚠️" symbol highlights breaking changes.
custom_account_update
andcustom_account_verification
from enumAccountLinkCreateParams.type
account_update
andaccount_onboarding
instead (see API reference).available_on
onBalanceTransactionListParams
.putExtraParam
if sending the parameter is still required.alternate_statement_descriptors
,destination
, anddispute
onCharge
shipping_rates
oncheckout.SessionCreateParams
shipping_options
instead.coupon
andtrial_from_plan
oncheckout.SessionCreateParams.subscription_data
.putExtraParam
if sending the parameter is still required.card_present
from enumsCustomerListPaymentMethodsParams.type
andPaymentMethodListParams.type
blik
onMandate.payment_method_details
,PaymentMethodUpdateParams
,SetupAttempt.payment_method_details
,SetupIntent.payment_method_options
,SetupIntentConfirmParams.payment_method_options
,SetupIntentCreateParams.payment_method_options
, andSetupIntentUpdateParams.payment_method_options
acss_debit
,affirm
,au_becs_debit
,bacs_debit
,cashapp
,sepa_debit
, andzip
onPaymentMethodUpdateParams
country
onPaymentMethod.link
recurring
onPriceUpdateParams
attributes
,caption
, anddeactivate_on
onProductCreateParams
,ProductUpdateParams
, andProduct
2023-08-16
on enumWebhookEndpointCreateParams.api_version
StripeClient
and the service-based pattern, a new interface for calling the Stripe API with many benefits over the existing resource-based paradigm.retrieve
before doing anupdate
.ApiResource.request()
,requestStream()
,requestCollection()
,requestSearchResult()
methods removed.StripeResponseGetter.oauthRequest(...)
was removed. OAuth requests are now performed viaStripeResponseGetter.request
withApiMode.OAuth
.ApiResource.className()
singleClassUrl()
,classUrl()
,instanceUrl()
,subresourceUrl()
methods removed.StripeResponseGetter.request(...)
,streamRequest(...)
signatures changed.BaseAddress
parameter added.url
renamed topath
and is a relative to the base addressapiMode
parameter added to control how request is sent and response is handled,V1
andOAuth
are supported values.RequestOptions.getReadTimeout()
,getConnectTimeout()
,getMaxNetworkRetries()
now returnInteger
instead ofint
.addFullNameAliase
renamed toaddFullNameAlias
inAccountCreateParams
,AccountUpdateParams
,PersonCollectionCreateParams
,TokenCreateParams
,PersonCollectionCreateParams
,PersonUpdateParams
.addLookupKeys
renamed toaddLookupKey
inPriceListParams
RequestOptions.getDefault()
does not apply global configuration options fromStripe
class, all fields are initialized tonull
.RequestOptionsBuilder
does not apply global configuration options fromStripe
class, all fields are initialized tonull
.v22.31.0
incorporated_partnership
andunincorporated_partnership
on enumsAccountCreateParams.company.structure
,AccountUpdateParams.company.structure
, andTokenCreateParams.account.company.structure
See the changelog for more details.
v22.30.0
string
toemptyStringable(string)
subscription_details
onInvoice
preferred_settlement_speed
onPaymentIntent.payment_method_options.us_bank_account
,PaymentIntentConfirmParams.payment_method_options.us_bank_account
,PaymentIntentCreateParams.payment_method_options.us_bank_account
, andPaymentIntentUpdateParams.payment_method_options.us_bank_account
sepa_debit_fingerprint
andus_bank_account_fingerprint
on enumradar.ValueListCreateParams.item_type
v22.29.0
monthly_estimated_revenue
onAccount.business_profile
,AccountCreateParams.business_profile
, andAccountUpdateParams.business_profile
v22.28.0
ro_tin
on enumsCustomerCreateParams.tax_id_data[].type
,InvoiceUpcomingLinesParams.customer_details.tax_ids[].type
,InvoiceUpcomingParams.customer_details.tax_ids[].type
, andtax.CalculationCreateParams.customer_details.tax_ids[].type
use_stripe_sdk
onSetupIntentConfirmParams
andSetupIntentCreateParams
service_tax
on enumsTaxRateCreateParams.tax_type
andTaxRateUpdateParams.tax_type
ro_tin
on enumsCustomerCreateParams.tax_id_data[].type
,InvoiceUpcomingLinesParams.customer_details.tax_ids[].type
,InvoiceUpcomingParams.customer_details.tax_ids[].type
, andtax.CalculationCreateParams.customer_details.tax_ids[].type
use_stripe_sdk
onSetupIntentConfirmParams
andSetupIntentCreateParams
service_tax
on enumsTaxRateCreateParams.tax_type
andTaxRateUpdateParams.tax_type
v22.27.0
Tax.Settings
retrieve
andupdate
methods on resourceSettings
order_id
onCharge.payment_method_details.afterpay_clearpay
allow_redirects
onPaymentIntent.automatic_payment_methods
,PaymentIntentCreateParams.automatic_payment_methods
,SetupIntent.automatic_payment_methods
, andSetupIntentCreateParams.automatic_payment_methods
product
onTax.TransactionLineItem
tax.settings.updated
on enumsWebhookEndpointCreateParams.enabled_events[]
andWebhookEndpointUpdateParams.enabled_events[]
v22.26.0
numeric
andtext
onPaymentLink.custom_fields[]
automatic_tax
onSubscriptionListParams
v22.24.0
on_behalf_of
onMandate
v22.23.1
Customer.retrievePaymentMethod
URL interpolationv22.23.0
taxability_reason
onTax.Calculation.tax_breakdown[]
v22.22.0
numeric
andtext
oncheckout.SessionCreateParams.custom_fields[]
,PaymentLinkCreateParams.custom_fields[]
, andPaymentLinkUpdateParams.custom_fields[]
aba
andswift
on enumscheckout.SessionCreateParams.payment_method_options.customer_balance.bank_transfer.requested_address_types[]
,PaymentIntentConfirmParams.payment_method_options.customer_balance.bank_transfer.requested_address_types[]
,PaymentIntentCreateParams.payment_method_options.customer_balance.bank_transfer.requested_address_types[]
, andPaymentIntentUpdateParams.payment_method_options.customer_balance.bank_transfer.requested_address_types[]
us_bank_transfer
on enumscheckout.SessionCreateParams.payment_method_options.customer_balance.bank_transfer.type
,CustomerCreateFundingInstructionsParams.bank_transfer.type
,PaymentIntentConfirmParams.payment_method_options.customer_balance.bank_transfer.type
,PaymentIntentCreateParams.payment_method_options.customer_balance.bank_transfer.type
, andPaymentIntentUpdateParams.payment_method_options.customer_balance.bank_transfer.type
maximum_length
andminimum_length
onCheckout.Session.custom_fields[].numeric
andCheckout.Session.custom_fields[].text
preferred_locales
onIssuing.Cardholder
,issuing.CardholderCreateParams
, andissuing.CardholderUpdateParams
description
,iin
, andissuer
onPaymentMethod.card_present
andPaymentMethod.interac_present
payer_email
onPaymentMethod.paypal
v22.21.0
zip_payments
onAccount.capabilities
,AccountCreateParams.capabilities
, andAccountUpdateParams.capabilities
zip
onCharge.payment_method_details
,PaymentIntent.payment_method_options
,PaymentIntentConfirmParams.payment_method_data
,PaymentIntentConfirmParams.payment_method_options
,PaymentIntentCreateParams.payment_method_data
,PaymentIntentCreateParams.payment_method_options
,PaymentIntentUpdateParams.payment_method_data
,PaymentIntentUpdateParams.payment_method_options
,PaymentMethodCreateParams
,PaymentMethodUpdateParams
,PaymentMethod
,SetupIntentConfirmParams.payment_method_data
,SetupIntentCreateParams.payment_method_data
, andSetupIntentUpdateParams.payment_method_data
zip
on enumscheckout.SessionCreateParams.payment_method_types[]
andPaymentMethodCreateParams.type
zip
on enumsCustomerListPaymentMethodsParams.type
andPaymentMethodListParams.type
zip
on enumsPaymentIntentConfirmParams.payment_method_data.type
,PaymentIntentCreateParams.payment_method_data.type
,PaymentIntentUpdateParams.payment_method_data.type
,SetupIntentConfirmParams.payment_method_data.type
,SetupIntentCreateParams.payment_method_data.type
, andSetupIntentUpdateParams.payment_method_data.type
v22.20.0
subscription_update_confirm
andsubscription_update
onBillingPortal.Session.flow
andbillingportal.SessionCreateParams.flow_data
subscription_update_confirm
andsubscription_update
on enumbillingportal.SessionCreateParams.flow_data.type
link
onCharge.payment_method_details.card.wallet
andPaymentMethod.card.wallet
buyer_id
andcashtag
onCharge.payment_method_details.cashapp
andPaymentMethod.cashapp
amusement_tax
andcommunications_tax
on enumsTaxRateCreateParams.tax_type
andTaxRateUpdateParams.tax_type
v22.19.0
paypal
onCharge.payment_method_details
,checkout.SessionCreateParams.payment_method_options
,Mandate.payment_method_details
,PaymentIntent.payment_method_options
,PaymentIntentConfirmParams.payment_method_data
,PaymentIntentConfirmParams.payment_method_options
,PaymentIntentCreateParams.payment_method_data
,PaymentIntentCreateParams.payment_method_options
,PaymentIntentUpdateParams.payment_method_data
,PaymentIntentUpdateParams.payment_method_options
,PaymentMethodCreateParams
,PaymentMethod
,SetupAttempt.payment_method_details
,SetupIntent.payment_method_options
,SetupIntentConfirmParams.payment_method_data
,SetupIntentConfirmParams.payment_method_options
,SetupIntentCreateParams.payment_method_data
,SetupIntentCreateParams.payment_method_options
,SetupIntentUpdateParams.payment_method_data
, andSetupIntentUpdateParams.payment_method_options
network_token
onCharge.payment_method_details.card
paypal
on enumscheckout.SessionCreateParams.payment_method_types[]
andPaymentMethodCreateParams.type
taxability_reason
andtaxable_amount
onCheckout.Session.shipping_cost.taxes[]
,Checkout.Session.total_details.breakdown.taxes[]
,CreditNote.shipping_cost.taxes[]
,CreditNote.tax_amounts[]
,Invoice.shipping_cost.taxes[]
,Invoice.total_tax_amounts[]
,LineItem.taxes[]
,Quote.computed.recurring.total_details.breakdown.taxes[]
,Quote.computed.upfront.total_details.breakdown.taxes[]
, andQuote.total_details.breakdown.taxes[]
paypal
on enumsCustomerListPaymentMethodsParams.type
andPaymentMethodListParams.type
paypal
on enumsInvoiceCreateParams.payment_settings.payment_method_types[]
,InvoiceUpdateParams.payment_settings.payment_method_types[]
,SubscriptionCreateParams.payment_settings.payment_method_types[]
, andSubscriptionUpdateParams.payment_settings.payment_method_types[]
paypal
on enumsPaymentIntentConfirmParams.payment_method_data.type
,PaymentIntentCreateParams.payment_method_data.type
,PaymentIntentUpdateParams.payment_method_data.type
,SetupIntentConfirmParams.payment_method_data.type
,SetupIntentCreateParams.payment_method_data.type
, andSetupIntentUpdateParams.payment_method_data.type
eftpos_au
on enumsPaymentIntentConfirmParams.payment_method_options.card.network
,PaymentIntentCreateParams.payment_method_options.card.network
,PaymentIntentUpdateParams.payment_method_options.card.network
,SetupIntentConfirmParams.payment_method_options.card.network
,SetupIntentCreateParams.payment_method_options.card.network
,SetupIntentUpdateParams.payment_method_options.card.network
,SubscriptionCreateParams.payment_settings.payment_method_options.card.network
, andSubscriptionUpdateParams.payment_settings.payment_method_options.card.network
paypal
on enumsPaymentLinkCreateParams.payment_method_types[]
andPaymentLinkUpdateParams.payment_method_types[]
brand
,cardholder_name
,country
,exp_month
,exp_year
,fingerprint
,funding
,last4
,networks
, andread_method
onPaymentMethod.card_present
andPaymentMethod.interac_present
preferred_locales
onPaymentMethod.interac_present
effective_percentage
onTaxRate
gb_bank_transfer
andjp_bank_transfer
onCustomerCashBalanceTransactions.funded.bank_transfer
v22.18.0
link
onCheckout.Session.payment_method_options
andcheckout.SessionCreateParams.payment_method_options
brand
,country
,description
,exp_month
,exp_year
,fingerprint
,funding
,iin
,issuer
,last4
,network
, andwallet
onSetupAttempt.payment_method_details.card
v22.17.0
billing_cycle_anchor
andproration_behavior
oncheckout.SessionCreateParams.subscription_data
terminal_id
onIssuing.Authorization.merchant_data
andIssuing.Transaction.merchant_data
metadata
onPaymentIntentCaptureParams
checks
onSetupAttempt.payment_method_details.card
tax_breakdown
onTax.Calculation.shipping_cost
andTax.Transaction.shipping_cost
v22.16.0
country
onPaymentMethod.link
status_details
onPaymentMethod.us_bank_account
v22.15.0
create
method on resourceTax.Transaction
createFromCalculation
method.export_license_id
andexport_purpose_code
onAccount.company
,AccountCreateParams.company
,AccountUpdateParams.company
, andTokenCreateParams.account.company
amount_tip
onterminal.ReaderPresentPaymentMethodParams
v22.14.0
Tax.CalculationLineItem
,Tax.Calculation
,Tax.TransactionLineItem
, andTax.Transaction
create
andlist_line_items
methods on resourceCalculation
create_from_calculation
,create_reversal
,create
,list_line_items
, andretrieve
methods on resourceTransaction
link
on enumcheckout.SessionCreateParams.payment_method_types[]
currency_conversion
onCheckout.Session
link
on enumsPaymentLinkCreateParams.payment_method_types[]
andPaymentLinkUpdateParams.payment_method_types[]
automatic_payment_methods
onSetupIntentCreateParams
andSetupIntent
v22.13.0
#1529 API Updates
cashapp_payments
onAccount.capabilities
,AccountCreateParams.capabilities
, andAccountUpdateParams.capabilities
future_requirements
andrequirements
onBankAccount
cashapp
as a new payment method type throughout the API.country
onCharge.payment_method_details.link
automatic_async
on enumscheckout.SessionCreateParams.payment_intent_data.capture_method
,PaymentIntentConfirmParams.capture_method
,PaymentIntentCreateParams.capture_method
,PaymentIntentUpdateParams.capture_method
, andPaymentLinkCreateParams.payment_intent_data.capture_method
preferred_locale
onPaymentIntent.payment_method_options.affirm
,PaymentIntentConfirmParams.payment_method_options.affirm
,PaymentIntentCreateParams.payment_method_options.affirm
, andPaymentIntentUpdateParams.payment_method_options.affirm
cashapp_handle_redirect_or_display_qr_code
onPaymentIntent.next_action
andSetupIntent.next_action
payout.reconciliation_completed
on enumsWebhookEndpointCreateParams.enabled_events[]
andWebhookEndpointUpdateParams.enabled_events[]
#1526 Update generated code (new)
Release specs are identical.
v22.12.0
card_issuing
onissuing.CardholderCreateParams.individual
andissuing.CardholderUpdateParams.individual
cancellation_details
onSubscriptionCancelParams
,SubscriptionUpdateParams
, andSubscription
v22.11.0
electric_vehicle_charging
,emergency_services_gcas_visa_use_only
,government_licensed_horse_dog_racing_us_region_only
,government_licensed_online_casions_online_gambling_us_region_only
,government_owned_lotteries_non_us_region
,government_owned_lotteries_us_region_only
, andmarketplaces
on enumsissuing.CardCreateParams.spending_controls.allowed_categories[]
,issuing.CardCreateParams.spending_controls.blocked_categories[]
,issuing.CardCreateParams.spending_controls.spending_limits[].categories[]
,issuing.CardUpdateParams.spending_controls.allowed_categories[]
,issuing.CardUpdateParams.spending_controls.blocked_categories[]
,issuing.CardUpdateParams.spending_controls.spending_limits[].categories[]
,issuing.CardholderCreateParams.spending_controls.allowed_categories[]
,issuing.CardholderCreateParams.spending_controls.blocked_categories[]
,issuing.CardholderCreateParams.spending_controls.spending_limits[].categories[]
,issuing.CardholderUpdateParams.spending_controls.allowed_categories[]
,issuing.CardholderUpdateParams.spending_controls.blocked_categories[]
, andissuing.CardholderUpdateParams.spending_controls.spending_limits[].categories[]
reconciliation_status
onPayout
lease_tax
on enumsTaxRateCreateParams.tax_type
andTaxRateUpdateParams.tax_type
v22.10.0
yoursafe
on enumsPaymentIntentConfirmParams.payment_method_data.ideal.bank
,PaymentIntentCreateParams.payment_method_data.ideal.bank
,PaymentIntentUpdateParams.payment_method_data.ideal.bank
,PaymentMethodCreateParams.ideal.bank
,SetupIntentConfirmParams.payment_method_data.ideal.bank
,SetupIntentCreateParams.payment_method_data.ideal.bank
, andSetupIntentUpdateParams.payment_method_data.ideal.bank
igst
on enumsTaxRateCreateParams.tax_type
andTaxRateUpdateParams.tax_type
v22.9.0
refund_payment
method on resourceTerminal.Reader
name
on enumsbillingportal.ConfigurationCreateParams.features.customer_update.allowed_updates[]
andbillingportal.ConfigurationUpdateParams.features.customer_update.allowed_updates[]
custom_fields
onCheckout.Session
,checkout.SessionCreateParams
,PaymentLinkCreateParams
,PaymentLinkUpdateParams
, andPaymentLink
interac_present
onterminal.ReaderPresentPaymentMethodParams
terminal.ReaderPresentPaymentMethodParams.type
fromliteral('card_present')
toenum('card_present'|'interac_present')
refund_payment
onTerminal.Reader.action
v22.8.0
resume
method on resourceSubscription
payment_link
oncheckout.SessionListParams
trial_settings
oncheckout.SessionCreateParams.subscription_data
,SubscriptionCreateParams
,SubscriptionUpdateParams
, andSubscription
shipping_cost
onCreditNoteCreateParams
,CreditNotePreviewLinesParams
,CreditNotePreviewParams
,CreditNote
,InvoiceCreateParams
,InvoiceUpdateParams
, andInvoice
amount_shipping
onCreditNote
andInvoice
shipping_details
onInvoiceCreateParams
,InvoiceUpdateParams
, andInvoice
subscription_resume_at
onInvoiceUpcomingLinesParams
andInvoiceUpcomingParams
issuing.CardholderCreateParams.individual.first_name
,issuing.CardholderCreateParams.individual.last_name
,issuing.CardholderUpdateParams.individual.first_name
, andissuing.CardholderUpdateParams.individual.last_name
to be optionalinvoice_creation
onPaymentLinkCreateParams
,PaymentLinkUpdateParams
, andPaymentLink
America/Ciudad_Juarez
on enumreporting.ReportRunCreateParams.parameters.timezone
paused
on enumSubscriptionListParams.status
customer.subscription.paused
andcustomer.subscription.resumed
on enumsWebhookEndpointCreateParams.enabled_events[]
andWebhookEndpointUpdateParams.enabled_events[]
v22.7.0
cs-CZ
,el-GR
,en-CZ
, anden-GR
on enumsPaymentIntentConfirmParams.payment_method_options.klarna.preferred_locale
,PaymentIntentCreateParams.payment_method_options.klarna.preferred_locale
, andPaymentIntentUpdateParams.payment_method_options.klarna.preferred_locale
v22.6.0
verification_session
onEphemeralKeyCreateParams
refund.created
andrefund.updated
on enumsWebhookEndpointCreateParams.enabled_events[]
andWebhookEndpointUpdateParams.enabled_events[]
v22.5.1
v22.5.0
card_issuing
onIssuing.Cardholder.individual
ApiResource.className
,ApiResource.singleClassUrl
,ApiResource.classUrl
,ApiResource.instanceUrl
, andApiResource.subresourceUrl
as deprecatedv22.4.0
merchant_default
on enumsCashBalanceUpdateParams.settings.reconciliation_mode
,CustomerCreateParams.cash_balance.settings.reconciliation_mode
, andCustomerUpdateParams.cash_balance.settings.reconciliation_mode
using_merchant_default
onCashBalance.settings
v22.3.0
CustomerListPaymentMethodsParams.type
andPaymentMethodListParams.type
.Customer.listPaymentMethods
.v22.2.0
flow_data
onbillingportal.SessionCreateParams
flow
onBillingPortal.Session
india_international_payments
onAccount.capabilities
,AccountCreateParams.capabilities
, andAccountUpdateParams.capabilities
invoice_creation
onCheckout.Session
andcheckout.SessionCreateParams
invoice
onCheckout.Session
metadata
onSubscriptionSchedule.phases[].items[]
,SubscriptionScheduleCreateParams.phases[].items[]
, andSubscriptionScheduleUpdateParams.phases[].items[]
v22.1.0
hosted_instructions_url
onPaymentIntent.next_action.wechat_pay_display_qr_code
custom_text
onCheckout.Session
,checkout.SessionCreateParams
,PaymentLinkCreateParams
,PaymentLinkUpdateParams
, andPaymentLink
hosted_instructions_url
onPaymentIntent.next_action.paynow_display_qr_code
v22.0.0
Breaking changes that arose during code generation of the library that we postponed for the next major version. For changes to the Stripe products, read more at https://stripe.com/docs/upgrades#2022-11-15.
"⚠️" symbol highlights breaking changes.
LineItem.Product
property that was released by mistake. (#1456)Charges
property onPaymentIntent
and replace it withLatestCharge
(#1473)Amount
,Currency
,Description
,Images
,Name
properties fromSessionCreateParams.LineItem
(#1473)tos_shown_and_accepted
oncheckout.SessionCreateParams.payment_method_options.paynow
(#1473)Sku
resource (#1459)EphemeralKey.associatedObjects
field. (#1470)RequestOptions.getStripeVersionOverride
,RequestOptions.setStripeVersionOverride
, andRequestOptions.clearStripeVersionOverride
(#1464)Use of
setStripeVersionOverride
is discouraged and can lead to unexpected errors during service calls because Java SDK class shapes are not guaranteed to match API responses on arbitrary versions.If you were using these methods in conjunction with
EphemeralKey
resource prefer theEphemeralKeyCreateParamsBuilder.setStripeVersion
.If you have a use case that requires per-request version overrides, please file an issue on stripe-java repository to ensure we are aware and can add first-class support for it. In the meantime you can use
unsafeSetStripeVersionOverride
method as a workaround.tos_shown_and_accepted
oncheckout.SessionCreateParams.payment_method_options.paynow
. The property was mistakenly released and never worked.v21.15.0
eg_tin
,ph_tin
, andtr_tin
on enumsCustomerCreateParams.tax_id_data[].type
,InvoiceUpcomingLinesParams.customer_details.tax_ids[].type
,InvoiceUpcomingParams.customer_details.tax_ids[].type
,OrderCreateParams.tax_details.tax_ids[].type
,OrderUpdateParams.tax_details.tax_ids[].type
, andTaxIdCreateParams.type
reason_message
onIssuing.Authorization.request_history[]
v21.14.0
on_behalf_of
oncheckout.SessionCreateParams.subscription_data
,SubscriptionCreateParams
,SubscriptionSchedule.default_settings
,SubscriptionSchedule.phases[]
,SubscriptionScheduleCreateParams.default_settings
,SubscriptionScheduleCreateParams.phases[]
,SubscriptionScheduleUpdateParams.default_settings
,SubscriptionScheduleUpdateParams.phases[]
,SubscriptionUpdateParams
, andSubscription
tax_behavior
andtax_code
onInvoiceItemCreateParams
,InvoiceItemUpdateParams
,InvoiceUpcomingLinesParams.invoice_items[]
, andInvoiceUpcomingParams.invoice_items[]
v21.13.0
jp_trn
andke_pin
on enumsCustomerCreateParams.tax_id_data[].type
,InvoiceUpcomingLinesParams.customer_details.tax_ids[].type
,InvoiceUpcomingParams.customer_details.tax_ids[].type
,OrderCreateParams.tax_details.tax_ids[].type
,OrderUpdateParams.tax_details.tax_ids[].type
, andTaxIdCreateParams.type
tipping
onTerminal.Reader.action.process_payment_intent.process_config
andterminal.ReaderProcessPaymentIntentParams.process_config
v21.12.0
request_log_url
onStripeError
network_data
onIssuing.Authorization
v21.11.0
bank_of_china
on enumsPaymentIntentConfirmParams.payment_method_data.fpx.bank
,PaymentIntentCreateParams.payment_method_data.fpx.bank
,PaymentIntentUpdateParams.payment_method_data.fpx.bank
,PaymentMethodCreateParams.fpx.bank
,SetupIntentConfirmParams.payment_method_data.fpx.bank
,SetupIntentCreateParams.payment_method_data.fpx.bank
, andSetupIntentUpdateParams.payment_method_data.fpx.bank
America/Nuuk
,Europe/Kyiv
, andPacific/Kanton
on enumreporting.ReportRunCreateParams.parameters.timezone
klarna
onSetupAttempt.payment_method_details
v21.10.0
created
onCheckout.Session
setup_future_usage
onPaymentIntent.payment_method_options.pix
,PaymentIntentConfirmParams.payment_method_options.pix
,PaymentIntentCreateParams.payment_method_options.pix
, andPaymentIntentUpdateParams.payment_method_options.pix
SessionCreateParams.subscription_data.items
(use theline_items
param instead). This will be removed in the next major version.v21.9.0
terms_of_service
onCheckout.Session.consent_collection
,Checkout.Session.consent
,checkout.SessionCreateParams.consent_collection
,PaymentLink.consent_collection
, andPaymentLinkCreateParams.consent_collection
plan
oncheckout.SessionCreateParams.payment_method_options.card.installments
. The property was mistakenly released and never worked.amount
onissuing.DisputeCreateParams
andissuing.DisputeUpdateParams
statement_descriptor
onPaymentIntentIncrementAuthorizationParams
upcomingLines
method toInvoice
resource.v21.8.0
pix
onCharge.payment_method_details
,Checkout.Session.payment_method_options
,checkout.SessionCreateParams.payment_method_options
,PaymentIntent.payment_method_options
,PaymentIntentConfirmParams.payment_method_data
,PaymentIntentConfirmParams.payment_method_options
,PaymentIntentCreateParams.payment_method_data
,PaymentIntentCreateParams.payment_method_options
,PaymentIntentUpdateParams.payment_method_data
,PaymentIntentUpdateParams.payment_method_options
,PaymentMethodCreateParams
,PaymentMethod
,SetupIntentConfirmParams.payment_method_data
,SetupIntentCreateParams.payment_method_data
, andSetupIntentUpdateParams.payment_method_data
pix
on enumcheckout.SessionCreateParams.payment_method_types[]
pix
on enumsCustomerListPaymentMethodsParams.type
andPaymentMethodListParams.type
from_invoice
onInvoiceCreateParams
andInvoice
latest_revision
onInvoice
pix
on enumsPaymentIntentConfirmParams.payment_method_data.type
,PaymentIntentCreateParams.payment_method_data.type
,PaymentIntentUpdateParams.payment_method_data.type
,SetupIntentConfirmParams.payment_method_data.type
,SetupIntentCreateParams.payment_method_data.type
, andSetupIntentUpdateParams.payment_method_data.type
pix_display_qr_code
onPaymentIntent.next_action
pix
on enumsPaymentLinkCreateParams.payment_method_types[]
andPaymentLinkUpdateParams.payment_method_types[]
pix
on enumPaymentMethodCreateParams.type
created
onTreasury.CreditReversal
andTreasury.DebitReversal
v21.7.0
require_signature
onIssuing.Card.shipping
andissuing.CardCreateParams.shipping
v21.6.0
terminal_reader_splashscreen
on enumFileListParams.purpose
LineItem.Discount.discount
to reference the correctDiscount
class (com.stripe.model.Discount
)v21.5.0
de-CH
,en-CH
,en-PL
,en-PT
,fr-CH
,it-CH
,pl-PL
, andpt-PT
on enumsOrderCreateParams.payment.settings.payment_method_options.klarna.preferred_locale
,OrderUpdateParams.payment.settings.payment_method_options.klarna.preferred_locale
,PaymentIntentConfirmParams.payment_method_options.klarna.preferred_locale
,PaymentIntentCreateParams.payment_method_options.klarna.preferred_locale
, andPaymentIntentUpdateParams.payment_method_options.klarna.preferred_locale
description
onPaymentLink.subscription_data
andPaymentLinkCreateParams.subscription_data
v21.4.0
login_page
onBillingPortal.Configuration
,billingportal.ConfigurationCreateParams
, andbillingportal.ConfigurationUpdateParams
customs
andphone_number
onIssuing.Card.shipping
andissuing.CardCreateParams.shipping
deutsche_bank_ag
on enumsPaymentIntentConfirmParams.payment_method_data.eps.bank
,PaymentIntentCreateParams.payment_method_data.eps.bank
,PaymentIntentUpdateParams.payment_method_data.eps.bank
,PaymentMethodCreateParams.eps.bank
,SetupIntentConfirmParams.payment_method_data.eps.bank
,SetupIntentCreateParams.payment_method_data.eps.bank
, andSetupIntentUpdateParams.payment_method_data.eps.bank
description
onQuote.subscription_data
,QuoteCreateParams.subscription_data
,QuoteUpdateParams.subscription_data
,SubscriptionSchedule.default_settings
,SubscriptionSchedule.phases[]
,SubscriptionScheduleCreateParams.default_settings
,SubscriptionScheduleCreateParams.phases[]
,SubscriptionScheduleUpdateParams.default_settings
, andSubscriptionScheduleUpdateParams.phases[]
v21.3.0
CustomerCashBalanceTransaction
paypal
from enumsOrderCreateParams.payment.settings.payment_method_types[]
andOrderUpdateParams.payment.settings.payment_method_types[]
currency
onPaymentLink
network
onSetupIntentConfirmParams.payment_method_options.card
,SetupIntentCreateParams.payment_method_options.card
,SetupIntentUpdateParams.payment_method_options.card
,Subscription.payment_settings.payment_method_options.card
,SubscriptionCreateParams.payment_settings.payment_method_options.card
, andSubscriptionUpdateParams.payment_settings.payment_method_options.card
treasury.OutboundTransferCreateParams.destination_payment_method
to be optionalcustomer_cash_balance_transaction.created
on enumsWebhookEndpointCreateParams.enabled_events[]
andWebhookEndpointUpdateParams.enabled_events[]
Customer.fundCashBalance
test helper fromCustomerBalanceTransaction
toCustomerCashBalanceTransaction
.v21.2.0
#1416 API Updates
payment_method_collection
onCheckout.Session
,checkout.SessionCreateParams
,PaymentLinkCreateParams
,PaymentLinkUpdateParams
, andPaymentLink
#1414 Stop publishing javadoc for beta Java SDKs
v21.1.0
process_config
onTerminal.Reader.action.process_payment_intent
expires_at
onApps.Secret
andapps.SecretCreateParams
v21.0.0
This release includes breaking changes resulting from:
"⚠️" symbol highlights breaking changes.
Added
ApiKeyMissingException
.validate
field toCustomerCreateParams
.validate
field toCustomerUpdateParams
.validate
field toPaymentSourceCollectionCreateParams
.shippingCost
,shippingDetails
, andshippingOptions
properties tocheckout.Session
resource.shipping_cost
andshipping_details
onCheckout.Session
2022-08-01
on enumWebhookEndpointCreateParams.api_version
⚠️ Removed
AlipayAccount
and related classes.BitcoinReceiver
and related classes.BitcoinTransaction
and related classes.Recipient
and related classes.IssuerFraudRecord
and related classes.Order
and related classes.ThreeDSecure
and related classes.QuoteFinalizeParams
,QuoteCollectionListParams
classes.BillingDetails
class.CashBalance.retrieveCashBalance
method. PreferCashBalance.retrieve
.Rule.getDeleted
method. The property was never populated and always had the default value offalse
.LineItem.getDeleted
method. The property was never populated and always had the default value offalse
.TestHelper
inner classes and made them static.Account.refresh
,Account.disconnect
methods.TREASURY__RECEIVED_CREDIT__REVERSED
,TREASURY__RECEIVED_DEBIT__CREATED
,ORDER__UPDATED
,ORDER_RETURN__CREATED
,ORDER__PAYMENT_SUCCEEDED
,TRANSFER__FAILED
,TRANSFER__PAID
webhook events.LoginLink.redirectUrl
property.Charge.order
property.Card.recipient
property.defaultCurrency
property fromCustomer
resource. Please useCurrency
property instead.shipping
andshippingOptions
properties fromcheckout.Session
resource. Please useshippingCost
,shippingDetails
, andshippingOptions
properties instead.InitiatingPaymentMethodDetails
class⚠️ Changed
CashBalance.retrieve
method from an instance to a static.PaymentIntent.FinancialAddresses
class toFinancialAddress
.StripeCollection.autoPagingIterable
andStripeSearchResult.autoPagingIterable
, and throw an exception if it is not.businessType
field inAccountCreateParams
fromObject
toBusinessType
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.
This PR has been generated by Renovate Bot.