Skip to content

Releases: stripe/stripe-go

v78.5.0-beta.1

25 Apr 20:48
Compare
Choose a tag to compare
v78.5.0-beta.1 Pre-release
Pre-release
  • #1850 Update generated code for beta
    • Add support for PaymentMethodSettings on AccountSessionComponentsParams
    • Add support for CancelSubscriptionSchedule on QuoteLine and QuoteLinesParams

See the changelog for more details.

v78.4.0

25 Apr 20:37
Compare
Choose a tag to compare
  • #1852 Update generated code
    • Add support for SetupFutureUsage on CheckoutSessionPaymentMethodOptionsAmazonPay, CheckoutSessionPaymentMethodOptionsRevolutPay, PaymentIntentPaymentMethodOptionsAmazonPay, and PaymentIntentPaymentMethodOptionsRevolutPay
    • Change type of EntitlementsActiveEntitlementFeature from string to *EntitlementsFeature
    • Remove support for inadvertently released identity verification features Email and Phone on IdentityVerificationSessionOptionsParams
    • Add support for new values amazon_pay and revolut_pay on enums InvoicePaymentSettingsPaymentMethodTypes and SubscriptionPaymentSettingsPaymentMethodTypes
    • Add support for AmazonPay and RevolutPay on MandatePaymentMethodDetails and SetupAttemptPaymentMethodDetails
    • Add support for EndingBefore, Limit, and StartingAfter on PaymentMethodConfigurationListParams
    • Add support for Mobilepay on PaymentMethodConfigurationParams and PaymentMethodConfiguration

See the changelog for more details.

v78.4.0-beta.1

18 Apr 21:44
Compare
Choose a tag to compare
v78.4.0-beta.1 Pre-release
Pre-release
  • #1848 Update generated code for beta
    • Add support for CapitalOverview, TaxRegistrations, and TaxSettings on AccountSessionComponentsParams
    • Add support for ExternalAccountCollection on AccountSessionComponentsFinancialAccountFeaturesParams
    • Add support for SubscriptionTrialFromPlan on InvoiceUpcomingLinesParams and InvoiceUpcomingParams

See the changelog for more details.

v78.3.0

18 Apr 21:25
Compare
Choose a tag to compare
  • #1849 Update generated code
    • Add support for CreatePreview method on resource Invoice
    • Add support for PaymentMethodData on CheckoutSessionParams
    • Add support for SavedPaymentMethodOptions on CheckoutSessionParams and CheckoutSession
    • Add support for Mobilepay on CheckoutSessionPaymentMethodOptionsParams and CheckoutSessionPaymentMethodOptions
    • Add support for AllowRedisplay on ConfirmationTokenPaymentMethodDataParams, CustomerListPaymentMethodsParams, PaymentIntentConfirmPaymentMethodDataParams, PaymentIntentPaymentMethodDataParams, PaymentMethodParams, SetupIntentConfirmPaymentMethodDataParams, and SetupIntentPaymentMethodDataParams
    • Add support for ScheduleDetails and SubscriptionDetails on InvoiceUpcomingLinesParams and InvoiceUpcomingParams

See the changelog for more details.

v78.2.0

16 Apr 15:58
Compare
Choose a tag to compare
  • #1847 Update generated code
    • Add support for new resource Entitlements.ActiveEntitlementSummary
    • Add support for Balances and PayoutsList on AccountSessionComponentsParams and AccountSessionComponents
    • Add support for new value entitlements.active_entitlement_summary.updated on enum EventType
    • Remove support for Config on ForwardingRequestParams and ForwardingRequest. This field is no longer used by the Forwarding Request API.
    • Add support for CaptureMethod on PaymentIntentConfirmPaymentMethodOptionsRevolutPayParams, PaymentIntentPaymentMethodOptionsRevolutPayParams, and PaymentIntentPaymentMethodOptionsRevolutPay
    • Add support for Swish on PaymentMethodConfigurationParams and PaymentMethodConfiguration

See the changelog for more details.

v78.2.0-beta.1

11 Apr 23:11
Compare
Choose a tag to compare
v78.2.0-beta.1 Pre-release
Pre-release
  • #1843 Update generated code for beta
    • Add support for Get method on resources Entitlements.ActiveEntitlement and Entitlements.Feature
    • Add support for Fees, Losses, RequirementCollection, and StripeDashboard on AccountControllerParams
    • Add support for new values bh_vat, kz_bin, ng_tin, and om_vat on enum OrderTaxDetailsTaxIdsType
    • Add support for HostedVoucherURL on PaymentIntentNextActionMultibancoDisplayDetails
    • Add support for Toggles on TerminalReaderActionCollectInputsInputs and TerminalReaderCollectInputsInputsParams
    • Add support for Email, Numeric, Phone, and Text on TerminalReaderActionCollectInputsInputs

See the changelog for more details.

v78.1.0

11 Apr 22:59
Compare
Choose a tag to compare
  • #1846 Update generated code
    • Add support for AccountManagement and NotificationBanner on AccountSessionComponentsParams and AccountSessionComponents
    • Add support for ExternalAccountCollection on AccountSessionComponentsAccountOnboardingFeaturesParams and AccountSessionComponentsAccountOnboardingFeatures
    • Add support for new values billing_policy_remote_function_response_invalid, billing_policy_remote_function_timeout, billing_policy_remote_function_unexpected_status_code, and billing_policy_remote_function_unreachable on enums InvoiceLastFinalizationErrorCode, PaymentIntentLastPaymentErrorCode, SetupAttemptSetupErrorCode, SetupIntentLastSetupErrorCode, and StripeErrorCode
    • Change type of BillingMeterEventAdjustmentCancel from BillingMeterResourceBillingMeterEventAdjustmentCancel to nullable(BillingMeterResourceBillingMeterEventAdjustmentCancel)
    • Add support for AmazonPay on ChargePaymentMethodDetails, CheckoutSessionPaymentMethodOptionsParams, CheckoutSessionPaymentMethodOptions, ConfirmationTokenPaymentMethodDataParams, ConfirmationTokenPaymentMethodPreview, PaymentIntentConfirmPaymentMethodDataParams, PaymentIntentConfirmPaymentMethodOptionsParams, PaymentIntentPaymentMethodDataParams, PaymentIntentPaymentMethodOptionsParams, PaymentIntentPaymentMethodOptions, PaymentMethodConfigurationParams, PaymentMethodConfiguration, PaymentMethodParams, PaymentMethod, RefundDestinationDetails, SetupIntentConfirmPaymentMethodDataParams, SetupIntentConfirmPaymentMethodOptionsParams, SetupIntentPaymentMethodDataParams, SetupIntentPaymentMethodOptionsParams, and SetupIntentPaymentMethodOptions
    • Add support for new values bh_vat, kz_bin, ng_tin, and om_vat on enums CheckoutSessionCustomerDetailsTaxIdsType, InvoiceCustomerTaxIdsType, TaxCalculationCustomerDetailsTaxIdsType, TaxIdType, and TaxTransactionCustomerDetailsTaxIdsType
    • Add support for new value ownership on enums CheckoutSessionPaymentMethodOptionsUsBankAccountFinancialConnectionsPrefetch, InvoicePaymentSettingsPaymentMethodOptionsUsBankAccountFinancialConnectionsPrefetch, PaymentIntentPaymentMethodOptionsUsBankAccountFinancialConnectionsPrefetch, SetupIntentPaymentMethodOptionsUsBankAccountFinancialConnectionsPrefetch, and SubscriptionPaymentSettingsPaymentMethodOptionsUsBankAccountFinancialConnectionsPrefetch
    • Add support for new value amazon_pay on enums ConfirmationTokenPaymentMethodPreviewType and PaymentMethodType
    • Add support for NextRefreshAvailableAt on FinancialConnectionsAccountOwnershipRefresh
    • Add support for new value ownership on enums InvoicePaymentSettingsPaymentMethodOptionsUsBankAccountFinancialConnectionsPermissions and SubscriptionPaymentSettingsPaymentMethodOptionsUsBankAccountFinancialConnectionsPermissions

See the changelog for more details.

v78.0.0

10 Apr 22:56
Compare
Choose a tag to compare
  • #1841

    • This release changes the pinned API version to 2024-04-10. Please read the API Upgrade Guide and carefully review the API changes before upgrading.

    ⚠️ Breaking changes

    • When no x-stripe-should-retry header is set in the response, the library now retries all requests with status >= 500, not just non-POST methods.
    • Change the type on the status of TerminalReader object from string to enum with values of TerminalReaderStatusOffline and TerminalReaderStatusOnline
    • Rename Features to MarketingFeatures on ProductCreateOptions, ProductUpdateOptions, and Product.

    ⚠️ Removal of enum values, properties and events that are no longer part of the publicly documented Stripe API

    • Remove SubscriptionPause from BillingPortalConfigurationFeatures and BillingPortalConfigurationFeaturesParams as the feature to pause subscription on the portal has been deprecated.
    • Remove deprecated values for the BalanceTransactionType enum by removing the below constants
      • BalanceTransactionTypeObligationInbound
      • BalanceTransactionTypeObligationPayout
      • BalanceTransactionTypeObligationPayoutFailure
      • BalanceTransactionTypeObligationReversalOutbound
    • Remove deprecated value for the ClimateSupplierRemovalPathway enum by removing the constant ClimateSupplierRemovalPathwayVarious
    • Remove deprecated events types
      • EventTypeInvoiceItemUpdated
      • EventTypeOrderCreated
      • EventTypeRecipientCreated
      • EventTypeRecipientDeleted
      • EventTypeRecipientUpdated
      • EventTypeSKUCreated
      • EventTypeSKUDeleted
    • Remove the field RequestIncrementalAuthorization on the PaymentIntentPaymentMethodOptionsCardPresentParams struct - this was shipped by mistake
    • Remove support for id_bank_transfer, multibanco, netbanking, pay_by_bank, and upi on PaymentMethodConfiguration. TODO - List the affected types and constants
    • Remove deprecated value for the SetupIntentPaymentMethodOptionsCardRequestThreeDSecure enum by removing the constant SetupIntentPaymentMethodOptionsCardRequestThreeDSecureChallengeOnly
    • Remove deprecated value for the TaxRateTaxType enum by removing the constant TaxRateTaxTypeServiceTax
    • Remove PaymentIntentPaymentMethodData*Params in favor of reusing existing PaymentMethodData*Params for all the payment method types.
      • Remove PaymentIntentPaymentMethodDataBLIKParams in favor of PaymentMethodDataBLIKParams
      • Remove PaymentIntentPaymentMethodDataCashAppParams in favor of PaymentMethodDataCashAppParams
      • Remove PaymentIntentPaymentMethodDataCustomerBalanceParams in favor of PaymentMethodDataCustomerBalanceParams
      • Remove PaymentIntentPaymentMethodDataKonbiniParams in favor of PaymentMethodDataKonbiniParams
      • Remove PaymentIntentPaymentMethodDataLinkParams in favor of PaymentMethodDataLinkParams
      • Remove PaymentIntentPaymentMethodDataPayNowParams in favor of PaymentMethodDataPayNowParams
      • Remove PaymentIntentPaymentMethodDataPaypalParams in favor of PaymentMethodDataPaypalParams
      • Remove PaymentIntentPaymentMethodDataPixParams in favor of PaymentMethodDataPixParams
      • Remove PaymentIntentPaymentMethodDataPromptPayParams in favor of PaymentMethodDataPromptPayParams
      • Remove PaymentIntentPaymentMethodDataRevolutPayParams in favor of PaymentMethodDataRevolutPayParams
      • Remove PaymentIntentPaymentMethodDataUSBankAccounParams in favor of PaymentMethodDataUSBankAccounParams
      • Remove PaymentIntentPaymentMethodDataZipParams in favor of PaymentMethodDataZipParams
    • Remove the legacy field InvoiceRenderingOptionsParams in Invoice, InvoiceParams. Use InvoiceRenderingParams instead.

See the changelog for more details.

v76.25.0

09 Apr 21:07
Compare
Choose a tag to compare
  • #1844 Update generated code
    • Add support for new resources Entitlements.ActiveEntitlement and Entitlements.Feature
    • Add support for Get and List methods on resource ActiveEntitlement
    • Add support for Get, List, New, and Update methods on resource Feature
    • Add support for Controller on AccountParams
    • Add support for Fees, Losses, RequirementCollection, and StripeDashboard on AccountController
    • Add support for new value none on enum AccountType
    • Add support for EventName on BillingMeterEventAdjustmentParams and BillingMeterEventAdjustment
    • Add support for Cancel and Type on BillingMeterEventAdjustment

See the changelog for more details.

v76.25.0-beta.1

04 Apr 22:46
Compare
Choose a tag to compare
v76.25.0-beta.1 Pre-release
Pre-release
  • #1839 Update generated code for beta
    • Add support for Update method on resource Entitlements.Feature
    • Add support for RiskControls on AccountParams and Account
    • Add support for PromotionCode on InvoiceAddLinesLinesDiscountsParams, InvoiceUpdateLinesLinesDiscountsParams, QuoteLineItemsDiscountsParams, QuoteLinesActionsAddDiscountParams, and QuotePhasesLineItemsDiscountsParams

See the changelog for more details.