- 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 values
verification_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 for
Destination
onCharge
- Please use
TransferData
orOnBehalfOf
instead.
- Please use
- ⚠️Remove support for
AlternateStatementDescriptors
andDispute
onCharge
- Use of these parameters is discouraged.
- ⚠️Remove support for
ShippingRates
onCheckoutSessionParams
- Please use
ShippingParams
instead.
- Please use
- ⚠️Remove support for
Coupon
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 value
charge_refunded
from enumDisputeStatus
- ⚠️Remove support for
BLIK
onMandatePaymentMethodDetails
,PaymentMethodParams
,SetupAttemptPaymentMethodDetails
,SetupIntentConfirmPaymentMethodOptionsParams
,SetupIntentPaymentMethodOptionsParams
, andSetupIntentPaymentMethodOptions
- These fields were mistakenly released.
- ⚠️Remove support for
ACSSDebit
,AUBECSDebit
,Affirm
,BACSDebit
,CashApp
,SEPADebit
, andZip
onPaymentMethodParams
- These fields were empty hashes.
- ⚠️Remove support for
Country
onPaymentMethodLink
- This field was not fully operational.
- ⚠️Remove support for
Recurring
onPriceParams
- This property should be set on create only.
- ⚠️Remove support for
Attributes
,Caption
, andDeactivateOn
onProductParams
andProduct
- These fields are not fully operational.
- ⚠️Add support for new values
- #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 deprecated
excluded_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 constant
ErrorCodeCardDeclinedRateLimitExceeded
, preferErrorCodeCardDeclineRateLimitExceeded
. - ⚠️ Removed deprecated error code constant
ErrorCodeInvalidSwipeData
. - ⚠️ Removed deprecated error code constant
ErrorCodeInvoicePamentIntentRequiresAction
preferErrorCodeInvoicePaymentIntentRequiresAction
. - ⚠️ Removed deprecated error code constant
ErrorCodeSepaUnsupportedAccount
, preferErrorCodeSEPAUnsupportedAccount
. - ⚠️ Removed deprecated error code constant
ErrorCodeSkuInactive
, preferErrorCodeSKUInactive
. - ⚠️ Removed deprecated error code constant
ErrorCodeinstantPayoutsLimitExceeded
, preferErrorCodeInstantPayoutsLimitExceeded
.
-