Skip to content

Releases: stripe/stripe-go

v81.4.0-beta.1

07 Feb 21:46
Compare
Choose a tag to compare
v81.4.0-beta.1 Pre-release
Pre-release
  • #1973 Update generated code for beta
    • Add support for RejectedReason on AccountRiskControls
    • Add support for ProductTaxCodeSelector on AccountSessionComponentsParams
    • Add support for Prices on BillingCreditBalanceSummaryFilterApplicabilityScopeParams, BillingCreditGrantApplicabilityConfigScopeParams, and BillingCreditGrantApplicabilityConfigScope
    • Add support for BrandProduct on ChargePaymentMethodDetailsAmazonPayFundingCard and ChargePaymentMethodDetailsRevolutPayFundingCard
    • Add support for Restrictions on CheckoutSessionPaymentMethodOptionsCardParams and CheckoutSessionPaymentMethodOptionsCard
  • #1981 Revert "Support time.Time instead of int64 for date fields"
  • #1972 Support time.Time instead of int64 for date fields

See the changelog for more details.

v81.3.1

03 Feb 17:59
Compare
Choose a tag to compare
  • #1980 Update generated code
    • ⚠️ Fix acronym JPY in TerminalConfiguration that were not correctly capitalized

See the changelog for more details.

v81.3.0

27 Jan 20:21
Compare
Choose a tag to compare
  • #1965 Update generated code
    • Add support for Close method on resource Treasury.FinancialAccount
    • Add support for PayByBankPayments on AccountCapabilitiesParams and AccountCapabilities
    • Add support for DirectorshipDeclaration and OwnershipExemptionReason on AccountCompanyParams, AccountCompany, and TokenAccountCompanyParams
    • Add support for ProofOfUltimateBeneficialOwnership on AccountDocumentsParams
    • Add support for FinancialAccount on AccountSessionComponentsParams, AccountSessionComponents, and TreasuryOutboundTransferDestinationPaymentMethodDetails
    • Add support for FinancialAccountTransactions, IssuingCard, and IssuingCardsList on AccountSessionComponentsParams and AccountSessionComponents
    • Add support for AdviceCode on ChargeOutcome, InvoiceLastFinalizationError, PaymentIntentLastPaymentError, SetupAttemptSetupError, SetupIntentLastSetupError, and StripeError
    • Add support for PayByBank on ChargePaymentMethodDetails, CheckoutSessionPaymentMethodOptionsParams, ConfirmationTokenPaymentMethodDataParams, ConfirmationTokenPaymentMethodPreview, PaymentIntentConfirmPaymentMethodDataParams, PaymentIntentConfirmPaymentMethodOptionsParams, PaymentIntentPaymentMethodDataParams, PaymentIntentPaymentMethodOptionsParams, PaymentIntentPaymentMethodOptions, PaymentMethodConfigurationParams, PaymentMethodConfiguration, PaymentMethodParams, PaymentMethod, SetupIntentConfirmPaymentMethodDataParams, and SetupIntentPaymentMethodDataParams
    • Add support for Country on ChargePaymentMethodDetailsPaypal, ConfirmationTokenPaymentMethodPreviewPaypal, and PaymentMethodPaypal
    • Add support for Discounts on CheckoutSession
    • Add support for new value SD on enums CheckoutSessionShippingAddressCollectionAllowedCountries and PaymentLinkShippingAddressCollectionAllowedCountries
    • Add support for new value pay_by_bank on enums ConfirmationTokenPaymentMethodPreviewType and PaymentMethodType
    • Add support for PhoneNumberCollection on PaymentLinkParams
    • Add support for new value pay_by_bank on enum PaymentLinkPaymentMethodTypes
    • Add support for Jpy on TerminalConfigurationTippingParams and TerminalConfigurationTipping
    • Add support for Nickname on TreasuryFinancialAccountParams and TreasuryFinancialAccount
    • Add support for ForwardingSettings on TreasuryFinancialAccountParams
    • Add support for IsDefault on TreasuryFinancialAccount
    • Add support for DestinationPaymentMethodData on TreasuryOutboundTransferParams
    • Change type of TreasuryOutboundTransferDestinationPaymentMethodDetailsType from literal('us_bank_account') to enum('financial_account'|'us_bank_account')
    • Add support for OutboundTransfer on TreasuryReceivedCreditLinkedFlowsSourceFlowDetails
    • Add support for new value outbound_transfer on enum TreasuryReceivedCreditLinkedFlowsSourceFlowDetailsType
  • #1970 fix justfile ordering bug
  • #1969 pin CI and fix formatting
  • #1964 add justfile, update readme, remove coveralls
  • #1967 Added CONTRIBUTING.md file
  • #1962 Added pull request template

See the changelog for more details.

v81.3.0-beta.3

23 Jan 21:26
Compare
Choose a tag to compare
v81.3.0-beta.3 Pre-release
Pre-release
  • #1971 Update generated code for beta
    • Remove support for StripeAccount on TerminalReaderActionCollectPaymentMethod, TerminalReaderActionConfirmPaymentIntent, TerminalReaderActionProcessPaymentIntent, and TerminalReaderActionRefundPayment

See the changelog for more details.

v81.3.0-beta.2

18 Jan 00:35
Compare
Choose a tag to compare
v81.3.0-beta.2 Pre-release
Pre-release
  • #1963 Update generated code for beta
    • Add support for PayByBankPayments on AccountCapabilitiesParams and AccountCapabilities
    • Add support for DirectorshipDeclaration on AccountCompanyParams and TokenAccountCompanyParams
    • Add support for ProofOfUltimateBeneficialOwnership on AccountDocumentsParams
    • Add support for TaxThresholdMonitoring on AccountSessionComponentsParams
    • Add support for FinancialAccountTransactions, FinancialAccount, IssuingCard, and IssuingCardsList on AccountSessionComponents
    • Add support for new value always_invoice on enum BillingPortalConfigurationFeaturesSubscriptionCancelProrationBehavior
    • Add support for PayByBank on ChargePaymentMethodDetails, CheckoutSessionPaymentMethodOptionsParams, ConfirmationTokenPaymentMethodDataParams, ConfirmationTokenPaymentMethodPreview, PaymentIntentConfirmPaymentMethodDataParams, PaymentIntentConfirmPaymentMethodOptionsParams, PaymentIntentPaymentMethodDataParams, PaymentIntentPaymentMethodOptionsParams, PaymentIntentPaymentMethodOptions, PaymentMethodConfigurationParams, PaymentMethodConfiguration, PaymentMethodParams, PaymentMethod, SetupIntentConfirmPaymentMethodDataParams, and SetupIntentPaymentMethodDataParams
    • Add support for Discounts on CheckoutSession
    • Add support for new value SD on enums CheckoutSessionShippingAddressCollectionAllowedCountries and PaymentLinkShippingAddressCollectionAllowedCountries
    • Add support for new value pay_by_bank on enums ConfirmationTokenPaymentMethodPreviewType and PaymentMethodType
    • Add support for PhoneNumberCollection on PaymentLinkParams
    • Add support for new value pay_by_bank on enum PaymentLinkPaymentMethodTypes
    • Add support for Jpy on TerminalConfigurationTippingParams and TerminalConfigurationTipping

See the changelog for more details.

v81.3.0-beta.1

09 Jan 21:39
Compare
Choose a tag to compare
v81.3.0-beta.1 Pre-release
Pre-release
  • #1958 Update generated code for beta
    • Add support for Close method on resource Treasury.FinancialAccount
    • Add support for OwnershipExemptionReason on AccountCompanyParams, AccountCompany, and TokenAccountCompanyParams
    • Add support for DirectorshipDeclaration on AccountCompany
    • Add support for AdviceCode on ChargeOutcome, InvoiceLastFinalizationError, PaymentIntentLastPaymentError, SetupAttemptSetupError, SetupIntentLastSetupError, and StripeError
    • Remove support for value always_invoice from enum BillingPortalConfigurationFeaturesSubscriptionCancelProrationBehavior
    • Add support for BrandProduct on Card, SourceCardPresent, SourceCard, and SourceThreeDSecure
    • Add support for Country on ChargePaymentMethodDetailsPaypal, ConfirmationTokenPaymentMethodPreviewPaypal, and PaymentMethodPaypal
    • Add support for new value al_tin on enums CheckoutSessionCollectedInformationTaxIdsType and OrderTaxDetailsTaxIdsType
    • Add support for Nickname on TreasuryFinancialAccountParams and TreasuryFinancialAccount
    • Add support for ForwardingSettings on TreasuryFinancialAccountParams
    • Add support for IsDefault on TreasuryFinancialAccount
    • Add support for DestinationPaymentMethodData on TreasuryOutboundTransferParams
    • Add support for FinancialAccount on TreasuryOutboundTransferDestinationPaymentMethodDetails
    • Change type of TreasuryOutboundTransferDestinationPaymentMethodDetailsType from literal('us_bank_account') to enum('financial_account'|'us_bank_account')
    • Add support for OutboundTransfer on TreasuryReceivedCreditLinkedFlowsSourceFlowDetails
    • Add support for new value outbound_transfer on enum TreasuryReceivedCreditLinkedFlowsSourceFlowDetailsType

See the changelog for more details.

v81.2.0

18 Dec 23:42
Compare
Choose a tag to compare
  • #1957 This release changes the pinned API version to 2024-12-18.acacia.
    • Add support for NetworkAdviceCode and NetworkDeclineCode on ChargeOutcome, InvoiceLastFinalizationError, PaymentIntentLastPaymentError, SetupAttemptSetupError, SetupIntentLastSetupError, and StripeError
    • Add support for new values payout_minimum_balance_hold and payout_minimum_balance_release on enum BalanceTransactionType
    • Add support for CreditsApplicationInvoiceVoided on BillingCreditBalanceTransactionCredit
    • Change type of BillingCreditBalanceTransactionCreditType from literal('credits_granted') to enum('credits_application_invoice_voided'|'credits_granted')
    • Add support for AllowRedisplay on Card and Source
    • Add support for RegulatedStatus on Card, ChargePaymentMethodDetailsCard, ConfirmationTokenPaymentMethodPreviewCard, and PaymentMethodCard
    • Add support for Funding on ChargePaymentMethodDetailsAmazonPay and ChargePaymentMethodDetailsRevolutPay
    • Add support for NetworkTransactionID on ChargePaymentMethodDetailsCard
    • Add support for ReferencePrefix on CheckoutSessionPaymentMethodOptionsBacsDebitMandateOptionsParams, CheckoutSessionPaymentMethodOptionsBacsDebitMandateOptions, CheckoutSessionPaymentMethodOptionsSepaDebitMandateOptionsParams, CheckoutSessionPaymentMethodOptionsSepaDebitMandateOptions, PaymentIntentConfirmPaymentMethodOptionsBacsDebitMandateOptionsParams, PaymentIntentConfirmPaymentMethodOptionsSepaDebitMandateOptionsParams, PaymentIntentPaymentMethodOptionsBacsDebitMandateOptionsParams, PaymentIntentPaymentMethodOptionsBacsDebitMandateOptions, PaymentIntentPaymentMethodOptionsSepaDebitMandateOptionsParams, PaymentIntentPaymentMethodOptionsSepaDebitMandateOptions, SetupIntentConfirmPaymentMethodOptionsBacsDebitMandateOptionsParams, SetupIntentConfirmPaymentMethodOptionsSepaDebitMandateOptionsParams, SetupIntentPaymentMethodOptionsBacsDebitMandateOptionsParams, SetupIntentPaymentMethodOptionsBacsDebitMandateOptions, SetupIntentPaymentMethodOptionsSepaDebitMandateOptionsParams, and SetupIntentPaymentMethodOptionsSepaDebitMandateOptions
    • 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, and zw_tin on enums CheckoutSessionCustomerDetailsTaxIdsType, InvoiceCustomerTaxIdsType, TaxCalculationCustomerDetailsTaxIdsType, TaxIdType, and TaxTransactionCustomerDetailsTaxIdsType
    • Add support for VisaCompliance on DisputeEvidenceDetailsEnhancedEligibility, DisputeEvidenceEnhancedEvidenceParams, and DisputeEvidenceEnhancedEvidence
    • Add support for new value request_signature on enum ForwardingRequestReplacements
    • Add support for AccountHolderAddress and BankAddress on FundingInstructionsBankTransferFinancialAddressesIban, FundingInstructionsBankTransferFinancialAddressesSortCode, FundingInstructionsBankTransferFinancialAddressesSpei, FundingInstructionsBankTransferFinancialAddressesZengin, PaymentIntentNextActionDisplayBankTransferInstructionsFinancialAddressesIban, PaymentIntentNextActionDisplayBankTransferInstructionsFinancialAddressesSortCode, PaymentIntentNextActionDisplayBankTransferInstructionsFinancialAddressesSpei, and PaymentIntentNextActionDisplayBankTransferInstructionsFinancialAddressesZengin
    • Add support for AccountHolderName on FundingInstructionsBankTransferFinancialAddressesSpei and PaymentIntentNextActionDisplayBankTransferInstructionsFinancialAddressesSpei
    • Add support for DisabledReason on InvoiceAutomaticTax, SubscriptionAutomaticTax, SubscriptionScheduleDefaultSettingsAutomaticTax, and SubscriptionSchedulePhasesAutomaticTax
    • Add support for TaxID on IssuingAuthorizationMerchantData and IssuingTransactionMerchantData
    • Add support for TrialPeriodDays on PaymentLinkSubscriptionDataParams
    • Add support for Al, Am, Ao, Ba, Bb, Bs, Cd, Gn, Kh, Me, Mk, Mr, Np, Pe, Sn, Sr, Tj, Ug, Uy, Zm, and Zw on TaxRegistrationCountryOptionsParams and TaxRegistrationCountryOptions

See the changelog for more details.

v81.2.0-beta.3

12 Dec 22:57
Compare
Choose a tag to compare
v81.2.0-beta.3 Pre-release
Pre-release
  • #1956 Update generated code for beta
    • Add support for AllowRedisplay on Card and Source
    • 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, and zw_tin on enums CheckoutSessionCollectedInformationTaxIdsType and OrderTaxDetailsTaxIdsType
    • Add support for new value network_fallback on enum IssuingAuthorizationRequestHistoryReason
    • Remove support for AmountRefunded on PaymentRecord
    • Add support for Account on TerminalReaderActionCollectPaymentMethod, TerminalReaderActionConfirmPaymentIntent, TerminalReaderActionProcessPaymentIntent, and TerminalReaderActionRefundPayment

See the changelog for more details.

v81.2.0-beta.2

05 Dec 21:21
Compare
Choose a tag to compare
v81.2.0-beta.2 Pre-release
Pre-release
  • #1953 Update generated code for beta
    • Add support for AutomaticIndirectTax on AccountCapabilitiesParams and AccountCapabilities
    • Add support for new values payout_minimum_balance_hold and payout_minimum_balance_release on enum BalanceTransactionType
    • Add support for ReferencePrefix on CheckoutSessionPaymentMethodOptionsBacsDebitMandateOptionsParams, CheckoutSessionPaymentMethodOptionsBacsDebitMandateOptions, CheckoutSessionPaymentMethodOptionsSepaDebitMandateOptionsParams, CheckoutSessionPaymentMethodOptionsSepaDebitMandateOptions, OrderPaymentSettingsPaymentMethodOptionsSepaDebitMandateOptionsParams, OrderPaymentSettingsPaymentMethodOptionsSepaDebitMandateOptions, PaymentIntentConfirmPaymentMethodOptionsBacsDebitMandateOptionsParams, PaymentIntentConfirmPaymentMethodOptionsSepaDebitMandateOptionsParams, PaymentIntentPaymentMethodOptionsBacsDebitMandateOptionsParams, PaymentIntentPaymentMethodOptionsBacsDebitMandateOptions, PaymentIntentPaymentMethodOptionsSepaDebitMandateOptionsParams, PaymentIntentPaymentMethodOptionsSepaDebitMandateOptions, SetupIntentConfirmPaymentMethodOptionsBacsDebitMandateOptionsParams, SetupIntentConfirmPaymentMethodOptionsSepaDebitMandateOptionsParams, SetupIntentPaymentMethodOptionsBacsDebitMandateOptionsParams, SetupIntentPaymentMethodOptionsBacsDebitMandateOptions, SetupIntentPaymentMethodOptionsSepaDebitMandateOptionsParams, and SetupIntentPaymentMethodOptionsSepaDebitMandateOptions
    • Add support for DisabledReason on InvoiceAutomaticTax, SubscriptionAutomaticTax, SubscriptionScheduleDefaultSettingsAutomaticTax, and SubscriptionSchedulePhasesAutomaticTax
    • Add support for TrialPeriodDays on PaymentLinkSubscriptionDataParams

See the changelog for more details.

v81.1.1

05 Dec 15:45
Compare
Choose a tag to compare
  • #1955 Temporarily add payment_method parameter to BankAccountParams

See the changelog for more details.