Releases: stripe/stripe-go
Releases · stripe/stripe-go
v81.3.0-beta.1
- #1958 Update generated code for beta
- Add support for
Close
method on resourceTreasury.FinancialAccount
- Add support for
OwnershipExemptionReason
onAccountCompanyParams
,AccountCompany
, andTokenAccountCompanyParams
- Add support for
DirectorshipDeclaration
onAccountCompany
- Add support for
AdviceCode
onChargeOutcome
,InvoiceLastFinalizationError
,PaymentIntentLastPaymentError
,SetupAttemptSetupError
,SetupIntentLastSetupError
, andStripeError
- Remove support for value
always_invoice
from enumBillingPortalConfigurationFeaturesSubscriptionCancelProrationBehavior
- Add support for
BrandProduct
onCard
,SourceCardPresent
,SourceCard
, andSourceThreeDSecure
- Add support for
Country
onChargePaymentMethodDetailsPaypal
,ConfirmationTokenPaymentMethodPreviewPaypal
, andPaymentMethodPaypal
- Add support for new value
al_tin
on enumsCheckoutSessionCollectedInformationTaxIdsType
andOrderTaxDetailsTaxIdsType
- Add support for
Nickname
onTreasuryFinancialAccountParams
andTreasuryFinancialAccount
- Add support for
ForwardingSettings
onTreasuryFinancialAccountParams
- Add support for
IsDefault
onTreasuryFinancialAccount
- Add support for
DestinationPaymentMethodData
onTreasuryOutboundTransferParams
- Add support for
FinancialAccount
onTreasuryOutboundTransferDestinationPaymentMethodDetails
- Change type of
TreasuryOutboundTransferDestinationPaymentMethodDetailsType
fromliteral('us_bank_account')
toenum('financial_account'|'us_bank_account')
- Add support for
OutboundTransfer
onTreasuryReceivedCreditLinkedFlowsSourceFlowDetails
- Add support for new value
outbound_transfer
on enumTreasuryReceivedCreditLinkedFlowsSourceFlowDetailsType
- Add support for
v81.2.0
- #1957 This release changes the pinned API version to
2024-12-18.acacia
.- Add support for
NetworkAdviceCode
andNetworkDeclineCode
onChargeOutcome
,InvoiceLastFinalizationError
,PaymentIntentLastPaymentError
,SetupAttemptSetupError
,SetupIntentLastSetupError
, andStripeError
- Add support for new values
payout_minimum_balance_hold
andpayout_minimum_balance_release
on enumBalanceTransactionType
- Add support for
CreditsApplicationInvoiceVoided
onBillingCreditBalanceTransactionCredit
- Change type of
BillingCreditBalanceTransactionCreditType
fromliteral('credits_granted')
toenum('credits_application_invoice_voided'|'credits_granted')
- Add support for
AllowRedisplay
onCard
andSource
- Add support for
RegulatedStatus
onCard
,ChargePaymentMethodDetailsCard
,ConfirmationTokenPaymentMethodPreviewCard
, andPaymentMethodCard
- Add support for
Funding
onChargePaymentMethodDetailsAmazonPay
andChargePaymentMethodDetailsRevolutPay
- Add support for
NetworkTransactionID
onChargePaymentMethodDetailsCard
- Add support for
ReferencePrefix
onCheckoutSessionPaymentMethodOptionsBacsDebitMandateOptionsParams
,CheckoutSessionPaymentMethodOptionsBacsDebitMandateOptions
,CheckoutSessionPaymentMethodOptionsSepaDebitMandateOptionsParams
,CheckoutSessionPaymentMethodOptionsSepaDebitMandateOptions
,PaymentIntentConfirmPaymentMethodOptionsBacsDebitMandateOptionsParams
,PaymentIntentConfirmPaymentMethodOptionsSepaDebitMandateOptionsParams
,PaymentIntentPaymentMethodOptionsBacsDebitMandateOptionsParams
,PaymentIntentPaymentMethodOptionsBacsDebitMandateOptions
,PaymentIntentPaymentMethodOptionsSepaDebitMandateOptionsParams
,PaymentIntentPaymentMethodOptionsSepaDebitMandateOptions
,SetupIntentConfirmPaymentMethodOptionsBacsDebitMandateOptionsParams
,SetupIntentConfirmPaymentMethodOptionsSepaDebitMandateOptionsParams
,SetupIntentPaymentMethodOptionsBacsDebitMandateOptionsParams
,SetupIntentPaymentMethodOptionsBacsDebitMandateOptions
,SetupIntentPaymentMethodOptionsSepaDebitMandateOptionsParams
, andSetupIntentPaymentMethodOptionsSepaDebitMandateOptions
- Add support for new values
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 enumsCheckoutSessionCustomerDetailsTaxIdsType
,InvoiceCustomerTaxIdsType
,TaxCalculationCustomerDetailsTaxIdsType
,TaxIdType
, andTaxTransactionCustomerDetailsTaxIdsType
- Add support for
VisaCompliance
onDisputeEvidenceDetailsEnhancedEligibility
,DisputeEvidenceEnhancedEvidenceParams
, andDisputeEvidenceEnhancedEvidence
- Add support for new value
request_signature
on enumForwardingRequestReplacements
- Add support for
AccountHolderAddress
andBankAddress
onFundingInstructionsBankTransferFinancialAddressesIban
,FundingInstructionsBankTransferFinancialAddressesSortCode
,FundingInstructionsBankTransferFinancialAddressesSpei
,FundingInstructionsBankTransferFinancialAddressesZengin
,PaymentIntentNextActionDisplayBankTransferInstructionsFinancialAddressesIban
,PaymentIntentNextActionDisplayBankTransferInstructionsFinancialAddressesSortCode
,PaymentIntentNextActionDisplayBankTransferInstructionsFinancialAddressesSpei
, andPaymentIntentNextActionDisplayBankTransferInstructionsFinancialAddressesZengin
- Add support for
AccountHolderName
onFundingInstructionsBankTransferFinancialAddressesSpei
andPaymentIntentNextActionDisplayBankTransferInstructionsFinancialAddressesSpei
- Add support for
DisabledReason
onInvoiceAutomaticTax
,SubscriptionAutomaticTax
,SubscriptionScheduleDefaultSettingsAutomaticTax
, andSubscriptionSchedulePhasesAutomaticTax
- Add support for
TaxID
onIssuingAuthorizationMerchantData
andIssuingTransactionMerchantData
- Add support for
TrialPeriodDays
onPaymentLinkSubscriptionDataParams
- Add support for
Al
,Am
,Ao
,Ba
,Bb
,Bs
,Cd
,Gn
,Kh
,Me
,Mk
,Mr
,Np
,Pe
,Sn
,Sr
,Tj
,Ug
,Uy
,Zm
, andZw
onTaxRegistrationCountryOptionsParams
andTaxRegistrationCountryOptions
- Add support for
v81.2.0-beta.3
- #1956 Update generated code for beta
- Add support for
AllowRedisplay
onCard
andSource
- Add support for new values
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 enumsCheckoutSessionCollectedInformationTaxIdsType
andOrderTaxDetailsTaxIdsType
- Add support for new value
network_fallback
on enumIssuingAuthorizationRequestHistoryReason
- Remove support for
AmountRefunded
onPaymentRecord
- Add support for
Account
onTerminalReaderActionCollectPaymentMethod
,TerminalReaderActionConfirmPaymentIntent
,TerminalReaderActionProcessPaymentIntent
, andTerminalReaderActionRefundPayment
- Add support for
v81.2.0-beta.2
- #1953 Update generated code for beta
- Add support for
AutomaticIndirectTax
onAccountCapabilitiesParams
andAccountCapabilities
- Add support for new values
payout_minimum_balance_hold
andpayout_minimum_balance_release
on enumBalanceTransactionType
- Add support for
ReferencePrefix
onCheckoutSessionPaymentMethodOptionsBacsDebitMandateOptionsParams
,CheckoutSessionPaymentMethodOptionsBacsDebitMandateOptions
,CheckoutSessionPaymentMethodOptionsSepaDebitMandateOptionsParams
,CheckoutSessionPaymentMethodOptionsSepaDebitMandateOptions
,OrderPaymentSettingsPaymentMethodOptionsSepaDebitMandateOptionsParams
,OrderPaymentSettingsPaymentMethodOptionsSepaDebitMandateOptions
,PaymentIntentConfirmPaymentMethodOptionsBacsDebitMandateOptionsParams
,PaymentIntentConfirmPaymentMethodOptionsSepaDebitMandateOptionsParams
,PaymentIntentPaymentMethodOptionsBacsDebitMandateOptionsParams
,PaymentIntentPaymentMethodOptionsBacsDebitMandateOptions
,PaymentIntentPaymentMethodOptionsSepaDebitMandateOptionsParams
,PaymentIntentPaymentMethodOptionsSepaDebitMandateOptions
,SetupIntentConfirmPaymentMethodOptionsBacsDebitMandateOptionsParams
,SetupIntentConfirmPaymentMethodOptionsSepaDebitMandateOptionsParams
,SetupIntentPaymentMethodOptionsBacsDebitMandateOptionsParams
,SetupIntentPaymentMethodOptionsBacsDebitMandateOptions
,SetupIntentPaymentMethodOptionsSepaDebitMandateOptionsParams
, andSetupIntentPaymentMethodOptionsSepaDebitMandateOptions
- Add support for
DisabledReason
onInvoiceAutomaticTax
,SubscriptionAutomaticTax
,SubscriptionScheduleDefaultSettingsAutomaticTax
, andSubscriptionSchedulePhasesAutomaticTax
- Add support for
TrialPeriodDays
onPaymentLinkSubscriptionDataParams
- Add support for
v81.1.1
- #1955 Temporarily add payment_method parameter to BankAccountParams
v81.2.0-beta.1
- #1952 Update generated code for beta
- Add support for
NetworkAdviceCode
andNetworkDeclineCode
onChargeOutcome
,InvoiceLastFinalizationError
,PaymentIntentLastPaymentError
,SetupAttemptSetupError
,SetupIntentLastSetupError
, andStripeError
- Add support for
Funding
onChargePaymentMethodDetailsAmazonPay
andChargePaymentMethodDetailsRevolutPay
- Add support for
AmountRequested
andPartialAuthorization
onChargePaymentMethodDetailsCard
- Add support for
Metadata
onCheckoutSessionLineItemsParams
andLineItem
- Add support for
LineItems
onCheckoutSessionParams
,CheckoutSessionPermissionsUpdateParams
, andCheckoutSessionPermissionsUpdate
- Add support for new value
invoice.overpaid
on enumEventType
- Add support for
AdjustableQuantity
andDisplay
onLineItem
- Add support for
RequestPartialAuthorization
onPaymentIntentConfirmPaymentMethodOptionsCardParams
,PaymentIntentPaymentMethodOptionsCardParams
, andPaymentIntentPaymentMethodOptionsCard
- Add support for
PaymentMethodOptions
onPaymentIntentIncrementAuthorizationParams
- Add support for
v81.1.0
- #1951 This release changes the pinned API version to
2024-11-20.acacia
.- Add support for
Respond
test helper method on resourceIssuing.Authorization
- Add support for
Authorizer
onAccountPersonsRelationshipParams
andTokenPersonRelationshipParams
- Change type of
AccountFutureRequirementsDisabledReason
andAccountRequirementsDisabledReason
fromstring
toenum
- Add support for
AdaptivePricing
onCheckoutSessionParams
andCheckoutSession
- Add support for
MandateOptions
onCheckoutSessionPaymentMethodOptionsBacsDebitParams
,CheckoutSessionPaymentMethodOptionsBacsDebit
,CheckoutSessionPaymentMethodOptionsSepaDebitParams
, andCheckoutSessionPaymentMethodOptionsSepaDebit
- Add support for
RequestExtendedAuthorization
,RequestIncrementalAuthorization
,RequestMulticapture
, andRequestOvercapture
onCheckoutSessionPaymentMethodOptionsCardParams
andCheckoutSessionPaymentMethodOptionsCard
- Add support for
CaptureMethod
onCheckoutSessionPaymentMethodOptionsKakaoPayParams
,CheckoutSessionPaymentMethodOptionsKrCardParams
,CheckoutSessionPaymentMethodOptionsNaverPayParams
,CheckoutSessionPaymentMethodOptionsPaycoParams
, andCheckoutSessionPaymentMethodOptionsSamsungPayParams
- Add support for new value
li_vat
on enumsCheckoutSessionCustomerDetailsTaxIdsType
,InvoiceCustomerTaxIdsType
,TaxCalculationCustomerDetailsTaxIdsType
,TaxIdType
, andTaxTransactionCustomerDetailsTaxIdsType
- Add support for new value
subscribe
on enumsCheckoutSessionSubmitType
andPaymentLinkSubmitType
- Add support for new value
financial_account_statement
on enumFilePurpose
- Add support for
AccountHolderAddress
,AccountHolderName
,AccountType
, andBankAddress
onFundingInstructionsBankTransferFinancialAddressesAba
,FundingInstructionsBankTransferFinancialAddressesSwift
,PaymentIntentNextActionDisplayBankTransferInstructionsFinancialAddressesAba
, andPaymentIntentNextActionDisplayBankTransferInstructionsFinancialAddressesSwift
- Add support for
MerchantAmount
andMerchantCurrency
onIssuingAuthorizationParams
- Add support for
FraudChallenges
andVerifiedByFraudChallenge
onIssuingAuthorization
- Add support for new value
link
on enumsPaymentIntentPaymentMethodOptionsCardNetwork
,SetupIntentPaymentMethodOptionsCardNetwork
, andSubscriptionPaymentSettingsPaymentMethodOptionsCardNetwork
- Add support for
SubmitType
onPaymentLinkParams
- Add support for
TraceID
onPayout
- Add support for
NetworkDeclineCode
onRefundDestinationDetailsBlik
andRefundDestinationDetailsSwish
- Add support for new value
service_tax
on enumsTaxCalculationLineItemTaxBreakdownTaxRateDetailsTaxType
,TaxCalculationShippingCostTaxBreakdownTaxRateDetailsTaxType
,TaxCalculationTaxBreakdownTaxRateDetailsTaxType
,TaxRateTaxType
, andTaxTransactionShippingCostTaxBreakdownTaxRateDetailsTaxType
- Add support for
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.