Skip to content

Releases: stripe/stripe-go

v81.2.0-beta.1

21 Nov 21:12
Compare
Choose a tag to compare
v81.2.0-beta.1 Pre-release
Pre-release
  • #1952 Update generated code for beta
    • Add support for NetworkAdviceCode and NetworkDeclineCode on ChargeOutcome, InvoiceLastFinalizationError, PaymentIntentLastPaymentError, SetupAttemptSetupError, SetupIntentLastSetupError, and StripeError
    • Add support for Funding on ChargePaymentMethodDetailsAmazonPay and ChargePaymentMethodDetailsRevolutPay
    • Add support for AmountRequested and PartialAuthorization on ChargePaymentMethodDetailsCard
    • Add support for Metadata on CheckoutSessionLineItemsParams and LineItem
    • Add support for LineItems on CheckoutSessionParams, CheckoutSessionPermissionsUpdateParams, and CheckoutSessionPermissionsUpdate
    • Add support for new value invoice.overpaid on enum EventType
    • Add support for AdjustableQuantity and Display on LineItem
    • Add support for RequestPartialAuthorization on PaymentIntentConfirmPaymentMethodOptionsCardParams, PaymentIntentPaymentMethodOptionsCardParams, and PaymentIntentPaymentMethodOptionsCard
    • Add support for PaymentMethodOptions on PaymentIntentIncrementAuthorizationParams

See the changelog for more details.

v81.1.0

20 Nov 23:29
Compare
Choose a tag to compare
  • #1951 This release changes the pinned API version to 2024-11-20.acacia.
    • Add support for Respond test helper method on resource Issuing.Authorization
    • Add support for Authorizer on AccountPersonsRelationshipParams and TokenPersonRelationshipParams
    • Change type of AccountFutureRequirementsDisabledReason and AccountRequirementsDisabledReason from string to enum
    • Add support for AdaptivePricing on CheckoutSessionParams and CheckoutSession
    • Add support for MandateOptions on CheckoutSessionPaymentMethodOptionsBacsDebitParams, CheckoutSessionPaymentMethodOptionsBacsDebit, CheckoutSessionPaymentMethodOptionsSepaDebitParams, and CheckoutSessionPaymentMethodOptionsSepaDebit
    • Add support for RequestExtendedAuthorization, RequestIncrementalAuthorization, RequestMulticapture, and RequestOvercapture on CheckoutSessionPaymentMethodOptionsCardParams and CheckoutSessionPaymentMethodOptionsCard
    • Add support for CaptureMethod on CheckoutSessionPaymentMethodOptionsKakaoPayParams, CheckoutSessionPaymentMethodOptionsKrCardParams, CheckoutSessionPaymentMethodOptionsNaverPayParams, CheckoutSessionPaymentMethodOptionsPaycoParams, and CheckoutSessionPaymentMethodOptionsSamsungPayParams
    • Add support for new value li_vat on enums CheckoutSessionCustomerDetailsTaxIdsType, InvoiceCustomerTaxIdsType, TaxCalculationCustomerDetailsTaxIdsType, TaxIdType, and TaxTransactionCustomerDetailsTaxIdsType
    • Add support for new value subscribe on enums CheckoutSessionSubmitType and PaymentLinkSubmitType
    • Add support for new value financial_account_statement on enum FilePurpose
    • Add support for AccountHolderAddress, AccountHolderName, AccountType, and BankAddress on FundingInstructionsBankTransferFinancialAddressesAba, FundingInstructionsBankTransferFinancialAddressesSwift, PaymentIntentNextActionDisplayBankTransferInstructionsFinancialAddressesAba, and PaymentIntentNextActionDisplayBankTransferInstructionsFinancialAddressesSwift
    • Add support for MerchantAmount and MerchantCurrency on IssuingAuthorizationParams
    • Add support for FraudChallenges and VerifiedByFraudChallenge on IssuingAuthorization
    • Add support for new value link on enums PaymentIntentPaymentMethodOptionsCardNetwork, SetupIntentPaymentMethodOptionsCardNetwork, and SubscriptionPaymentSettingsPaymentMethodOptionsCardNetwork
    • Add support for SubmitType on PaymentLinkParams
    • Add support for TraceID on Payout
    • Add support for NetworkDeclineCode on RefundDestinationDetailsBlik and RefundDestinationDetailsSwish
    • Add support for new value service_tax on enums TaxCalculationLineItemTaxBreakdownTaxRateDetailsTaxType, TaxCalculationShippingCostTaxBreakdownTaxRateDetailsTaxType, TaxCalculationTaxBreakdownTaxRateDetailsTaxType, TaxRateTaxType, and TaxTransactionShippingCostTaxBreakdownTaxRateDetailsTaxType

See the changelog for more details.

v81.1.0-beta.3

15 Nov 00:01
Compare
Choose a tag to compare
v81.1.0-beta.3 Pre-release
Pre-release
  • #1950 Update generated code for beta
    • Add support for AccountHolderAddress and BankAddress on FundingInstructionsBankTransferFinancialAddressesIban, FundingInstructionsBankTransferFinancialAddressesSortCode, FundingInstructionsBankTransferFinancialAddressesSpei, FundingInstructionsBankTransferFinancialAddressesZengin, PaymentIntentNextActionDisplayBankTransferInstructionsFinancialAddressesIban, PaymentIntentNextActionDisplayBankTransferInstructionsFinancialAddressesSortCode, PaymentIntentNextActionDisplayBankTransferInstructionsFinancialAddressesSpei, and PaymentIntentNextActionDisplayBankTransferInstructionsFinancialAddressesZengin
    • Add support for AccountHolderName on FundingInstructionsBankTransferFinancialAddressesSpei and PaymentIntentNextActionDisplayBankTransferInstructionsFinancialAddressesSpei

See the changelog for more details.

v81.1.0-beta.2

07 Nov 22:12
Compare
Choose a tag to compare
v81.1.0-beta.2 Pre-release
Pre-release
  • #1949 Update generated code for beta
    • Add support for new resources Issuing.FraudLiabilityDebit, PaymentAttemptRecord, and PaymentRecord
    • Add support for Get and List methods on resources FraudLiabilityDebit and PaymentAttemptRecord
    • Add support for Get, ReportPaymentAttemptCanceled, ReportPaymentAttemptFailed, ReportPaymentAttemptGuaranteed, ReportPaymentAttempt, and ReportPayment methods on resource PaymentRecord
    • Change type of AccountFutureRequirementsDisabledReason and AccountRequirementsDisabledReason from string to enum
    • Remove support for MoneyMovement on AccountSessionComponentsFinancialAccountFeaturesParams
    • Add support for CardManagement, CardSpendDisputeManagement, CardholderManagement, and SpendControlManagement on AccountSessionComponentsIssuingCardFeaturesParams
    • Add support for DisableStripeUserAuthentication on AccountSessionComponentsIssuingCardsListFeaturesParams
    • Add support for AdaptivePricing on CheckoutSessionParams and CheckoutSession
    • Add support for MandateOptions on CheckoutSessionPaymentMethodOptionsBacsDebitParams, CheckoutSessionPaymentMethodOptionsBacsDebit, CheckoutSessionPaymentMethodOptionsSepaDebitParams, and CheckoutSessionPaymentMethodOptionsSepaDebit
    • Add support for RequestDecrementalAuthorization, RequestExtendedAuthorization, RequestIncrementalAuthorization, RequestMulticapture, and RequestOvercapture on CheckoutSessionPaymentMethodOptionsCardParams and CheckoutSessionPaymentMethodOptionsCard
    • Add support for CaptureMethod on CheckoutSessionPaymentMethodOptionsKakaoPayParams, CheckoutSessionPaymentMethodOptionsKrCardParams, CheckoutSessionPaymentMethodOptionsNaverPayParams, CheckoutSessionPaymentMethodOptionsPaycoParams, and CheckoutSessionPaymentMethodOptionsSamsungPayParams
    • Add support for new value li_vat on enums CheckoutSessionCollectedInformationTaxIdsType, CheckoutSessionCustomerDetailsTaxIdsType, InvoiceCustomerTaxIdsType, OrderTaxDetailsTaxIdsType, TaxCalculationCustomerDetailsTaxIdsType, TaxIdType, and TaxTransactionCustomerDetailsTaxIdsType
    • Add support for new values invoice.payment_attempt_required and issuing_fraud_liability_debit.created on enum EventType
    • Add support for AccountHolderAddress, AccountHolderName, AccountType, and BankAddress on FundingInstructionsBankTransferFinancialAddressesAba, FundingInstructionsBankTransferFinancialAddressesSwift, PaymentIntentNextActionDisplayBankTransferInstructionsFinancialAddressesAba, and PaymentIntentNextActionDisplayBankTransferInstructionsFinancialAddressesSwift
    • Add support for PaymentRecordData and PaymentRecord on InvoiceAttachPaymentParams
    • Remove support for OutOfBandPayment on InvoiceAttachPaymentParams
    • Add support for AmountOverpaid on Invoice
    • Add support for new value custom on enums InvoicePaymentSettingsPaymentMethodTypes and SubscriptionPaymentSettingsPaymentMethodTypes
    • Add support for MerchantAmount and MerchantCurrency on IssuingAuthorizationParams
    • Add support for new value link on enums PaymentIntentPaymentMethodOptionsCardNetwork, SetupIntentPaymentMethodOptionsCardNetwork, and SubscriptionPaymentSettingsPaymentMethodOptionsCardNetwork
    • Add support for SubmitType on PaymentLinkParams
    • Add support for new value service_tax on enums TaxCalculationLineItemTaxBreakdownTaxRateDetailsTaxType, TaxCalculationShippingCostTaxBreakdownTaxRateDetailsTaxType, TaxCalculationTaxBreakdownTaxRateDetailsTaxType, TaxRateTaxType, and TaxTransactionShippingCostTaxBreakdownTaxRateDetailsTaxType

See the changelog for more details.

v81.1.0-beta.1

29 Oct 23:07
Compare
Choose a tag to compare
v81.1.0-beta.1 Pre-release
Pre-release
  • #1945 Update generated code for beta
    • Add support for TriggerAction method on resource PaymentIntent
    • Add support for IDBankTransferPaymentsBca and IDBankTransferPayments on AccountCapabilitiesParams and AccountCapabilities
    • Add support for BankBcaOnboarding on AccountSettingsParams and AccountSettings
    • Add support for SendMoney on AccountSessionComponentsRecipientsFeaturesParams
    • Remove support for value payout_statement_descriptor_profanity from enums InvoiceLastFinalizationErrorCode, PaymentIntentLastPaymentErrorCode, SetupAttemptSetupErrorCode, SetupIntentLastSetupErrorCode, and StripeErrorCode
    • Add support for IDBankTransfer on ChargePaymentMethodDetails, ConfirmationTokenPaymentMethodDataParams, ConfirmationTokenPaymentMethodPreview, InvoicePaymentSettingsPaymentMethodOptionsParams, InvoicePaymentSettingsPaymentMethodOptions, PaymentIntentConfirmPaymentMethodDataParams, PaymentIntentConfirmPaymentMethodOptionsParams, PaymentIntentPaymentMethodDataParams, PaymentIntentPaymentMethodOptionsParams, PaymentIntentPaymentMethodOptions, PaymentMethodConfigurationParams, PaymentMethodConfiguration, PaymentMethodParams, PaymentMethod, RefundDestinationDetails, SetupAttemptPaymentMethodDetails, SetupIntentConfirmPaymentMethodDataParams, SetupIntentPaymentMethodDataParams, SubscriptionPaymentSettingsPaymentMethodOptionsParams, and SubscriptionPaymentSettingsPaymentMethodOptions
    • Add support for Gopay, Qris, and Shopeepay on PaymentMethodConfigurationParams and PaymentMethodConfiguration
  • #1941 Do not allow setting API Version directly
    • stripe.APIVersion is no longer settable. If you were using this to set the beta headers, use the helper method stripe.AddBetaVersion() instead.

See the changelog for more details.

v81.0.0

29 Oct 21:27
Compare
Choose a tag to compare

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 (like acacia) without upgrading the SDK.

However, a bug in the 80.x.y SDK releases meant that webhook version upgrades from the SDK's pinned 2024-09-30.acacia version to the new 2024-10-28.acacia version would fail. Therefore, we are shipping SDK support for 2024-10-28.acacia as a major version to enforce the idea that an SDK upgrade is also required. Future API versions in the acacia line will be released as minor versions.

  • #1931 This release changes the pinned API version to 2024-10-28.acacia.
    • Add support for new resource V2.EventDestinations
    • Add support for New, Retrieve, Update, List, Delete, Disable, Enable and Ping methods on resource V2.EventDestinations
    • Add support for SubmitCard test helper method on resource Issuing.Card
    • Add support for Groups on AccountParams and Account
    • Add support for AlmaPayments, KakaoPayPayments, KrCardPayments, NaverPayPayments, PaycoPayments, and SamsungPayPayments on AccountCapabilitiesParams and AccountCapabilities
    • Add support for DisableStripeUserAuthentication on AccountSessionComponentsAccountManagementFeaturesParams, AccountSessionComponentsAccountManagementFeatures, AccountSessionComponentsAccountOnboardingFeaturesParams, AccountSessionComponentsAccountOnboardingFeatures, AccountSessionComponentsBalancesFeaturesParams, AccountSessionComponentsBalancesFeatures, AccountSessionComponentsNotificationBannerFeaturesParams, AccountSessionComponentsNotificationBannerFeatures, AccountSessionComponentsPayoutsFeaturesParams, and AccountSessionComponentsPayoutsFeatures
    • Add support for ScheduleAtPeriodEnd on BillingPortalConfigurationFeaturesSubscriptionUpdateParams and BillingPortalConfigurationFeaturesSubscriptionUpdate
    • Add support for Alma on ChargePaymentMethodDetails, ConfirmationTokenPaymentMethodDataParams, ConfirmationTokenPaymentMethodPreview, PaymentIntentConfirmPaymentMethodDataParams, PaymentIntentConfirmPaymentMethodOptionsParams, PaymentIntentPaymentMethodDataParams, PaymentIntentPaymentMethodOptionsParams, PaymentIntentPaymentMethodOptions, PaymentMethodConfigurationParams, PaymentMethodConfiguration, PaymentMethodParams, PaymentMethod, RefundDestinationDetails, SetupIntentConfirmPaymentMethodDataParams, and SetupIntentPaymentMethodDataParams
    • Add support for KakaoPay and KrCard on ChargePaymentMethodDetails, CheckoutSessionPaymentMethodOptionsParams, CheckoutSessionPaymentMethodOptions, ConfirmationTokenPaymentMethodDataParams, ConfirmationTokenPaymentMethodPreview, MandatePaymentMethodDetails, PaymentIntentConfirmPaymentMethodDataParams, PaymentIntentConfirmPaymentMethodOptionsParams, PaymentIntentPaymentMethodDataParams, PaymentIntentPaymentMethodOptionsParams, PaymentIntentPaymentMethodOptions, PaymentMethodParams, PaymentMethod, SetupAttemptPaymentMethodDetails, SetupIntentConfirmPaymentMethodDataParams, and SetupIntentPaymentMethodDataParams
    • Add support for NaverPay on ChargePaymentMethodDetails, CheckoutSessionPaymentMethodOptionsParams, CheckoutSessionPaymentMethodOptions, ConfirmationTokenPaymentMethodDataParams, ConfirmationTokenPaymentMethodPreview, PaymentIntentConfirmPaymentMethodDataParams, PaymentIntentConfirmPaymentMethodOptionsParams, PaymentIntentPaymentMethodDataParams, PaymentIntentPaymentMethodOptionsParams, PaymentIntentPaymentMethodOptions, PaymentMethodParams, PaymentMethod, SetupIntentConfirmPaymentMethodDataParams, and SetupIntentPaymentMethodDataParams
    • Add support for Payco and SamsungPay on ChargePaymentMethodDetails, CheckoutSessionPaymentMethodOptionsParams, CheckoutSessionPaymentMethodOptions, ConfirmationTokenPaymentMethodDataParams, ConfirmationTokenPaymentMethodPreview, PaymentIntentConfirmPaymentMethodDataParams, PaymentIntentConfirmPaymentMethodOptionsParams, PaymentIntentPaymentMethodDataParams, PaymentIntentPaymentMethodOptionsParams, PaymentIntentPaymentMethodOptions, PaymentMethodParams, PaymentMethod, SetupIntentConfirmPaymentMethodDataParams, and SetupIntentPaymentMethodDataParams
    • Add support for new values by_tin, ma_vat, md_vat, tz_vat, uz_tin, and uz_vat on enums CheckoutSessionCustomerDetailsTaxIdsType, InvoiceCustomerTaxIdsType, TaxCalculationCustomerDetailsTaxIdsType, TaxIdType, and TaxTransactionCustomerDetailsTaxIdsType
    • Add support for new values alma, kakao_pay, kr_card, naver_pay, payco, and samsung_pay on enums ConfirmationTokenPaymentMethodPreviewType and PaymentMethodType
    • Add support for EnhancedEvidence on DisputeEvidenceParams and DisputeEvidence
    • Add support for EnhancedEligibilityTypes on Dispute
    • Add support for EnhancedEligibility on DisputeEvidenceDetails
    • Add support for new values issuing_transaction.purchase_details_receipt_updated and refund.failed on enum EventType
    • Add support for Metadata on ForwardingRequestParams and ForwardingRequest
    • Add support for AutomaticallyFinalizesAt on InvoiceParams
    • Add support for new values jp_credit_transfer, kakao_pay, kr_card, naver_pay, and payco on enums InvoicePaymentSettingsPaymentMethodTypes and SubscriptionPaymentSettingsPaymentMethodTypes
    • Add support for new value alma on enum PaymentLinkPaymentMethodTypes
    • Add support for AmazonPay on PaymentMethodDomain
    • Change type of RefundNextActionDisplayDetails from nullable(RefundNextActionDisplayDetails) to RefundNextActionDisplayDetails
    • Add support for new value retail_delivery_fee on enums TaxCalculationLineItemTaxBreakdownTaxRateDetailsTaxType, TaxCalculationShippingCostTaxBreakdownTaxRateDetailsTaxType, TaxCalculationTaxBreakdownTaxRateDetailsTaxType, TaxRateTaxType, and TaxTransactionShippingCostTaxBreakdownTaxRateDetailsTaxType
    • Add support for FlatAmount and RateType on TaxCalculationTaxBreakdownTaxRateDetails and TaxRate
    • Add support for By, Cr, Ec, Ma, Md, RU, Rs, Tz, and Uz on TaxRegistrationCountryOptionsParams and TaxRegistrationCountryOptions
    • Add support for new value state_retail_delivery_fee on enum TaxRegistrationCountryOptionsUsType
    • Add support for Pln on TerminalConfigurationTippingParams and TerminalConfigurationTipping

See the changelog for more details.

v80.2.1

29 Oct 16:39
Compare
Choose a tag to compare
  • #1940 Update webhook API version validation
    • Update webhook event processing to accept events from any API version within the supported major release

See the changelog for more details.

v80.3.0-beta.1

18 Oct 19:03
Compare
Choose a tag to compare
v80.3.0-beta.1 Pre-release
Pre-release
  • #1934 Update generated code for beta
    • Add support for AlmaPayments, GopayPayments, KakaoPayPayments, KrCardPayments, NaverPayPayments, PaycoPayments, QrisPayments, SamsungPayPayments, ShopeepayPayments, TreasuryEvolve, TreasuryFifthThird, and TreasuryGoldmanSachs on AccountCapabilitiesParams and AccountCapabilities
    • Add support for ScheduleAtPeriodEnd on BillingPortalConfigurationFeaturesSubscriptionUpdateParams and BillingPortalConfigurationFeaturesSubscriptionUpdate
    • Add support for Alma on ChargePaymentMethodDetails, ConfirmationTokenPaymentMethodDataParams, ConfirmationTokenPaymentMethodPreview, PaymentIntentConfirmPaymentMethodDataParams, PaymentIntentConfirmPaymentMethodOptionsParams, PaymentIntentPaymentMethodDataParams, PaymentIntentPaymentMethodOptionsParams, PaymentIntentPaymentMethodOptions, PaymentMethodConfigurationParams, PaymentMethodConfiguration, PaymentMethodParams, PaymentMethod, RefundDestinationDetails, SetupIntentConfirmPaymentMethodDataParams, and SetupIntentPaymentMethodDataParams
    • Add support for Gopay, Qris, and Shopeepay on ChargePaymentMethodDetails, ConfirmationTokenPaymentMethodDataParams, ConfirmationTokenPaymentMethodPreview, PaymentIntentConfirmPaymentMethodDataParams, PaymentIntentConfirmPaymentMethodOptionsParams, PaymentIntentPaymentMethodDataParams, PaymentIntentPaymentMethodOptionsParams, PaymentIntentPaymentMethodOptions, PaymentMethodParams, PaymentMethod, SetupIntentConfirmPaymentMethodDataParams, and SetupIntentPaymentMethodDataParams
    • Add support for new values alma, gopay, qris, and shopeepay on enums ConfirmationTokenPaymentMethodPreviewType and PaymentMethodType
    • Add support for Metadata on ForwardingRequestParams
    • Add support for new values jp_credit_transfer, kakao_pay, kr_card, naver_pay, and payco on enums InvoicePaymentSettingsPaymentMethodTypes and SubscriptionPaymentSettingsPaymentMethodTypes
    • Remove support for value expired from enum IssuingAuthorizationStatus
    • Add support for new values alma, gopay, qris, and shopeepay on enum PaymentLinkPaymentMethodTypes
    • Add support for AmazonPay on PaymentMethodDomain
    • Add support for ExternalReference on TaxFormListPayeeParams and TaxFormPayee
    • Change type of TaxFormListPayeeTypeParams and TaxFormPayeeType from literal('account') to enum('account'|'external_reference')
    • Add support for AuSerr, CaMrdp, EUDac7, GBMrdp, and NzMrdp on TaxForm
    • Add support for new values au_serr, ca_mrdp, eu_dac7, gb_mrdp, and nz_mrdp on enum TaxFormType
    • Add support for Pln on TerminalConfigurationTippingParams and TerminalConfigurationTipping
    • Add support for Bank on TreasuryFinancialAccountFeaturesFinancialAddressesAbaParams, TreasuryFinancialAccountFeaturesFinancialAddressesAba, and TreasuryFinancialAccountUpdateFeaturesFinancialAddressesAbaParams

See the changelog for more details.

v80.2.0

09 Oct 21:56
Compare
Choose a tag to compare
  • #1929, #1933 Remove rawrequests Post, Get, and Delete in favor of rawrequests.Client
    • The individual rawrequests functions for Post, Get, and Delete methods are removed in favor of the client model which allows local configuration of backend and api key, which enables more flexible calls to new/preview/unsupported APIs.

See the changelog for more details.

v80.2.0-beta.2

08 Oct 19:26
Compare
Choose a tag to compare
v80.2.0-beta.2 Pre-release
Pre-release
  • #1932 Update generated code for beta
    • Add support for SubmitCard test helper method on resource Issuing.Card
    • Add support for Groups on AccountParams and Account
    • Add support for DisableStripeUserAuthentication on AccountSessionComponentsAccountManagementFeaturesParams, AccountSessionComponentsAccountManagementFeatures, AccountSessionComponentsAccountOnboardingFeaturesParams, AccountSessionComponentsAccountOnboardingFeatures, AccountSessionComponentsBalancesFeaturesParams, AccountSessionComponentsBalancesFeatures, AccountSessionComponentsFinancialAccountFeaturesParams, AccountSessionComponentsNotificationBannerFeaturesParams, AccountSessionComponentsNotificationBannerFeatures, AccountSessionComponentsPayoutsFeaturesParams, and AccountSessionComponentsPayoutsFeatures
    • Add support for CardSpendDisputeManagement and SpendControlManagement on AccountSessionComponentsIssuingCardsListFeaturesParams
    • Add support for new value payout_statement_descriptor_profanity on enums InvoiceLastFinalizationErrorCode, PaymentIntentLastPaymentErrorCode, SetupAttemptSetupErrorCode, SetupIntentLastSetupErrorCode, and StripeErrorCode
    • Add support for KakaoPay and KrCard on ChargePaymentMethodDetails, ConfirmationTokenPaymentMethodDataParams, ConfirmationTokenPaymentMethodPreview, MandatePaymentMethodDetails, PaymentIntentConfirmPaymentMethodDataParams, PaymentIntentConfirmPaymentMethodOptionsParams, PaymentIntentPaymentMethodDataParams, PaymentIntentPaymentMethodOptionsParams, PaymentIntentPaymentMethodOptions, PaymentMethodParams, PaymentMethod, SetupAttemptPaymentMethodDetails, SetupIntentConfirmPaymentMethodDataParams, and SetupIntentPaymentMethodDataParams
    • Add support for NaverPay on ChargePaymentMethodDetails, ConfirmationTokenPaymentMethodDataParams, ConfirmationTokenPaymentMethodPreview, PaymentIntentConfirmPaymentMethodDataParams, PaymentIntentConfirmPaymentMethodOptionsParams, PaymentIntentPaymentMethodDataParams, PaymentIntentPaymentMethodOptionsParams, PaymentIntentPaymentMethodOptions, PaymentMethodParams, PaymentMethod, SetupIntentConfirmPaymentMethodDataParams, and SetupIntentPaymentMethodDataParams
    • Add support for Payco and SamsungPay on ChargePaymentMethodDetails, ConfirmationTokenPaymentMethodDataParams, ConfirmationTokenPaymentMethodPreview, PaymentIntentConfirmPaymentMethodDataParams, PaymentIntentConfirmPaymentMethodOptionsParams, PaymentIntentPaymentMethodDataParams, PaymentIntentPaymentMethodOptionsParams, PaymentIntentPaymentMethodOptions, PaymentMethodParams, PaymentMethod, SetupIntentConfirmPaymentMethodDataParams, and SetupIntentPaymentMethodDataParams
    • Add support for new values by_tin, ma_vat, md_vat, tz_vat, uz_tin, and uz_vat on enums CheckoutSessionCollectedInformationTaxIdsType, CheckoutSessionCustomerDetailsTaxIdsType, InvoiceCustomerTaxIdsType, OrderTaxDetailsTaxIdsType, TaxCalculationCustomerDetailsTaxIdsType, TaxIdType, and TaxTransactionCustomerDetailsTaxIdsType
    • Add support for new values kakao_pay, kr_card, naver_pay, payco, and samsung_pay on enums ConfirmationTokenPaymentMethodPreviewType and PaymentMethodType
    • Add support for new value refund.failed on enum EventType
    • Add support for Metadata on ForwardingRequest
    • Add support for new value expired on enum IssuingAuthorizationStatus
    • Add support for LineItems on OrderPaymentSettingsPaymentMethodOptionsPaypalParams, OrderPaymentSettingsPaymentMethodOptionsPaypal, PaymentIntentConfirmPaymentMethodOptionsPaypalParams, PaymentIntentPaymentMethodOptionsPaypalParams, and PaymentIntentPaymentMethodOptionsPaypal
    • Add support for new value retail_delivery_fee on enums TaxCalculationLineItemTaxBreakdownTaxRateDetailsTaxType, TaxCalculationShippingCostTaxBreakdownTaxRateDetailsTaxType, TaxCalculationTaxBreakdownTaxRateDetailsTaxType, TaxRateTaxType, and TaxTransactionShippingCostTaxBreakdownTaxRateDetailsTaxType
    • Add support for FlatAmount and RateType on TaxCalculationTaxBreakdownTaxRateDetails and TaxRate
    • Add support for By, Cr, Ec, Ma, Md, RU, Rs, Tz, and Uz on TaxRegistrationCountryOptionsParams and TaxRegistrationCountryOptions
    • Add support for new value state_retail_delivery_fee on enum TaxRegistrationCountryOptionsUsType

See the changelog for more details.