Releases: stripe/stripe-go
Releases · stripe/stripe-go
v75.5.0-beta.1
- #1730 Update generated code for beta
Release specs are identical. - #1725 Update generated code for beta
- Remove support for
SubmitCard
test helper method on resourceIssuing.Card
- Add support for
TaxForms
onAccountSettingsParams
andAccountSettings
- Add support for
CardDesign
onIssuingCardParams
- Remove support for value
submitted
from enumIssuingCardShippingStatus
- Add support for new value
platform_default
on enumIssuingCardDesignPreference
- Remove support for
v75.4.0
- #1724 Update generated code
- Add support for new resource
PaymentMethodDomain
- Add support for
Get
,List
,New
,Update
, andValidate
methods on resourcePaymentMethodDomain
- Add support for new value
n26
on enumsChargePaymentMethodDetailsIdealBank
,PaymentMethodIdealBank
, andSetupAttemptPaymentMethodDetailsIdealBank
- Add support for new value
NTSBDEB1
on enumsChargePaymentMethodDetailsIdealBic
,PaymentMethodIdealBic
, andSetupAttemptPaymentMethodDetailsIdealBic
- Add support for new values
treasury.credit_reversal.created
,treasury.credit_reversal.posted
,treasury.debit_reversal.completed
,treasury.debit_reversal.created
,treasury.debit_reversal.initial_credit_granted
,treasury.financial_account.closed
,treasury.financial_account.created
,treasury.financial_account.features_status_updated
,treasury.inbound_transfer.canceled
,treasury.inbound_transfer.created
,treasury.inbound_transfer.failed
,treasury.inbound_transfer.succeeded
,treasury.outbound_payment.canceled
,treasury.outbound_payment.created
,treasury.outbound_payment.expected_arrival_date_updated
,treasury.outbound_payment.failed
,treasury.outbound_payment.posted
,treasury.outbound_payment.returned
,treasury.outbound_transfer.canceled
,treasury.outbound_transfer.created
,treasury.outbound_transfer.expected_arrival_date_updated
,treasury.outbound_transfer.failed
,treasury.outbound_transfer.posted
,treasury.outbound_transfer.returned
,treasury.received_credit.created
,treasury.received_credit.failed
,treasury.received_credit.succeeded
, andtreasury.received_debit.created
on enumEventType
- Remove support for value
invoiceitem.updated
from enumEventType
- Add support for
Features
onProductParams
andProduct
- Add support for new resource
v75.4.0-beta.1
- #1721 Update generated code for beta
- Rename
quote.PreviewInvoices
andquote.PreviewSubscriptionSchedules
toquotepreviewinvoice.List
andquotepreviewschedule.List
- Add support for
Components
onAccountSessionParams
andAccountSession
- Rename
v75.3.0
- #1722 Update generated code
- Add support for new resource
AccountSession
- Add support for
New
method on resourceAccountSession
- Add support for new values
obligation_inbound
,obligation_outbound
,obligation_payout_failure
,obligation_payout
,obligation_reversal_inbound
, andobligation_reversal_outbound
on enumBalanceTransactionType
- Change type of
EventType
fromstring
toenum
- Add support for
Application
onPaymentLink
- Add support for new resource
v75.2.0
- #1718 Update generated code
- Add support for
Retention
onBillingPortalSessionFlowDataSubscriptionCancelParams
andBillingPortalSessionFlowSubscriptionCancel
- Add support for
Prefetch
onCheckoutSessionPaymentMethodOptionsUsBankAccountFinancialConnectionsParams
,CheckoutSessionPaymentMethodOptionsUsBankAccountFinancialConnections
,FinancialConnectionsSessionParams
,FinancialConnectionsSession
,InvoicePaymentSettingsPaymentMethodOptionsUsBankAccountFinancialConnectionsParams
,InvoicePaymentSettingsPaymentMethodOptionsUsBankAccountFinancialConnections
,PaymentIntentConfirmPaymentMethodOptionsUsBankAccountFinancialConnectionsParams
,PaymentIntentPaymentMethodOptionsUsBankAccountFinancialConnectionsParams
,PaymentIntentPaymentMethodOptionsUsBankAccountFinancialConnections
,SetupIntentConfirmPaymentMethodOptionsUsBankAccountFinancialConnectionsParams
,SetupIntentPaymentMethodOptionsUsBankAccountFinancialConnectionsParams
,SetupIntentPaymentMethodOptionsUsBankAccountFinancialConnections
,SubscriptionPaymentSettingsPaymentMethodOptionsUsBankAccountFinancialConnectionsParams
, andSubscriptionPaymentSettingsPaymentMethodOptionsUsBankAccountFinancialConnections
- Add support for
PaymentMethodDetails
onDispute
- Add support for
BalanceTransaction
onCustomerCashBalanceTransaction.AdjustedForOverdraft
- Add support for
- #1717 Replace import placeholder before running formatting
- #1716 Replace version placeholder with an actual version during format
v75.0.0-beta.1
- #1719 Move beta version back
- #1715 Update generated code for beta
- Add support for new resources
QuotePreviewInvoice
andQuotePreviewSchedule
- Remove support for
AppliesTo
onInvoice
andSubscriptionSchedule
- Add support for
Cl
,Co
,ID
,Kr
,MX
,My
,Sa
,TH
,TR
, andVn
onTaxRegistrationCountryOptionsParams
andTaxRegistrationCountryOptions
- Remove support for
Hk
onTaxRegistrationCountryOptionsParams
andTaxRegistrationCountryOptions
- Add support for new resources
- #1714 Merge master
v75.1.0
v75.0.0
- This release changes the pinned API version to
2023-08-16
. Please read the API Upgrade Guide and carefully review the API changes before upgradingstripe-go
. - More information is available in the stripe-dotnet v75 migration guide
- #1705 Update generated code
⚠️ Add support for new valuesverification_directors_mismatch
,verification_document_directors_mismatch
,verification_extraneous_directors
, andverification_missing_directors
on enumsAccountFutureRequirementsErrorsCode
,AccountRequirementsErrorsCode
,BankAccountFutureRequirementsErrorsCode
, andBankAccountRequirementsErrorsCode
- Remove support for
AvailableOn
onBalanceTransactionListParams
- Use of this parameter is discouraged. You may use
.AddExtra
if sending the parameter is still required.
- Use of this parameter is discouraged. You may use
⚠️ Remove support forDestination
onCharge
- Please use
TransferData
orOnBehalfOf
instead.
- Please use
⚠️ Remove support forAlternateStatementDescriptors
andDispute
onCharge
- Use of these parameters is discouraged.
⚠️ Remove support forShippingRates
onCheckoutSessionParams
- Please use
ShippingParams
instead.
- Please use
⚠️ Remove support forCoupon
andTrialFromPlan
onCheckoutSessionSubscriptionDataParams
- Please migrate to the Prices API, or use
.AddExtra
if sending the parameter is still required.
- Please migrate to the Prices API, or use
⚠️ Remove support for valuecharge_refunded
from enumDisputeStatus
⚠️ Remove support forBLIK
onMandatePaymentMethodDetails
,PaymentMethodParams
,SetupAttemptPaymentMethodDetails
,SetupIntentConfirmPaymentMethodOptionsParams
,SetupIntentPaymentMethodOptionsParams
, andSetupIntentPaymentMethodOptions
- These fields were mistakenly released.
⚠️ Remove support forACSSDebit
,AUBECSDebit
,Affirm
,BACSDebit
,CashApp
,SEPADebit
, andZip
onPaymentMethodParams
- These fields were empty hashes.
⚠️ Remove support forCountry
onPaymentMethodLink
- This field was not fully operational.
⚠️ Remove support forRecurring
onPriceParams
- This property should be set on create only.
⚠️ Remove support forAttributes
,Caption
, andDeactivateOn
onProductParams
andProduct
- These fields are not fully operational.
- #1699
-
Add
Metadata
andExpand
to individualParams
classes. -
Expand
,AddExpand
,Metadata
andAddMetadata
on embeddedParams
struct were deprecated.
Before:params := &stripe.AccountParams{ Params: stripe.Params{ Expand: []*string{stripe.String("business_profile")}, Metadata: map[string]string{ "order_id": "6735", }, }, }
After:
params := &stripe.AccountParams{ Expand: []*string{stripe.String("business_profile")}, Metadata: map[string]string{ "order_id": "6735", }, }
You don't have to change your calls to
AddMetadata
andAddExpand
Before/After:params.AddMetadata("order_id", "6735") params.AddExpand("business_profile")
⚠️ Removed deprecatedexcluded_territory
,jurisdiction_unsupported
,vat_exempt
taxability reasons:CheckoutSessionShippingCostTaxTaxabilityReasonExcludedTerritory
CheckoutSessionShippingCostTaxTaxabilityReasonJurisdictionUnsupported
CheckoutSessionShippingCostTaxTaxabilityReasonVATExempt
CheckoutSessionTotalDetailsBreakdownTaxTaxabilityReasonExcludedTerritory
CheckoutSessionTotalDetailsBreakdownTaxTaxabilityReasonJurisdictionUnsupported
CheckoutSessionTotalDetailsBreakdownTaxTaxabilityReasonVATExempt
CreditNoteShippingCostTaxTaxabilityReasonExcludedTerritory
CreditNoteShippingCostTaxTaxabilityReasonJurisdictionUnsupported
CreditNoteShippingCostTaxTaxabilityReasonVATExempt
InvoiceShippingCostTaxTaxabilityReasonExcludedTerritory
InvoiceShippingCostTaxTaxabilityReasonJurisdictionUnsupported
InvoiceShippingCostTaxTaxabilityReasonVATExempt
LineItemTaxTaxabilityReasonExcludedTerritory
LineItemTaxTaxabilityReasonJurisdictionUnsupported
LineItemTaxTaxabilityReasonVATExempt
QuoteComputedRecurringTotalDetailsBreakdownTaxTaxabilityReasonExcludedTerritory
QuoteComputedRecurringTotalDetailsBreakdownTaxTaxabilityReasonJurisdictionUnsupported
QuoteComputedRecurringTotalDetailsBreakdownTaxTaxabilityReasonVATExempt
QuoteComputedUpfrontTotalDetailsBreakdownTaxTaxabilityReasonExcludedTerritory
QuoteComputedUpfrontTotalDetailsBreakdownTaxTaxabilityReasonJurisdictionUnsupported
QuoteComputedUpfrontTotalDetailsBreakdownTaxTaxabilityReasonVATExempt
QuoteTotalDetailsBreakdownTaxTaxabilityReasonExcludedTerritory
QuoteTotalDetailsBreakdownTaxTaxabilityReasonJurisdictionUnsupported
QuoteTotalDetailsBreakdownTaxTaxabilityReasonVATExempt
⚠️ Removed deprecated error code constantErrorCodeCardDeclinedRateLimitExceeded
, preferErrorCodeCardDeclineRateLimitExceeded
.⚠️ Removed deprecated error code constantErrorCodeInvalidSwipeData
.⚠️ Removed deprecated error code constantErrorCodeInvoicePamentIntentRequiresAction
preferErrorCodeInvoicePaymentIntentRequiresAction
.⚠️ Removed deprecated error code constantErrorCodeSepaUnsupportedAccount
, preferErrorCodeSEPAUnsupportedAccount
.⚠️ Removed deprecated error code constantErrorCodeSkuInactive
, preferErrorCodeSKUInactive
.⚠️ Removed deprecated error code constantErrorCodeinstantPayoutsLimitExceeded
, preferErrorCodeInstantPayoutsLimitExceeded
.
-
v74.31.0-beta.1
- #1701 Update generated code for beta
- Add support for
Paypal
onPaymentMethodConfigurationParams
andPaymentMethodConfiguration
- Add support for
v74.30.0
- #1702 Update generated code
- Add support for new values
incorporated_partnership
andunincorporated_partnership
on enumAccountCompanyStructure
- Add support for new value
payment_reversal
on enumBalanceTransactionType
- Add support for new values