Releases: stripe/stripe-go
v81.1.0-beta.3
- #1950 Update generated code for beta
- Add support for
AccountHolderAddress
andBankAddress
onFundingInstructionsBankTransferFinancialAddressesIban
,FundingInstructionsBankTransferFinancialAddressesSortCode
,FundingInstructionsBankTransferFinancialAddressesSpei
,FundingInstructionsBankTransferFinancialAddressesZengin
,PaymentIntentNextActionDisplayBankTransferInstructionsFinancialAddressesIban
,PaymentIntentNextActionDisplayBankTransferInstructionsFinancialAddressesSortCode
,PaymentIntentNextActionDisplayBankTransferInstructionsFinancialAddressesSpei
, andPaymentIntentNextActionDisplayBankTransferInstructionsFinancialAddressesZengin
- Add support for
AccountHolderName
onFundingInstructionsBankTransferFinancialAddressesSpei
andPaymentIntentNextActionDisplayBankTransferInstructionsFinancialAddressesSpei
- Add support for
v81.1.0-beta.2
- #1949 Update generated code for beta
- Add support for new resources
Issuing.FraudLiabilityDebit
,PaymentAttemptRecord
, andPaymentRecord
- Add support for
Get
andList
methods on resourcesFraudLiabilityDebit
andPaymentAttemptRecord
- Add support for
Get
,ReportPaymentAttemptCanceled
,ReportPaymentAttemptFailed
,ReportPaymentAttemptGuaranteed
,ReportPaymentAttempt
, andReportPayment
methods on resourcePaymentRecord
- Change type of
AccountFutureRequirementsDisabledReason
andAccountRequirementsDisabledReason
fromstring
toenum
- Remove support for
MoneyMovement
onAccountSessionComponentsFinancialAccountFeaturesParams
- Add support for
CardManagement
,CardSpendDisputeManagement
,CardholderManagement
, andSpendControlManagement
onAccountSessionComponentsIssuingCardFeaturesParams
- Add support for
DisableStripeUserAuthentication
onAccountSessionComponentsIssuingCardsListFeaturesParams
- Add support for
AdaptivePricing
onCheckoutSessionParams
andCheckoutSession
- Add support for
MandateOptions
onCheckoutSessionPaymentMethodOptionsBacsDebitParams
,CheckoutSessionPaymentMethodOptionsBacsDebit
,CheckoutSessionPaymentMethodOptionsSepaDebitParams
, andCheckoutSessionPaymentMethodOptionsSepaDebit
- Add support for
RequestDecrementalAuthorization
,RequestExtendedAuthorization
,RequestIncrementalAuthorization
,RequestMulticapture
, andRequestOvercapture
onCheckoutSessionPaymentMethodOptionsCardParams
andCheckoutSessionPaymentMethodOptionsCard
- Add support for
CaptureMethod
onCheckoutSessionPaymentMethodOptionsKakaoPayParams
,CheckoutSessionPaymentMethodOptionsKrCardParams
,CheckoutSessionPaymentMethodOptionsNaverPayParams
,CheckoutSessionPaymentMethodOptionsPaycoParams
, andCheckoutSessionPaymentMethodOptionsSamsungPayParams
- Add support for new value
li_vat
on enumsCheckoutSessionCollectedInformationTaxIdsType
,CheckoutSessionCustomerDetailsTaxIdsType
,InvoiceCustomerTaxIdsType
,OrderTaxDetailsTaxIdsType
,TaxCalculationCustomerDetailsTaxIdsType
,TaxIdType
, andTaxTransactionCustomerDetailsTaxIdsType
- Add support for new values
invoice.payment_attempt_required
andissuing_fraud_liability_debit.created
on enumEventType
- Add support for
AccountHolderAddress
,AccountHolderName
,AccountType
, andBankAddress
onFundingInstructionsBankTransferFinancialAddressesAba
,FundingInstructionsBankTransferFinancialAddressesSwift
,PaymentIntentNextActionDisplayBankTransferInstructionsFinancialAddressesAba
, andPaymentIntentNextActionDisplayBankTransferInstructionsFinancialAddressesSwift
- Add support for
PaymentRecordData
andPaymentRecord
onInvoiceAttachPaymentParams
- Remove support for
OutOfBandPayment
onInvoiceAttachPaymentParams
- Add support for
AmountOverpaid
onInvoice
- Add support for new value
custom
on enumsInvoicePaymentSettingsPaymentMethodTypes
andSubscriptionPaymentSettingsPaymentMethodTypes
- Add support for
MerchantAmount
andMerchantCurrency
onIssuingAuthorizationParams
- Add support for new value
link
on enumsPaymentIntentPaymentMethodOptionsCardNetwork
,SetupIntentPaymentMethodOptionsCardNetwork
, andSubscriptionPaymentSettingsPaymentMethodOptionsCardNetwork
- Add support for
SubmitType
onPaymentLinkParams
- Add support for new value
service_tax
on enumsTaxCalculationLineItemTaxBreakdownTaxRateDetailsTaxType
,TaxCalculationShippingCostTaxBreakdownTaxRateDetailsTaxType
,TaxCalculationTaxBreakdownTaxRateDetailsTaxType
,TaxRateTaxType
, andTaxTransactionShippingCostTaxBreakdownTaxRateDetailsTaxType
- Add support for new resources
v81.1.0-beta.1
- #1945 Update generated code for beta
- Add support for
TriggerAction
method on resourcePaymentIntent
- Add support for
IDBankTransferPaymentsBca
andIDBankTransferPayments
onAccountCapabilitiesParams
andAccountCapabilities
- Add support for
BankBcaOnboarding
onAccountSettingsParams
andAccountSettings
- Add support for
SendMoney
onAccountSessionComponentsRecipientsFeaturesParams
- Remove support for value
payout_statement_descriptor_profanity
from enumsInvoiceLastFinalizationErrorCode
,PaymentIntentLastPaymentErrorCode
,SetupAttemptSetupErrorCode
,SetupIntentLastSetupErrorCode
, andStripeErrorCode
- Add support for
IDBankTransfer
onChargePaymentMethodDetails
,ConfirmationTokenPaymentMethodDataParams
,ConfirmationTokenPaymentMethodPreview
,InvoicePaymentSettingsPaymentMethodOptionsParams
,InvoicePaymentSettingsPaymentMethodOptions
,PaymentIntentConfirmPaymentMethodDataParams
,PaymentIntentConfirmPaymentMethodOptionsParams
,PaymentIntentPaymentMethodDataParams
,PaymentIntentPaymentMethodOptionsParams
,PaymentIntentPaymentMethodOptions
,PaymentMethodConfigurationParams
,PaymentMethodConfiguration
,PaymentMethodParams
,PaymentMethod
,RefundDestinationDetails
,SetupAttemptPaymentMethodDetails
,SetupIntentConfirmPaymentMethodDataParams
,SetupIntentPaymentMethodDataParams
,SubscriptionPaymentSettingsPaymentMethodOptionsParams
, andSubscriptionPaymentSettingsPaymentMethodOptions
- Add support for
Gopay
,Qris
, andShopeepay
onPaymentMethodConfigurationParams
andPaymentMethodConfiguration
- Add support for
- #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 methodstripe.AddBetaVersion()
instead.
v81.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 (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
andPing
methods on resourceV2.EventDestinations
- Add support for
SubmitCard
test helper method on resourceIssuing.Card
- Add support for
Groups
onAccountParams
andAccount
- Add support for
AlmaPayments
,KakaoPayPayments
,KrCardPayments
,NaverPayPayments
,PaycoPayments
, andSamsungPayPayments
onAccountCapabilitiesParams
andAccountCapabilities
- Add support for
DisableStripeUserAuthentication
onAccountSessionComponentsAccountManagementFeaturesParams
,AccountSessionComponentsAccountManagementFeatures
,AccountSessionComponentsAccountOnboardingFeaturesParams
,AccountSessionComponentsAccountOnboardingFeatures
,AccountSessionComponentsBalancesFeaturesParams
,AccountSessionComponentsBalancesFeatures
,AccountSessionComponentsNotificationBannerFeaturesParams
,AccountSessionComponentsNotificationBannerFeatures
,AccountSessionComponentsPayoutsFeaturesParams
, andAccountSessionComponentsPayoutsFeatures
- Add support for
ScheduleAtPeriodEnd
onBillingPortalConfigurationFeaturesSubscriptionUpdateParams
andBillingPortalConfigurationFeaturesSubscriptionUpdate
- Add support for
Alma
onChargePaymentMethodDetails
,ConfirmationTokenPaymentMethodDataParams
,ConfirmationTokenPaymentMethodPreview
,PaymentIntentConfirmPaymentMethodDataParams
,PaymentIntentConfirmPaymentMethodOptionsParams
,PaymentIntentPaymentMethodDataParams
,PaymentIntentPaymentMethodOptionsParams
,PaymentIntentPaymentMethodOptions
,PaymentMethodConfigurationParams
,PaymentMethodConfiguration
,PaymentMethodParams
,PaymentMethod
,RefundDestinationDetails
,SetupIntentConfirmPaymentMethodDataParams
, andSetupIntentPaymentMethodDataParams
- Add support for
KakaoPay
andKrCard
onChargePaymentMethodDetails
,CheckoutSessionPaymentMethodOptionsParams
,CheckoutSessionPaymentMethodOptions
,ConfirmationTokenPaymentMethodDataParams
,ConfirmationTokenPaymentMethodPreview
,MandatePaymentMethodDetails
,PaymentIntentConfirmPaymentMethodDataParams
,PaymentIntentConfirmPaymentMethodOptionsParams
,PaymentIntentPaymentMethodDataParams
,PaymentIntentPaymentMethodOptionsParams
,PaymentIntentPaymentMethodOptions
,PaymentMethodParams
,PaymentMethod
,SetupAttemptPaymentMethodDetails
,SetupIntentConfirmPaymentMethodDataParams
, andSetupIntentPaymentMethodDataParams
- Add support for
NaverPay
onChargePaymentMethodDetails
,CheckoutSessionPaymentMethodOptionsParams
,CheckoutSessionPaymentMethodOptions
,ConfirmationTokenPaymentMethodDataParams
,ConfirmationTokenPaymentMethodPreview
,PaymentIntentConfirmPaymentMethodDataParams
,PaymentIntentConfirmPaymentMethodOptionsParams
,PaymentIntentPaymentMethodDataParams
,PaymentIntentPaymentMethodOptionsParams
,PaymentIntentPaymentMethodOptions
,PaymentMethodParams
,PaymentMethod
,SetupIntentConfirmPaymentMethodDataParams
, andSetupIntentPaymentMethodDataParams
- Add support for
Payco
andSamsungPay
onChargePaymentMethodDetails
,CheckoutSessionPaymentMethodOptionsParams
,CheckoutSessionPaymentMethodOptions
,ConfirmationTokenPaymentMethodDataParams
,ConfirmationTokenPaymentMethodPreview
,PaymentIntentConfirmPaymentMethodDataParams
,PaymentIntentConfirmPaymentMethodOptionsParams
,PaymentIntentPaymentMethodDataParams
,PaymentIntentPaymentMethodOptionsParams
,PaymentIntentPaymentMethodOptions
,PaymentMethodParams
,PaymentMethod
,SetupIntentConfirmPaymentMethodDataParams
, andSetupIntentPaymentMethodDataParams
- Add support for new values
by_tin
,ma_vat
,md_vat
,tz_vat
,uz_tin
, anduz_vat
on enumsCheckoutSessionCustomerDetailsTaxIdsType
,InvoiceCustomerTaxIdsType
,TaxCalculationCustomerDetailsTaxIdsType
,TaxIdType
, andTaxTransactionCustomerDetailsTaxIdsType
- Add support for new values
alma
,kakao_pay
,kr_card
,naver_pay
,payco
, andsamsung_pay
on enumsConfirmationTokenPaymentMethodPreviewType
andPaymentMethodType
- Add support for
EnhancedEvidence
onDisputeEvidenceParams
andDisputeEvidence
- Add support for
EnhancedEligibilityTypes
onDispute
- Add support for
EnhancedEligibility
onDisputeEvidenceDetails
- Add support for new values
issuing_transaction.purchase_details_receipt_updated
andrefund.failed
on enumEventType
- Add support for
Metadata
onForwardingRequestParams
andForwardingRequest
- Add support for
AutomaticallyFinalizesAt
onInvoiceParams
- Add support for new values
jp_credit_transfer
,kakao_pay
,kr_card
,naver_pay
, andpayco
on enumsInvoicePaymentSettingsPaymentMethodTypes
andSubscriptionPaymentSettingsPaymentMethodTypes
- Add support for new value
alma
on enumPaymentLinkPaymentMethodTypes
- Add support for
AmazonPay
onPaymentMethodDomain
- Change type of
RefundNextActionDisplayDetails
fromnullable(RefundNextActionDisplayDetails)
toRefundNextActionDisplayDetails
- Add support for new value
retail_delivery_fee
on enumsTaxCalculationLineItemTaxBreakdownTaxRateDetailsTaxType
,TaxCalculationShippingCostTaxBreakdownTaxRateDetailsTaxType
,TaxCalculationTaxBreakdownTaxRateDetailsTaxType
,TaxRateTaxType
, andTaxTransactionShippingCostTaxBreakdownTaxRateDetailsTaxType
- Add support for
FlatAmount
andRateType
onTaxCalculationTaxBreakdownTaxRateDetails
andTaxRate
- Add support for
By
,Cr
,Ec
,Ma
,Md
,RU
,Rs
,Tz
, andUz
onTaxRegistrationCountryOptionsParams
andTaxRegistrationCountryOptions
- Add support for new value
state_retail_delivery_fee
on enumTaxRegistrationCountryOptionsUsType
- Add support for
Pln
onTerminalConfigurationTippingParams
andTerminalConfigurationTipping
- Add support for new resource
v80.2.1
- #1940 Update webhook API version validation
- Update webhook event processing to accept events from any API version within the supported major release
v80.3.0-beta.1
- #1934 Update generated code for beta
- Add support for
AlmaPayments
,GopayPayments
,KakaoPayPayments
,KrCardPayments
,NaverPayPayments
,PaycoPayments
,QrisPayments
,SamsungPayPayments
,ShopeepayPayments
,TreasuryEvolve
,TreasuryFifthThird
, andTreasuryGoldmanSachs
onAccountCapabilitiesParams
andAccountCapabilities
- Add support for
ScheduleAtPeriodEnd
onBillingPortalConfigurationFeaturesSubscriptionUpdateParams
andBillingPortalConfigurationFeaturesSubscriptionUpdate
- Add support for
Alma
onChargePaymentMethodDetails
,ConfirmationTokenPaymentMethodDataParams
,ConfirmationTokenPaymentMethodPreview
,PaymentIntentConfirmPaymentMethodDataParams
,PaymentIntentConfirmPaymentMethodOptionsParams
,PaymentIntentPaymentMethodDataParams
,PaymentIntentPaymentMethodOptionsParams
,PaymentIntentPaymentMethodOptions
,PaymentMethodConfigurationParams
,PaymentMethodConfiguration
,PaymentMethodParams
,PaymentMethod
,RefundDestinationDetails
,SetupIntentConfirmPaymentMethodDataParams
, andSetupIntentPaymentMethodDataParams
- Add support for
Gopay
,Qris
, andShopeepay
onChargePaymentMethodDetails
,ConfirmationTokenPaymentMethodDataParams
,ConfirmationTokenPaymentMethodPreview
,PaymentIntentConfirmPaymentMethodDataParams
,PaymentIntentConfirmPaymentMethodOptionsParams
,PaymentIntentPaymentMethodDataParams
,PaymentIntentPaymentMethodOptionsParams
,PaymentIntentPaymentMethodOptions
,PaymentMethodParams
,PaymentMethod
,SetupIntentConfirmPaymentMethodDataParams
, andSetupIntentPaymentMethodDataParams
- Add support for new values
alma
,gopay
,qris
, andshopeepay
on enumsConfirmationTokenPaymentMethodPreviewType
andPaymentMethodType
- Add support for
Metadata
onForwardingRequestParams
- Add support for new values
jp_credit_transfer
,kakao_pay
,kr_card
,naver_pay
, andpayco
on enumsInvoicePaymentSettingsPaymentMethodTypes
andSubscriptionPaymentSettingsPaymentMethodTypes
- Remove support for value
expired
from enumIssuingAuthorizationStatus
- Add support for new values
alma
,gopay
,qris
, andshopeepay
on enumPaymentLinkPaymentMethodTypes
- Add support for
AmazonPay
onPaymentMethodDomain
- Add support for
ExternalReference
onTaxFormListPayeeParams
andTaxFormPayee
- Change type of
TaxFormListPayeeTypeParams
andTaxFormPayeeType
fromliteral('account')
toenum('account'|'external_reference')
- Add support for
AuSerr
,CaMrdp
,EUDac7
,GBMrdp
, andNzMrdp
onTaxForm
- Add support for new values
au_serr
,ca_mrdp
,eu_dac7
,gb_mrdp
, andnz_mrdp
on enumTaxFormType
- Add support for
Pln
onTerminalConfigurationTippingParams
andTerminalConfigurationTipping
- Add support for
Bank
onTreasuryFinancialAccountFeaturesFinancialAddressesAbaParams
,TreasuryFinancialAccountFeaturesFinancialAddressesAba
, andTreasuryFinancialAccountUpdateFeaturesFinancialAddressesAbaParams
- Add support for
v80.2.0
- #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.
- The individual
v80.2.0-beta.2
- #1932 Update generated code for beta
- Add support for
SubmitCard
test helper method on resourceIssuing.Card
- Add support for
Groups
onAccountParams
andAccount
- Add support for
DisableStripeUserAuthentication
onAccountSessionComponentsAccountManagementFeaturesParams
,AccountSessionComponentsAccountManagementFeatures
,AccountSessionComponentsAccountOnboardingFeaturesParams
,AccountSessionComponentsAccountOnboardingFeatures
,AccountSessionComponentsBalancesFeaturesParams
,AccountSessionComponentsBalancesFeatures
,AccountSessionComponentsFinancialAccountFeaturesParams
,AccountSessionComponentsNotificationBannerFeaturesParams
,AccountSessionComponentsNotificationBannerFeatures
,AccountSessionComponentsPayoutsFeaturesParams
, andAccountSessionComponentsPayoutsFeatures
- Add support for
CardSpendDisputeManagement
andSpendControlManagement
onAccountSessionComponentsIssuingCardsListFeaturesParams
- Add support for new value
payout_statement_descriptor_profanity
on enumsInvoiceLastFinalizationErrorCode
,PaymentIntentLastPaymentErrorCode
,SetupAttemptSetupErrorCode
,SetupIntentLastSetupErrorCode
, andStripeErrorCode
- Add support for
KakaoPay
andKrCard
onChargePaymentMethodDetails
,ConfirmationTokenPaymentMethodDataParams
,ConfirmationTokenPaymentMethodPreview
,MandatePaymentMethodDetails
,PaymentIntentConfirmPaymentMethodDataParams
,PaymentIntentConfirmPaymentMethodOptionsParams
,PaymentIntentPaymentMethodDataParams
,PaymentIntentPaymentMethodOptionsParams
,PaymentIntentPaymentMethodOptions
,PaymentMethodParams
,PaymentMethod
,SetupAttemptPaymentMethodDetails
,SetupIntentConfirmPaymentMethodDataParams
, andSetupIntentPaymentMethodDataParams
- Add support for
NaverPay
onChargePaymentMethodDetails
,ConfirmationTokenPaymentMethodDataParams
,ConfirmationTokenPaymentMethodPreview
,PaymentIntentConfirmPaymentMethodDataParams
,PaymentIntentConfirmPaymentMethodOptionsParams
,PaymentIntentPaymentMethodDataParams
,PaymentIntentPaymentMethodOptionsParams
,PaymentIntentPaymentMethodOptions
,PaymentMethodParams
,PaymentMethod
,SetupIntentConfirmPaymentMethodDataParams
, andSetupIntentPaymentMethodDataParams
- Add support for
Payco
andSamsungPay
onChargePaymentMethodDetails
,ConfirmationTokenPaymentMethodDataParams
,ConfirmationTokenPaymentMethodPreview
,PaymentIntentConfirmPaymentMethodDataParams
,PaymentIntentConfirmPaymentMethodOptionsParams
,PaymentIntentPaymentMethodDataParams
,PaymentIntentPaymentMethodOptionsParams
,PaymentIntentPaymentMethodOptions
,PaymentMethodParams
,PaymentMethod
,SetupIntentConfirmPaymentMethodDataParams
, andSetupIntentPaymentMethodDataParams
- Add support for new values
by_tin
,ma_vat
,md_vat
,tz_vat
,uz_tin
, anduz_vat
on enumsCheckoutSessionCollectedInformationTaxIdsType
,CheckoutSessionCustomerDetailsTaxIdsType
,InvoiceCustomerTaxIdsType
,OrderTaxDetailsTaxIdsType
,TaxCalculationCustomerDetailsTaxIdsType
,TaxIdType
, andTaxTransactionCustomerDetailsTaxIdsType
- Add support for new values
kakao_pay
,kr_card
,naver_pay
,payco
, andsamsung_pay
on enumsConfirmationTokenPaymentMethodPreviewType
andPaymentMethodType
- Add support for new value
refund.failed
on enumEventType
- Add support for
Metadata
onForwardingRequest
- Add support for new value
expired
on enumIssuingAuthorizationStatus
- Add support for
LineItems
onOrderPaymentSettingsPaymentMethodOptionsPaypalParams
,OrderPaymentSettingsPaymentMethodOptionsPaypal
,PaymentIntentConfirmPaymentMethodOptionsPaypalParams
,PaymentIntentPaymentMethodOptionsPaypalParams
, andPaymentIntentPaymentMethodOptionsPaypal
- Add support for new value
retail_delivery_fee
on enumsTaxCalculationLineItemTaxBreakdownTaxRateDetailsTaxType
,TaxCalculationShippingCostTaxBreakdownTaxRateDetailsTaxType
,TaxCalculationTaxBreakdownTaxRateDetailsTaxType
,TaxRateTaxType
, andTaxTransactionShippingCostTaxBreakdownTaxRateDetailsTaxType
- Add support for
FlatAmount
andRateType
onTaxCalculationTaxBreakdownTaxRateDetails
andTaxRate
- Add support for
By
,Cr
,Ec
,Ma
,Md
,RU
,Rs
,Tz
, andUz
onTaxRegistrationCountryOptionsParams
andTaxRegistrationCountryOptions
- Add support for new value
state_retail_delivery_fee
on enumTaxRegistrationCountryOptionsUsType
- Add support for
v80.2.0-beta.1
- #1930 Updates beta branch with changes in master
- Add support for
ReportingChart
onAccountSessionComponentsParams
- Remove support for
FromSchedule
onQuoteSubscriptionData
- Add support for
AllowRedisplay
onTerminalReaderCollectPaymentMethodCollectConfigParams
- Moved raw request functionality from
preview
package torawrequest
package, and removedpreview
- Add support for
v80.1.0
- #1928 Update generated code
- Remove the support for resource
Margin
that was accidentally made public in the last release
- Remove the support for resource