Skip to content

Releases: stripe/stripe-go

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.

v80.2.0-beta.1

03 Oct 23:21
Compare
Choose a tag to compare
v80.2.0-beta.1 Pre-release
Pre-release
  • #1930 Updates beta branch with changes in master
    • Add support for ReportingChart on AccountSessionComponentsParams
    • Remove support for FromSchedule on QuoteSubscriptionData
    • Add support for AllowRedisplay on TerminalReaderCollectPaymentMethodCollectConfigParams
    • Moved raw request functionality from preview package to rawrequest package, and removed preview

See the changelog for more details.

v80.1.0

03 Oct 22:48
Compare
Choose a tag to compare
  • #1928 Update generated code
    • Remove the support for resource Margin that was accidentally made public in the last release

See the changelog for more details.

v80.0.0

01 Oct 18:35
Compare
Choose a tag to compare
  • #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 to usage_threshold on BillingAlertParams and BillingAlert
    • Remove support for filter on BillingAlertParams and BillingAlert. Use the filters on the usage_threshold instead
    • Remove support for CustomerConsentCollected on TerminalReaderProcessSetupIntentParams

    Additions

    • Add support for CustomUnitAmount on ProductDefaultPriceDataParams
    • Add support for AllowRedisplay on TerminalReaderProcessPaymentIntentProcessConfigParams and TerminalReaderProcessSetupIntentParams
    • Add support for new value international_transaction on enum TreasuryReceivedCreditFailureCode
    • 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.

See the changelog for more details.

v79.13.0-beta.1

18 Sep 21:52
Compare
Choose a tag to compare
v79.13.0-beta.1 Pre-release
Pre-release
  • #1920 Update generated code for beta
    • Remove support for resource QuotePhase
    • Remove support for Get and ListLineItems methods on resource QuotePhase
    • Add support for SendMoney and TransferBalance on AccountSessionComponentsFinancialAccountFeaturesParams
    • Add support for new value rechnung on enum PaymentLinkPaymentMethodTypes

See the changelog for more details.

v79.12.0

18 Sep 18:38
Compare
Choose a tag to compare
  • #1919 Update generated code
    • Add support for new value international_transaction on enum TreasuryReceivedDebitFailureCode
  • #1918 Update generated code
    • Add support for new value verification_supportability on enums AccountFutureRequirementsErrorsCode, AccountRequirementsErrorsCode, BankAccountFutureRequirementsErrorsCode, and BankAccountRequirementsErrorsCode
    • Add support for new value terminal_reader_invalid_location_for_activation on enums InvoiceLastFinalizationErrorCode, PaymentIntentLastPaymentErrorCode, SetupAttemptSetupErrorCode, SetupIntentLastSetupErrorCode, and StripeErrorCode
    • Add support for PayerDetails on ChargePaymentMethodDetailsKlarna
    • Add support for AmazonPay on DisputePaymentMethodDetails
    • Add support for new value amazon_pay on enum DisputePaymentMethodDetailsType
    • Add support for AutomaticallyFinalizesAt on Invoice
    • Add support for StateSalesTax on TaxRegistrationCountryOptionsUsParams and TaxRegistrationCountryOptionsUs

See the changelog for more details.

v79.12.0-beta.1

13 Sep 17:58
Compare
Choose a tag to compare
v79.12.0-beta.1 Pre-release
Pre-release
  • #1911 Update generated code for beta
    • Add support for new resources Issuing.DisputeSettlementDetail and Issuing.Settlement
    • Add support for Get and List methods on resource DisputeSettlementDetail
    • Remove support for List method on resource QuotePhase
    • Add support for new values issuing_dispute_settlement_detail.created, issuing_dispute_settlement_detail.updated, issuing_settlement.created, and issuing_settlement.updated on enum EventType
    • Add support for Settlement on IssuingTransactionListParams and IssuingTransaction
  • #1915 Use pinned version of tools in Makefile and ci.yml (beta)

See the changelog for more details.

v79.11.0

12 Sep 22:06
Compare
Choose a tag to compare
  • #1912 Update generated code
    • Add support for new resource InvoiceRenderingTemplate
    • Add support for Archive, Get, List, and Unarchive methods on resource InvoiceRenderingTemplate
    • Add support for Required on CheckoutSessionTaxIdCollectionParams, CheckoutSessionTaxIdCollection, PaymentLinkTaxIdCollectionParams, and PaymentLinkTaxIdCollection
    • Add support for Template on CustomerInvoiceSettingsRenderingOptionsParams, CustomerInvoiceSettingsRenderingOptions, InvoiceRenderingParams, and InvoiceRendering
    • Add support for TemplateVersion on InvoiceRenderingParams and InvoiceRendering
    • Add support for new value submitted on enum IssuingCardShippingStatus
  • #1914 Add newer Go versions to test matrix
  • #1913 Use pinned version of tools in Makefile and ci.yml

See the changelog for more details.