Releases: stripe/stripe-go
Releases · stripe/stripe-go
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
v80.0.0
-
#1926 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- Rename
usage_threshold_config
tousage_threshold
onBillingAlertParams
andBillingAlert
- Remove support for
filter
onBillingAlertParams
andBillingAlert
. Use the filters on theusage_threshold
instead - Remove support for
CustomerConsentCollected
onTerminalReaderProcessSetupIntentParams
Additions
- Add support for
CustomUnitAmount
onProductDefaultPriceDataParams
- Add support for
AllowRedisplay
onTerminalReaderProcessPaymentIntentProcessConfigParams
andTerminalReaderProcessSetupIntentParams
- Add support for new value
international_transaction
on enumTreasuryReceivedCreditFailureCode
- Add method RawRequest() 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.
- Rename
v79.13.0-beta.1
- #1920 Update generated code for beta
- Remove support for resource
QuotePhase
- Remove support for
Get
andListLineItems
methods on resourceQuotePhase
- Add support for
SendMoney
andTransferBalance
onAccountSessionComponentsFinancialAccountFeaturesParams
- Add support for new value
rechnung
on enumPaymentLinkPaymentMethodTypes
- Remove support for resource
v79.12.0
- #1919 Update generated code
- Add support for new value
international_transaction
on enumTreasuryReceivedDebitFailureCode
- Add support for new value
- #1918 Update generated code
- Add support for new value
verification_supportability
on enumsAccountFutureRequirementsErrorsCode
,AccountRequirementsErrorsCode
,BankAccountFutureRequirementsErrorsCode
, andBankAccountRequirementsErrorsCode
- Add support for new value
terminal_reader_invalid_location_for_activation
on enumsInvoiceLastFinalizationErrorCode
,PaymentIntentLastPaymentErrorCode
,SetupAttemptSetupErrorCode
,SetupIntentLastSetupErrorCode
, andStripeErrorCode
- Add support for
PayerDetails
onChargePaymentMethodDetailsKlarna
- Add support for
AmazonPay
onDisputePaymentMethodDetails
- Add support for new value
amazon_pay
on enumDisputePaymentMethodDetailsType
- Add support for
AutomaticallyFinalizesAt
onInvoice
- Add support for
StateSalesTax
onTaxRegistrationCountryOptionsUsParams
andTaxRegistrationCountryOptionsUs
- Add support for new value
v79.12.0-beta.1
- #1911 Update generated code for beta
- Add support for new resources
Issuing.DisputeSettlementDetail
andIssuing.Settlement
- Add support for
Get
andList
methods on resourceDisputeSettlementDetail
- Remove support for
List
method on resourceQuotePhase
- Add support for new values
issuing_dispute_settlement_detail.created
,issuing_dispute_settlement_detail.updated
,issuing_settlement.created
, andissuing_settlement.updated
on enumEventType
- Add support for
Settlement
onIssuingTransactionListParams
andIssuingTransaction
- Add support for new resources
- #1915 Use pinned version of tools in Makefile and ci.yml (beta)
v79.11.0
- #1912 Update generated code
- Add support for new resource
InvoiceRenderingTemplate
- Add support for
Archive
,Get
,List
, andUnarchive
methods on resourceInvoiceRenderingTemplate
- Add support for
Required
onCheckoutSessionTaxIdCollectionParams
,CheckoutSessionTaxIdCollection
,PaymentLinkTaxIdCollectionParams
, andPaymentLinkTaxIdCollection
- Add support for
Template
onCustomerInvoiceSettingsRenderingOptionsParams
,CustomerInvoiceSettingsRenderingOptions
,InvoiceRenderingParams
, andInvoiceRendering
- Add support for
TemplateVersion
onInvoiceRenderingParams
andInvoiceRendering
- Add support for new value
submitted
on enumIssuingCardShippingStatus
- Add support for new resource
- #1914 Add newer Go versions to test matrix
- #1913 Use pinned version of tools in Makefile and ci.yml