github.com/stripe/stripe-go/v76@v76.25.0/CHANGELOG.md (about) 1 # Changelog 2 3 ## 76.25.0 - 2024-04-09 4 * [#1844](https://github.com/stripe/stripe-go/pull/1844) Update generated code 5 * Add support for new resources `Entitlements.ActiveEntitlement` and `Entitlements.Feature` 6 * Add support for `Get` and `List` methods on resource `ActiveEntitlement` 7 * Add support for `Get`, `List`, `New`, and `Update` methods on resource `Feature` 8 * Add support for `Controller` on `AccountParams` 9 * Add support for `Fees`, `Losses`, `RequirementCollection`, and `StripeDashboard` on `AccountController` 10 * Add support for new value `none` on enum `AccountType` 11 * Add support for `EventName` on `BillingMeterEventAdjustmentParams` and `BillingMeterEventAdjustment` 12 * Add support for `Cancel` and `Type` on `BillingMeterEventAdjustment` 13 14 ## 76.24.0 - 2024-04-04 15 * [#1838](https://github.com/stripe/stripe-go/pull/1838) Update generated code 16 * Change type of `CheckoutSessionPaymentMethodOptionsSwishReferenceParams` from `emptyable(string)` to `string` 17 * Add support for `SubscriptionItem` on `Discount` 18 * Add support for `Email` and `Phone` on `IdentityVerificationReport`, `IdentityVerificationSessionOptionsParams`, `IdentityVerificationSessionOptions`, and `IdentityVerificationSessionVerifiedOutputs` 19 * Add support for `VerificationFlow` on `IdentityVerificationReport`, `IdentityVerificationSessionParams`, and `IdentityVerificationSession` 20 * Add support for new value `verification_flow` on enums `IdentityVerificationReportType` and `IdentityVerificationSessionType` 21 * Add support for `ProvidedDetails` on `IdentityVerificationSessionParams` and `IdentityVerificationSession` 22 * Add support for new values `email_unverified_other`, `email_verification_declined`, `phone_unverified_other`, and `phone_verification_declined` on enum `IdentityVerificationSessionLastErrorCode` 23 * Add support for `PromotionCode` on `InvoiceDiscountsParams`, `InvoiceItemDiscountsParams`, and `QuoteDiscountsParams` 24 * Add support for `Discounts` on `InvoiceUpcomingLinesSubscriptionItemsParams`, `InvoiceUpcomingSubscriptionItemsParams`, `QuoteLineItemsParams`, `SubscriptionAddInvoiceItemsParams`, `SubscriptionItemParams`, `SubscriptionItem`, `SubscriptionItemsParams`, `SubscriptionParams`, `SubscriptionSchedulePhasesAddInvoiceItemsParams`, `SubscriptionSchedulePhasesAddInvoiceItems`, `SubscriptionSchedulePhasesItemsParams`, `SubscriptionSchedulePhasesItems`, `SubscriptionSchedulePhasesParams`, `SubscriptionSchedulePhases`, and `Subscription` 25 * Add support for `AllowedMerchantCountries` and `BlockedMerchantCountries` on `IssuingCardSpendingControlsParams`, `IssuingCardSpendingControls`, `IssuingCardholderSpendingControlsParams`, and `IssuingCardholderSpendingControls` 26 * Add support for `Zip` on `PaymentMethodConfigurationParams` and `PaymentMethodConfiguration` 27 * Add support for `Offline` on `SetupAttemptPaymentMethodDetailsCardPresent` 28 * Add support for `CardPresent` on `SetupIntentConfirmPaymentMethodOptionsParams`, `SetupIntentPaymentMethodOptionsParams`, and `SetupIntentPaymentMethodOptions` 29 * Add support for new value `mobile_phone_reader` on enum `TerminalReaderDeviceType` 30 31 ## 76.23.0 - 2024-03-28 32 * [#1830](https://github.com/stripe/stripe-go/pull/1830) Update generated code 33 * Add support for new resources `Billing.MeterEventAdjustment`, `Billing.MeterEvent`, and `Billing.Meter` 34 * Add support for `Deactivate`, `Get`, `List`, `New`, `Reactivate`, and `Update` methods on resource `Meter` 35 * Add support for `New` method on resources `MeterEventAdjustment` and `MeterEvent` 36 * Add support for `AmazonPayPayments` on `AccountCapabilitiesParams` and `AccountCapabilities` 37 * Add support for new value `verification_failed_representative_authority` on enums `AccountFutureRequirementsErrorsCode`, `AccountRequirementsErrorsCode`, `BankAccountFutureRequirementsErrorsCode`, and `BankAccountRequirementsErrorsCode` 38 * Add support for `DestinationOnBehalfOfChargeManagement` on `AccountSessionComponentsPaymentDetailsFeaturesParams`, `AccountSessionComponentsPaymentDetailsFeatures`, `AccountSessionComponentsPaymentsFeaturesParams`, and `AccountSessionComponentsPaymentsFeatures` 39 * Add support for `Mandate` on `ChargePaymentMethodDetailsUsBankAccount`, `TreasuryInboundTransferOriginPaymentMethodDetailsUsBankAccount`, `TreasuryOutboundPaymentDestinationPaymentMethodDetailsUsBankAccount`, and `TreasuryOutboundTransferDestinationPaymentMethodDetailsUsBankAccount` 40 * Add support for `SecondLine` on `IssuingCardParams` 41 * Add support for `Meter` on `PlanParams`, `Plan`, `PriceListRecurringParams`, `PriceRecurringParams`, and `PriceRecurring` 42 43 ## 76.22.0 - 2024-03-21 44 * [#1828](https://github.com/stripe/stripe-go/pull/1828) Update generated code 45 * Add support for new resources `ConfirmationToken` and `Forwarding.Request` 46 * Add support for `Get` method on resource `ConfirmationToken` 47 * Add support for `Get`, `List`, and `New` methods on resource `Request` 48 * Add support for `MobilepayPayments` on `AccountCapabilitiesParams` and `AccountCapabilities` 49 * Add support for new values `forwarding_api_inactive`, `forwarding_api_invalid_parameter`, `forwarding_api_upstream_connection_error`, and `forwarding_api_upstream_connection_timeout` on enums `InvoiceLastFinalizationErrorCode`, `PaymentIntentLastPaymentErrorCode`, `SetupAttemptSetupErrorCode`, `SetupIntentLastSetupErrorCode`, and `StripeErrorCode` 50 * Add support for `Mobilepay` on `ChargePaymentMethodDetails`, `PaymentIntentConfirmPaymentMethodDataParams`, `PaymentIntentConfirmPaymentMethodOptionsParams`, `PaymentIntentPaymentMethodDataParams`, `PaymentIntentPaymentMethodOptionsParams`, `PaymentIntentPaymentMethodOptions`, `PaymentMethodParams`, `PaymentMethod`, `SetupIntentConfirmPaymentMethodDataParams`, and `SetupIntentPaymentMethodDataParams` 51 * Add support for `PaymentReference` on `ChargePaymentMethodDetailsUsBankAccount` 52 * Add support for `ConfirmationToken` on `PaymentIntentConfirmParams`, `PaymentIntentParams`, `SetupIntentConfirmParams`, and `SetupIntentParams` 53 * Add support for new value `mobilepay` on enum `PaymentMethodType` 54 * Add support for `Name` on `TerminalConfigurationParams` and `TerminalConfiguration` 55 * Add support for `Payout` on `TreasuryReceivedDebitLinkedFlows` 56 57 ## 76.21.0 - 2024-03-14 58 * [#1824](https://github.com/stripe/stripe-go/pull/1824) Update generated code 59 * Add support for new resources `Issuing.PersonalizationDesign` and `Issuing.PhysicalBundle` 60 * Add support for `Get`, `List`, `New`, and `Update` methods on resource `PersonalizationDesign` 61 * Add support for `Get` and `List` methods on resource `PhysicalBundle` 62 * Add support for `PersonalizationDesign` on `IssuingCardListParams`, `IssuingCardParams`, and `IssuingCard` 63 * Change type of `SubscriptionApplicationFeePercentParams` from `number` to `emptyStringable(number)` 64 * Add support for `SEPADebit` on `SubscriptionPaymentSettingsPaymentMethodOptionsParams` and `SubscriptionPaymentSettingsPaymentMethodOptions` 65 66 ## 76.20.0 - 2024-03-07 67 * [#1823](https://github.com/stripe/stripe-go/pull/1823) Update generated code 68 * Add support for `Documents` on `AccountSessionComponentsParams` and `AccountSessionComponents` 69 * Add support for `RequestThreeDSecure` on `CheckoutSessionPaymentMethodOptionsCardParams` and `CheckoutSessionPaymentMethodOptionsCard` 70 * Add support for `Created` on `CreditNoteListParams` 71 * Add support for `SEPADebit` on `InvoicePaymentSettingsPaymentMethodOptionsParams` and `InvoicePaymentSettingsPaymentMethodOptions` 72 73 ## 76.19.0 - 2024-02-29 74 * [#1818](https://github.com/stripe/stripe-go/pull/1818) Update generated code 75 * Add support for `Number` on `InvoiceParams` 76 * Add support for `EnableCustomerCancellation` on `TerminalReaderActionProcessPaymentIntentProcessConfig`, `TerminalReaderActionProcessSetupIntentProcessConfig`, `TerminalReaderProcessPaymentIntentProcessConfigParams`, and `TerminalReaderProcessSetupIntentProcessConfigParams` 77 * Add support for `RefundPaymentConfig` on `TerminalReaderActionRefundPayment` and `TerminalReaderRefundPaymentParams` 78 * [#1820](https://github.com/stripe/stripe-go/pull/1820) Update README to use AddBetaVersion 79 * [#1817](https://github.com/stripe/stripe-go/pull/1817) Fix typo 80 81 ## 76.18.0 - 2024-02-22 82 * [#1814](https://github.com/stripe/stripe-go/pull/1814) Update generated code 83 * Add support for `ClientReferenceID` on `IdentityVerificationReportListParams`, `IdentityVerificationReport`, `IdentityVerificationSessionListParams`, `IdentityVerificationSessionParams`, and `IdentityVerificationSession` 84 * Remove support for value `service_tax` from enum `TaxRateTaxType` 85 * Add support for `Created` on `TreasuryOutboundPaymentListParams` 86 87 ## 76.17.0 - 2024-02-15 88 * [#1812](https://github.com/stripe/stripe-go/pull/1812) Update generated code 89 * Add support for `Networks` on `Card`, `PaymentMethodCardParams`, and `TokenCardParams` 90 * Add support for new value `no_voec` on enums `CheckoutSessionCustomerDetailsTaxIdsType`, `InvoiceCustomerTaxIdsType`, `TaxCalculationCustomerDetailsTaxIdsType`, `TaxIdType`, and `TaxTransactionCustomerDetailsTaxIdsType` 91 * Add support for new value `financial_connections.account.refreshed_ownership` on enum `EventType` 92 * Add support for `DisplayBrand` on `PaymentMethodCard` 93 94 ## 76.16.0 - 2024-02-08 95 * [#1811](https://github.com/stripe/stripe-go/pull/1811) Update generated code 96 * Add support for new value `velobank` on enums `ChargePaymentMethodDetailsP24Bank` and `PaymentMethodP24Bank` 97 * Add support for `SetupFutureUsage` on `PaymentIntentConfirmPaymentMethodOptionsBlikParams`, `PaymentIntentPaymentMethodOptionsBlikParams`, and `PaymentIntentPaymentMethodOptionsBlik` 98 * Add support for `RequireCVCRecollection` on `PaymentIntentConfirmPaymentMethodOptionsCardParams`, `PaymentIntentPaymentMethodOptionsCardParams`, and `PaymentIntentPaymentMethodOptionsCard` 99 100 ## 76.15.0 - 2024-02-01 101 Release specs are identical. 102 * [#1805](https://github.com/stripe/stripe-go/pull/1805) Update generated code 103 * Add support for Swish payment method throughout the API. 104 * Add support for `Relationship` on `AccountIndividualParams` and `TokenAccountIndividualParams` 105 * Add support for `Invoices` on `AccountSettingsParams` and `AccountSettings` 106 * Add support for `AccountTaxIDs` on `SubscriptionInvoiceSettingsParams`, `SubscriptionScheduleDefaultSettingsInvoiceSettingsParams`, `SubscriptionScheduleDefaultSettingsInvoiceSettings`, `SubscriptionSchedulePhasesInvoiceSettingsParams`, and `SubscriptionSchedulePhasesInvoiceSettings` 107 * Add support for `JurisdictionLevel` on `TaxRate` 108 109 ## 76.14.0 - 2024-01-25 110 * [#1803](https://github.com/stripe/stripe-go/pull/1803) Update generated code 111 * Add support for `AnnualRevenue` and `EstimatedWorkerCount` on `AccountBusinessProfileParams` and `AccountBusinessProfile` 112 * Add support for new value `registered_charity` on enum `AccountCompanyStructure` 113 * Add support for `CollectionOptions` on `AccountLinkParams` 114 * Add support for `Liability` on `CheckoutSessionAutomaticTaxParams`, `CheckoutSessionAutomaticTax`, `PaymentLinkAutomaticTaxParams`, `PaymentLinkAutomaticTax`, `QuoteAutomaticTaxParams`, `QuoteAutomaticTax`, `SubscriptionScheduleDefaultSettingsAutomaticTaxParams`, `SubscriptionScheduleDefaultSettingsAutomaticTax`, `SubscriptionSchedulePhasesAutomaticTaxParams`, and `SubscriptionSchedulePhasesAutomaticTax` 115 * Add support for `Issuer` on `CheckoutSessionInvoiceCreationInvoiceDataParams`, `CheckoutSessionInvoiceCreationInvoiceData`, `PaymentLinkInvoiceCreationInvoiceDataParams`, `PaymentLinkInvoiceCreationInvoiceData`, `QuoteInvoiceSettingsParams`, `QuoteInvoiceSettings`, `SubscriptionScheduleDefaultSettingsInvoiceSettingsParams`, `SubscriptionScheduleDefaultSettingsInvoiceSettings`, `SubscriptionSchedulePhasesInvoiceSettingsParams`, and `SubscriptionSchedulePhasesInvoiceSettings` 116 * Add support for `InvoiceSettings` on `CheckoutSessionSubscriptionDataParams`, `PaymentLinkSubscriptionDataParams`, and `PaymentLinkSubscriptionData` 117 * Add support for `PromotionCode` on `InvoiceUpcomingDiscountsParams`, `InvoiceUpcomingInvoiceItemsDiscountsParams`, `InvoiceUpcomingLinesDiscountsParams`, and `InvoiceUpcomingLinesInvoiceItemsDiscountsParams` 118 * Add support for new value `challenge` on enums `InvoicePaymentSettingsPaymentMethodOptionsCardRequestThreeDSecure` and `SubscriptionPaymentSettingsPaymentMethodOptionsCardRequestThreeDSecure` 119 * Add support for `AccountType` on `PaymentMethodUsBankAccountParams` 120 * [#1800](https://github.com/stripe/stripe-go/pull/1800) Update generated code 121 122 * [#1798](https://github.com/stripe/stripe-go/pull/1798) Update generated code 123 * Add support for new value `nn` on enums `ChargePaymentMethodDetailsIdealBank`, `PaymentMethodIdealBank`, and `SetupAttemptPaymentMethodDetailsIdealBank` 124 * Add support for `Issuer` on `InvoiceParams`, `InvoiceUpcomingLinesParams`, `InvoiceUpcomingParams`, and `Invoice` 125 * Add support for `Liability` on `InvoiceAutomaticTaxParams`, `InvoiceAutomaticTax`, `InvoiceUpcomingAutomaticTaxParams`, `InvoiceUpcomingLinesAutomaticTaxParams`, `SubscriptionAutomaticTaxParams`, and `SubscriptionAutomaticTax` 126 * Add support for `OnBehalfOf` on `InvoiceUpcomingLinesParams` and `InvoiceUpcomingParams` 127 * Add support for `PIN` on `IssuingCardParams` 128 * Add support for `RevocationReason` on `MandatePaymentMethodDetailsBacsDebit` 129 * Add support for `CustomerBalance` on `PaymentMethodConfigurationParams` and `PaymentMethodConfiguration` 130 * Add support for `InvoiceSettings` on `SubscriptionParams` 131 132 ## 76.13.0 - 2024-01-18 133 * [#1800](https://github.com/stripe/stripe-go/pull/1800) Update generated code 134 * [#1798](https://github.com/stripe/stripe-go/pull/1798) Update generated code 135 * Add support for new value `nn` on enums `ChargePaymentMethodDetailsIdealBank`, `PaymentMethodIdealBank`, and `SetupAttemptPaymentMethodDetailsIdealBank` 136 * Add support for `Issuer` on `InvoiceParams`, `InvoiceUpcomingLinesParams`, `InvoiceUpcomingParams`, and `Invoice` 137 * Add support for `Liability` on `InvoiceAutomaticTaxParams`, `InvoiceAutomaticTax`, `InvoiceUpcomingAutomaticTaxParams`, `InvoiceUpcomingLinesAutomaticTaxParams`, `SubscriptionAutomaticTaxParams`, and `SubscriptionAutomaticTax` 138 * Add support for `OnBehalfOf` on `InvoiceUpcomingLinesParams` and `InvoiceUpcomingParams` 139 * Add support for `PIN` on `IssuingCardParams` 140 * Add support for `RevocationReason` on `MandatePaymentMethodDetailsBacsDebit` 141 * Add support for `CustomerBalance` on `PaymentMethodConfigurationParams` and `PaymentMethodConfiguration` 142 * Add support for `InvoiceSettings` on `SubscriptionParams` 143 * [#1796](https://github.com/stripe/stripe-go/pull/1796) Update generated code 144 * Add support for new resource `CustomerSession` 145 * Add support for `New` method on resource `CustomerSession` 146 * Remove support for values `obligation_inbound`, `obligation_payout_failure`, `obligation_payout`, and `obligation_reversal_outbound` from enum `BalanceTransactionType` 147 * Remove support for `Expand` on `BankAccountParams` and `CardParams` 148 * Add support for `AccountType`, `DefaultForCurrency`, and `Documents` on `BankAccountParams` and `CardParams` 149 * Remove support for `Owner` on `BankAccountParams` and `CardParams` 150 * Change type of `BankAccountAccountHolderTypeParams` and `CardAccountHolderTypeParams` from `enum('company'|'individual')` to `emptyStringable(enum('company'|'individual'))` 151 * Add support for new values `eps` and `p24` on enums `InvoicePaymentSettingsPaymentMethodTypes` and `SubscriptionPaymentSettingsPaymentMethodTypes` 152 * Add support for `BillingCycleAnchorConfig` on `SubscriptionParams` and `Subscription` 153 154 ## 76.12.0 - 2024-01-12 155 * [#1796](https://github.com/stripe/stripe-go/pull/1796) Update generated code 156 * Add support for new resource `CustomerSession` 157 * Add support for `New` method on resource `CustomerSession` 158 * Remove support for values `obligation_inbound`, `obligation_payout_failure`, `obligation_payout`, and `obligation_reversal_outbound` from enum `BalanceTransactionType` 159 * Remove support for `Expand` on `BankAccountParams` and `CardParams` 160 * Add support for `AccountType`, `DefaultForCurrency`, and `Documents` on `BankAccountParams` and `CardParams` 161 * Remove support for `Owner` on `BankAccountParams` and `CardParams` 162 * Change type of `BankAccountAccountHolderTypeParams` and `CardAccountHolderTypeParams` from `enum('company'|'individual')` to `emptyStringable(enum('company'|'individual'))` 163 * Add support for new values `eps` and `p24` on enums `InvoicePaymentSettingsPaymentMethodTypes` and `SubscriptionPaymentSettingsPaymentMethodTypes` 164 * Add support for `BillingCycleAnchorConfig` on `SubscriptionParams` and `Subscription` 165 166 ## 76.11.0 - 2024-01-04 167 * [#1792](https://github.com/stripe/stripe-go/pull/1792) Update generated code 168 * Add support for `Get` method on resource `Tax.Registration` 169 * Change type of `SubscriptionScheduleDefaultSettingsInvoiceSettings` from `nullable(InvoiceSettingSubscriptionScheduleSetting)` to `InvoiceSettingSubscriptionScheduleSetting` 170 * [#1790](https://github.com/stripe/stripe-go/pull/1790) Update generated code 171 * Add support for `CollectionMethod` on `MandatePaymentMethodDetailsUsBankAccount` 172 * Add support for `MandateOptions` on `PaymentIntentConfirmPaymentMethodOptionsUsBankAccountParams`, `PaymentIntentPaymentMethodOptionsUsBankAccountParams`, `PaymentIntentPaymentMethodOptionsUsBankAccount`, `SetupIntentConfirmPaymentMethodOptionsUsBankAccountParams`, `SetupIntentPaymentMethodOptionsUsBankAccountParams`, and `SetupIntentPaymentMethodOptionsUsBankAccount` 173 * [#1789](https://github.com/stripe/stripe-go/pull/1789) Update generated code 174 * Add support for new resource `FinancialConnections.Transaction` 175 * Add support for `Get` and `List` methods on resource `Transaction` 176 * Add support for `Subscribe` and `Unsubscribe` methods on resource `FinancialConnections.Account` 177 * Add support for `Features` on `AccountSessionComponentsPayoutsParams` 178 * Add support for `EditPayoutSchedule`, `InstantPayouts`, and `StandardPayouts` on `AccountSessionComponentsPayoutsFeatures` 179 * Change type of `CheckoutSessionPaymentMethodOptionsUsBankAccountFinancialConnectionsPrefetchParams`, `CheckoutSessionPaymentMethodOptionsUsBankAccountFinancialConnectionsPrefetch`, `InvoicePaymentSettingsPaymentMethodOptionsUsBankAccountFinancialConnectionsPrefetchParams`, `InvoicePaymentSettingsPaymentMethodOptionsUsBankAccountFinancialConnectionsPrefetch`, `PaymentIntentConfirmPaymentMethodOptionsUsBankAccountFinancialConnectionsPrefetchParams`, `PaymentIntentPaymentMethodOptionsUsBankAccountFinancialConnectionsPrefetchParams`, `PaymentIntentPaymentMethodOptionsUsBankAccountFinancialConnectionsPrefetch`, `SetupIntentConfirmPaymentMethodOptionsUsBankAccountFinancialConnectionsPrefetchParams`, `SetupIntentPaymentMethodOptionsUsBankAccountFinancialConnectionsPrefetchParams`, `SetupIntentPaymentMethodOptionsUsBankAccountFinancialConnectionsPrefetch`, `SubscriptionPaymentSettingsPaymentMethodOptionsUsBankAccountFinancialConnectionsPrefetchParams`, and `SubscriptionPaymentSettingsPaymentMethodOptionsUsBankAccountFinancialConnectionsPrefetch` from `literal('balances')` to `enum('balances'|'transactions')` 180 * Add support for new value `financial_connections.account.refreshed_transactions` on enum `EventType` 181 * Add support for `Subscriptions` and `TransactionRefresh` on `FinancialConnectionsAccount` 182 * Add support for `NextRefreshAvailableAt` on `FinancialConnectionsAccountBalanceRefresh` 183 * Add support for new value `transactions` on enum `FinancialConnectionsSessionPrefetch` 184 * Add support for new value `unknown` on enum `IssuingAuthorizationVerificationDataAuthenticationExemptionType` 185 * Add support for new value `challenge` on enums `PaymentIntentPaymentMethodOptionsCardRequestThreeDSecure` and `SetupIntentPaymentMethodOptionsCardRequestThreeDSecure` 186 * Add support for `RevolutPay` on `PaymentMethodConfigurationParams` and `PaymentMethodConfiguration` 187 * Change type of `QuoteInvoiceSettings` from `nullable(InvoiceSettingQuoteSetting)` to `InvoiceSettingQuoteSetting` 188 * Add support for `DestinationDetails` on `Refund` 189 * [#1788](https://github.com/stripe/stripe-go/pull/1788) Use gofmt to format and lint 190 191 ## 76.10.0 - 2023-12-22 192 * [#1790](https://github.com/stripe/stripe-go/pull/1790) Update generated code 193 * Add support for `CollectionMethod` on `MandatePaymentMethodDetailsUsBankAccount` 194 * Add support for `MandateOptions` on `PaymentIntentConfirmPaymentMethodOptionsUsBankAccountParams`, `PaymentIntentPaymentMethodOptionsUsBankAccountParams`, `PaymentIntentPaymentMethodOptionsUsBankAccount`, `SetupIntentConfirmPaymentMethodOptionsUsBankAccountParams`, `SetupIntentPaymentMethodOptionsUsBankAccountParams`, and `SetupIntentPaymentMethodOptionsUsBankAccount` 195 * [#1789](https://github.com/stripe/stripe-go/pull/1789) Update generated code 196 * Add support for new resource `FinancialConnections.Transaction` 197 * Add support for `Get` and `List` methods on resource `Transaction` 198 * Add support for `Subscribe` and `Unsubscribe` methods on resource `FinancialConnections.Account` 199 * Add support for `Features` on `AccountSessionComponentsPayoutsParams` 200 * Add support for `EditPayoutSchedule`, `InstantPayouts`, and `StandardPayouts` on `AccountSessionComponentsPayoutsFeatures` 201 * Change type of `CheckoutSessionPaymentMethodOptionsUsBankAccountFinancialConnectionsPrefetchParams`, `CheckoutSessionPaymentMethodOptionsUsBankAccountFinancialConnectionsPrefetch`, `InvoicePaymentSettingsPaymentMethodOptionsUsBankAccountFinancialConnectionsPrefetchParams`, `InvoicePaymentSettingsPaymentMethodOptionsUsBankAccountFinancialConnectionsPrefetch`, `PaymentIntentConfirmPaymentMethodOptionsUsBankAccountFinancialConnectionsPrefetchParams`, `PaymentIntentPaymentMethodOptionsUsBankAccountFinancialConnectionsPrefetchParams`, `PaymentIntentPaymentMethodOptionsUsBankAccountFinancialConnectionsPrefetch`, `SetupIntentConfirmPaymentMethodOptionsUsBankAccountFinancialConnectionsPrefetchParams`, `SetupIntentPaymentMethodOptionsUsBankAccountFinancialConnectionsPrefetchParams`, `SetupIntentPaymentMethodOptionsUsBankAccountFinancialConnectionsPrefetch`, `SubscriptionPaymentSettingsPaymentMethodOptionsUsBankAccountFinancialConnectionsPrefetchParams`, and `SubscriptionPaymentSettingsPaymentMethodOptionsUsBankAccountFinancialConnectionsPrefetch` from `literal('balances')` to `enum('balances'|'transactions')` 202 * Add support for new value `financial_connections.account.refreshed_transactions` on enum `EventType` 203 * Add support for `Subscriptions` and `TransactionRefresh` on `FinancialConnectionsAccount` 204 * Add support for `NextRefreshAvailableAt` on `FinancialConnectionsAccountBalanceRefresh` 205 * Add support for new value `transactions` on enum `FinancialConnectionsSessionPrefetch` 206 * Add support for new value `unknown` on enum `IssuingAuthorizationVerificationDataAuthenticationExemptionType` 207 * Add support for new value `challenge` on enums `PaymentIntentPaymentMethodOptionsCardRequestThreeDSecure` and `SetupIntentPaymentMethodOptionsCardRequestThreeDSecure` 208 * Add support for `RevolutPay` on `PaymentMethodConfigurationParams` and `PaymentMethodConfiguration` 209 * Change type of `QuoteInvoiceSettings` from `nullable(InvoiceSettingQuoteSetting)` to `InvoiceSettingQuoteSetting` 210 * Add support for `DestinationDetails` on `Refund` 211 * [#1788](https://github.com/stripe/stripe-go/pull/1788) Use gofmt to format and lint 212 213 ## 76.9.0 - 2023-12-14 214 * [#1781](https://github.com/stripe/stripe-go/pull/1781) Update generated code 215 * Add support for `PaymentMethodReuseAgreement` on `CheckoutSessionConsentCollectionParams`, `CheckoutSessionConsentCollection`, `PaymentLinkConsentCollectionParams`, and `PaymentLinkConsentCollection` 216 * Add support for `AfterSubmit` on `CheckoutSessionCustomTextParams`, `CheckoutSessionCustomText`, `PaymentLinkCustomTextParams`, and `PaymentLinkCustomText` 217 * Add support for `Created` on `RadarEarlyFraudWarningListParams` 218 219 * [#1780](https://github.com/stripe/stripe-go/pull/1780) Usage telemetry infrastructure 220 221 ## 76.8.0 - 2023-12-07 222 * [#1775](https://github.com/stripe/stripe-go/pull/1775) Update generated code 223 * Add support for `PaymentDetails`, `Payments`, and `Payouts` on `AccountSessionComponentsParams` and `AccountSessionComponents` 224 * Add support for `Features` on `AccountSessionComponentsAccountOnboardingParams` and `AccountSessionComponentsAccountOnboarding` 225 * Add support for new values `customer_tax_location_invalid` and `financial_connections_no_successful_transaction_refresh` on enums `InvoiceLastFinalizationErrorCode`, `PaymentIntentLastPaymentErrorCode`, `SetupAttemptSetupErrorCode`, `SetupIntentLastSetupErrorCode`, and `StripeErrorCode` 226 * Add support for new values `payment_network_reserve_hold` and `payment_network_reserve_release` on enum `BalanceTransactionType` 227 * Remove support for value `various` from enum `ClimateSupplierRemovalPathway` 228 * Remove support for values `challenge_only` and `challenge` from enum `PaymentIntentPaymentMethodOptionsCardRequestThreeDSecure` 229 * Add support for `InactiveMessage` and `Restrictions` on `PaymentLinkParams` and `PaymentLink` 230 * Add support for `TransferGroup` on `PaymentLinkPaymentIntentDataParams` and `PaymentLinkPaymentIntentData` 231 * Add support for `TrialSettings` on `PaymentLinkSubscriptionDataParams` and `PaymentLinkSubscriptionData` 232 * [#1777](https://github.com/stripe/stripe-go/pull/1777) Add back PlanParams.ProductID 233 * Add back `PlanParams.ProductID`, which was mistakenly removed starting in v73.0.0. `ProductID` allows creation of a plan for an existing product by serializing `product` as a string . 234 235 ## 76.7.0 - 2023-11-30 236 * [#1772](https://github.com/stripe/stripe-go/pull/1772) Update generated code 237 * Add support for new resources `Climate.Order`, `Climate.Product`, and `Climate.Supplier` 238 * Add support for `Cancel`, `Get`, `List`, `New`, and `Update` methods on resource `Order` 239 * Add support for `Get` and `List` methods on resources `Product` and `Supplier` 240 * Add support for new value `financial_connections_account_inactive` on enums `InvoiceLastFinalizationErrorCode`, `PaymentIntentLastPaymentErrorCode`, `SetupAttemptSetupErrorCode`, `SetupIntentLastSetupErrorCode`, and `StripeErrorCode` 241 * Add support for new values `climate_order_purchase` and `climate_order_refund` on enum `BalanceTransactionType` 242 * Add support for `Created` on `CheckoutSessionListParams` 243 * Add support for `ValidateLocation` on `CustomerTaxParams` 244 * Add support for new values `climate.order.canceled`, `climate.order.created`, `climate.order.delayed`, `climate.order.delivered`, `climate.order.product_substituted`, `climate.product.created`, and `climate.product.pricing_updated` on enum `EventType` 245 * Add support for new value `challenge` on enums `PaymentIntentPaymentMethodOptionsCardRequestThreeDSecure` and `SetupIntentPaymentMethodOptionsCardRequestThreeDSecure` 246 247 ## 76.6.0 - 2023-11-21 248 * [#1769](https://github.com/stripe/stripe-go/pull/1769) Update generated code 249 * Add support for `ElectronicCommerceIndicator` on `ChargePaymentMethodDetailsCardThreeDSecure` and `SetupAttemptPaymentMethodDetailsCardThreeDSecure` 250 * Add support for `ExemptionIndicatorApplied` and `ExemptionIndicator` on `ChargePaymentMethodDetailsCardThreeDSecure` 251 * Add support for `TransactionID` on `ChargePaymentMethodDetailsCardThreeDSecure`, `IssuingAuthorizationNetworkData`, `IssuingTransactionNetworkData`, and `SetupAttemptPaymentMethodDetailsCardThreeDSecure` 252 * Add support for `Offline` on `ChargePaymentMethodDetailsCardPresent` 253 * Add support for `SystemTraceAuditNumber` on `IssuingAuthorizationNetworkData` 254 * Add support for `NetworkRiskScore` on `IssuingAuthorizationPendingRequest` and `IssuingAuthorizationRequestHistory` 255 * Add support for `RequestedAt` on `IssuingAuthorizationRequestHistory` 256 * Add support for `AuthorizationCode` on `IssuingTransactionNetworkData` 257 * Add support for `ThreeDSecure` on `PaymentIntentConfirmPaymentMethodOptionsCardParams`, `PaymentIntentPaymentMethodOptionsCardParams`, `SetupIntentConfirmPaymentMethodOptionsCardParams`, and `SetupIntentPaymentMethodOptionsCardParams` 258 259 ## 76.5.0 - 2023-11-16 260 * [#1768](https://github.com/stripe/stripe-go/pull/1768) Update generated code 261 * Add support for `Status` on `CheckoutSessionListParams` 262 * [#1767](https://github.com/stripe/stripe-go/pull/1767) Update generated code 263 * Add support for `BACSDebitPayments` on `AccountSettingsParams` 264 * Add support for `ServiceUserNumber` on `AccountSettingsBacsDebitPayments` 265 * Add support for `CaptureBefore` on `ChargePaymentMethodDetailsCard` 266 * Add support for `Paypal` on `CheckoutSessionPaymentMethodOptions` 267 * Add support for `TaxAmounts` on `CreditNoteLinesParams`, `CreditNotePreviewLinesLinesParams`, and `CreditNotePreviewLinesParams` 268 * Add support for `NetworkData` on `IssuingTransaction` 269 * [#1764](https://github.com/stripe/stripe-go/pull/1764) Fix TestDo_RetryOnTimeout flakiness 270 271 ## 76.4.0 - 2023-11-09 272 * [#1762](https://github.com/stripe/stripe-go/pull/1762) Update generated code 273 * Add support for new value `terminal_reader_hardware_fault` on enums `InvoiceLastFinalizationErrorCode`, `PaymentIntentLastPaymentErrorCode`, `SetupAttemptSetupErrorCode`, `SetupIntentLastSetupErrorCode`, and `StripeErrorCode` 274 * Add support for `Metadata` on `QuoteSubscriptionDataParams` and `QuoteSubscriptionData` 275 276 ## 76.3.0 - 2023-11-02 277 * [#1760](https://github.com/stripe/stripe-go/pull/1760) Update generated code 278 * Add support for new resource `Tax.Registration` 279 * Add support for `List`, `New`, and `Update` methods on resource `Registration` 280 * Add support for `RevolutPay` throughout the API 281 * Add support for new value `token_card_network_invalid` on enums `InvoiceLastFinalizationErrorCode`, `PaymentIntentLastPaymentErrorCode`, `SetupAttemptSetupErrorCode`, `SetupIntentLastSetupErrorCode`, and `StripeErrorCode` 282 * Add support for new value `payment_unreconciled` on enum `BalanceTransactionType` 283 * Add support for `ABA` and `Swift` on `FundingInstructionsBankTransferFinancialAddresses` and `PaymentIntentNextActionDisplayBankTransferInstructionsFinancialAddresses` 284 * Add support for new values `ach`, `domestic_wire_us`, and `swift` on enums `FundingInstructionsBankTransferFinancialAddressesSupportedNetworks` and `PaymentIntentNextActionDisplayBankTransferInstructionsFinancialAddressesSupportedNetworks` 285 * Add support for new values `aba` and `swift` on enums `FundingInstructionsBankTransferFinancialAddressesType` and `PaymentIntentNextActionDisplayBankTransferInstructionsFinancialAddressesType` 286 * Add support for `URL` on `IssuingAuthorizationMerchantDataParams`, `IssuingAuthorizationMerchantData`, `IssuingTransactionMerchantData`, `TestHelpersIssuingTransactionCreateForceCaptureMerchantDataParams`, and `TestHelpersIssuingTransactionCreateUnlinkedRefundMerchantDataParams` 287 * Add support for `AuthenticationExemption` and `ThreeDSecure` on `IssuingAuthorizationVerificationDataParams` and `IssuingAuthorizationVerificationData` 288 * Add support for `Description` on `PaymentLinkPaymentIntentDataParams` and `PaymentLinkPaymentIntentData` 289 290 ## 76.2.0 - 2023-10-26 291 * [#1759](https://github.com/stripe/stripe-go/pull/1759) Update generated code 292 * Add support for new value `balance_invalid_parameter` on enums `InvoiceLastFinalizationErrorCode`, `PaymentIntentLastPaymentErrorCode`, `SetupAttemptSetupErrorCode`, `SetupIntentLastSetupErrorCode`, and `StripeErrorCode` 293 294 ## 76.1.0 - 2023-10-17 295 * [#1756](https://github.com/stripe/stripe-go/pull/1756) Update generated code 296 * Add support for new value `invalid_dob_age_under_minimum` on enums `AccountFutureRequirementsErrorsCode`, `AccountRequirementsErrorsCode`, `BankAccountFutureRequirementsErrorsCode`, and `BankAccountRequirementsErrorsCode` 297 298 ## 76.0.0 - 2023-10-16 299 * This release changes the pinned API version to `2023-10-16`. Please read the [API Upgrade Guide](https://stripe.com/docs/upgrades#2023-10-16) and carefully review the API changes before upgrading `stripe-go`. 300 * [#1753](https://github.com/stripe/stripe-go/pull/1753) Update generated code 301 * Add support for `LegalGuardian` on `AccountPersonsRelationshipParams` and `TokenPersonRelationshipParams` 302 * Add support for new values `invalid_address_highway_contract_box`, `invalid_address_private_mailbox`, `invalid_business_profile_name_denylisted`, `invalid_business_profile_name`, `invalid_company_name_denylisted`, `invalid_dob_age_over_maximum`, `invalid_product_description_length`, `invalid_product_description_url_match`, `invalid_statement_descriptor_business_mismatch`, `invalid_statement_descriptor_denylisted`, `invalid_statement_descriptor_length`, `invalid_statement_descriptor_prefix_denylisted`, `invalid_statement_descriptor_prefix_mismatch`, `invalid_tax_id_format`, `invalid_tax_id`, `invalid_url_denylisted`, `invalid_url_format`, `invalid_url_length`, `invalid_url_web_presence_detected`, `invalid_url_website_business_information_mismatch`, `invalid_url_website_empty`, `invalid_url_website_inaccessible_geoblocked`, `invalid_url_website_inaccessible_password_protected`, `invalid_url_website_inaccessible`, `invalid_url_website_incomplete_cancellation_policy`, `invalid_url_website_incomplete_customer_service_details`, `invalid_url_website_incomplete_legal_restrictions`, `invalid_url_website_incomplete_refund_policy`, `invalid_url_website_incomplete_return_policy`, `invalid_url_website_incomplete_terms_and_conditions`, `invalid_url_website_incomplete_under_construction`, `invalid_url_website_incomplete`, and `invalid_url_website_other` on enums `AccountFutureRequirementsErrorsCode`, `AccountRequirementsErrorsCode`, `BankAccountFutureRequirementsErrorsCode`, and `BankAccountRequirementsErrorsCode` 303 * Add support for `AdditionalTOSAcceptances` on `TokenPersonParams` 304 305 ## 75.11.0 - 2023-10-16 306 * [#1751](https://github.com/stripe/stripe-go/pull/1751) Update generated code 307 * Add support for new values `issuing_token.created` and `issuing_token.updated` on enum `EventType` 308 * [#1748](https://github.com/stripe/stripe-go/pull/1748) add NewBackendsWithConfig helper 309 310 ## 75.10.0 - 2023-10-11 311 * [#1746](https://github.com/stripe/stripe-go/pull/1746) Update generated code 312 * Add support for `RedirectOnCompletion`, `ReturnURL`, and `UIMode` on `CheckoutSessionParams` and `CheckoutSession` 313 * Add support for `ClientSecret` on `CheckoutSession` 314 * Change type of `CheckoutSessionCustomFieldsDropdown` from `nullable(PaymentPagesCheckoutSessionCustomFieldsDropdown)` to `PaymentPagesCheckoutSessionCustomFieldsDropdown` 315 * Change type of `CheckoutSessionCustomFieldsNumeric` and `CheckoutSessionCustomFieldsText` from `nullable(PaymentPagesCheckoutSessionCustomFieldsNumeric)` to `PaymentPagesCheckoutSessionCustomFieldsNumeric` 316 * Add support for `PostalCode` on `IssuingAuthorizationVerificationData` 317 * Change type of `PaymentLinkCustomFieldsDropdown` from `nullable(PaymentLinksResourceCustomFieldsDropdown)` to `PaymentLinksResourceCustomFieldsDropdown` 318 * Change type of `PaymentLinkCustomFieldsNumeric` and `PaymentLinkCustomFieldsText` from `nullable(PaymentLinksResourceCustomFieldsNumeric)` to `PaymentLinksResourceCustomFieldsNumeric` 319 * Add support for `Offline` on `TerminalConfigurationParams` and `TerminalConfiguration` 320 321 ## 75.9.0 - 2023-10-05 322 * [#1743](https://github.com/stripe/stripe-go/pull/1743) Update generated code 323 * Add support for new resource `Issuing.Token` 324 * Add support for `Get`, `List`, and `Update` methods on resource `Token` 325 * Add support for `AmountAuthorized`, `ExtendedAuthorization`, `IncrementalAuthorization`, `Multicapture`, and `Overcapture` on `ChargePaymentMethodDetailsCard` 326 * Add support for `Token` on `IssuingAuthorization` and `IssuingTransaction` 327 * Add support for `AuthorizationCode` on `IssuingAuthorizationRequestHistory` 328 * Add support for `RequestExtendedAuthorization`, `RequestMulticapture`, and `RequestOvercapture` on `PaymentIntentConfirmPaymentMethodOptionsCardParams`, `PaymentIntentPaymentMethodOptionsCardParams`, and `PaymentIntentPaymentMethodOptionsCard` 329 * Add support for `RequestIncrementalAuthorization` on `PaymentIntentConfirmPaymentMethodOptionsCardParams`, `PaymentIntentConfirmPaymentMethodOptionsCardPresentParams`, `PaymentIntentPaymentMethodOptionsCardParams`, `PaymentIntentPaymentMethodOptionsCardPresentParams`, and `PaymentIntentPaymentMethodOptionsCard` 330 * Add support for `FinalCapture` on `PaymentIntentCaptureParams` 331 * Add support for `Metadata` on `PaymentLinkPaymentIntentDataParams`, `PaymentLinkPaymentIntentData`, `PaymentLinkSubscriptionDataParams`, and `PaymentLinkSubscriptionData` 332 * Add support for `StatementDescriptorSuffix` and `StatementDescriptor` on `PaymentLinkPaymentIntentDataParams` and `PaymentLinkPaymentIntentData` 333 * Add support for `PaymentIntentData` and `SubscriptionData` on `PaymentLinkParams` 334 335 ## 75.8.0 - 2023-09-28 336 * [#1741](https://github.com/stripe/stripe-go/pull/1741) Update generated code 337 * Add support for `Rendering` on `InvoiceParams` and `Invoice` 338 339 ## 75.7.0 - 2023-09-21 340 * [#1738](https://github.com/stripe/stripe-go/pull/1738) Update generated code 341 * Add support for `TermsOfServiceAcceptance` on `CheckoutSessionCustomTextParams`, `CheckoutSessionCustomText`, `PaymentLinkCustomTextParams`, and `PaymentLinkCustomText` 342 343 ## 75.6.0 - 2023-09-14 344 * [#1736](https://github.com/stripe/stripe-go/pull/1736) Update generated code 345 * Add support for new resource `PaymentMethodConfiguration` 346 * Add support for `Get`, `List`, `New`, and `Update` methods on resource `PaymentMethodConfiguration` 347 * Add support for `PaymentMethodConfiguration` on `CheckoutSessionParams`, `PaymentIntentParams`, and `SetupIntentParams` 348 * Add support for `PaymentMethodConfigurationDetails` on `CheckoutSession`, `PaymentIntent`, and `SetupIntent` 349 * [#1729](https://github.com/stripe/stripe-go/pull/1729) Update generated code 350 * Add support for `Capture`, `Expire`, `Increment`, `New`, and `Reverse` test helper methods on resource `Issuing.Authorization` 351 * Add support for `CreateForceCapture`, `CreateUnlinkedRefund`, and `Refund` test helper methods on resource `Issuing.Transaction` 352 * Add support for new value `stripe_tax_inactive` on enums `InvoiceLastFinalizationErrorCode`, `PaymentIntentLastPaymentErrorCode`, `SetupAttemptSetupErrorCode`, `SetupIntentLastSetupErrorCode`, and `StripeErrorCode` 353 * Add support for `Nonce` on `EphemeralKeyParams` 354 * Add support for `CashbackAmount` on `IssuingAuthorizationAmountDetails`, `IssuingAuthorizationPendingRequestAmountDetails`, `IssuingAuthorizationRequestHistoryAmountDetails`, and `IssuingTransactionAmountDetails` 355 * Add support for `SerialNumber` on `TerminalReaderListParams` 356 357 ## 75.5.0 - 2023-09-13 358 * [#1735](https://github.com/stripe/stripe-go/pull/1735) Bugfix: point files.New back to files.stripe.com 359 * [#1731](https://github.com/stripe/stripe-go/pull/1731) Delay calculation of Stripe-User-Agent 360 361 ## 75.4.0 - 2023-09-07 362 * [#1724](https://github.com/stripe/stripe-go/pull/1724) Update generated code 363 * Add support for new resource `PaymentMethodDomain` 364 * Add support for `Get`, `List`, `New`, `Update`, and `Validate` methods on resource `PaymentMethodDomain` 365 * Add support for new value `n26` on enums `ChargePaymentMethodDetailsIdealBank`, `PaymentMethodIdealBank`, and `SetupAttemptPaymentMethodDetailsIdealBank` 366 * Add support for new value `NTSBDEB1` on enums `ChargePaymentMethodDetailsIdealBic`, `PaymentMethodIdealBic`, and `SetupAttemptPaymentMethodDetailsIdealBic` 367 * 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`, and `treasury.received_debit.created` on enum `EventType` 368 * Remove support for value `invoiceitem.updated` from enum `EventType` 369 * Add support for `Features` on `ProductParams` and `Product` 370 371 ## 75.3.0 - 2023-08-31 372 * [#1722](https://github.com/stripe/stripe-go/pull/1722) Update generated code 373 * Add support for new resource `AccountSession` 374 * Add support for `New` method on resource `AccountSession` 375 * Add support for new values `obligation_inbound`, `obligation_outbound`, `obligation_payout_failure`, `obligation_payout`, `obligation_reversal_inbound`, and `obligation_reversal_outbound` on enum `BalanceTransactionType` 376 * Change type of `EventType` from `string` to `enum` 377 * Add support for `Application` on `PaymentLink` 378 379 ## 75.2.0 - 2023-08-24 380 * [#1718](https://github.com/stripe/stripe-go/pull/1718) Update generated code 381 * Add support for `Retention` on `BillingPortalSessionFlowDataSubscriptionCancelParams` and `BillingPortalSessionFlowSubscriptionCancel` 382 * Add support for `Prefetch` on `CheckoutSessionPaymentMethodOptionsUsBankAccountFinancialConnectionsParams`, `CheckoutSessionPaymentMethodOptionsUsBankAccountFinancialConnections`, `FinancialConnectionsSessionParams`, `FinancialConnectionsSession`, `InvoicePaymentSettingsPaymentMethodOptionsUsBankAccountFinancialConnectionsParams`, `InvoicePaymentSettingsPaymentMethodOptionsUsBankAccountFinancialConnections`, `PaymentIntentConfirmPaymentMethodOptionsUsBankAccountFinancialConnectionsParams`, `PaymentIntentPaymentMethodOptionsUsBankAccountFinancialConnectionsParams`, `PaymentIntentPaymentMethodOptionsUsBankAccountFinancialConnections`, `SetupIntentConfirmPaymentMethodOptionsUsBankAccountFinancialConnectionsParams`, `SetupIntentPaymentMethodOptionsUsBankAccountFinancialConnectionsParams`, `SetupIntentPaymentMethodOptionsUsBankAccountFinancialConnections`, `SubscriptionPaymentSettingsPaymentMethodOptionsUsBankAccountFinancialConnectionsParams`, and `SubscriptionPaymentSettingsPaymentMethodOptionsUsBankAccountFinancialConnections` 383 * Add support for `PaymentMethodDetails` on `Dispute` 384 * Add support for `BalanceTransaction ` on `CustomerCashBalanceTransaction.AdjustedForOverdraft` 385 * [#1717](https://github.com/stripe/stripe-go/pull/1717) Replace import placeholder before running formatting 386 * [#1716](https://github.com/stripe/stripe-go/pull/1716) Replace version placeholder with an actual version during format 387 388 ## 75.1.0 - 2023-08-17 389 * [#1713](https://github.com/stripe/stripe-go/pull/1713) Update generated code 390 * Add support for `FlatAmount` on `TaxTransactionCreateReversalParams` 391 * [#1712](https://github.com/stripe/stripe-go/pull/1712) Fix link title to go migration guide 392 393 ## 75.0.0 - 2023-08-16 394 * This release changes the pinned API version to `2023-08-16`. Please read the [API Upgrade Guide](https://stripe.com/docs/upgrades#2023-08-16) and carefully review the API changes before upgrading `stripe-go`. 395 * More information is available in the [stripe-go v75 migration guide](https://github.com/stripe/stripe-go/wiki/Migration-guide-for-v75) 396 * [#1705](https://github.com/stripe/stripe-go/pull/1705) Update generated code 397 * ⚠️Add support for new values `verification_directors_mismatch`, `verification_document_directors_mismatch`, `verification_extraneous_directors`, and `verification_missing_directors` on enums `AccountFutureRequirementsErrorsCode`, `AccountRequirementsErrorsCode`, `BankAccountFutureRequirementsErrorsCode`, and `BankAccountRequirementsErrorsCode` 398 * Remove support for `AvailableOn` on `BalanceTransactionListParams` 399 * Use of this parameter is discouraged. You may use [`.AddExtra`](https://github.com/stripe/stripe-go#parameters) if sending the parameter is still required. 400 * ⚠️Remove support for `Destination` on `Charge` 401 * Please use `TransferData` or `OnBehalfOf` instead. 402 * ⚠️Remove support for `AlternateStatementDescriptors` and `Dispute` on `Charge` 403 * Use of these parameters is discouraged. 404 * ⚠️Remove support for `ShippingRates` on `CheckoutSessionParams` 405 * Please use `ShippingParams` instead. 406 * ⚠️Remove support for `Coupon` and `TrialFromPlan` on `CheckoutSessionSubscriptionDataParams` 407 * Please [migrate to the Prices API](https://stripe.com/docs/billing/migration/migrating-prices), or use [`.AddExtra`](https://github.com/stripe/stripe-go#parameters) if sending the parameter is still required. 408 * ⚠️Remove support for value `charge_refunded` from enum `DisputeStatus` 409 * ⚠️Remove support for `BLIK` on `MandatePaymentMethodDetails`, `PaymentMethodParams`, `SetupAttemptPaymentMethodDetails`, `SetupIntentConfirmPaymentMethodOptionsParams`, `SetupIntentPaymentMethodOptionsParams`, and `SetupIntentPaymentMethodOptions` 410 * These fields were mistakenly released. 411 * ⚠️Remove support for `ACSSDebit`, `AUBECSDebit`, `Affirm`, `BACSDebit`, `CashApp`, `SEPADebit`, and `Zip` on `PaymentMethodParams` 412 * These fields were empty hashes. 413 * ⚠️Remove support for `Country` on `PaymentMethodLink` 414 * This field was not fully operational. 415 * ⚠️Remove support for `Recurring` on `PriceParams` 416 * This property should be set on create only. 417 * ⚠️Remove support for `Attributes`, `Caption`, and `DeactivateOn` on `ProductParams` and `Product` 418 * These fields are not fully operational. 419 * [#1699](https://github.com/stripe/stripe-go/pull/1699) 420 * Add `Metadata` and `Expand` to individual `Params` classes. 421 * `Expand`, `AddExpand`, `Metadata` and `AddMetadata` on embedded `Params` struct were deprecated. 422 Before: 423 424 ```go 425 params := &stripe.AccountParams{ 426 Params: stripe.Params{ 427 Expand: []*string{stripe.String("business_profile")}, 428 Metadata: map[string]string{ 429 "order_id": "6735", 430 }, 431 }, 432 } 433 ``` 434 435 After: 436 ```go 437 params := &stripe.AccountParams{ 438 Expand: []*string{stripe.String("business_profile")}, 439 Metadata: map[string]string{ 440 "order_id": "6735", 441 }, 442 } 443 ``` 444 You don't have to change your calls to `AddMetadata` and `AddExpand` 445 Before/After: 446 ```go 447 params.AddMetadata("order_id", "6735") 448 params.AddExpand("business_profile") 449 ``` 450 - ⚠️ Removed deprecated `excluded_territory`, `jurisdiction_unsupported`, `vat_exempt` taxability reasons: 451 - `CheckoutSessionShippingCostTaxTaxabilityReasonExcludedTerritory` 452 - `CheckoutSessionShippingCostTaxTaxabilityReasonJurisdictionUnsupported` 453 - `CheckoutSessionShippingCostTaxTaxabilityReasonVATExempt` 454 - `CheckoutSessionTotalDetailsBreakdownTaxTaxabilityReasonExcludedTerritory` 455 - `CheckoutSessionTotalDetailsBreakdownTaxTaxabilityReasonJurisdictionUnsupported` 456 - `CheckoutSessionTotalDetailsBreakdownTaxTaxabilityReasonVATExempt` 457 - `CreditNoteShippingCostTaxTaxabilityReasonExcludedTerritory` 458 - `CreditNoteShippingCostTaxTaxabilityReasonJurisdictionUnsupported` 459 - `CreditNoteShippingCostTaxTaxabilityReasonVATExempt` 460 - `InvoiceShippingCostTaxTaxabilityReasonExcludedTerritory` 461 - `InvoiceShippingCostTaxTaxabilityReasonJurisdictionUnsupported` 462 - `InvoiceShippingCostTaxTaxabilityReasonVATExempt` 463 - `LineItemTaxTaxabilityReasonExcludedTerritory` 464 - `LineItemTaxTaxabilityReasonJurisdictionUnsupported` 465 - `LineItemTaxTaxabilityReasonVATExempt` 466 - `QuoteComputedRecurringTotalDetailsBreakdownTaxTaxabilityReasonExcludedTerritory` 467 - `QuoteComputedRecurringTotalDetailsBreakdownTaxTaxabilityReasonJurisdictionUnsupported` 468 - `QuoteComputedRecurringTotalDetailsBreakdownTaxTaxabilityReasonVATExempt` 469 - `QuoteComputedUpfrontTotalDetailsBreakdownTaxTaxabilityReasonExcludedTerritory` 470 - `QuoteComputedUpfrontTotalDetailsBreakdownTaxTaxabilityReasonJurisdictionUnsupported` 471 - `QuoteComputedUpfrontTotalDetailsBreakdownTaxTaxabilityReasonVATExempt` 472 - `QuoteTotalDetailsBreakdownTaxTaxabilityReasonExcludedTerritory` 473 - `QuoteTotalDetailsBreakdownTaxTaxabilityReasonJurisdictionUnsupported` 474 - `QuoteTotalDetailsBreakdownTaxTaxabilityReasonVATExempt` 475 - ⚠️ Removed deprecated error code constant `ErrorCodeCardDeclinedRateLimitExceeded`, prefer `ErrorCodeCardDeclineRateLimitExceeded`. 476 - ⚠️ Removed deprecated error code constant `ErrorCodeInvalidSwipeData`. 477 - ⚠️ Removed deprecated error code constant `ErrorCodeInvoicePamentIntentRequiresAction` prefer `ErrorCodeInvoicePaymentIntentRequiresAction`. 478 - ⚠️ Removed deprecated error code constant `ErrorCodeSepaUnsupportedAccount`, prefer `ErrorCodeSEPAUnsupportedAccount`. 479 - ⚠️ Removed deprecated error code constant `ErrorCodeSkuInactive`, prefer `ErrorCodeSKUInactive`. 480 - ⚠️ Removed deprecated error code constant `ErrorCodeinstantPayoutsLimitExceeded`, prefer `ErrorCodeInstantPayoutsLimitExceeded`. 481 482 ## 74.30.0 - 2023-08-10 483 * [#1702](https://github.com/stripe/stripe-go/pull/1702) Update generated code 484 * Add support for new values `incorporated_partnership` and `unincorporated_partnership` on enum `AccountCompanyStructure` 485 * Add support for new value `payment_reversal` on enum `BalanceTransactionType` 486 487 ## 74.29.0 - 2023-08-03 488 * [#1700](https://github.com/stripe/stripe-go/pull/1700) Update generated code 489 * Add support for `PreferredSettlementSpeed` on `PaymentIntentConfirmPaymentMethodOptionsUsBankAccountParams`, `PaymentIntentPaymentMethodOptionsUsBankAccountParams`, and `PaymentIntentPaymentMethodOptionsUsBankAccount` 490 * [#1696](https://github.com/stripe/stripe-go/pull/1696) Update generated code 491 * Add support for new values `sepa_debit_fingerprint` and `us_bank_account_fingerprint` on enum `RadarValueListItemType` 492 493 ## 74.28.0 - 2023-07-28 494 * [#1693](https://github.com/stripe/stripe-go/pull/1693) Update generated code 495 * Add support for `MonthlyEstimatedRevenue` on `AccountBusinessProfileParams` and `AccountBusinessProfile` 496 * Add support for `SubscriptionDetails` on `Invoice` 497 498 ## 74.27.0 - 2023-07-20 499 * [#1691](https://github.com/stripe/stripe-go/pull/1691) Update generated code 500 * Add support for new value `ro_tin` on enums `CheckoutSessionCustomerDetailsTaxIdsType`, `InvoiceCustomerTaxIdsType`, `TaxCalculationCustomerDetailsTaxIdsType`, and `TaxTransactionCustomerDetailsTaxIdsType` 501 * Remove support for values `excluded_territory`, `jurisdiction_unsupported`, and `vat_exempt` from enums `CheckoutSessionShippingCostTaxesTaxabilityReason`, `CheckoutSessionTotalDetailsBreakdownTaxesTaxabilityReason`, `CreditNoteShippingCostTaxesTaxabilityReason`, `InvoiceShippingCostTaxesTaxabilityReason`, `LineItemTaxesTaxabilityReason`, `QuoteComputedRecurringTotalDetailsBreakdownTaxesTaxabilityReason`, `QuoteComputedUpfrontTotalDetailsBreakdownTaxesTaxabilityReason`, and `QuoteTotalDetailsBreakdownTaxesTaxabilityReason` 502 * Add support for `UseStripeSDK` on `SetupIntentConfirmParams` and `SetupIntentParams` 503 * Add support for new value `service_tax` on enum `TaxRateTaxType` 504 * [#1688](https://github.com/stripe/stripe-go/pull/1688) Update generated code 505 * Add support for new resource `Tax.Settings` 506 * Add support for `Get` and `Update` methods on resource `Settings` 507 * Add support for new value `invalid_tax_location` on enums `InvoiceLastFinalizationErrorCode`, `PaymentIntentLastPaymentErrorCode`, `SetupAttemptSetupErrorCode`, `SetupIntentLastSetupErrorCode`, and `StripeErrorCode` 508 * Add support for `OrderID` on `ChargePaymentMethodDetailsAfterpayClearpay` 509 * Add support for `AllowRedirects` on `PaymentIntentAutomaticPaymentMethodsParams`, `PaymentIntentAutomaticPaymentMethods`, `SetupIntentAutomaticPaymentMethodsParams`, and `SetupIntentAutomaticPaymentMethods` 510 * Add support for new values `amusement_tax` and `communications_tax` on enums `TaxCalculationLineItemTaxBreakdownTaxRateDetailsTaxType`, `TaxCalculationShippingCostTaxBreakdownTaxRateDetailsTaxType`, `TaxCalculationTaxBreakdownTaxRateDetailsTaxType`, and `TaxTransactionShippingCostTaxBreakdownTaxRateDetailsTaxType` 511 * Add support for `Product` on `TaxTransactionLineItem` 512 513 ## 74.26.0 - 2023-07-13 514 * [#1688](https://github.com/stripe/stripe-go/pull/1688) Update generated code 515 * Add support for new resource `Tax.Settings` 516 * Add support for `Get` and `Update` methods on resource `Settings` 517 * Add support for new value `invalid_tax_location` on enums `InvoiceLastFinalizationErrorCode`, `PaymentIntentLastPaymentErrorCode`, `SetupAttemptSetupErrorCode`, `SetupIntentLastSetupErrorCode`, and `StripeErrorCode` 518 * Add support for `OrderID` on `ChargePaymentMethodDetailsAfterpayClearpay` 519 * Add support for `AllowRedirects` on `PaymentIntentAutomaticPaymentMethodsParams`, `PaymentIntentAutomaticPaymentMethods`, `SetupIntentAutomaticPaymentMethodsParams`, and `SetupIntentAutomaticPaymentMethods` 520 * Add support for new values `amusement_tax` and `communications_tax` on enums `TaxCalculationLineItemTaxBreakdownTaxRateDetailsTaxType`, `TaxCalculationShippingCostTaxBreakdownTaxRateDetailsTaxType`, `TaxCalculationTaxBreakdownTaxRateDetailsTaxType`, and `TaxTransactionShippingCostTaxBreakdownTaxRateDetailsTaxType` 521 * Add support for `Product` on `TaxTransactionLineItem` 522 523 ## 74.25.0 - 2023-07-06 524 * [#1684](https://github.com/stripe/stripe-go/pull/1684) Update generated code 525 * Add support for `Numeric` and `Text` on `PaymentLinkCustomFields` 526 * Add support for `AutomaticTax` on `SubscriptionListParams` 527 528 ## 74.24.0 - 2023-06-29 529 * [#1682](https://github.com/stripe/stripe-go/pull/1682) Update generated code 530 * Add support for new value `application_fees_not_allowed` on enums `InvoiceLastFinalizationErrorCode`, `PaymentIntentLastPaymentErrorCode`, `SetupAttemptSetupErrorCode`, `SetupIntentLastSetupErrorCode`, and `StripeErrorCode` 531 * Add support for new values `ad_nrt`, `ar_cuit`, `bo_tin`, `cn_tin`, `co_nit`, `cr_tin`, `do_rcn`, `ec_ruc`, `pe_ruc`, `rs_pib`, `sv_nit`, `uy_ruc`, `ve_rif`, and `vn_tin` on enums `CheckoutSessionCustomerDetailsTaxIdsType`, `InvoiceCustomerTaxIdsType`, `TaxCalculationCustomerDetailsTaxIdsType`, and `TaxTransactionCustomerDetailsTaxIdsType` 532 * Add support for `EffectiveAt` on `CreditNoteParams`, `CreditNotePreviewLinesParams`, `CreditNotePreviewParams`, `CreditNote`, `InvoiceParams`, and `Invoice` 533 534 ## 74.23.0 - 2023-06-22 535 * [#1678](https://github.com/stripe/stripe-go/pull/1678) Update generated code 536 * Add support for `OnBehalfOf` on `Mandate` 537 * [#1680](https://github.com/stripe/stripe-go/pull/1680) Deserialization test 538 539 ## 74.22.0 - 2023-06-08 540 * [#1670](https://github.com/stripe/stripe-go/pull/1670) Update generated code 541 * Add support for `TaxabilityReason` on `TaxCalculationTaxBreakdown` 542 * [#1668](https://github.com/stripe/stripe-go/pull/1668) Remove v71 migration guide, moved to wiki 543 544 ## 74.21.0 - 2023-06-01 545 * [#1664](https://github.com/stripe/stripe-go/pull/1664) Update generated code 546 * Add support for `Numeric` and `Text` on `CheckoutSessionCustomFieldsParams` and `PaymentLinkCustomFieldsParams` 547 * Add support for `MaximumLength` and `MinimumLength` on `CheckoutSessionCustomFieldsNumeric` and `CheckoutSessionCustomFieldsText` 548 * Add support for new values `aba` and `swift` on enums `CheckoutSessionPaymentMethodOptionsCustomerBalanceBankTransferRequestedAddressTypes` and `PaymentIntentPaymentMethodOptionsCustomerBalanceBankTransferRequestedAddressTypes` 549 * Add support for new value `us_bank_transfer` on enums `CheckoutSessionPaymentMethodOptionsCustomerBalanceBankTransferType`, `PaymentIntentNextActionDisplayBankTransferInstructionsType`, and `PaymentIntentPaymentMethodOptionsCustomerBalanceBankTransferType` 550 * Add support for `PreferredLocales` on `IssuingCardholderParams` and `IssuingCardholder` 551 * Add support for `Description`, `IIN`, and `Issuer` on `PaymentMethodCardPresent` and `PaymentMethodInteracPresent` 552 * Add support for `PayerEmail` on `PaymentMethodPaypal` 553 * [#1662](https://github.com/stripe/stripe-go/pull/1662) Update generated code 554 * Add support for `ZipPayments` on `AccountCapabilitiesParams` and `AccountCapabilities` 555 * Add support for `Zip` on `ChargePaymentMethodDetails`, `PaymentIntentConfirmPaymentMethodDataParams`, `PaymentIntentConfirmPaymentMethodOptionsParams`, `PaymentIntentPaymentMethodDataParams`, `PaymentIntentPaymentMethodOptionsParams`, `PaymentIntentPaymentMethodOptions`, `PaymentMethodParams`, `PaymentMethod`, `SetupIntentConfirmPaymentMethodDataParams`, and `SetupIntentPaymentMethodDataParams` 556 * Add support for new value `zip` on enum `PaymentMethodType` 557 * [#1661](https://github.com/stripe/stripe-go/pull/1661) Generate error codes 558 * [#1660](https://github.com/stripe/stripe-go/pull/1660) Update generated code 559 560 ## 74.20.0 - 2023-05-25 561 * [#1662](https://github.com/stripe/stripe-go/pull/1662) Update generated code 562 * Add support for `ZipPayments` on `AccountCapabilitiesParams` and `AccountCapabilities` 563 * Add support for `Zip` on `ChargePaymentMethodDetails`, `PaymentIntentConfirmPaymentMethodDataParams`, `PaymentIntentConfirmPaymentMethodOptionsParams`, `PaymentIntentPaymentMethodDataParams`, `PaymentIntentPaymentMethodOptionsParams`, `PaymentIntentPaymentMethodOptions`, `PaymentMethodParams`, `PaymentMethod`, `SetupIntentConfirmPaymentMethodDataParams`, and `SetupIntentPaymentMethodDataParams` 564 * Add support for new value `zip` on enum `PaymentMethodType` 565 * [#1661](https://github.com/stripe/stripe-go/pull/1661) Generate error codes 566 * [#1660](https://github.com/stripe/stripe-go/pull/1660) Update generated code 567 568 ## 74.19.0 - 2023-05-19 569 * [#1657](https://github.com/stripe/stripe-go/pull/1657) Update generated code 570 * Add support for `SubscriptionUpdateConfirm` and `SubscriptionUpdate` on `BillingPortalSessionFlowDataParams` and `BillingPortalSessionFlow` 571 * Add support for new values `subscription_update_confirm` and `subscription_update` on enum `BillingPortalSessionFlowType` 572 * Add support for `Link` on `ChargePaymentMethodDetailsCardWallet` and `PaymentMethodCardWallet` 573 * Add support for `BuyerID` and `Cashtag` on `ChargePaymentMethodDetailsCashapp` and `PaymentMethodCashapp` 574 * Add support for new values `amusement_tax` and `communications_tax` on enum `TaxRateTaxType` 575 576 ## 74.18.0 - 2023-05-11 577 * [#1656](https://github.com/stripe/stripe-go/pull/1656) Update generated code 578 Release specs are identical. 579 * [#1653](https://github.com/stripe/stripe-go/pull/1653) Update generated code 580 * Add support for `Paypal` on `ChargePaymentMethodDetails`, `CheckoutSessionPaymentMethodOptionsParams`, `MandatePaymentMethodDetails`, `PaymentIntentConfirmPaymentMethodDataParams`, `PaymentIntentConfirmPaymentMethodOptionsParams`, `PaymentIntentPaymentMethodDataParams`, `PaymentIntentPaymentMethodOptionsParams`, `PaymentIntentPaymentMethodOptions`, `PaymentMethodParams`, `PaymentMethod`, `SetupAttemptPaymentMethodDetails`, `SetupIntentConfirmPaymentMethodDataParams`, `SetupIntentConfirmPaymentMethodOptionsParams`, `SetupIntentPaymentMethodDataParams`, `SetupIntentPaymentMethodOptionsParams`, and `SetupIntentPaymentMethodOptions` 581 * Add support for `NetworkToken` on `ChargePaymentMethodDetailsCard` 582 * Add support for `TaxabilityReason` and `TaxableAmount` on `CheckoutSessionShippingCostTaxes`, `CheckoutSessionTotalDetailsBreakdownTaxes`, `CreditNoteShippingCostTaxes`, `CreditNoteTaxAmounts`, `InvoiceShippingCostTaxes`, `InvoiceTotalTaxAmounts`, `LineItemTaxes`, `QuoteComputedRecurringTotalDetailsBreakdownTaxes`, `QuoteComputedUpfrontTotalDetailsBreakdownTaxes`, and `QuoteTotalDetailsBreakdownTaxes` 583 * Add support for new value `paypal` on enums `InvoicePaymentSettingsPaymentMethodTypes` and `SubscriptionPaymentSettingsPaymentMethodTypes` 584 * Add support for new value `eftpos_au` on enums `PaymentIntentPaymentMethodOptionsCardNetwork`, `SetupIntentPaymentMethodOptionsCardNetwork`, and `SubscriptionPaymentSettingsPaymentMethodOptionsCardNetwork` 585 * Add support for new value `paypal` on enum `PaymentLinkPaymentMethodTypes` 586 * Add support for `Brand`, `CardholderName`, `Country`, `ExpMonth`, `ExpYear`, `Fingerprint`, `Funding`, `Last4`, `Networks`, and `ReadMethod` on `PaymentMethodCardPresent` and `PaymentMethodInteracPresent` 587 * Add support for `PreferredLocales` on `PaymentMethodInteracPresent` 588 * Add support for new value `paypal` on enum `PaymentMethodType` 589 * Add support for `EffectivePercentage` on `TaxRate` 590 * Add support for `GBBankTransfer` and `JPBankTransfer` on `CustomerCashBalanceTransactionFundedBankTransfer ` 591 592 ## 74.17.0 - 2023-05-04 593 * [#1652](https://github.com/stripe/stripe-go/pull/1652) Update generated code 594 * Add support for `Link` on `CheckoutSessionPaymentMethodOptionsParams` and `CheckoutSessionPaymentMethodOptions` 595 * Add support for `Brand`, `Country`, `Description`, `ExpMonth`, `ExpYear`, `Fingerprint`, `Funding`, `IIN`, `Issuer`, `Last4`, `Network`, and `Wallet` on `SetupAttemptPaymentMethodDetailsCard` 596 597 ## 74.16.0 - 2023-04-27 598 * [#1644](https://github.com/stripe/stripe-go/pull/1644) Update generated code 599 * Add support for `BillingCycleAnchor` and `ProrationBehavior` on `CheckoutSessionSubscriptionDataParams` 600 * Add support for `TerminalID` on `IssuingAuthorizationMerchantData` and `IssuingTransactionMerchantData` 601 * Add support for `Metadata` on `PaymentIntentCaptureParams` 602 * Add support for `Checks` on `SetupAttemptPaymentMethodDetailsCard` 603 * Add support for `TaxBreakdown` on `TaxCalculationShippingCost` and `TaxTransactionShippingCost` 604 * [#1643](https://github.com/stripe/stripe-go/pull/1643) Update generated code 605 606 * [#1640](https://github.com/stripe/stripe-go/pull/1640) Update generated code 607 * Release specs are identical. 608 609 ## 74.15.0 - 2023-04-06 610 * [#1638](https://github.com/stripe/stripe-go/pull/1638) Update generated code 611 * Add support for new value `link` on enum `PaymentMethodCardWalletType` 612 * Add support for `Country` on `PaymentMethodLink` 613 * Add support for `StatusDetails` on `PaymentMethodUsBankAccount` 614 615 ## 74.14.0 - 2023-03-30 616 * [#1635](https://github.com/stripe/stripe-go/pull/1635) Update generated code 617 * Remove support for `New` method on resource `Tax.Transaction` 618 * This is not a breaking change, as this method was deprecated before the Tax Transactions API was released in favor of the `CreateFromCalculation` method. 619 * Add support for `ExportLicenseID` and `ExportPurposeCode` on `AccountCompanyParams`, `AccountCompany`, and `TokenAccountCompanyParams` 620 * Remove support for value `deleted` from enum `InvoiceStatus` 621 * This is not a breaking change, as the value was never returned or accepted as input. 622 * Add support for `AmountTip` on `TestHelpersTerminalReaderPresentPaymentMethodParams` 623 * [#1633](https://github.com/stripe/stripe-go/pull/1633) Trigger workflow for tags 624 * [#1632](https://github.com/stripe/stripe-go/pull/1632) Update generated code (new) 625 Release specs are identical. 626 * [#1631](https://github.com/stripe/stripe-go/pull/1631) Update generated code (new) 627 Release specs are identical. 628 629 ## 74.13.0 - 2023-03-23 630 * [#1624](https://github.com/stripe/stripe-go/pull/1624) Update generated code 631 * Add support for new resources `Tax.CalculationLineItem`, `Tax.Calculation`, `Tax.TransactionLineItem`, and `Tax.Transaction` 632 * Add support for `ListLineItems` and `New` methods on resource `Calculation` 633 * Add support for `CreateFromCalculation`, `CreateReversal`, `Get`, `ListLineItems`, and `New` methods on resource `Transaction` 634 * Add support for `CurrencyConversion` on `CheckoutSession` 635 * Add support for new value `link` on enum `PaymentLinkPaymentMethodTypes` 636 * Add support for `AutomaticPaymentMethods` on `SetupIntentParams` and `SetupIntent` 637 638 ## 74.12.0 - 2023-03-16 639 * [#1622](https://github.com/stripe/stripe-go/pull/1622) API Updates 640 * Add support for `CashAppPayments` on `AccountCapabilitiesParams` and `AccountCapabilities` 641 * Add support for `FutureRequirements` and `Requirements` on `BankAccount` 642 * Add support for `CashApp` on `ChargePaymentMethodDetails`, `CheckoutSessionPaymentMethodOptionsParams`, `CheckoutSessionPaymentMethodOptions`, `MandatePaymentMethodDetails`, `PaymentIntentConfirmPaymentMethodDataParams`, `PaymentIntentConfirmPaymentMethodOptionsParams`, `PaymentIntentPaymentMethodDataParams`, `PaymentIntentPaymentMethodOptionsParams`, `PaymentIntentPaymentMethodOptions`, `PaymentMethodParams`, `PaymentMethod`, `SetupAttemptPaymentMethodDetails`, `SetupIntentConfirmPaymentMethodDataParams`, and `SetupIntentPaymentMethodDataParams` 643 * Add support for `Country` on `ChargePaymentMethodDetailsLink` 644 * Add support for new value `cashapp` on enums `InvoicePaymentSettingsPaymentMethodTypes` and `SubscriptionPaymentSettingsPaymentMethodTypes` 645 * Add support for `PreferredLocale` on `PaymentIntentConfirmPaymentMethodOptionsAffirmParams`, `PaymentIntentPaymentMethodOptionsAffirmParams`, and `PaymentIntentPaymentMethodOptionsAffirm` 646 * Add support for new value `automatic_async` on enums `PaymentIntentCaptureMethod` and `PaymentLinkPaymentIntentDataCaptureMethod` 647 * Add support for `CashAppHandleRedirectOrDisplayQRCode` on `PaymentIntentNextAction` and `SetupIntentNextAction` 648 * Add support for new value `cashapp` on enum `PaymentLinkPaymentMethodTypes` 649 * Add support for new value `cashapp` on enum `PaymentMethodType` 650 651 652 * [#1619](https://github.com/stripe/stripe-go/pull/1619) Update generated code (new) 653 * Add support for `CashappPayments` on `AccountCapabilitiesParams` and `AccountCapabilities` 654 * Add support for `Cashapp` on `ChargePaymentMethodDetails`, `CheckoutSessionPaymentMethodOptionsParams`, `CheckoutSessionPaymentMethodOptions`, `MandatePaymentMethodDetails`, `PaymentIntentConfirmPaymentMethodDataParams`, `PaymentIntentConfirmPaymentMethodOptionsParams`, `PaymentIntentPaymentMethodDataParams`, `PaymentIntentPaymentMethodOptionsParams`, `PaymentIntentPaymentMethodOptions`, `PaymentMethodParams`, `PaymentMethod`, `SetupAttemptPaymentMethodDetails`, `SetupIntentConfirmPaymentMethodDataParams`, and `SetupIntentPaymentMethodDataParams` 655 * Add support for new value `cashapp` on enums `InvoicePaymentSettingsPaymentMethodTypes` and `SubscriptionPaymentSettingsPaymentMethodTypes` 656 * Add support for `PreferredLocale` on `PaymentIntentConfirmPaymentMethodOptionsAffirmParams`, `PaymentIntentPaymentMethodOptionsAffirmParams`, and `PaymentIntentPaymentMethodOptionsAffirm` 657 * Add support for `CashappHandleRedirectOrDisplayQRCode` on `PaymentIntentNextAction` and `SetupIntentNextAction` 658 * Add support for new value `cashapp` on enum `PaymentLinkPaymentMethodTypes` 659 * Add support for new value `cashapp` on enum `PaymentMethodType` 660 * [#1618](https://github.com/stripe/stripe-go/pull/1618) Install goimports before trying to run it 661 662 ## 74.11.0 - 2023-03-09 663 * [#1616](https://github.com/stripe/stripe-go/pull/1616) API Updates 664 * Add support for `CardIssuing` on `IssuingCardholderIndividualParams` 665 * Add support for new value `requirements.past_due` on enum `IssuingCardholderRequirementsDisabledReason` 666 * Add support for `CancellationDetails` on `SubscriptionCancelParams`, `SubscriptionParams`, and `Subscription` 667 668 669 ## 74.10.0 - 2023-03-02 670 * [#1614](https://github.com/stripe/stripe-go/pull/1614) API Updates 671 * Add support for `ReconciliationStatus` on `Payout` 672 * Add support for new value `lease_tax` on enum `TaxRateTaxType` 673 674 * [#1613](https://github.com/stripe/stripe-go/pull/1613) Update golang.org/x/net 675 * [#1611](https://github.com/stripe/stripe-go/pull/1611) Run goimports on generated test suite 676 677 ## 74.9.0 - 2023-02-23 678 * [#1609](https://github.com/stripe/stripe-go/pull/1609) API Updates 679 * Add support for new value `yoursafe` on enums `ChargePaymentMethodDetailsIdealBank`, `PaymentMethodIdealBank`, and `SetupAttemptPaymentMethodDetailsIdealBank` 680 * Add support for new value `BITSNL2A` on enums `ChargePaymentMethodDetailsIdealBic`, `PaymentMethodIdealBic`, and `SetupAttemptPaymentMethodDetailsIdealBic` 681 * Add support for new value `igst` on enum `TaxRateTaxType` 682 683 ## 74.8.0 - 2023-02-16 684 * [#1605](https://github.com/stripe/stripe-go/pull/1605) API Updates 685 * Add support for `RefundPayment` method on resource `Terminal.Reader` 686 * Add support for new value `name` on enum `BillingPortalConfigurationFeaturesCustomerUpdateAllowedUpdates` 687 * Add support for `CustomFields` on `CheckoutSessionParams`, `CheckoutSession`, `PaymentLinkParams`, and `PaymentLink` 688 * Add support for `InteracPresent` on `TestHelpersTerminalReaderPresentPaymentMethodParams` 689 * Change type of `TestHelpersTerminalReaderPresentPaymentMethodTypeParams` from `literal('card_present')` to `enum('card_present'|'interac_present')` 690 * Add support for `RefundPayment` on `TerminalReaderAction` 691 * Add support for new value `refund_payment` on enum `TerminalReaderActionType` 692 * [#1607](https://github.com/stripe/stripe-go/pull/1607) fix: deterministic encoding 693 * [#1603](https://github.com/stripe/stripe-go/pull/1603) Add an example of client mocking 694 * [#1604](https://github.com/stripe/stripe-go/pull/1604) Run lint on go 1.19 695 696 ## 74.7.0 - 2023-02-02 697 * [#1600](https://github.com/stripe/stripe-go/pull/1600) API Updates 698 * Add support for `Resume` method on resource `Subscription` 699 * Add support for `PaymentLink` on `CheckoutSessionListParams` 700 * Add support for `TrialSettings` on `CheckoutSessionSubscriptionDataParams`, `SubscriptionParams`, and `Subscription` 701 * Add support for new value `BE` on enums `CheckoutSessionPaymentMethodOptionsCustomerBalanceBankTransferEuBankTransferCountry`, `InvoicePaymentSettingsPaymentMethodOptionsCustomerBalanceBankTransferEuBankTransferCountry`, `PaymentIntentPaymentMethodOptionsCustomerBalanceBankTransferEuBankTransferCountry`, and `SubscriptionPaymentSettingsPaymentMethodOptionsCustomerBalanceBankTransferEuBankTransferCountry` 702 * Add support for `ShippingCost` on `CreditNoteParams`, `CreditNotePreviewLinesParams`, `CreditNotePreviewParams`, `CreditNote`, `InvoiceParams`, and `Invoice` 703 * Add support for `AmountShipping` on `CreditNote` and `Invoice` 704 * Add support for `ShippingDetails` on `InvoiceParams` and `Invoice` 705 * Add support for `SubscriptionResumeAt` on `InvoiceUpcomingLinesParams` and `InvoiceUpcomingParams` 706 * Add support for `InvoiceCreation` on `PaymentLinkParams` and `PaymentLink` 707 * Add support for new value `paused` on enum `SubscriptionStatus` 708 * Add support for new value `funding_reversed` on enum `CustomerCashBalanceTransactionType` 709 710 * [#1562](https://github.com/stripe/stripe-go/pull/1562) add missing verify with micro-deposits next action 711 712 ## 74.6.0 - 2023-01-19 713 * [#1595](https://github.com/stripe/stripe-go/pull/1595) API Updates 714 * Add support for `VerificationSession` on `EphemeralKeyParams` 715 * Add missing enum values to `RefundStatus`, `PersonVerificationDetailsCode`, `PersonVerificationDocumentDetailsCode`, `AccountCompanyVerificationDocumentDetailsCode` . 716 717 718 ## 74.5.0 - 2023-01-05 719 * [#1588](https://github.com/stripe/stripe-go/pull/1588) API Updates 720 * Add support for `CardIssuing` on `IssuingCardholderIndividual` 721 722 ## 74.4.0 - 2022-12-22 723 * [#1586](https://github.com/stripe/stripe-go/pull/1586) API Updates 724 * Add support for `UsingMerchantDefault` on `CashBalanceSettings` 725 * Change type of `CheckoutSessionCancelUrl` from `string` to `nullable(string)` 726 727 ## 74.3.0 - 2022-12-15 728 * [#1584](https://github.com/stripe/stripe-go/pull/1584) API Updates 729 * Add support for new value `invoice_overpaid` on enum `CustomerBalanceTransactionType` 730 * [#1581](https://github.com/stripe/stripe-go/pull/1581) API Updates 731 732 733 ## 74.2.0 - 2022-12-06 734 * [#1579](https://github.com/stripe/stripe-go/pull/1579) API Updates 735 * Add support for `FlowData` on `BillingPortalSessionParams` 736 * Add support for `Flow` on `BillingPortalSession` 737 * [#1578](https://github.com/stripe/stripe-go/pull/1578) API Updates 738 * Add support for `IndiaInternationalPayments` on `AccountCapabilitiesParams` and `AccountCapabilities` 739 * Add support for `InvoiceCreation` on `CheckoutSessionParams` and `CheckoutSession` 740 * Add support for `Invoice` on `CheckoutSession` 741 * Add support for `Metadata` on `SubscriptionSchedulePhasesItemsParams` and `SubscriptionSchedulePhasesItems` 742 * [#1575](https://github.com/stripe/stripe-go/pull/1575) Add version to go reference path 743 744 ## 74.1.0 - 2022-11-17 745 * [#1574](https://github.com/stripe/stripe-go/pull/1574) API Updates 746 * Add support for `CustomText` on `CheckoutSessionParams`, `CheckoutSession`, `PaymentLinkParams`, and `PaymentLink` 747 * Add support for `HostedInstructionsURL` on `PaymentIntentNextActionPaynowDisplayQrCode` and `PaymentIntentNextActionWechatPayDisplayQrCode` 748 749 750 ## 74.0.0 - 2022-11-15 751 752 Breaking changes that arose during code generation of the library that we postponed for the next major version. For changes to the Stripe products, read more at https://stripe.com/docs/upgrades#2022-11-15. 753 754 "⚠️" symbol highlights breaking changes. 755 756 ⚠️ Removed 757 - Removed deprecated `sku` resource (#1557) 758 - Removed `lineitem.Product` property that was released by mistake. (#1555) 759 - Removed deprecated `CheckoutSessionSubscriptionDataParams.Items` field. (#1555) 760 - Removed deprecated `EphemeralKey.AssociatedObjects` field. (#1566) 761 - Removed deprecated `Amount`, `Currency`, `Description`, `Images`, `Name` properties from `CheckoutSessionLineItemParams` (https://github.com/stripe/stripe-go/pull/1570) 762 - Removed `Charges` field on `PaymentIntent` and replace it with `LatestCharge`. (https://github.com/stripe/stripe-go/pull/1570) 763 - Dropped support for Go versions less than 1.15 (#1554) 764 - Remove support for `TOSShownAndAccepted` on `CheckoutSessionPaymentMethodOptionsPaynowParams`. The property was mistakenly released and never worked ([#1571](https://github.com/stripe/stripe-go/pull/1571)). 765 766 ## 73.16.0 - 2022-11-08 767 * [#1568](https://github.com/stripe/stripe-go/pull/1568) API Updates 768 * Add support for `ReasonMessage` on `IssuingAuthorizationRequestHistory` 769 * Add support for new value `webhook_error` on enum `IssuingAuthorizationRequestHistoryReason` 770 771 ## 73.15.0 - 2022-11-03 772 * [#1563](https://github.com/stripe/stripe-go/pull/1563) API Updates 773 * Add support for `OnBehalfOf` on `CheckoutSessionSubscriptionDataParams`, `SubscriptionParams`, `SubscriptionScheduleDefaultSettingsParams`, `SubscriptionScheduleDefaultSettings`, `SubscriptionSchedulePhasesParams`, `SubscriptionSchedulePhases`, and `Subscription` 774 * Add support for new values `eg_tin`, `ph_tin`, and `tr_tin` on enums `CheckoutSessionCustomerDetailsTaxIdsType`, `InvoiceCustomerTaxIdsType`, `OrderTaxDetailsTaxIdsType`, and `TaxIdType` 775 * Add support for `TaxBehavior` and `TaxCode` on `InvoiceItemParams`, `InvoiceUpcomingInvoiceItemsParams`, and `InvoiceUpcomingLinesInvoiceItemsParams` 776 777 ## 73.14.0 - 2022-10-20 778 * [#1560](https://github.com/stripe/stripe-go/pull/1560) API Updates 779 * Add support for new values `jp_trn` and `ke_pin` on enums `CheckoutSessionCustomerDetailsTaxIdsType`, `InvoiceCustomerTaxIdsType`, `OrderTaxDetailsTaxIdsType`, and `TaxIdType` 780 * Add support for `Tipping` on `TerminalReaderActionProcessPaymentIntentProcessConfig` and `TerminalReaderProcessPaymentIntentProcessConfigParams` 781 782 ## 73.13.0 - 2022-10-13 783 * [#1558](https://github.com/stripe/stripe-go/pull/1558) API Updates 784 * Add support for `NetworkData` on `IssuingAuthorization` 785 * [#1553](https://github.com/stripe/stripe-go/pull/1553) Add RequestLogURL on Error 786 787 ## 73.12.0 - 2022-10-06 788 * [#1551](https://github.com/stripe/stripe-go/pull/1551) API Updates 789 * Add support for new value `invalid_dob_age_under_18` on enums `AccountFutureRequirementsErrorsCode`, `AccountRequirementsErrorsCode`, `CapabilityFutureRequirementsErrorsCode`, `CapabilityRequirementsErrorsCode`, `PersonFutureRequirementsErrorsCode`, and `PersonRequirementsErrorsCode` 790 * Add support for new value `bank_of_china` on enums `ChargePaymentMethodDetailsFpxBank` and `PaymentMethodFpxBank` 791 * Add support for `Klarna` on `SetupAttemptPaymentMethodDetails` 792 793 ## 73.11.0 - 2022-09-29 794 * [#1549](https://github.com/stripe/stripe-go/pull/1549) API Updates 795 * Change type of `ChargePaymentMethodDetailsCardPresentIncrementalAuthorizationSupported` and `ChargePaymentMethodDetailsCardPresentOvercaptureSupported` from `nullable(boolean)` to `boolean` 796 * Add support for `Created` on `CheckoutSession` 797 * Add support for `SetupFutureUsage` on `PaymentIntentConfirmPaymentMethodOptionsPixParams`, `PaymentIntentPaymentMethodOptionsPixParams`, and `PaymentIntentPaymentMethodOptionsPix` 798 * Deprecate `CheckoutSessionSubscriptionDataTransferDataParams.items` and `CheckoutSessionSubscriptionDataItemParams` (use the `line_items` param instead). This will be removed in the next major version. 799 800 801 ## 73.10.0 - 2022-09-22 802 * [#1547](https://github.com/stripe/stripe-go/pull/1547) API Updates 803 * Add support for `TermsOfService` on `CheckoutSessionConsentCollectionParams`, `CheckoutSessionConsentCollection`, `CheckoutSessionConsent`, `PaymentLinkConsentCollectionParams`, and `PaymentLinkConsentCollection` 804 * ⚠️ Remove support for `Plan` on `CheckoutSessionPaymentMethodOptionsCardInstallmentsParams`. The property was mistakenly released and never worked. 805 * Add support for `StatementDescriptor` on `PaymentIntentIncrementAuthorizationParams` 806 807 808 ## 73.9.0 - 2022-09-15 809 * [#1546](https://github.com/stripe/stripe-go/pull/1546) API Updates 810 * Add support for `Pix` on `ChargePaymentMethodDetails`, `CheckoutSessionPaymentMethodOptionsParams`, `CheckoutSessionPaymentMethodOptions`, `PaymentIntentConfirmPaymentMethodDataParams`, `PaymentIntentConfirmPaymentMethodOptionsParams`, `PaymentIntentPaymentMethodDataParams`, `PaymentIntentPaymentMethodOptionsParams`, `PaymentIntentPaymentMethodOptions`, `PaymentMethodParams`, `PaymentMethod`, `SetupIntentConfirmPaymentMethodDataParams`, and `SetupIntentPaymentMethodDataParams` 811 * Add support for `FromInvoice` on `InvoiceParams` and `Invoice` 812 * Add support for `LatestRevision` on `Invoice` 813 * Add support for `Amount` on `IssuingDisputeParams` 814 * Add support for `PixDisplayQRCode` on `PaymentIntentNextAction` 815 * Add support for new value `pix` on enum `PaymentLinkPaymentMethodTypes` 816 * Add support for new value `pix` on enum `PaymentMethodType` 817 * Add support for `Created` on `TreasuryCreditReversal` and `TreasuryDebitReversal` 818 * [#1545](https://github.com/stripe/stripe-go/pull/1545) Export UnsignedPayload/SignedPayload fields 819 820 ## 73.8.0 - 2022-09-09 821 * [#1543](https://github.com/stripe/stripe-go/pull/1543) API Updates 822 * Add support for `RequireSignature` on `IssuingCardShippingParams` and `IssuingCardShipping` 823 824 ## 73.7.0 - 2022-09-06 825 * [#1542](https://github.com/stripe/stripe-go/pull/1542) API Updates 826 * Add support for new value `terminal_reader_splashscreen` on enum `FilePurpose` 827 828 ## 73.6.0 - 2022-08-31 829 * [#1541](https://github.com/stripe/stripe-go/pull/1541) API Updates 830 * Add support for `Description` on `PaymentLinkSubscriptionDataParams` and `PaymentLinkSubscriptionData` 831 832 ## 73.5.0 - 2022-08-26 833 * [#1537](https://github.com/stripe/stripe-go/pull/1537) API Updates 834 * Add support for `LoginPage` on `BillingPortalConfigurationParams` and `BillingPortalConfiguration` 835 * Add support for new value `deutsche_bank_ag` on enums `ChargePaymentMethodDetailsEpsBank` and `PaymentMethodEpsBank` 836 * Add support for `Customs` and `PhoneNumber` on `IssuingCardShippingParams` and `IssuingCardShipping` 837 * Add support for `Description` on `QuoteSubscriptionDataParams`, `QuoteSubscriptionData`, `SubscriptionScheduleDefaultSettingsParams`, `SubscriptionScheduleDefaultSettings`, `SubscriptionSchedulePhasesParams`, and `SubscriptionSchedulePhases` 838 * [#1536](https://github.com/stripe/stripe-go/pull/1536) Add test coverage using coveralls 839 * [#1533](https://github.com/stripe/stripe-go/pull/1533) Update README.md to clarify that API version can only be change in beta 840 841 ## 73.4.0 - 2022-08-23 842 * [#1532](https://github.com/stripe/stripe-go/pull/1532) API Updates 843 * Change type of `TreasuryOutboundTransferDestinationPaymentMethod` from `string` to `nullable(string)` 844 * Change return type of `FundCashBalance` method on `Customer` from `Customer` to `CustomerCashBalanceTransaction` 845 * This is technically a breaking change, but this return type was actually incorrect and so the result of this method did not deserialize correctly. 846 * Change return type of `RetrieveFeatures` and `UpdateFeatures` methods on `TreasuryFinancialAccount` from `TreasuryFinancialAccount` to `TreasuryFinancialAccountFeatures` 847 * This is technically a breaking change, but this return type was actually incorrect and so the result of this method did not deserialize correctly. 848 * [#1530](https://github.com/stripe/stripe-go/pull/1530) Add beta readme.md section 849 850 ## 73.3.0 - 2022-08-19 851 * [#1528](https://github.com/stripe/stripe-go/pull/1528) API Updates 852 * Add support for new resource `CustomerCashBalanceTransaction` 853 * Remove support for value `paypal` from enum `OrderPaymentSettingsPaymentMethodTypes` 854 * Add support for `Currency` on `PaymentLink` 855 * Add support for `Network` on `SetupIntentConfirmPaymentMethodOptionsCardParams`, `SetupIntentPaymentMethodOptionsCardParams`, `SubscriptionPaymentSettingsPaymentMethodOptionsCardParams`, and `SubscriptionPaymentSettingsPaymentMethodOptionsCard` 856 * Change type of `TopupSource` from `$Source` to `nullable($Source)` 857 * [#1526](https://github.com/stripe/stripe-go/pull/1526) Add a support section to the readme 858 859 ## 73.2.0 - 2022-08-11 860 * [#1524](https://github.com/stripe/stripe-go/pull/1524) API Updates 861 * Add support for `PaymentMethodCollection` on `CheckoutSessionParams`, `CheckoutSession`, `PaymentLinkParams`, and `PaymentLink` 862 863 864 ## 73.1.0 - 2022-08-09 865 * [#1522](https://github.com/stripe/stripe-go/pull/1522) API Updates 866 * Add support for `ProcessConfig` on `TerminalReaderActionProcessPaymentIntent` 867 * [#1282](https://github.com/stripe/stripe-go/pull/1282) Miscellaneous fixes to README.md 868 * [#1520](https://github.com/stripe/stripe-go/pull/1520) Add GenerateTestSignedPayload to test webhook signing 869 * [#1402](https://github.com/stripe/stripe-go/pull/1402) Update testify version 870 * [#1519](https://github.com/stripe/stripe-go/pull/1519) API Updates 871 * Add support for `ExpiresAt` on `AppsSecretParams` and `AppsSecret` 872 873 ## 73.0.1 - 2022-08-03 874 * [#1517](https://github.com/stripe/stripe-go/pull/1517) Export ConstructEventOptions fields 875 876 ## 73.0.0 - 2022-08-02 877 878 This release includes breaking changes resulting from: 879 880 * Moving to use the new API version "2022-08-01". To learn more about these changes to Stripe products, see https://stripe.com/docs/upgrades#2022-08-01 881 * Cleaning up the SDK to remove deprecated/unused APIs and rename classes/methods/properties to sync with product APIs. Read more detailed description at https://github.com/stripe/stripe-go/wiki/Migration-guide-for-v73. 882 883 "⚠️" symbol highlights breaking changes. 884 885 * [#1513](https://github.com/stripe/stripe-go/pull/1513) API Updates 886 * [#1512](https://github.com/stripe/stripe-go/pull/1512) Next major release changes 887 888 ### Added 889 890 - Add `CheckoutSessionSetupIntentDataParams.Metadata`. 891 - Add Invoice `UpcomingLines` method. 892 - Add `ShippingCost` and `ShippingDetails` properties to `CheckoutSession` resource. 893 - Add `CheckoutSessionShippingCostTax` and `CheckoutSessionShippingCost` classes 894 - Add `IssuingCardCancellationReasonDesignRejected` constant to `IssuingCardCancellationReason`. 895 - Add `Validate` field to `Customer` resource. 896 - Add `Validate` field to `PaymentSourceParams`. 897 - Add `SetupAttemptPaymentMethodDetailsCardThreeDSecureResultExempted` constant in `SetupAttemptPaymentMethodDetailsCardThreeDSecureResult`. 898 - Add `SKUPackageDimensionsParams` and `SKUPackageDimensions`. 899 - Add dedicated structs for different payment sources and transfers. 900 - Add `Subscription.DeleteDiscount` methods. 901 - Add `SubscriptionItemUsageRecordSummariesParams` 902 - Add `UsageRecordSummary` `UsageRecordSummaries`, and `UsageRecordSummaryList` methods in `SubscriptionItem` 903 - Add `SubscriptionSchedulePhaseBillingCycleAnchor`, `SubscriptionSchedulePhaseBillingCycleAnchorAutomatic`, and `SubscriptionSchedulePhaseBillingCycleAnchorPhaseStart` 904 - Add `SubscriptionSchedulePhaseInvoiceSettings` and `SubscriptionSchedulePhaseInvoiceSettingsParams ` 905 - `TerminalLocation` `UnmarshalJSON` - make `TerminalLocation` expandable 906 * Add support for new value `invalid_tos_acceptance` on enums `AccountFutureRequirementsErrorsCode`, `AccountRequirementsErrorsCode`, `CapabilityFutureRequirementsErrorsCode`, `CapabilityRequirementsErrorsCode`, `PersonFutureRequirementsErrorsCode`, and `PersonRequirementsErrorsCode` 907 * Add support for `ShippingCost` and `ShippingDetails` on `CheckoutSession` 908 909 ### ⚠️ Changed 910 911 - Rename files to be consistent with the library's naming conventions. 912 - `fee.go` to `applicationfee.go` 913 - `fee/client.go` to `applicationfee/client.go` 914 - `sub.go` to `subscription.go` 915 - `sub/client.go` to `subscription/client.go` 916 - `subitem.go` to `subscriptionitem.go` 917 - `subitem/client.go` to `subscriptionitem/client.go` 918 - `subschedule.go` to `subscriptionschedule.go` 919 - `subschedule/client.go` to `subscriptionschedule/client.go` 920 - `reversal.go` to `transferreversal.go` 921 - `reversal/client.go` to `transferreversal/client.go` 922 923 - Change resource names on `client#API` to be plural to be consistent with the library's naming conventions: 924 - Rename structs, fields, enums, and methods to be consistent with the library's naming conventions and with the other Stripe SDKs. 925 - `Ach` to `ACH` 926 - `Acss` to `ACSS` 927 - `Bic` to `BIC` 928 - `Eps` to `EPS` 929 - `FEDEX` to `FedEx` 930 - `Iban` to `IBAN` 931 - `Ideal` to `IDEAL` 932 - `Sepa` to `SEPA` 933 - `Wechat` to `WeChat` 934 - `ExternalAccount` to `AccountExternalAccount` 935 - `InvoiceLine` to `InvoiceLineItem` 936 - `Person` structs/enums to use `Person` prefix 937 - and others (see Migration guide) 938 939 - Change types of various fields in `Account`, `ApplicationFee`, `BalanceTransaction`, `BillingPortalConfiguration`, `Card`, `Charge`, `Customer`, `Discount`, `Invoice`, `Issuing Card`, `Issuing Dispute `, `Mandate `, `PaymentIntent`, `PaymentMethod`, `Payout`, `Plan `, `Plan `, `Refund`, `SetupIntent`, `Source`, `Source`, `Subscription`, `SubscriptionItem`, `SubscriptionSchedule`, `Terminal ConnectionToken`, `Terminal Location`, `Terminal Reader `, `Topup`, and `Transfer` (see Migration guide). 940 941 - Update the Webhook `ConstructEvent,` `ConstructEventIgnoringTolerance` and `ConstructEventWithTolerance` functions to return an error when the webhook event's API version does not match the stripe-go library API version. 942 - Update `ErrorType`and `ErrorCode` values. 943 - Move `BalanceTransaction` iterator from `balance.go` to `balancetransaction.go` 944 - Fix `BalanceTransactionSource` `UnmarshalJSON` for when `BalanceTransactionSource.Type == "transfer_reversal"` (previously, we were checking if `Type == "reversal"`, which was always false) 945 - For BankAccount and Card client methods, check that exactly one of `params.Account` and `params.Customer` is set (previously they could both be set, but only one would be used, and it was different between BankAccount and Card) 946 - Replace `CardVerification` with field-specific enums (with the same values) 947 - Move `Del` from `discount/client.go` to `customer/client.go` and rename to `DeleteDiscount` 948 - Move `DelSub` from `discount/client.go` to `subscription/client.go` and rename to `DeleteDiscount` 949 - Add separate parameter struct for CreditNote `ListPreviewLines` (renamed to `PreviewLines`) method (`[CreditNoteLineItemListPreviewParams -> CreditNotePreviewParams].Lines` `CreditNoteLineParams` -> `CreditNotePreviewLineParams`) 950 - Replace `FeeRefundParams.ApplicationFee` with `FeeRefundParams.Fee` and `FeeRefundParams.ID` 951 - Add separate parameter struct for Invoice `GetNext` (renamed to `Upcoming`) method (`InvoiceUpcomingParams`, and nested params `InvoiceUpcomingLinesInvoiceItemPriceDataParams`, `InvoiceUpcomingLinesInvoiceItemDiscountParams`, `InvoiceUpcomingLinesDiscountParams`, `InvoiceUpcomingLinesInvoiceItemPeriodParams`). `Upcoming`-only fields `Coupon`, `CustomerDetails`, `InvoiceItems`, `Subscription`, `SubscriptionBillingCycleAnchor`, `Schedule`, `SubscriptionBillingCycleAnchor`, `SubscriptionBillingCycleAnchorNow`, `SubscriptionBillingCycleAnchorUnchanged`, `SubscriptionCancelAt`, `SubscriptionCancelAtPeriodEnd`, `SubscriptionCancelNow`, `SubscriptionDefaultTaxRates`, `SubscriptionItems`, `SubscriptionProrationBehavior`, `SubscriptionProrationDate`, `SubscriptionStartDate`, `SubscriptionTrialEnd`, `SubscriptionTrialEndNow`, and `SubscriptionTrialFromPlan` are removed from `InvoiceParams`. 952 - Add separate structs for `BillingDetails` and `BillingDetailsParams`: `PaymentMethodBillingDetails`, `PaymentMethodBillingDetailsParams` 953 - Add separate structs for `PaymentMethodCardNetwork`: `PaymentMethodCardNetworksAvailable`, `PaymentMethodCardNetworksPreferred` 954 955 ### Deprecated 956 957 - The `SKU` resource has been deprecated. This will be replaced by https://stripe.com/docs/api/orders_v2. 958 959 ### ⚠️ Removed 960 961 - Remove the legacy Orders API 962 - Remove `AccountCapability` enum definition. This was not referenced in the library. 963 - Remove `UnmarshalJSON` for resources that are not expandable: `BillingPortalSession`, `Capability`, `CheckoutSession`, `FileLink`, `InvoiceItem`, `LineItem`, `Person`, `WebhookEndpoint` 964 - Remove `AccountRejectReason` (was only referenced in `account/client_test.go`, actual `AccountRejectParams.Reason` is `*string`) 965 - Remove `AccountParams.RequestedCapabilities` (use Capabilities instead: https://stripe.com/docs/connect/account-capabilities) 966 - Remove `AccountSettingsParams.Dashboard` and `AccountSettingsDashboardParams` (Note: `Dashboard` are still available on `AccountSettings`, but it's not available as parameters for any of the methods) 967 - Remove `AccountCompany.RegistrationNumber` (Note: `RegistrationNumber` is still available on `AccountCompanyParams`, but is not returned in the response) 968 - Remove `BalanceTransactionStatus`. It was meant to be an enum, but none of the enum values were defined, so it was just an alias for string. 969 - Remove `CardParams.AccountType`. `AccountType` does not exist on any client method for Card. It does on BankAccount, which is similar. 970 - Remove `id` param from CheckoutSessions `ListLineItems`. Use `CheckoutSessionListLineItemsParams.Session` instead. 971 - Remove `CheckoutSessionLineItemPriceDataRecurringParams.AggregateUsage`, `CheckoutSessionLineItemPriceDataRecurringParams.TrialPeriodDays`, and `CheckoutSessionLineItemPriceDataRecurringParams.UsageType` 972 - Remove `CheckoutSessionPaymentIntentDataParams.Params`, `CheckoutSessionSetupIntentDataParams.Params`, `CheckoutSessionSubscriptionDataParams.Params`. `Params` should only be embedded in root method struct, and has extraneous fields not applicable to child/sub structs. 973 - Remove `CheckoutSessionTotalDetailsBreakdownTax.TaxRate`. Use `CheckoutSessionTotalDetailsBreakdownTax.Rate` 974 - Remove `CheckoutSessionTotalDetailsBreakdownTax.Deleted` 975 - Remove `CustomerParams.Token` 976 - Remove `Discount` `APIResource` embed 977 - Remove `DiscountParams` 978 - Remove `FilePurposeFoundersStockDocument` (`"founders_stock_document"` option for `File.Purpose`) 979 - Remove `InvoiceParams.Paid`. Use `invoice.status` to check for status. `invoice.status` is a read-only field. 980 - Remove `InvoiceParams.SubscriptionPlan` and `InvoiceParams.SubscriptionQuantity` (note: these would have been on `InvoiceUpcomingParams`) 981 - Remove `InvoiceListLinesParams.Customer` and `InvoiceListLinesParams.Subscription` (these are not available for Invoice `ListLines`, but are available for `List`) 982 - Remove `IssuingAuthorizationRequestHistoryViolatedAuthorizationControlEntity` and `IssuingAuthorizationRequestHistoryViolatedAuthorizationControlName` (unused enums) 983 - Remove `IssuingCardSpendingControlsParams.SpendingLimitsCurrency`. `issuing_card` has `currency`, and `issuing_card.spending_controls.spending_limits.amount` will use that currency 984 - Remove `IssuingDisputeEvidenceServiceNotAsDescribed.ProductDescription`, `IssuingDisputeEvidenceServiceNotAsDescribed.ProductType`, `IssuingDisputeEvidenceServiceNotAsDescribedParams.ProductDescription`, `IssuingDisputeEvidenceServiceNotAsDescribedParams.ProductType`, and `IssuingDisputeEvidenceServiceNotAsDescribedProductType`. `issuing_dispute.evidence.service_not_as_described` does not have `product_description` or `product_type`. `issuing_dispute.evidence.canceled` does. 985 - Remove `LineItemTax.TaxRate`. Use `LineItemTax.Rate` instead. 986 - Remove `LineItem.Deleted` 987 - Remove `LoginLink.RedirectURL` 988 - Remove `PaymentIntentOffSession` (unused enum) 989 - Remove `PaymentIntentConfirmParams.PaymentMethodTypes` 990 - Remove `PaymentMethodFPX.TransactionID` 991 - Remove `Payout.BankAccount` and `Payout.Card` (These fields were never populated, use `PayoutDestination.BankAccount` and `PayoutDestination.Card` instead) 992 - Remove `PlanParams.ProductID`. Use `PlanParams.Product.ID` instead. 993 - Remove `Shipping` and `ShippingRate` properties from `CheckoutSession` resource. Please use `ShippingCost` and `ShippingDetails` properties instead. 994 - Remove `DefaultCurrency` property from `Customer` resource. Please use `Currency` property instead. 995 - Remove `Updated` and `UpdatedBy` from `RadarValueList` 996 - Remove `Name` from `RadarValueListItem` 997 - Remove `ReviewReasonType` type from `Review` resource. Use `ReviewReason` instead 998 - Remove `SetupIntentCancellationReasonFailedInvoice` and `SetupIntentCancellationReasonFraudulent` values from `SetupIntentCancellationReason` 999 - Remove `SigmaScheduledQueryRun.Query`. The field was invalid 1000 - Remove `SKUParams.Description` and `SKU.Description` 1001 - Remove `SourceMandateAcceptanceStatus`, `SourceMandateAcceptanceStatusAccepted`, `SourceMandateAcceptanceStatusRefused`, `SourceMandateNotificationMethod`, `SourceMandateNotificationMethodEmail`, `SourceMandateNotificationMethodManual`, and `SourceMandateNotificationMethodNone` 1002 - Remove `Source.TypeData` and SourceParams and replace with payment method-specific fields (AUBECSDebit, Bancontact, Card, CardPresent, EPS, Giropay, IDEAL, Klarna, Multibanco, P24, SEPACreditTransfer, SEPADebit, Sofort, ThreeDSecure, Wechat) and `Source.AppendTo` method 1003 - Remove `SourceTransaction.CustomerData`. The field was deprecated 1004 - Remove `SourceTransaction.TypeData` and `SourceTransaction.UnmarshalJSON`. Use payment specific fields - Remove `ACHCreditTransfer`, `CHFCreditTransfer`, `GBPCreditTransfer`, `PaperCheck`, and `SEPACreditTransfer` 1005 - Remove `SubscriptionPaymentBehavior`, `SubscriptionPaymentBehaviorAllowIncomplete`, `SubscriptionPaymentBehaviorErrorIfIncomplete`, and `SubscriptionPaymentBehaviorPendingIfIncomplete` 1006 - Remove `SubscriptionProrationBehavior`, `SubscriptionProrationBehaviorAlwaysInvoice`, `SubscriptionProrationBehaviorCreateProrations`, and `SubscriptionProrationBehaviorNone` 1007 - Remove `SubscriptionStatusAll` 1008 - Remove `SubscriptionParams.Card`, `SubscriptionParams.Plan`, and `SubscriptionParams.Quantity` 1009 - Remove `Subscription.Plan` and `Subscription.Quantity` 1010 - Remove `SubscriptionItemParams.ID`. The field was deprecated 1011 - Remove `SubscriptionSchedulePhaseAddInvoiceItemPriceDataRecurringParams` and `SubscriptionSchedulePhaseAddInvoiceItemPriceDataParams` 1012 - Remove `Del` method on `TaxRate` 1013 - Remove `TerminalReaderGetParams`. Use `TerminalReaderParams` instead. 1014 - Remove `TerminalReaderList.Location` and `TerminalReaderList.Status` (Not available for the list, but is available for individual `TerminalReader`s in `TerminalReaderList.Data`) 1015 - Remove `Token.Email` and `TokenParams.Email` 1016 - Remove `TopupParams.SetSource` 1017 - Remove `WebhookEndpointListParams.Created` and `WebhookEndpointListParams.CreatedRange` (use `StartingAfter` from `ListParams`) 1018 - Remove `WebhookEndpoint.Connected` 1019 1020 ## 72.122.0 - 2022-07-26 1021 * [#1508](https://github.com/stripe/stripe-go/pull/1508) API Updates 1022 * Add support for new value `exempted` on enums `ChargePaymentMethodDetailsCardThreeDSecureResult` and `SetupAttemptPaymentMethodDetailsCardThreeDSecureResult` 1023 * Add support for `CustomerBalance` on `CheckoutSessionPaymentMethodOptionsParams` and `CheckoutSessionPaymentMethodOptions` 1024 1025 ## 72.121.0 - 2022-07-25 1026 * [#1507](https://github.com/stripe/stripe-go/pull/1507) API Updates 1027 * Add support for `Installments` on `CheckoutSessionPaymentMethodOptionsCardParams`, `CheckoutSessionPaymentMethodOptionsCard`, `InvoicePaymentSettingsPaymentMethodOptionsCardParams`, and `InvoicePaymentSettingsPaymentMethodOptionsCard` 1028 * Add support for `DefaultCurrency` and `InvoiceCreditBalance` on `Customer` 1029 * Add support for `Currency` on `InvoiceParams` 1030 * Add support for `DefaultMandate` on `InvoicePaymentSettingsParams` and `InvoicePaymentSettings` 1031 * Add support for `Mandate` on `InvoicePayParams` 1032 1033 1034 ## 72.120.0 - 2022-07-18 1035 * [#1497](https://github.com/stripe/stripe-go/pull/1497) API Updates 1036 * Add support for `BLIKPayments` on `AccountCapabilitiesParams` and `AccountCapabilities` 1037 * Add support for `BLIK` on `ChargePaymentMethodDetails`, `MandatePaymentMethodDetails`, `PaymentIntentConfirmPaymentMethodDataParams`, `PaymentIntentConfirmPaymentMethodOptionsParams`, `PaymentIntentPaymentMethodDataParams`, `PaymentIntentPaymentMethodOptionsParams`, `PaymentIntentPaymentMethodOptions`, `PaymentMethodParams`, `PaymentMethod`, `SetupAttemptPaymentMethodDetails`, `SetupIntentConfirmPaymentMethodDataParams`, `SetupIntentConfirmPaymentMethodOptionsParams`, `SetupIntentPaymentMethodDataParams`, `SetupIntentPaymentMethodOptionsParams`, and `SetupIntentPaymentMethodOptions` 1038 * Change type of `CheckoutSessionConsentCollectionPromotionsParams`, `CheckoutSessionConsentCollectionPromotions`, `PaymentLinkConsentCollectionPromotionsParams`, and `PaymentLinkConsentCollectionPromotions` from `literal('auto')` to `enum('auto'|'none')` 1039 * Add support for new value `blik` on enum `PaymentLinkPaymentMethodTypes` 1040 * Add support for new value `blik` on enum `PaymentMethodType` 1041 1042 ## 72.119.0 - 2022-07-12 1043 * [#1494](https://github.com/stripe/stripe-go/pull/1494) API Updates 1044 * Add support for `CustomerDetails` on `CheckoutSessionListParams` 1045 1046 ## 72.118.0 - 2022-07-07 1047 * [#1492](https://github.com/stripe/stripe-go/pull/1492) API Updates 1048 * Add support for `Currency` on `CheckoutSessionParams`, `InvoiceUpcomingLinesParams`, `InvoiceUpcomingParams`, `PaymentLinkParams`, `SubscriptionParams`, `SubscriptionSchedulePhasesParams`, `SubscriptionSchedulePhases`, and `Subscription` 1049 * Add support for `CurrencyOptions` on `CheckoutSessionShippingOptionsShippingRateDataFixedAmountParams`, `CouponParams`, `Coupon`, `OrderShippingCostShippingRateDataFixedAmountParams`, `PriceParams`, `Price`, `ProductDefaultPriceDataParams`, `PromotionCodeRestrictionsParams`, `PromotionCodeRestrictions`, `ShippingRateFixedAmountParams`, and `ShippingRateFixedAmount` 1050 * Add support for `Restrictions` on `PromotionCodeParams` 1051 * Add support for `FixedAmount` and `TaxBehavior` on `ShippingRateParams` 1052 * [#1491](https://github.com/stripe/stripe-go/pull/1491) API Updates 1053 * Add support for `Customer` on `CheckoutSessionListParams` and `RefundParams` 1054 * Add support for `Currency` and `Origin` on `RefundParams` 1055 1056 1057 ## 72.117.0 - 2022-06-29 1058 * [#1487](https://github.com/stripe/stripe-go/pull/1487) API Updates 1059 * Add support for `DeliverCard`, `FailCard`, `ReturnCard`, and `ShipCard` test helper methods on resource `Issuing.Card` 1060 * Change type of `PaymentLinkPaymentMethodTypesParams` and `PaymentLinkPaymentMethodTypes` from `literal('card')` to `enum` 1061 * Add support for `HostedRegulatoryReceiptURL` on `TreasuryReceivedCredit` and `TreasuryReceivedDebit` 1062 1063 * [#1483](https://github.com/stripe/stripe-go/pull/1483) Document use of undocumented parameters/properties 1064 1065 ## 72.116.0 - 2022-06-23 1066 * [#1484](https://github.com/stripe/stripe-go/pull/1484) API Updates 1067 * Add support for `CaptureMethod` on `PaymentIntentConfirmParams` and `PaymentIntentParams` 1068 * [#1481](https://github.com/stripe/stripe-go/pull/1481) API Updates 1069 * Add support for `PromptPayPayments` on `AccountCapabilitiesParams` and `AccountCapabilities` 1070 * Add support for `PromptPay` on `ChargePaymentMethodDetails`, `PaymentIntentConfirmPaymentMethodDataParams`, `PaymentIntentConfirmPaymentMethodOptionsParams`, `PaymentIntentPaymentMethodDataParams`, `PaymentIntentPaymentMethodOptionsParams`, `PaymentIntentPaymentMethodOptions`, `PaymentMethodParams`, `PaymentMethod`, `SetupIntentConfirmPaymentMethodDataParams`, and `SetupIntentPaymentMethodDataParams` 1071 * Add support for `SubtotalExcludingTax` on `CreditNote` and `Invoice` 1072 * Add support for `AmountExcludingTax` and `UnitAmountExcludingTax` on `CreditNoteLineItem` and `InvoiceLineItem` 1073 * Add support for `RenderingOptions` on `InvoiceParams` 1074 * Add support for `TotalExcludingTax` on `Invoice` 1075 * Add support for new value `promptpay` on enums `InvoicePaymentSettingsPaymentMethodTypes` and `SubscriptionPaymentSettingsPaymentMethodTypes` 1076 * Add support for `AutomaticPaymentMethods` on `OrderPaymentSettings` 1077 * Add support for `PromptPayDisplayQRCode` on `PaymentIntentNextAction` 1078 * Add support for new value `promptpay` on enum `PaymentMethodType` 1079 1080 * [#1482](https://github.com/stripe/stripe-go/pull/1482) Use the generated API version 1081 1082 ## 72.115.0 - 2022-06-17 1083 * [#1477](https://github.com/stripe/stripe-go/pull/1477) API Updates 1084 * Add support for `FundCashBalance` test helper method on resource `Customer` 1085 * Add support for `StatementDescriptorPrefixKana` and `StatementDescriptorPrefixKanji` on `AccountSettingsCardPaymentsParams`, `AccountSettingsCardPayments`, and `AccountSettingsPayments` 1086 * Add support for `StatementDescriptorSuffixKana` and `StatementDescriptorSuffixKanji` on `CheckoutSessionPaymentMethodOptionsCardParams`, `CheckoutSessionPaymentMethodOptionsCard`, `PaymentIntentConfirmPaymentMethodOptionsCardParams`, `PaymentIntentPaymentMethodOptionsCardParams`, and `PaymentIntentPaymentMethodOptionsCard` 1087 * Add support for `TotalExcludingTax` on `CreditNote` 1088 * Change type of `CustomerInvoiceSettingsRenderingOptionsParams` from `rendering_options_param` to `emptyStringable(rendering_options_param)` 1089 * Add support for `RenderingOptions` on `CustomerInvoiceSettings` and `Invoice` 1090 * [#1478](https://github.com/stripe/stripe-go/pull/1478) Fix test assert to allow beta versions 1091 * [#1475](https://github.com/stripe/stripe-go/pull/1475) Trigger workflows on beta branches 1092 1093 ## 72.114.0 - 2022-06-09 1094 * [#1473](https://github.com/stripe/stripe-go/pull/1473) API Updates 1095 * Add support for `Treasury` on `AccountSettingsParams` and `AccountSettings` 1096 * Add support for `RenderingOptions` on `CustomerInvoiceSettingsParams` 1097 * Add support for `EUBankTransfer` on `CustomerCreateFundingInstructionsBankTransferParams`, `InvoicePaymentSettingsPaymentMethodOptionsCustomerBalanceBankTransferParams`, `InvoicePaymentSettingsPaymentMethodOptionsCustomerBalanceBankTransfer`, `OrderPaymentSettingsPaymentMethodOptionsCustomerBalanceBankTransferParams`, `OrderPaymentSettingsPaymentMethodOptionsCustomerBalanceBankTransfer`, `PaymentIntentConfirmPaymentMethodOptionsCustomerBalanceBankTransferParams`, `PaymentIntentPaymentMethodOptionsCustomerBalanceBankTransferParams`, `PaymentIntentPaymentMethodOptionsCustomerBalanceBankTransfer`, `SubscriptionPaymentSettingsPaymentMethodOptionsCustomerBalanceBankTransferParams`, and `SubscriptionPaymentSettingsPaymentMethodOptionsCustomerBalanceBankTransfer` 1098 * Change type of `CustomerCreateFundingInstructionsBankTransferRequestedAddressTypesParams` from `literal('zengin')` to `enum('iban'|'sort_code'|'spei'|'zengin')` 1099 * Change type of `CustomerCreateFundingInstructionsBankTransferTypeParams`, `OrderPaymentSettingsPaymentMethodOptionsCustomerBalanceBankTransferTypeParams`, `OrderPaymentSettingsPaymentMethodOptionsCustomerBalanceBankTransferType`, `PaymentIntentConfirmPaymentMethodOptionsCustomerBalanceBankTransferTypeParams`, `PaymentIntentNextActionDisplayBankTransferInstructionsType`, `PaymentIntentPaymentMethodOptionsCustomerBalanceBankTransferTypeParams`, and `PaymentIntentPaymentMethodOptionsCustomerBalanceBankTransferType` from `literal('jp_bank_transfer')` to `enum('eu_bank_transfer'|'gb_bank_transfer'|'jp_bank_transfer'|'mx_bank_transfer')` 1100 * Add support for `Iban`, `SortCode`, and `Spei` on `FundingInstructionsBankTransferFinancialAddresses` and `PaymentIntentNextActionDisplayBankTransferInstructionsFinancialAddresses` 1101 * Add support for new values `bacs`, `fps`, and `spei` on enums `FundingInstructionsBankTransferFinancialAddressesSupportedNetworks` and `PaymentIntentNextActionDisplayBankTransferInstructionsFinancialAddressesSupportedNetworks` 1102 * Add support for new values `sort_code` and `spei` on enums `FundingInstructionsBankTransferFinancialAddressesType` and `PaymentIntentNextActionDisplayBankTransferInstructionsFinancialAddressesType` 1103 * Change type of `OrderPaymentSettingsPaymentMethodOptionsCustomerBalanceBankTransferRequestedAddressTypesParams`, `OrderPaymentSettingsPaymentMethodOptionsCustomerBalanceBankTransferRequestedAddressTypes`, `PaymentIntentConfirmPaymentMethodOptionsCustomerBalanceBankTransferRequestedAddressTypesParams`, `PaymentIntentPaymentMethodOptionsCustomerBalanceBankTransferRequestedAddressTypesParams`, and `PaymentIntentPaymentMethodOptionsCustomerBalanceBankTransferRequestedAddressTypes` from `literal('zengin')` to `enum` 1104 * Add support for `CustomUnitAmount` on `PriceParams` and `Price` 1105 1106 ## 72.113.0 - 2022-06-08 1107 * [#1472](https://github.com/stripe/stripe-go/pull/1472) API Updates 1108 * Add support for `Affirm`, `Bancontact`, `Card`, `Ideal`, `P24`, and `Sofort` on `CheckoutSessionPaymentMethodOptionsParams` and `CheckoutSessionPaymentMethodOptions` 1109 * Add support for `AUBECSDebit`, `AfterpayClearpay`, `BACSDebit`, `EPS`, `FPX`, `Giropay`, `Grabpay`, `Klarna`, `PayNow`, and `SepaDebit` on `CheckoutSessionPaymentMethodOptionsParams` 1110 * Add support for `SetupFutureUsage` on `CheckoutSessionPaymentMethodOptionsAcssDebitParams`, `CheckoutSessionPaymentMethodOptionsAcssDebit`, `CheckoutSessionPaymentMethodOptionsAfterpayClearpay`, `CheckoutSessionPaymentMethodOptionsAlipayParams`, `CheckoutSessionPaymentMethodOptionsAlipay`, `CheckoutSessionPaymentMethodOptionsAuBecsDebit`, `CheckoutSessionPaymentMethodOptionsBacsDebit`, `CheckoutSessionPaymentMethodOptionsBoletoParams`, `CheckoutSessionPaymentMethodOptionsBoleto`, `CheckoutSessionPaymentMethodOptionsEps`, `CheckoutSessionPaymentMethodOptionsFpx`, `CheckoutSessionPaymentMethodOptionsGiropay`, `CheckoutSessionPaymentMethodOptionsGrabpay`, `CheckoutSessionPaymentMethodOptionsKlarna`, `CheckoutSessionPaymentMethodOptionsKonbiniParams`, `CheckoutSessionPaymentMethodOptionsKonbini`, `CheckoutSessionPaymentMethodOptionsOxxoParams`, `CheckoutSessionPaymentMethodOptionsOxxo`, `CheckoutSessionPaymentMethodOptionsPaynow`, `CheckoutSessionPaymentMethodOptionsSepaDebit`, `CheckoutSessionPaymentMethodOptionsUsBankAccountParams`, `CheckoutSessionPaymentMethodOptionsUsBankAccount`, and `CheckoutSessionPaymentMethodOptionsWechatPayParams` 1111 * Add support for `AttachToSelf` on `SetupAttempt`, `SetupIntentListParams`, and `SetupIntentParams` 1112 * Add support for `FlowDirections` on `SetupAttempt` and `SetupIntentParams` 1113 * [#1469](https://github.com/stripe/stripe-go/pull/1469) Add test for cash balance methods. 1114 1115 ## 72.112.0 - 2022-06-01 1116 * [#1471](https://github.com/stripe/stripe-go/pull/1471) API Updates 1117 * Add support for `RadarOptions` on `ChargeParams`, `Charge`, `PaymentIntentConfirmParams`, `PaymentIntentConfirmPaymentMethodDataParams`, `PaymentIntentParams`, `PaymentIntentPaymentMethodDataParams`, `PaymentMethodParams`, `PaymentMethod`, `SetupIntentConfirmPaymentMethodDataParams`, and `SetupIntentPaymentMethodDataParams` 1118 * Add support for `AccountHolderName`, `AccountNumber`, `AccountType`, `BankCode`, `BankName`, `BranchCode`, and `BranchName` on `FundingInstructionsBankTransferFinancialAddressesZengin` and `PaymentIntentNextActionDisplayBankTransferInstructionsFinancialAddressesZengin` 1119 * Change type of `OrderPaymentSettingsPaymentMethodOptionsCustomerBalanceBankTransferType` and `PaymentIntentPaymentMethodOptionsCustomerBalanceBankTransferType` from `enum` to `literal('jp_bank_transfer')` 1120 * Add support for `Network` on `SetupIntentPaymentMethodOptionsCard` 1121 * Add support for new value `simulated_wisepos_e` on enum `TerminalReaderDeviceType` 1122 1123 ## 72.111.0 - 2022-05-26 1124 * [#1466](https://github.com/stripe/stripe-go/pull/1466) API Updates 1125 * Add support for `AffirmPayments` and `LinkPayments` on `AccountCapabilitiesParams` and `AccountCapabilities` 1126 * Add support for `IDNumberSecondary` on `AccountIndividualParams`, `PersonParams`, `TokenAccountIndividualParams`, and `TokenPersonParams` 1127 * Add support for `HostedInstructionsURL` on `PaymentIntentNextActionDisplayBankTransferInstructions` 1128 * Add support for `IDNumberSecondaryProvided` on `Person` 1129 * Add support for `CardIssuing` on `TreasuryFinancialAccountFeaturesParams` and `TreasuryFinancialAccountUpdateFeaturesParams` 1130 1131 1132 ## 72.110.0 - 2022-05-23 1133 * [#1465](https://github.com/stripe/stripe-go/pull/1465) API Updates 1134 * Add support for `Treasury` on `AccountCapabilitiesParams` and `AccountCapabilities` 1135 1136 ## 72.109.0 - 2022-05-23 1137 * [#1464](https://github.com/stripe/stripe-go/pull/1464) API Updates 1138 * Add support for new resource `Apps.Secret` 1139 * Add support for `Affirm` on `ChargePaymentMethodDetails`, `PaymentIntentConfirmPaymentMethodDataParams`, `PaymentIntentConfirmPaymentMethodOptionsParams`, `PaymentIntentPaymentMethodDataParams`, `PaymentIntentPaymentMethodOptionsParams`, `PaymentIntentPaymentMethodOptions`, `PaymentMethodParams`, `PaymentMethod`, `SetupIntentConfirmPaymentMethodDataParams`, and `SetupIntentPaymentMethodDataParams` 1140 * Add support for `Link` on `ChargePaymentMethodDetails`, `MandatePaymentMethodDetails`, `OrderPaymentSettingsPaymentMethodOptionsParams`, `PaymentIntentConfirmPaymentMethodDataParams`, `PaymentIntentConfirmPaymentMethodOptionsParams`, `PaymentIntentPaymentMethodDataParams`, `PaymentIntentPaymentMethodOptionsParams`, `PaymentIntentPaymentMethodOptions`, `PaymentMethodParams`, `PaymentMethod`, `SetupAttemptPaymentMethodDetails`, `SetupIntentConfirmPaymentMethodDataParams`, `SetupIntentConfirmPaymentMethodOptionsParams`, `SetupIntentPaymentMethodDataParams`, `SetupIntentPaymentMethodOptionsParams`, and `SetupIntentPaymentMethodOptions` 1141 * Add support for new value `link` on enums `InvoicePaymentSettingsPaymentMethodTypes` and `SubscriptionPaymentSettingsPaymentMethodTypes` 1142 * Add support for new values `affirm` and `link` on enum `PaymentMethodType` 1143 1144 ## 72.108.0 - 2022-05-19 1145 * [#1463](https://github.com/stripe/stripe-go/pull/1463) API Updates 1146 * Add support for new resources `Treasury.CreditReversal`, `Treasury.DebitReversal`, `Treasury.FinancialAccountFeatures`, `Treasury.FinancialAccount`, `Treasury.FlowDetails`, `Treasury.InboundTransfer`, `Treasury.OutboundPayment`, `Treasury.OutboundTransfer`, `Treasury.ReceivedCredit`, `Treasury.ReceivedDebit`, `Treasury.TransactionEntry`, and `Treasury.Transaction` 1147 * Add support for `RetrievePaymentMethod` method on resource `Customer` 1148 * Add support for `ListOwners` and `List` methods on resource `FinancialConnections.Account` 1149 * Change type of `BillingPortalSessionReturnUrl` from `string` to `nullable(string)` 1150 * Add support for `AUBECSDebit`, `AfterpayClearpay`, `BACSDebit`, `EPS`, `FPX`, `Giropay`, `Grabpay`, `Klarna`, `PayNow`, and `SepaDebit` on `CheckoutSessionPaymentMethodOptions` 1151 * Add support for `Treasury` on `IssuingAuthorization`, `IssuingDisputeParams`, `IssuingDispute`, and `IssuingTransaction` 1152 * Add support for `FinancialAccount` on `IssuingCardParams` and `IssuingCard` 1153 * Add support for `ClientSecret` on `Order` 1154 * Add support for `Networks` on `PaymentIntentConfirmPaymentMethodOptionsUsBankAccountParams`, `PaymentIntentPaymentMethodOptionsUsBankAccountParams`, `PaymentMethodUsBankAccount`, `SetupIntentConfirmPaymentMethodOptionsUsBankAccountParams`, and `SetupIntentPaymentMethodOptionsUsBankAccountParams` 1155 * Add support for `AttachToSelf` and `FlowDirections` on `SetupIntent` 1156 * Add support for `SaveDefaultPaymentMethod` on `SubscriptionPaymentSettingsParams` and `SubscriptionPaymentSettings` 1157 * Add support for `CZK` on `TerminalConfigurationTippingParams` and `TerminalConfigurationTipping` 1158 * [#1461](https://github.com/stripe/stripe-go/pull/1461) API Updates 1159 * Add support for `Description` on `CheckoutSessionSubscriptionDataParams`, `SubscriptionParams`, and `Subscription` 1160 * Add support for `ConsentCollection`, `PaymentIntentData`, `ShippingOptions`, `SubmitType`, and `TaxIDCollection` on `PaymentLinkParams` and `PaymentLink` 1161 * Add support for `CustomerCreation` on `PaymentLinkParams` and `PaymentLink` 1162 * Add support for `Metadata` on `SubscriptionSchedulePhasesParams` and `SubscriptionSchedulePhases` 1163 1164 * [#1462](https://github.com/stripe/stripe-go/pull/1462) update build status label and remove outdated code coverage label 1165 1166 ## 72.107.0 - 2022-05-11 1167 * [#1459](https://github.com/stripe/stripe-go/pull/1459) API Updates 1168 * Add support for `AmountDiscount`, `AmountTax`, and `Product` on `LineItem` 1169 1170 1171 ## 72.106.0 - 2022-05-05 1172 * [#1457](https://github.com/stripe/stripe-go/pull/1457) API Updates 1173 * Add support for `DefaultPriceData` on `ProductParams` 1174 * Add support for `DefaultPrice` on `ProductParams` and `Product` 1175 * Add support for `InstructionsEmail` on `RefundParams` and `Refund` 1176 1177 1178 ## 72.105.0 - 2022-05-05 1179 * [#1455](https://github.com/stripe/stripe-go/pull/1455) API Updates 1180 * Add support for new resources `FinancialConnections.AccountOwner`, `FinancialConnections.AccountOwnership`, `FinancialConnections.Account`, and `FinancialConnections.Session` 1181 * Add support for `FinancialConnections` on `CheckoutSessionPaymentMethodOptionsUsBankAccountParams`, `CheckoutSessionPaymentMethodOptionsUsBankAccount`, `InvoicePaymentSettingsPaymentMethodOptionsUsBankAccountParams`, `InvoicePaymentSettingsPaymentMethodOptionsUsBankAccount`, `PaymentIntentConfirmPaymentMethodOptionsUsBankAccountParams`, `PaymentIntentPaymentMethodOptionsUsBankAccountParams`, `PaymentIntentPaymentMethodOptionsUsBankAccount`, `SetupIntentConfirmPaymentMethodOptionsUsBankAccountParams`, `SetupIntentPaymentMethodOptionsUsBankAccountParams`, `SetupIntentPaymentMethodOptionsUsBankAccount`, `SubscriptionPaymentSettingsPaymentMethodOptionsUsBankAccountParams`, and `SubscriptionPaymentSettingsPaymentMethodOptionsUsBankAccount` 1182 * Add support for `FinancialConnectionsAccount` on `PaymentIntentConfirmPaymentMethodDataUsBankAccountParams`, `PaymentIntentPaymentMethodDataUsBankAccountParams`, `PaymentMethodUsBankAccountParams`, `PaymentMethodUsBankAccount`, `SetupIntentConfirmPaymentMethodDataUsBankAccountParams`, and `SetupIntentPaymentMethodDataUsBankAccountParams` 1183 1184 * [#1454](https://github.com/stripe/stripe-go/pull/1454) API Updates 1185 * Add support for `RegisteredAddress` on `AccountIndividualParams`, `PersonParams`, `Person`, `TokenAccountIndividualParams`, and `TokenPersonParams` 1186 * Add support for `PaymentMethodData` on `SetupIntentConfirmParams` and `SetupIntentParams` 1187 1188 1189 ## 72.104.0 - 2022-05-03 1190 * [#1453](https://github.com/stripe/stripe-go/pull/1453) API Updates 1191 * Add support for new resource `CashBalance` 1192 * Change type of `BillingPortalConfigurationApplication` from `$Application` to `deletable($Application)` 1193 * Add support for `Alipay` on `CheckoutSessionPaymentMethodOptionsParams` and `CheckoutSessionPaymentMethodOptions` 1194 * Add support for new value `eu_oss_vat` on enums `CheckoutSessionCustomerDetailsTaxIdsType`, `InvoiceCustomerTaxIdsType`, and `TaxIdType` 1195 * Add support for `CashBalance` on `Customer` 1196 * Add support for `Application` on `Invoice`, `Quote`, `SubscriptionSchedule`, and `Subscription` 1197 1198 1199 ## 72.103.0 - 2022-04-21 1200 * [#1452](https://github.com/stripe/stripe-go/pull/1452) API Updates 1201 * Add support for `Expire` test helper method on resource `Refund` 1202 1203 ## 72.102.0 - 2022-04-19 1204 * [#1451](https://github.com/stripe/stripe-go/pull/1451) API Updates 1205 * Add support for new resources `FundingInstructions` and `Terminal.Configuration` 1206 * Add support for `CreateFundingInstructions` method on resource `Customer` 1207 * Add support for `CustomerBalance` on `ChargePaymentMethodDetails`, `PaymentIntentConfirmPaymentMethodDataParams`, `PaymentIntentConfirmPaymentMethodOptionsParams`, `PaymentIntentPaymentMethodDataParams`, `PaymentIntentPaymentMethodOptionsParams`, `PaymentIntentPaymentMethodOptions`, `PaymentMethodParams`, and `PaymentMethod` 1208 * Add support for `CashBalance` on `CustomerParams` 1209 * Add support for `AmountDetails` on `PaymentIntent` 1210 * Add support for `DisplayBankTransferInstructions` on `PaymentIntentNextAction` 1211 * Add support for new value `customer_balance` on enum `PaymentMethodType` 1212 * Add support for `ConfigurationOverrides` on `TerminalLocationParams` and `TerminalLocation` 1213 1214 * [#1448](https://github.com/stripe/stripe-go/pull/1448) API Updates 1215 * Add support for `IncrementAuthorization` method on resource `PaymentIntent` 1216 * Add support for `IncrementalAuthorizationSupported` on `ChargePaymentMethodDetailsCardPresent` 1217 * Add support for `RequestIncrementalAuthorizationSupport` on `PaymentIntentConfirmPaymentMethodOptionsCardPresentParams`, `PaymentIntentPaymentMethodOptionsCardPresentParams`, and `PaymentIntentPaymentMethodOptionsCardPresent` 1218 1219 ## 72.101.0 - 2022-04-08 1220 * [#1446](https://github.com/stripe/stripe-go/pull/1446) API Updates 1221 * Add support for `ApplyCustomerBalance` method on resource `PaymentIntent` 1222 1223 ## 72.100.0 - 2022-04-04 1224 * [#1443](https://github.com/stripe/stripe-go/pull/1443) Add support for passing expansions in SearchParams. 1225 1226 ## 72.99.0 - 2022-04-01 1227 * [#1442](https://github.com/stripe/stripe-go/pull/1442) API Updates 1228 * Add support for `BankTransferPayments` on `AccountCapabilitiesParams` and `AccountCapabilities` 1229 * Add support for `CaptureBefore` on `ChargePaymentMethodDetailsCardPresent` 1230 * Add support for `Address` and `Name` on `CheckoutSessionCustomerDetails` 1231 * Add support for `CustomerBalance` on `InvoicePaymentSettingsPaymentMethodOptionsParams`, `InvoicePaymentSettingsPaymentMethodOptions`, `SubscriptionPaymentSettingsPaymentMethodOptionsParams`, and `SubscriptionPaymentSettingsPaymentMethodOptions` 1232 * Add support for new value `customer_balance` on enums `InvoicePaymentSettingsPaymentMethodTypes` and `SubscriptionPaymentSettingsPaymentMethodTypes` 1233 * Add support for `RequestExtendedAuthorization` on `PaymentIntentConfirmPaymentMethodOptionsCardPresentParams`, `PaymentIntentPaymentMethodOptionsCardPresentParams`, and `PaymentIntentPaymentMethodOptionsCardPresent` 1234 1235 ## 72.98.0 - 2022-03-30 1236 * [#1440](https://github.com/stripe/stripe-go/pull/1440) API Updates 1237 * Add support for `CancelAction`, `ProcessPaymentIntent`, `ProcessSetupIntent`, and `SetReaderDisplay` methods on resource `Terminal.Reader` 1238 * Add support for `Action` on `TerminalReader` 1239 1240 ## 72.97.0 - 2022-03-29 1241 * [#1439](https://github.com/stripe/stripe-go/pull/1439) API Updates 1242 * Add support for Search API 1243 * Add support for `Search` method on resources `Charge`, `Customer`, `Invoice`, `PaymentIntent`, `Price`, `Product`, and `Subscription` 1244 1245 ## 72.96.0 - 2022-03-25 1246 * [#1437](https://github.com/stripe/stripe-go/pull/1437) API Updates 1247 * Add support for PayNow and US Bank Accounts Debits payments 1248 * **Charge** ([API ref](https://stripe.com/docs/api/charges/object#charge_object-payment_method_details)) 1249 * Add support for `PayNow` and `USBankAccount` on `ChargePaymentMethodDetails` 1250 * **Mandate** ([API ref](https://stripe.com/docs/api/mandates/object#mandate_object-payment_method_details)) 1251 * Add support for `USBankAccount` on `MandatePaymentMethodDetails` 1252 * **Payment Intent** ([API ref](https://stripe.com/docs/api/payment_intents/object#payment_intent_object-payment_method_options)) 1253 * Add support for `PayNow` and `USBankAccount` on `PaymentIntentPaymentMethodOptions`, `PaymentIntentPaymentMethodDataParams`, `PaymentIntentPaymentMethodOptionsParams`, `PaymentIntentConfirmPaymentMethodDataParams`, and `PaymentIntentConfirmPaymentMethodOptionsParams` 1254 * Add support for `PayNowDisplayQRCode` on `PaymentIntentNextAction` 1255 * **Setup Intent** ([API ref](https://stripe.com/docs/api/setup_intents/object#setup_intent_object-payment_method_options)) 1256 * Add support for `USBankAccount` on `SetupIntentPaymentMethodOptionsParams`, `SetupIntentPaymentMethodOptions`, and `SetupIntentConfirmPaymentMethodOptionsParams` 1257 * **Setup Attempt** ([API ref](https://stripe.com/docs/api/setup_attempts/object#setup_attempt_object-payment_method_details)) 1258 * Add support for `USBankAccount` on `SetupAttemptPaymentMethodDetails` 1259 * **Payment Method** ([API ref](https://stripe.com/docs/api/payment_methods/object#payment_method_object-paynow)) 1260 * Add support for `PayNow` and `USBankAccount` on `PaymentMethod` and `PaymentMethodParams` 1261 * Add support for new values `paynow` and `us_bank_account` on enum `PaymentMethodType` 1262 * **Checkout Session** ([API ref](https://stripe.com/docs/api/checkout/sessions/create#create_checkout_session-payment_method_types)) 1263 * Add support for `USBankAccount` on `CheckoutSessionPaymentMethodOptionsParams` and `CheckoutSessionPaymentMethodOptions` 1264 * **Invoice** ([API ref](https://stripe.com/docs/api/invoices/object#invoice_object-payment_settings-payment_method_types)) 1265 * Add support for `USBankAccount` on `InvoicePaymentSettingsPaymentMethodOptions` and `InvoicePaymentSettingsPaymentMethodOptionsParams` 1266 * Add support for new values `paynow` and `us_bank_account` on enum `InvoicePaymentSettingsPaymentMethodTypes` 1267 * **Subscription** ([API ref](https://stripe.com/docs/api/subscriptions/object#subscription_object-payment_settings-payment_method_types)) 1268 * Add support for `USBankAccount` on `SubscriptionPaymentSettingsPaymentMethodOptions` and `SubscriptionPaymentSettingsPaymentMethodOptionsParams` 1269 * Add support for new values `paynow` and `us_bank_account` on enum `SubscriptionPaymentSettingsPaymentMethodTypes` 1270 * **Account capabilities** ([API ref](https://stripe.com/docs/api/accounts/object#account_object-capabilities)) 1271 * Add support for `PayNowPayments` and `USBankAccountAchPayments` on `AccountCapabilities` and `AccountCapabilitiesParams` 1272 * Add support for `FailureBalanceTransaction` on `Charge` 1273 * Add support for `TestClock` on `SubscriptionListParams` 1274 * Add support for `CaptureMethod` on `PaymentIntentConfirmPaymentMethodOptionsAfterpayClearpayParams`, `PaymentIntentConfirmPaymentMethodOptionsCardParams`, `PaymentIntentConfirmPaymentMethodOptionsKlarnaParams`, `PaymentIntentPaymentMethodOptionsAfterpayClearpayParams`, `PaymentIntentPaymentMethodOptionsAfterpayClearpay`, `PaymentIntentPaymentMethodOptionsCardParams`, `PaymentIntentPaymentMethodOptionsCard`, `PaymentIntentPaymentMethodOptionsKlarnaParams`, `PaymentIntentPaymentMethodOptionsKlarna`, and `PaymentIntentTypeSpecificPaymentMethodOptionsClient` 1275 * Add additional support for verify microdeposits on Payment Intent and Setup Intent ([API ref](https://stripe.com/docs/api/payment_intents/verify_microdeposits)) 1276 * Add support for `DescriptorCode` on `PaymentIntentVerifyMicrodepositsParams` and `SetupIntentVerifyMicrodepositsParams` 1277 * Add support for `MicrodepositType` on `PaymentIntentNextActionVerifyWithMicrodeposits` and `SetupIntentNextActionVerifyWithMicrodeposits` 1278 * Add case for `ConnectCollectionTransfer` on `BalanceTransactionSource` `UnmarshalJSON` (fixes #1392) 1279 * Add missing `PayoutFailureCode`s (fixes #1438) 1280 1281 ## 72.95.0 - 2022-03-23 1282 * [#1436](https://github.com/stripe/stripe-go/pull/1436) API Updates 1283 * Add support for `Cancel` method on resource `Refund` 1284 * Add support for new values `bg_uic`, `hu_tin`, and `si_tin` on enums `CheckoutSessionCustomerDetailsTaxIdsType`, `InvoiceCustomerTaxIdsType`, and `TaxIdType` 1285 * Add support for `TestClock` on `QuoteListParams` 1286 1287 ## 72.94.0 - 2022-03-18 1288 * [#1433](https://github.com/stripe/stripe-go/pull/1433) API Updates 1289 * Add support for `Status` on `Card` 1290 * [#1432](https://github.com/stripe/stripe-go/pull/1432) Add StringSlice example to readme 1291 * [#1324](https://github.com/stripe/stripe-go/pull/1324) Add support for SearchResult objects 1292 1293 ## 72.93.0 - 2022-03-11 1294 * [#1431](https://github.com/stripe/stripe-go/pull/1431) API Updates 1295 * Add support for `Mandate` on `ChargePaymentMethodDetailsCard` 1296 * Add support for `MandateOptions` on `SetupIntentPaymentMethodOptionsCardParams`, `PaymentIntentPaymentMethodOptionsCardParams`, `PaymentIntentConfirmPaymentMethodOptionsCardParams`, `PaymentIntentPaymentMethodOptionsCard`, SetupIntentConfirmPaymentMethodOptionsCardParams`, and `SetupIntentPaymentMethodOptionsCard` 1297 * Add support for `CardAwaitNotification` on `PaymentIntentNextAction` 1298 * Add support for `CustomerNotification` on `PaymentIntentProcessingCard` 1299 1300 ## 72.92.0 - 2022-03-09 1301 * [#1430](https://github.com/stripe/stripe-go/pull/1430) API Updates 1302 * Add support for `TestClock` on `CustomerListParams` 1303 * [#1429](https://github.com/stripe/stripe-go/pull/1429) Fix unmarshalling error on schedule create from subscription (ApplicationFeePercent) 1304 1305 ## 72.91.0 - 2022-03-02 1306 * [#1425](https://github.com/stripe/stripe-go/pull/1425) API Updates 1307 * Add support for new resources `InvoiceLineProrationDetails` and `InvoiceLineProrationDetailsCreditedItems` 1308 * Add support for `ProrationDetails` on `InvoiceLine` 1309 1310 1311 ## 72.90.0 - 2022-03-01 1312 * [#1423](https://github.com/stripe/stripe-go/pull/1423) [#1424](https://github.com/stripe/stripe-go/pull/1424) API Updates 1313 * Add support for new resource `TestHelpers.TestClock` 1314 * Add support for `TestClock` on `CustomerParams`, `Customer`, `Invoice`, `InvoiceItem`, `QuoteParams`, `Quote`, `Subscription`, and `SubscriptionSchedule` 1315 * Add support for `PendingInvoiceItemsBehavior` on `InvoiceParams` 1316 * Change type of `ProductUrlParams` from `string` to `emptyStringable(string)` 1317 * Add support for `NextAction` on `Refund` 1318 1319 ## 72.89.0 - 2022-02-25 1320 * [#1422](https://github.com/stripe/stripe-go/pull/1422) API Updates 1321 * Add support for `KonbiniPayments` on `AccountCapabilitiesParams`, and `AccountCapabilities` 1322 `BillingPortalConfigurationBusinessProfileTermsOfServiceUrl` from `string` to `nullable(string)` 1323 * Add support for `Konbini` on `ChargePaymentMethodDetails`, `CheckoutSessionPaymentMethodOptionsParams`, `CheckoutSessionPaymentMethodOptions`, `InvoicePaymentSettingsPaymentMethodOptionsParams`, `InvoicePaymentSettingsPaymentMethodOptionsParams`, `InvoicePaymentSettingsPaymentMethodOptions`, `PaymentIntentPaymentMethodDataParams`, `PaymentIntentPaymentMethodOptionsParams`, `PaymentIntentConfirmPaymentMethodDataParams`, `PaymentIntentConfirmPaymentMethodOptionsParams`, `PaymentIntentPaymentMethodOptions`, `PaymentMethodParams`, `PaymentMethod`, `SubscriptionPaymentSettingsPaymentMethodOptionsParams`, and `SubscriptionPaymentSettingsPaymentMethodOptions` 1324 * Add support for new value `konbini` on enums `InvoicePaymentSettingsPaymentMethodTypes` and `SubscriptionPaymentSettingsPaymentMethodTypes` 1325 * Add support for `KonbiniDisplayDetails` on `PaymentIntentNextAction` 1326 * Add support for new value `konbini` on enum `PaymentMethodType` 1327 * [#1420](https://github.com/stripe/stripe-go/pull/1420) Generate enums in samples 1328 1329 ## 72.88.0 - 2022-02-23 1330 * [#1421](https://github.com/stripe/stripe-go/pull/1421) API Updates 1331 * Add support for `SetupFutureUsage` on `PaymentIntentPaymentMethodOptions.*` 1332 * Add support for new values `bbpos_wisepad3` and `stripe_m2` on enum `TerminalReaderDeviceType` 1333 1334 ## 72.87.0 - 2022-02-15 1335 * [#1419](https://github.com/stripe/stripe-go/pull/1419) Add tests for verify_microdeposits 1336 * [#1416](https://github.com/stripe/stripe-go/pull/1416) API Updates 1337 * Add support for `VerifyMicrodeposits` method on resources `PaymentIntent` and `SetupIntent` 1338 * Add support for new value `grabpay` on enums `InvoicePaymentSettingsPaymentMethodTypes` and `SubscriptionPaymentSettingsPaymentMethodTypes` 1339 * [#1415](https://github.com/stripe/stripe-go/pull/1415) API Updates 1340 * Add support for `PIN` on `IssuingCardParams` 1341 * [#1414](https://github.com/stripe/stripe-go/pull/1414) Add comments for deprecated error types 1342 1343 ## 72.86.0 - 2022-01-25 1344 * [#1411](https://github.com/stripe/stripe-go/pull/1411) API Updates 1345 * Add support for `PhoneNumberCollection` on `PaymentLinkParams` and `PaymentLink` 1346 * Add support for new value `is_vat` on enums `CheckoutSessionCustomerDetailsTaxIdsType`, `InvoiceCustomerTaxIdsType`, and `TaxIdType` 1347 * [#1384](https://github.com/stripe/stripe-go/pull/1384) godoc is no more 1348 1349 ## 72.85.0 - 2022-01-20 1350 * [#1408](https://github.com/stripe/stripe-go/pull/1408) API Updates 1351 * Add support for new resource `PaymentLink` 1352 * Add support for `PaymentLink` on `CheckoutSession` 1353 1354 ## 72.84.0 - 2022-01-19 1355 * [#1407](https://github.com/stripe/stripe-go/pull/1407) API Updates 1356 * Change type of `ChargeStatus` from `string` to `enum('failed'|'pending'|'succeeded')` 1357 * Add support for `BACSDebit` and `EPS` on `PaymentIntentPaymentMethodOptionsParams`, `PaymentIntentPaymentMethodOptionsParams`, `PaymentIntentConfirmPaymentMethodOptionsParams`, and `PaymentIntentPaymentMethodOptions` 1358 * Add support for `ImageURLPNG` and `ImageURLSVG` on `PaymentIntentNextActionWechatPayDisplayQRCode` 1359 1360 * [#1405](https://github.com/stripe/stripe-go/pull/1405) Generate struct field docstrings 1361 1362 ## 72.83.0 - 2022-01-13 1363 * [#1404](https://github.com/stripe/stripe-go/pull/1404) API Updates 1364 * Add support for `PaidOutOfBand` on `Invoice` 1365 1366 ## 72.82.0 - 2022-01-12 1367 * [#1403](https://github.com/stripe/stripe-go/pull/1403) API Updates 1368 * Add support for `CustomerCreation` on `CheckoutSessionParams` and `CheckoutSession` 1369 * Add support for `FPX` and `Grabpay` on `PaymentIntentPaymentMethodOptionsParams` and `PaymentIntentPaymentMethodOptions` 1370 1371 * [#1399](https://github.com/stripe/stripe-go/pull/1399) API Updates 1372 * Add support for `MandateOptions` on `SubscriptionPaymentSettingsPaymentMethodOptionsCardParams`, `SubscriptionPaymentSettingsPaymentMethodOptionsCardParams`, and `SubscriptionPaymentSettingsPaymentMethodOptionsCard` 1373 * [#1401](https://github.com/stripe/stripe-go/pull/1401) Make source.go and client codegen-able 1374 * Add support for `object` on `Source` (value is the string "source") 1375 * Add support for `client_secret` on `SourceObjectParams` 1376 * Add support for `parent` on `SourceSourceOrderItems` 1377 * [#1400](https://github.com/stripe/stripe-go/pull/1400) Make paymentsource.go and client codegen-able 1378 * Add support for `account_holder_name`, `account_holder_type`, `address_city`, `address_country`, `address_line1`, `address_line2`, `address_state`, `address_zip`, `exp_month`, `exp_year`, `name`, `owner` on `CustomerSourceParams` 1379 * Add support for `PaymentSourceOwnerParams` 1380 * Add support for `Object` on `SourceListParams` 1381 * [#1396](https://github.com/stripe/stripe-go/pull/1396) Make bankaccount and card codegen-able 1382 * Add support for `address_city`, `address_country`, `address_line1`, `address_line2`, `address_state`, `address_zip`, `exp_month`, `exp_year`, and `name` on `BankAccountParams` 1383 * Add support for `account_holder_name`, `account_holder_type`, and `owner` on `CardParams` 1384 * Add support for `account` on `Card` 1385 * [#1398](https://github.com/stripe/stripe-go/pull/1398) Update docs URLs. 1386 1387 ## 72.81.0 - 2021-12-22 1388 * [#1397](https://github.com/stripe/stripe-go/pull/1397) API Updates 1389 * Add support for `AUBECSDebit` on `PaymentIntentPaymentMethodOptionsParams`, `PaymentIntentPaymentMethodOptionsParams`, `PaymentIntentConfirmPaymentMethodOptionsParams`, and `PaymentIntentPaymentMethodOptions` 1390 * Change type of `PaymentIntentProcessingType` from `string` to `literal('card')`. This is not considered a breaking change as the field was added in the same release. 1391 1392 * [#1395](https://github.com/stripe/stripe-go/pull/1395) API Updates 1393 * Add support for `Boleto` on `SetupAttemptPaymentMethodDetails` 1394 1395 * [#1393](https://github.com/stripe/stripe-go/pull/1393) API Updates 1396 * Add support for `Processing` on `PaymentIntent` 1397 1398 ## 72.80.0 - 2021-12-15 1399 * [#1391](https://github.com/stripe/stripe-go/pull/1391) API Updates 1400 * Add support for new resource `PaymentIntentTypeSpecificPaymentMethodOptionsClient` 1401 * Add support for `SetupFutureUsage` on `PaymentIntentPaymentMethodOptionsCardParams`, `PaymentIntentPaymentMethodOptionsCardParams`, `PaymentIntentConfirmPaymentMethodOptionsCardParams`, and `PaymentIntentPaymentMethodOptionsCard` 1402 1403 ## 72.79.0 - 2021-12-09 1404 * [#1390](https://github.com/stripe/stripe-go/pull/1390) API Updates 1405 * Add support for `Metadata` on `BillingPortalConfiguration` 1406 * [#1382](https://github.com/stripe/stripe-go/pull/1382) Add unwrap capability to Error 1407 * [#1388](https://github.com/stripe/stripe-go/pull/1388) Codegen: `sourcetransaction.go` and `sourcetransaction/client.go` 1408 * Add support for `Object` and `Status` on `SourceTransaction`. 1409 1410 ## 72.78.0 - 2021-12-09 1411 * [#1389](https://github.com/stripe/stripe-go/pull/1389) API Updates 1412 * Add support for new values `ge_vat` and `ua_vat` on enums `CheckoutSessionCustomerDetailsTaxIdsType`, `InvoiceCustomerTaxIdsType`, and `TaxIdType` 1413 1414 * [#1383](https://github.com/stripe/stripe-go/pull/1383) [#1379](https://github.com/stripe/stripe-go/pull/1379) [#1385](https://github.com/stripe/stripe-go/pull/1385) [#1386](https://github.com/stripe/stripe-go/pull/1386) Codegen-related updates 1415 * Add support for `CancellationReason` and `ReceivedAt` on `IssuingDisputeEvidenceServiceNotAsDescribed` and `IssuingDisputeEvidenceServiceNotAsDescribedParams` 1416 * Add support for `Created` on `IssuingDisputeListParams` 1417 * Add support for `Object` on `Plan` 1418 * Add support for `free_zone_establishment`, `free_zone_llc`, `llc`, and `sole_establishment` options for `AccountCompanyStructure` 1419 * Add support for `AfterpayClearpayPayments` on `AccountCapabilitiesParams` 1420 * Add support for `Created` and `CreatedRange` on `AccountListParams` 1421 * Add support for `AfterpayClearpayPayments` and `BoletoPayments` on `AccountCapabilities` 1422 * Add support for `Capability` and `Capabilities` method on Account client 1423 * Add support for `none` and `renew` options for `SubscriptionScheduleEndBehavior` 1424 * Add support for `"now"` string for `EndDate`, `StartDate`, and `TrialEnd` on `SubscriptionSchedulePhaseParams` 1425 * Add support for `ProrationBehavior` on `SubscriptionSchedulePhase` 1426 * Add support for `APIVersion` and `Object` on `Event` 1427 * Add support for `Metadata` on `SubscriptionItemsParams` 1428 * Add support for `'automatic_pending_invoice_item_invoice'` option for `InvoiceBillingReason` 1429 * Add support for `'deleted'` option for `InvoiceStatus` 1430 * Add support for `metadata` on `InvoiceUpcomingCustomerDetailsParams` 1431 * Add support for `schedule` on `InvoiceParams` 1432 * Add support for `created` on `Person` 1433 1434 ## 72.77.0 - 2021-11-19 1435 * [#1381](https://github.com/stripe/stripe-go/pull/1381) Add support for `Wallets` on `IssuingCard` 1436 * Add support for `Wallets` on `IssuingCard` 1437 * [#1380](https://github.com/stripe/stripe-go/pull/1380) API Updates 1438 * Add support for `InteracPresent` on `PaymentIntentPaymentMethodOptionsParams`, `PaymentIntentPaymentMethodOptionsParams`, `PaymentIntentConfirmPaymentMethodOptionsParams`, and `PaymentIntentPaymentMethodOptions` 1439 * Add support for new value `jct` on enum `TaxRateTaxType` 1440 1441 ## 72.76.0 - 2021-11-17 1442 * [#1377](https://github.com/stripe/stripe-go/pull/1377) API Updates 1443 * Add support for `AutomaticPaymentMethods` on `PaymentIntentParams` and `PaymentIntent` 1444 1445 ## 72.75.0 - 2021-11-16 1446 * [#1375](https://github.com/stripe/stripe-go/pull/1375) API Updates 1447 * Add support for new resource `ShippingRate` 1448 * Add support for `ShippingOptions` on `CheckoutSessionParams` and `CheckoutSession` 1449 * Add support for `ShippingRate` on `CheckoutSession` 1450 1451 ## 72.74.0 - 2021-11-11 1452 * [#1374](https://github.com/stripe/stripe-go/pull/1374) API Updates 1453 * Add support for `Expire` method on resource `Checkout.Session` 1454 * Add support for `Status` on `CheckoutSession` 1455 * [#1373](https://github.com/stripe/stripe-go/pull/1373) [#1370](https://github.com/stripe/stripe-go/pull/1370) [#1369](https://github.com/stripe/stripe-go/pull/1369) Codegen-related updates 1456 - Add support for `disabled` on `CapabilityStatus` 1457 * Make more files codegen-able 1458 - Add support for `acss_debit`, `au_becs_debit`, `bacs_debit`, and `sepa_debit` on `SetupAttemptPaymentMethodDetails` 1459 - Add support for `setup_intent` on `SetupAttempt` 1460 - Add support for `duplicate` option for `SetupIntentCancellationReason` 1461 - Add support for `challenge_only` option for `SetupIntentPaymentMethodOptionsCardRequestThreeDSecure` 1462 - Add support for `sepa_debit` on `SetupIntentPaymentMethodOptionsParams` and `SetupIntentPaymentMethodOptions` 1463 - Add support for `client_secret` on `SetupIntentParams` 1464 1465 ## 72.73.1 - 2021-11-04 1466 * [#1371](https://github.com/stripe/stripe-go/pull/1371) API Updates 1467 * Remove support for `OwnershipDeclarationShownAndSigned` on `TokenAccountParams`. This API was unused. 1468 * Add support for `OwnershipDeclarationShownAndSigned` on `TokenAccountCompanyParams` 1469 1470 1471 ## 72.73.0 - 2021-11-01 1472 * [#1368](https://github.com/stripe/stripe-go/pull/1368) API Updates 1473 * Add support for `OwnershipDeclaration` on `AccountCompanyParams`, `AccountCompanyParams`, `AccountCompany`, and `TokenAccountCompanyParams` 1474 * Add support for `ProofOfRegistration` on `AccountDocumentsParams` and `AccountDocumentsParams` 1475 * Add support for `OwnershipDeclarationShownAndSigned` on `TokenAccountParams` 1476 * [#1366](https://github.com/stripe/stripe-go/pull/1366) Make File resource and client codegen-able 1477 - Add support for `"selfie"` and `"identity_document_downloadable"` as `FilePurpose` options 1478 - Add support for `title` field on `File` 1479 * [#1365](https://github.com/stripe/stripe-go/pull/1365) Make paymentintent and paymentmethod codegen-able 1480 * Fix `WechatPay` form name in `PaymentIntentPaymentMethodDataParams` 1481 * Add support for `"challenge_only"` as `PaymentIntentPaymentMethodOptionsCardRequestThreeDSecure` option 1482 * Add support for `OffSessionOneOff` and `OffSessionRecurring` on `PaymentIntentConfirmParams` 1483 * Add support for `BACSDebit`, `Bancontact`, `Giropay`, `InteracPresent`, `Metadata`, and `Sofort` on `PaymentIntentPaymentMethodDataParams` 1484 * Add support for `CardPresent`, `Ideal`, `P24`, and `SepaDebit` on `PaymentIntentPaymentMethodOptionsParams` and `PaymentIntentPaymentMethodOptions` 1485 * Add support for `ClientSecret`, `OffSessionOneOff`, and `OffSessionRecurring` on `PaymentIntentParams` 1486 * Add support for `Object` on `PaymentIntent` 1487 * Add support for `AmexExpressCheckout`, `ApplePay`, `GooglePay`, `Masterpass`, `SamsungPay`, and `VisaCheckout` on `PaymentMethodCardWallet` 1488 * [#1364](https://github.com/stripe/stripe-go/pull/1364) Update references in test suite to be fully qualified. 1489 1490 ## 72.72.0 - 2021-10-20 1491 * [#1361](https://github.com/stripe/stripe-go/pull/1361) Bugfix: point client.API#Oauth to the Connect backend. 1492 * [#1358](https://github.com/stripe/stripe-go/pull/1358) API Updates 1493 * Add support for `BuyerID` on `ChargePaymentMethodDetailsAlipay` 1494 1495 ## 72.71.0 - 2021-10-15 1496 * [#1357](https://github.com/stripe/stripe-go/pull/1357) API Updates 1497 * Change type of `UsageRecordTimestampParams` from `integer` to `literal('now') | integer` 1498 * [#1356](https://github.com/stripe/stripe-go/pull/1356) Add generated test suite 1499 * [#1355](https://github.com/stripe/stripe-go/pull/1355) Make order-related files codegen-able 1500 * Add support for `SelectedShippingMethod` and `Status` on `OrderStatus` 1501 * Add support for `Carrier` and `TrackingNumber` on `ShippingParams` 1502 * Add support for `ExternalCouponCode` and `Object` on `Order` 1503 * Add support for `Object` on `OrderItem` and `OrderReturn` 1504 * Add support for `Deleted` and `Object` on `SKU` 1505 1506 ## 72.70.0 - 2021-10-11 1507 * [#1354](https://github.com/stripe/stripe-go/pull/1354) API Updates 1508 * Add support for `PaymentMethodCategory` and `PreferredLocale` on `ChargePaymentMethodDetailsKlarna` 1509 * Add support for `Klarna` on `PaymentIntentPaymentMethodDataParams`, `PaymentIntentPaymentMethodOptionsParams`, `PaymentIntentPaymentMethodDataParams`, `PaymentIntentPaymentMethodOptionsParams`, `PaymentIntentPaymentMethodOptions`, `PaymentMethodParams`, and `PaymentMethod` 1510 * Add support for new value `klarna` on enum `PaymentMethodType` 1511 1512 ## 72.69.0 - 2021-10-11 1513 * [#1352](https://github.com/stripe/stripe-go/pull/1352) API Updates 1514 * Add support for `ListPaymentMethods` method on resource `Customer` 1515 * [#1331](https://github.com/stripe/stripe-go/pull/1331) Add missing decline codes following official documentation. 1516 1517 ## 72.68.0 - 2021-10-07 1518 * [#1351](https://github.com/stripe/stripe-go/pull/1351) API Updates 1519 * Add support for `PhoneNumberCollection` on `CheckoutSessionParams` and `CheckoutSession` 1520 * Add support for `Phone` on `CheckoutSessionCustomerDetails` 1521 * Add support for new value `customer_id` on enum `RadarValueListItemType` 1522 * Add support for new value `bbpos_wisepos_e` on enum `TerminalReaderDeviceType` 1523 * [#1350](https://github.com/stripe/stripe-go/pull/1350) [#1349](https://github.com/stripe/stripe-go/pull/1349) [#1347](https://github.com/stripe/stripe-go/pull/1347) [#1346](https://github.com/stripe/stripe-go/pull/1346) Codegen-related changes 1524 * Add support for `Object` to `Token` 1525 * Add support for `Object` on `Reversal` 1526 1527 ## 72.67.0 - 2021-09-29 1528 * [#1345](https://github.com/stripe/stripe-go/pull/1345) API Updates 1529 * Add support for `KlarnaPayments` on `AccountCapabilitiesParams`, `AccountCapabilitiesParams`, and `AccountCapabilities` 1530 1531 ## 72.66.0 - 2021-09-28 1532 * [#1344](https://github.com/stripe/stripe-go/pull/1344) API Updates 1533 * Add support for `AmountAuthorized` and `OvercaptureSupported` on `ChargePaymentMethodDetailsCardPresent` 1534 1535 ## 72.65.0 - 2021-09-16 1536 * [#1342](https://github.com/stripe/stripe-go/pull/1342) API Updates 1537 * Add support for `Livemode` on `ReportingReportType`. 1538 * Add support for `DefaultFor` on `CheckoutSessionPaymentMethodOptionsACSSDebitMandateOptionsParams`, `CheckoutSessionPaymentMethodOptionsACSSDebitMandateOptions`, `MandatePaymentMethodDetailsACSSDebit`, `SetupIntentPaymentMethodOptionsACSSDebitMandateOptionsParams`, and `SetupIntentPaymentMethodOptionsACSSDebitMandateOptions`. 1539 * Add support for `ACSSDebit` on `InvoicePaymentSettingsPaymentMethodOptionsParams`, `InvoicePaymentSettingsPaymentMethodOptionsParams`, `InvoicePaymentSettingsPaymentMethodOptions`, `SubscriptionPaymentSettingsPaymentMethodOptionsParams`, `SubscriptionPaymentSettingsPaymentMethodOptionsParams`, and `SubscriptionPaymentSettingsPaymentMethodOptions`. 1540 * Add support for new value `acss_debit` on enums `InvoicePaymentSettingsPaymentMethodType` and `SubscriptionPaymentSettingsPaymentMethodType`. 1541 * Add support for `FullNameAliases` on `PersonParams` and `Person`. 1542 * [#1339](https://github.com/stripe/stripe-go/pull/1339) API Updates 1543 * Add support for new value `rst` on enum `TaxRateTaxType` 1544 * [#1336](https://github.com/stripe/stripe-go/pull/1336) Adding missing dispute reasons following official documentation (http… 1545 * [#1337](https://github.com/stripe/stripe-go/pull/1337) Generated go test suites 1546 1547 ## 72.64.1 - 2021-09-03 1548 * [#1335](https://github.com/stripe/stripe-go/pull/1335) Bugfix: prop `form` annotation for `WechatPay` on `PaymentIntentPaymentMethodOptions` 1549 1550 ## 72.64.0 - 2021-09-01 1551 * [#1334](https://github.com/stripe/stripe-go/pull/1334) API Updates 1552 * Add support for `FutureRequirements` on `Account`, `Capability`, and `Person` 1553 * Add support for `Alternatives` on `AccountRequirements`, `CapabilityRequirements`, and `PersonRequirements` 1554 1555 ## 72.63.0 - 2021-09-01 1556 * [#1332](https://github.com/stripe/stripe-go/pull/1332) API Updates 1557 * Add support for `AfterExpiration`, `ConsentCollection`, and `ExpiresAt` on `CheckoutSessionParams` and `CheckoutSession` 1558 * Add support for `Consent` and `RecoveredFrom` on `CheckoutSession` 1559 1560 1561 ## 72.62.0 - 2021-08-27 1562 * [#1329](https://github.com/stripe/stripe-go/pull/1329) API Updates 1563 * Add support for `CancellationReason` on `BillingPortalConfigurationFeaturesSubscriptionCancelParams`, `BillingPortalConfigurationFeaturesSubscriptionCancelParams`, and `BillingPortalConfigurationFeaturesSubscriptionCancel` 1564 1565 ## 72.61.0 - 2021-08-19 1566 * [#1328](https://github.com/stripe/stripe-go/pull/1328) API Updates 1567 * Add support for new TaxId type: `au_arn` 1568 * Add support for `InteracPresent` on `ChargePaymentMethodDetails` 1569 * Add support for `SepaCreditTransfer` on `ChargePaymentMethodDetails` 1570 * Codegen related changes: 1571 * Moved `ShippingDetails` into `address.go` 1572 * Add support for `Object` and `Order` to `Charge` 1573 * Renamed `ReviewReasonType` enum to `ReviewReason` but added a type alias to preserve backwards compatibility 1574 * [#1323](https://github.com/stripe/stripe-go/pull/1323) codegen: api.go 1575 1576 ## 72.60.0 - 2021-08-11 1577 * [#1325](https://github.com/stripe/stripe-go/pull/1325) API Updates 1578 * Add support for `locale` on ` BillingPortalSessionParams` and ` BillingPortalSession` 1579 * [#1317](https://github.com/stripe/stripe-go/pull/1317) codegen: charge, taxrate 1580 * Add support for `ApplicationFee` on (Charge) `CaptureParams` 1581 * Add support for `PreferredLanguage` on `ChargePaymentMethodDetailsSofort` 1582 * Bugfix: correctly deserialize `amount` on `ChargeTransferData` 1583 1584 ## 72.59.0 - 2021-07-28 1585 * [#1322](https://github.com/stripe/stripe-go/pull/1322) API Updates 1586 * Add support for `AccountType` on `BankAccount`, `BankAccountParams`, and `CardParams`. 1587 * Add support for `CategoryCode` on `IssuingAuthorizationMerchantData`. 1588 * Add const definition for value `redacted` on enum `ReviewClosedReason`. 1589 1590 ## 72.58.0 - 2021-07-22 1591 * [#1319](https://github.com/stripe/stripe-go/pull/1319) API Updates 1592 * Add support for `payment_settings` on `Subscription` and `SubscriptionParams`. 1593 * [#1320](https://github.com/stripe/stripe-go/pull/1320) Stop using uploads.stripe.com for the files backend. 1594 * [#1318](https://github.com/stripe/stripe-go/pull/1318) API Updates 1595 * Add support for `Wallet` on `IssuingTransaction` 1596 * Add support for `Ideal` on `PaymentIntentPaymentMethodOptionsParams`, `PaymentIntentPaymentMethodOptionsParams`, `PaymentIntentConfirmPaymentMethodOptionsParams`, and `PaymentIntentPaymentMethodOptions` 1597 * [#1315](https://github.com/stripe/stripe-go/pull/1315) Explicit iter property 1598 1599 ## 72.57.0 - 2021-07-14 1600 * [#1314](https://github.com/stripe/stripe-go/pull/1314) API Updates 1601 * Add support for `ListComputedUpfrontLineItems` method on resource `Quote` 1602 * [#1312](https://github.com/stripe/stripe-go/pull/1312) codegen: 14 more files 1603 * Add support for `BillingAddressCollection` to `CheckoutSession` 1604 * Add support for `NetworkReasonCode` to `DisputeReason` 1605 * Add support for `Object` to `EphemeralKey`, `ApplicationFee`, and `DisputeReason` 1606 * Add support for `Description` to `Refund` 1607 * Add const definition for value `blocked` on enum `IssuingCardholderStatus` 1608 * Bugfix: add support for `Rate` on `CheckoutSessionTotalDetailsBreakdownTax` -- the existing field `TaxRate` has the wrong json annotation and should be deprecated. 1609 1610 ## 72.56.0 - 2021-07-09 1611 * [#1310](https://github.com/stripe/stripe-go/pull/1310) [#1283](https://github.com/stripe/stripe-go/pull/1283) API Updates 1612 * Add support for new resource `Quote` 1613 * Add support for `Quote` on `Invoice` 1614 * Add support for new value `quote_accept` on enum `InvoiceBillingReason` 1615 * [#1309](https://github.com/stripe/stripe-go/pull/1309) Fix deserialization of Error on Sigma ScheduledQueryRun (warning: this might be a minor breaking change if you attempted to reference this broken field) 1616 1617 ## 72.55.0 - 2021-06-30 1618 * [#1306](https://github.com/stripe/stripe-go/pull/1306) API Updates 1619 * Add support for `boleto` on `InvoicePaymentSettingsPaymentMethodType`. 1620 1621 ## 72.54.0 - 2021-06-30 1622 * [#1304](https://github.com/stripe/stripe-go/pull/1304) Add support for Wechat Pay 1623 * Add support for `WechatPay` on `ChargePaymentMethodDetails`, `CheckoutSessionPaymentMethodOptionsParams`, `PaymentIntentPaymentMethodDataParams`, `PaymentIntentPaymentMethodOptionsParams`, `PaymentIntentPaymentMethodOptions`, `PaymentMethodParams`, and `PaymentMethod` 1624 * Add support for new value `wechat_pay` on enums `InvoicePaymentSettingsPaymentMethodType` and `PaymentMethodType` 1625 * Add support for `WechatPayDisplayQRCode`, `WechatPayRedirectToAndroidApp`, and `WechatPayRedirectToIOSApp` on `PaymentIntentNextAction` 1626 1627 ## 72.53.0 - 2021-06-29 1628 * [#1303](https://github.com/stripe/stripe-go/pull/1303) API Updates 1629 * Add support for `Boleto` and `OXXO` on `CheckoutSessionPaymentMethodOptionsParams` and `CheckoutSessionPaymentMethodOptions` 1630 * Add support for `BoletoPayments` on `AccountCapabilities` 1631 1632 ## 72.52.0 - 2021-06-25 1633 * [#1301](https://github.com/stripe/stripe-go/pull/1301) API Updates 1634 * Add support for `boleto` as a `PaymentMethodType` 1635 * Add support for `Boleto` on `ChargePaymentMethodDetails`, `PaymentMethod`, `PaymentMethodParams`, `PaymentIntentPaymentMethodOptions`, `PaymentIntentPaymentMethodDataParams`, and `PaymentIntentPaymentMethodOptionsParams` 1636 * Add support for `BoletoDisplayDetails` on `PaymentIntentNextAction` 1637 * Add support for `il_vat` on enums `CheckoutSessionCustomerDetailsTaxIDsType` and `TaxIDType` 1638 * [#1299](https://github.com/stripe/stripe-go/pull/1299) API Updates 1639 * Add support for new TaxId types: `ca_pst_mb`, `ca_pst_bc`, `ca_gst_hst`, and `ca_pst_sk`. 1640 1641 ## 72.51.0 - 2021-06-16 1642 * [#1298](https://github.com/stripe/stripe-go/pull/1298) API Updates 1643 * Add checkout.Session.URL 1644 1645 ## 72.50.0 - 2021-06-07 1646 * [#1295](https://github.com/stripe/stripe-go/pull/1295) Add Secret to EphemeralKey as it now should be accessed directly 1647 * [#1297](https://github.com/stripe/stripe-go/pull/1297) API Updates 1648 * Add support for `TaxIDCollection` to `CheckoutSession` and `CheckoutSessionParams`. 1649 1650 ## 72.49.0 - 2021-06-04 1651 * [#1292](https://github.com/stripe/stripe-go/pull/1292) API Updates 1652 * Add support for `Controller` to `Account` 1653 * [#1287](https://github.com/stripe/stripe-go/pull/1287) [#1293](https://github.com/stripe/stripe-go/pull/1293) [#1290](https://github.com/stripe/stripe-go/pull/1290) codegen: 4 files 1654 * Add missing enum members to `BalanceTransactionType`, `BalanceTransactionSourceType` 1655 * Add support for `FeeRefund` and `Topup` to `BalanceTransactionSource` 1656 * Add support for `Object` on `BalanceTransaction` and `Transfer` 1657 * Removed a redundant form-encoding conversion for `UpTo` in `PriceTierParams.AppendTo` method 1658 1659 1660 ## 72.48.0 - 2021-06-04 1661 * [#1291](https://github.com/stripe/stripe-go/pull/1291) API Updates 1662 * Add new resource `TaxCode`. 1663 * Add support for `AutomaticTax` on `CheckoutSession`, `Invoice`, `Subscription`, and `SubscriptionScheduleDefaultSettings`. 1664 * Add support for `CustomerUpdate` on `CheckoutSessionCustomerUpdateParams` 1665 * Add support for `Tax` on `Customer` and `CustomerParams` 1666 * Add support for `CustomerDetails` on `InvoiceParams` 1667 * Add support for `TaxBehavior` on `Price`, `PriceParams`, `CheckoutSessionLineItemPriceDataParams`, `PriceParams`, `SubscriptionItemPriceDataParams`, `SubscriptionSchedulePhaseAutomaticTaxParams`,`SubscriptionSchedulePhaseAddInvoiceItemPriceDataParams`, and `InvoiceItemPriceDataParams` 1668 * Add support for `TaxCode` on `CheckoutSessionLineItemPriceDataProductParams`, `Product`, `ProductParams`, `PlanProductParams` and `PriceProductDataParams` 1669 1670 ## 72.47.0 - 2021-05-26 1671 * [#1286](https://github.com/stripe/stripe-go/pull/1286) API Updates 1672 * Added support for `Documents` to `PersonParams` 1673 1674 ## 72.46.0 - 2021-05-25 1675 * [#1285](https://github.com/stripe/stripe-go/pull/1285) API Updates 1676 * Add support for Identity VerificationSession and VerificationReport APIs 1677 1678 ## 72.45.0 - 2021-05-06 1679 * [#1280](https://github.com/stripe/stripe-go/pull/1280) API Updates 1680 * Added support for `reference` on `Charge.payment_method_details.afterpay_clearpay` 1681 * Added support for `afterpay_clearpay` on `PaymentIntent.payment_method_options`. 1682 * [#1279](https://github.com/stripe/stripe-go/pull/1279) API Updates 1683 * Add support for `payment_intent` on `RadarEarlyFraudWarning` and `RadarEarlyFraudWarningListParams`. 1684 1685 ## 72.44.0 - 2021-05-05 1686 * [#1278](https://github.com/stripe/stripe-go/pull/1278) API updates 1687 * Add support for `dhl` and `royal_mail` as enum members of `IssuingCardShippingCarrier`. 1688 * Add support for `single_member_llc` as an enum member of `AccountCompanyStructure`. 1689 1690 ## 72.43.0 - 2021-04-19 1691 * [#1277](https://github.com/stripe/stripe-go/pull/1277), [#1276](https://github.com/stripe/stripe-go/pull/1276) Codegen-related changes 1692 * Add missing `Object` field to several structs. 1693 * Set `path` in `usagerecordsummary.List` only once, not once per iteration. 1694 1695 ## 72.42.0 - 2021-04-13 1696 * [#1275](https://github.com/stripe/stripe-go/pull/1275) Add support for ACSS debit payment method 1697 * Add support for `acss_debit` as value for `PaymentMethodType`. 1698 * Add support for `ACSSDebit` on `PaymentMethod`, `PaymentMethodParams`, `PaymentIntentPaymentMethodOptions`, `PaymentIntentPaymentMethodOptionsParams`, `MandatePaymentMethodDetails`, `SetupIntentPaymentMethodOptions`, and `SetupIntentPaymentOptionsParams`. 1699 * Add support for `ACSSDebitPayments` on `AccountCapabilities` 1700 * Add support for `PaymentMethodOptions` on `CheckoutSession` 1701 * Add support for `verify_with_microdeposits` and `use_stripe_sdk` on `PaymentIntentNextAction` and `SetupIntentNextAction` 1702 1703 ## 72.41.1 - 2021-04-07 1704 * [#1274](https://github.com/stripe/stripe-go/pull/1274) Fix names of `SubscriptionScheduleStatus` constants (warning: this might be a minor breaking change if you'd been referencing a bad name) 1705 1706 ## 72.41.0 - 2021-04-02 1707 * [#1273](https://github.com/stripe/stripe-go/pull/1273) API Updates 1708 * Add support for `SubscriptionPause` on `BillingPortalConfigurationFeatures` and `BillingPortalConfigurationFeaturesParams` 1709 * [#1271](https://github.com/stripe/stripe-go/pull/1271) codegen: add several client.go files 1710 * [#1269](https://github.com/stripe/stripe-go/pull/1269) codegen: 13 more files 1711 * Add missing `Object` property to several structs 1712 * Add support for `ExpiresAtNow` to `FileLinkParams` 1713 * Add support for `SubscriptionItem` to `InvoiceItem` 1714 * Add enum definitions for `TerminalReader.DeviceType` 1715 * Add enum definitions for `Topup.status` 1716 * Add support for `Amount`, `AmountRange`, and `Status` to `TopupListParams` 1717 * Added custom `UnmarshalJSON` method for `Topup` 1718 * [#1272](https://github.com/stripe/stripe-go/pull/1272) API Updates 1719 * Add support for `TransferData` on `CheckoutSessionSubscriptionDataParams` 1720 1721 ## 72.40.0 - 2021-03-26 1722 * [#1270](https://github.com/stripe/stripe-go/pull/1270) add card_issuing.tos_acceptance to account.go 1723 * Add support for `AccountSettingsParams.CardIssuing.TOSAcceptance` 1724 * Add support for `AccountSettingsCardPayments.CardIssuing.TOSAcceptance` 1725 1726 ## 72.39.0 - 2021-03-22 1727 * [#1268](https://github.com/stripe/stripe-go/pull/1268) API Updates 1728 * Add support for `ShippingRates` on `CheckoutSessionParams` 1729 * Add support for `AmountShipping`on `CheckoutSessionTotalDetails` 1730 1731 ## 72.38.0 - 2021-03-16 1732 * [#1264](https://github.com/stripe/stripe-go/pull/1264), [#1261](https://github.com/stripe/stripe-go/pull/1261) Codegen-related changes 1733 * Introduce missing `Object` and `Deleted` properties to many structs 1734 * Add two missing members to `CustomerBalanceTransactionType` enum 1735 * Add `DomainName` to `ApplePayDomainListParams` 1736 * [#1250](https://github.com/stripe/stripe-go/pull/1250) Support `SubscriptionTrialEndNow` on the Retrieve Upcoming Invoice API 1737 1738 ## 72.37.0 - 2021-03-01 1739 * [#1257](https://github.com/stripe/stripe-go/pull/1257) Adds ErrorType idempotency_error 1740 1741 ## 72.36.0 - 2021-03-01 1742 * [#1259](https://github.com/stripe/stripe-go/pull/1259) Add configuration API to billingportal_session.go 1743 * [#1253](https://github.com/stripe/stripe-go/pull/1253) Fix `LineItemTax` to deserialize `Rate` properly 1744 1745 ## 72.35.0 - 2021-02-24 1746 * [#1254](https://github.com/stripe/stripe-go/pull/1254) Add support for the billing portal configuration API 1747 1748 ## 72.34.0 - 2021-02-18 1749 * [#1252](https://github.com/stripe/stripe-go/pull/1252) API Updates 1750 * Add support for `afterpay_clearpay` on `PaymentMethod`, `PaymentMethodParams`, `PaymentIntentPaymentMethodDataParams`, and `ChargePaymentMethodDetails` 1751 * Add `afterpay_clearpay` as an enum member on `PaymentMethodType` 1752 * Add support for `adjustable_quantity` on `CheckoutSessionLineItemParams` 1753 * Add support for `on_behalf_of` on `InvoiceParams` and `Invoice` 1754 * [#1249](https://github.com/stripe/stripe-go/pull/1249) Fix edge case panic in ParseID 1755 1756 ## 72.33.0 - 2021-02-09 1757 * [#1247](https://github.com/stripe/stripe-go/pull/1247) Added support for `payment_settings` to `Invoice` 1758 1759 ## 72.32.0 - 2021-02-03 1760 * [#1245](https://github.com/stripe/stripe-go/pull/1245) API Updates 1761 * Add `nationality` to `Person` and `PersonParams` 1762 - (TokenParams includes PersonParams, so this also allows it to be specified on token.Create) 1763 * Add `gb_vat` as a member of `TaxIDType` and `CheckoutSessionCustomerDetailsTaxIDsType` 1764 * [#1246](https://github.com/stripe/stripe-go/pull/1246) Add SubscriptionStartDate to InvoiceParams (to use with GetNext) 1765 * [#1243](https://github.com/stripe/stripe-go/pull/1243) Added missing decline code 'invalid_expiry_month' 1766 1767 ## 72.31.0 - 2021-01-25 1768 * [#1228](https://github.com/stripe/stripe-go/pull/1228) Redact client_secret from logs 1769 1770 ## 72.30.0 - 2021-01-15 1771 * [#1241](https://github.com/stripe/stripe-go/pull/1241) Multiple API Changes 1772 * Added support for `dynamic_tax_rates` on `CheckoutSessionParams.line_items` 1773 * Added support for `customer_details` on `CheckoutSession` 1774 * Added support for `type` on `IssuingTransactionListParams` 1775 * Added support for `country` and `state` on `TaxRateParams` and `TaxRate` 1776 1777 ## 72.29.0 - 2021-01-11 1778 * [#1236](https://github.com/stripe/stripe-go/pull/1236) Add support for bank on eps/p24 1779 * [#1239](https://github.com/stripe/stripe-go/pull/1239) Add support for more verification documents in `Documents` on `Account`. 1780 1781 ## 72.28.0 - 2020-12-03 1782 * [#1234](https://github.com/stripe/stripe-go/pull/1234) Add support for `BankAccountOwnershipVerification` in `Documents` on `Account` 1783 1784 ## 72.27.0 - 2020-11-24 1785 * [#1230](https://github.com/stripe/stripe-go/pull/1230) Add support for `AccountTaxIDs` on `Invoice` 1786 1787 ## 72.26.0 - 2020-11-20 1788 * [#1227](https://github.com/stripe/stripe-go/pull/1227) Add support for Account and Person `Token` creation 1789 1790 ## 72.25.0 - 2020-11-20 1791 * [#1229](https://github.com/stripe/stripe-go/pull/1229) Add support for `GrabpayPayments` as a capability on `Account` 1792 1793 ## 72.24.0 - 2020-11-18 1794 * [#1224](https://github.com/stripe/stripe-go/pull/1224) Add support for GrabPay as a PaymentMethod 1795 * [#1225](https://github.com/stripe/stripe-go/pull/1225) Fix bad comments to make the linter happy 1796 1797 ## 72.23.0 - 2020-11-09 1798 * [#1222](https://github.com/stripe/stripe-go/pull/1222) Add `LastFinalizationError` to `Invoice` and `PaymentMethodType` to `Error` 1799 * [#1223](https://github.com/stripe/stripe-go/pull/1223) Properly deserialize `IssuingDispute` on `BalanceTransaction` 1800 1801 ## 72.22.0 - 2020-11-04 1802 * [#1221](https://github.com/stripe/stripe-go/pull/1221) Add support for `RegistrationNumber` in `Company` on `Account` 1803 1804 ## 72.21.0 - 2020-10-27 1805 * [#1220](https://github.com/stripe/stripe-go/pull/1220) Add `PreferredLocales` on `Charge` for payments made via Interac Present transactions 1806 1807 ## 72.20.0 - 2020-10-26 1808 * [#1218](https://github.com/stripe/stripe-go/pull/1218) Multiple API changes 1809 * Add support for passing `CvcToken` in `PaymentIntentPaymentMethodOptionsCardOptions ` on `PaymentIntent` 1810 * Add support for creating a CVC Token on `Token`. 1811 1812 ## 72.19.0 - 2020-10-23 1813 * [#1217](https://github.com/stripe/stripe-go/pull/1217) Add support for passing `Bank` for P24 on `PaymentIntent` or `PaymentMethod` 1814 1815 ## 72.18.0 - 2020-10-22 1816 * [#1215](https://github.com/stripe/stripe-go/pull/1215) Add missing constants for existing types on `PaymentMethod` 1817 * [#1216](https://github.com/stripe/stripe-go/pull/1216) Support passing `TaxRates` when creating invoice items through `Subscription` or `SubscriptionSchedule` 1818 * [#1214](https://github.com/stripe/stripe-go/pull/1214) Put a `Deprecated` notice on `TotalCount` 1819 1820 ## 72.17.0 - 2020-10-20 1821 * [#1212](https://github.com/stripe/stripe-go/pull/1212) Add `TaxIDTypeJPRN` and `TaxIDTypeRUKPP` on `TaxId` 1822 1823 ## 72.16.0 - 2020-10-14 1824 * [#1210](https://github.com/stripe/stripe-go/pull/1210) Add support for `Discounts` to `CheckoutSessionParams` 1825 1826 ## 72.15.0 - 2020-10-14 1827 * [#1208](https://github.com/stripe/stripe-go/pull/1208) Add support for the Payout Reverse API 1828 1829 ## 72.14.0 - 2020-10-12 1830 * [#1207](https://github.com/stripe/stripe-go/pull/1207) Add support for `Description`, `IIN` and `Issuer` on `Charge` for `CardPresent` and `InteracPresent 1831 1832 ## 72.13.0 - 2020-10-11 1833 * [#1206](https://github.com/stripe/stripe-go/pull/1206) Add support for `Mandate` in `ChargePaymentMethodDetailsSepaDebit` 1834 1835 ## 72.12.1 - 2020-10-09 1836 * [#1203](https://github.com/stripe/stripe-go/pull/1203) Bugfix: Balance.InstantAvailable should be of type Amount 1837 1838 ## 72.12.0 - 2020-10-08 1839 * [#1199](https://github.com/stripe/stripe-go/pull/1199) Support sepa_debit for bancontact, ideal, sofort 1840 1841 ## 72.11.0 - 2020-10-06 1842 * [#1200](https://github.com/stripe/stripe-go/pull/1200) Handle randomness error when generating idempotency keys 1843 1844 ## 72.10.0 - 2020-10-02 1845 * [#1195](https://github.com/stripe/stripe-go/pull/1195) Add support for new payments capabilities on `Account` 1846 1847 ## 72.9.0 - 2020-09-29 1848 * [#1194](https://github.com/stripe/stripe-go/pull/1194) Add support for the `SetupAttempt` resource and List API 1849 1850 ## 72.8.0 - 2020-09-28 1851 * [#1192](https://github.com/stripe/stripe-go/pull/1192) Add support for OXXO Payments capability on `Account` 1852 1853 ## 72.7.0 - 2020-09-24 1854 * [#1190](https://github.com/stripe/stripe-go/pull/1190) Add support for BalanceTransactionTypeContribution` on `BalanceTransaction` 1855 * [#1183](https://github.com/stripe/stripe-go/pull/1183) Add support for OXXO on `PaymentIntent` and `PaymentMethod` 1856 1857 ## 72.6.0 - 2020-09-23 1858 * [#1189](https://github.com/stripe/stripe-go/pull/1189) When not retrying a request, log reason at info level 1859 1860 ## 72.5.0 - 2020-09-23 1861 * [#1187](https://github.com/stripe/stripe-go/pull/1187) Don't retry requests on context cancellation + a few other errors 1862 * [#1188](https://github.com/stripe/stripe-go/pull/1188) Add support for `InstantAvailable` on `Balance` 1863 1864 ## 72.4.0 - 2020-09-21 1865 * [#1185](https://github.com/stripe/stripe-go/pull/1185) Add support for `AmountCaptured` on `Charge` 1866 * [#1186](https://github.com/stripe/stripe-go/pull/1186) Add support for `CheckoutSession` on `Discount` 1867 1868 ## 72.3.0 - 2020-09-14 1869 * [#1182](https://github.com/stripe/stripe-go/pull/1182) Add `Metadata` on `WebhookEndpoint` 1870 1871 ## 72.2.0 - 2020-09-08 1872 * [#1180](https://github.com/stripe/stripe-go/pull/1180) Add support for Sofort on `PaymentMethod` and `PaymentIntent` 1873 1874 ## 72.1.0 - 2020-09-02 1875 * [#1178](https://github.com/stripe/stripe-go/pull/1178) Fix the constant names for `BankAccountAvailablePayoutMethod` 1876 * [#1177](https://github.com/stripe/stripe-go/pull/1177) Add support for `AvailablePayoutMethods` on `BankAccount` 1877 * [#1176](https://github.com/stripe/stripe-go/pull/1176) Add support for `PaymentStatus` on Checkout `Session` 1878 * [#1174](https://github.com/stripe/stripe-go/pull/1174) Add support for the Issuing Dispute APIs 1879 1880 ## 72.0.0 - 2020-08-31 1881 * [#1170](https://github.com/stripe/stripe-go/pull/1170) Multiple API changes 1882 * Move to latest API version `2020-08-27` 1883 * Remove `Prorate` across Billing APIs in favor of `ProrationBehavior` 1884 * Remove `TaxPercent` across Billing APIs in favor of `TaxRate`-related parameters and properties 1885 * Remove `DisplayItems` on Checkout `Session` in favor of `LineItems` 1886 * Remove `FailureURL` and `SuccessURL` on `AccountLink` in favor of `RefreshURL` and `ReturnURL` 1887 * Remove `AccountLinkTypeCustomAccountUpdate ` and `AccountLinkTypeCustomAccountVerification ` on `AccountLink` in favor of `AccountLinkTypeAccountOnboarding ` and `AccountLinkTypeAccountUpdate ` 1888 * Remove `Authenticated` and `Succeeded` on `ChargePaymentMethodDetailsCardThreeDSecure` 1889 * Remove `Plan`, `Quantity`, `TaxPercent` and `TrialEnd` from `Customer` creation or update in favor of the Subscription API 1890 * Rename `Plans` to `Items` on `SubscriptionSchedule` 1891 * [#1171](https://github.com/stripe/stripe-go/pull/1171) Remove multiple deprecated APIs 1892 * Remove support for the `Recipient` API 1893 * Remove support for the `RecipientTransfer` API 1894 * Remove support for the `BitcoinReceiver` API 1895 * Remove support for the `ThreeDSecure` API which has been replaced by PaymentIntent and PaymentMethod 1896 * Remove support for the `ExchangeRate` API which has never shipped publicly and is being reworked 1897 * [#1172](https://github.com/stripe/stripe-go/pull/1172) Properly remove ThreeDSecure class entirely 1898 * [#1173](https://github.com/stripe/stripe-go/pull/1173) Remove deprecated parameters `SavePaymentMethod` and `Source` on `PaymentIntent` 1899 1900 ## 71.48.0 - 2020-08-24 1901 * [#1153](https://github.com/stripe/stripe-go/pull/1153) Add support for `ServiceAgreement` in `AccountTOSAcceptance` on `Account` 1902 1903 ## 71.47.0 - 2020-08-19 1904 * [#1165](https://github.com/stripe/stripe-go/pull/1165) Add support for `ExpiresAt` on `File` 1905 1906 ## 71.46.0 - 2020-08-17 1907 * [#1163](https://github.com/stripe/stripe-go/pull/1163) Add support for `AmountDetails` on Issuing `Authorization` and `Transaction` 1908 1909 ## 71.45.0 - 2020-08-13 1910 * [#1160](https://github.com/stripe/stripe-go/pull/1160) Add support for `BankName` on `ChargePaymentMethodDetailsAcssDebit` 1911 * [#1156](https://github.com/stripe/stripe-go/pull/1156) Re-enable HTTP/2 on the default HTTP client for Go 1.15+ 1912 1913 ## 71.44.0 - 2020-08-10 1914 * [#1148](https://github.com/stripe/stripe-go/pull/1148) Make original list object accessible on iterators 1915 * This change is technically breaking in that an exported type, `stripe.Query`, changes from `type Query func(*Params, *form.Values) ([]interface{}, ListMeta, error)` to `type Query func(*Params, *form.Values) ([]interface{}, ListContainer, error)`. We've opted to ship this as a minor version anyway because although exported, `Query` is meant for internal use in other stripe-go packages and the vast majority of users are unlikely to be referencing it. If you are, please refer to the diff in https://github.com/stripe/stripe-go/pull/1148 for how to update callsites accordingly. If you think there is a major use of `Query` that we've likely overlooked, please open an issue. 1916 1917 ## 71.43.0 - 2020-08-07 1918 * [#1154](https://github.com/stripe/stripe-go/pull/1154) Add support for Alipay on `PaymentMethod` and `PaymentIntent` 1919 1920 ## 71.42.0 - 2020-08-05 1921 * [#1150](https://github.com/stripe/stripe-go/pull/1150) Add support for the PromotionCode resource and APIs 1922 1923 ## 71.41.0 - 2020-08-04 1924 * [#1152](https://github.com/stripe/stripe-go/pull/1152) Add support for `AccountType` in `ChargePaymentMethodDetailsCardPresentReceipt` 1925 1926 ## 71.40.0 - 2020-07-29 1927 * [#1136](https://github.com/stripe/stripe-go/pull/1136) Add support for multiple coupons on Billing APIs 1928 * Add support for arrays of expandable API resources otherwise returning an array of strings by default 1929 * Add custom deserialization to `Discount` to support expansion of the object 1930 * Add support for `Id`, `Invoice` and `InvoiceItem` on `Discount`. 1931 * Add support for `Discounts` on `Invoice`, `InvoiceItem` and `InvoiceLineItem` 1932 * Add support for `DiscountAmounts` on `CreditNote`, `CreditNoteLineItem`, `InvoiceLineItem` 1933 * Add support for `TotalDiscountAmounts` on `Invoice` 1934 * Add `Object` to `Invoice`, `InvoiceLine`, `Discount` and `Coupon` 1935 1936 ## 71.39.0 - 2020-07-27 1937 * [#1142](https://github.com/stripe/stripe-go/pull/1142) Bug fix: Copy the JSON data of ephemeral keys to own buffer 1938 1939 ## 71.38.0 - 2020-07-27 1940 * [#1145](https://github.com/stripe/stripe-go/pull/1145) Fix `ApplicationFeePercent` on `SubscriptionSchedule` to support floats 1941 1942 ## 71.37.0 - 2020-07-25 1943 * [#1144](https://github.com/stripe/stripe-go/pull/1144) Add support for `FPXPayments` as a property on `AccountCapabilities` 1944 1945 ## 71.36.0 - 2020-07-24 1946 * [#1143](https://github.com/stripe/stripe-go/pull/1143) Add support for `FPXPayments` as a `Capability` on `Account` create and update 1947 1948 ## 71.35.0 - 2020-07-22 1949 * [#1140](https://github.com/stripe/stripe-go/pull/1140) Add support for `CartesBancairesPayments` as a `Capability` 1950 1951 ## 71.34.0 - 2020-07-20 1952 * [#1138](https://github.com/stripe/stripe-go/pull/1138) Add support for `Capabilities` on `Account` create and update 1953 1954 ## 71.33.0 - 2020-07-19 1955 * [#1137](https://github.com/stripe/stripe-go/pull/1137) Add support for `Title` on Sigma `ScheduledQueryRun` 1956 1957 ## 71.32.0 - 2020-07-17 1958 * [#1135](https://github.com/stripe/stripe-go/pull/1135) Add support for `PoliticalExposure` on `Person` 1959 1960 ## 71.31.0 - 2020-07-16 1961 * [#1133](https://github.com/stripe/stripe-go/pull/1133) Add support for `Deleted` on `LineItem` 1962 * [#1134](https://github.com/stripe/stripe-go/pull/1134) Add support for new constants for `AccountLinkType` 1963 1964 ## 71.30.0 - 2020-07-15 1965 * [#1132](https://github.com/stripe/stripe-go/pull/1132) Add support for `AmountTotal`, `AmountSubtotal`, `Currency` and `TotalDetails` on Checkout `Session` 1966 1967 ## 71.29.0 - 2020-07-13 1968 * [#1131](https://github.com/stripe/stripe-go/pull/1131) Add `billing_cycle_anchor` to `default_settings` and `phases` for `SubscriptionSchedules` 1969 1970 ## 71.28.0 - 2020-06-23 1971 * [#1127](https://github.com/stripe/stripe-go/pull/1127) Add `FilePurposeDocumentProviderIdentityDocument` on `File` 1972 * [#1126](https://github.com/stripe/stripe-go/pull/1126) Add support for `Discounts` on `LineItem` 1973 1974 ## 71.27.0 - 2020-06-18 1975 * [#1124](https://github.com/stripe/stripe-go/pull/1124) Add support for `RefreshURL` and `ReturnURL` on `AccountLink` 1976 1977 ## 71.26.0 - 2020-06-15 1978 * [#1090](https://github.com/stripe/stripe-go/pull/1090) Add support for `PaymentMethodData` on `PaymentIntent` 1979 1980 ## 71.25.1 - 2020-06-11 1981 * [#1123](https://github.com/stripe/stripe-go/pull/1123) Attach LastResponse after unmarshaling 1982 1983 ## 71.25.0 - 2020-06-11 1984 * [#1122](https://github.com/stripe/stripe-go/pull/1122) Add support for `Transaction` on Issuing `Dispute` 1985 * [#1121](https://github.com/stripe/stripe-go/pull/1121) Add `Mandate`, `InstitutionNumber` and `TransitNumber` to `ChargePaymentMethodDetailsAcssDebit` 1986 1987 ## 71.24.0 - 2020-06-10 1988 * [#1120](https://github.com/stripe/stripe-go/pull/1120) Add support for Cartes Bancaires payments on `PaymentIntent` and `PaymentMethod` 1989 1990 ## 71.23.0 - 2020-06-09 1991 * [#1119](https://github.com/stripe/stripe-go/pull/1119) Add support for `TaxIDTypeIDNPWP` and `TaxIDTypeMYFRP` on `TaxId` 1992 1993 ## 71.22.0 - 2020-06-09 1994 * [#1118](https://github.com/stripe/stripe-go/pull/1118) Add missing information for BACS Debit in `PaymentMethod` 1995 1996 ## 71.21.0 - 2020-06-05 1997 * [#1117](https://github.com/stripe/stripe-go/pull/1117) Add `PaymentMethodIdealParams` to `PaymentMethodParams` 1998 1999 ## 71.20.0 - 2020-06-04 2000 * [#1116](https://github.com/stripe/stripe-go/pull/1116) Clean up the error deserialization and ensure `DeclineCode` is properly set. 2001 2002 ## 71.19.0 - 2020-06-03 2003 * [#1113](https://github.com/stripe/stripe-go/pull/1113) Add support for `TransferGroup` on Checkout `Session` 2004 2005 ## 71.18.0 - 2020-06-03 2006 * [#1110](https://github.com/stripe/stripe-go/pull/1110) Add support for reading SEPA and BACS debit settings on `Account` 2007 * [#1111](https://github.com/stripe/stripe-go/pull/1111) Add support for Bancontact, EPS, Giropay and P24 on `PaymentMethod` 2008 * [#1112](https://github.com/stripe/stripe-go/pull/1112) Add support for BACS Debit as a `Capability` on `Account` 2009 2010 ## 71.17.0 - 2020-05-29 2011 * [#1109](https://github.com/stripe/stripe-go/pull/1109) Add support for BACS Debit as a `PaymentMethod` 2012 2013 ## 71.16.0 - 2020-05-29 2014 * [#1108](https://github.com/stripe/stripe-go/pull/1108) Add `Metadata` and `Object` on `Topup` 2015 2016 ## 71.15.0 - 2020-05-28 2017 * [#1106](https://github.com/stripe/stripe-go/pull/1106) Add support for `ProductData` on `LineItems` for Checkout `Session` 2018 * [#1105](https://github.com/stripe/stripe-go/pull/1105) Add `AuthenticationFlow` to `ChargePaymentMethodDetailsCardThreeDSecure` 2019 2020 ## 71.14.0 - 2020-05-22 2021 * [#1104](https://github.com/stripe/stripe-go/pull/1104) Add support for `TaxIDTypeAETRN`, `TaxIDTypeCLTIN` and `TaxIDTypeSAVAT` on `TaxId` 2022 * [#1103](https://github.com/stripe/stripe-go/pull/1103) Add support for `Result` and `ResultReason` on `ChargePaymentMethodDetailsCardThreeDSecure` 2023 2024 ## 71.13.0 - 2020-05-20 2025 * [#1101](https://github.com/stripe/stripe-go/pull/1101) Multiple API Changes 2026 * Add `BalanceTransactionTypeAnticipationRepayment` as a `Type` on `BalanceTransaction` 2027 * Add `PaymentMethodTypeInteracPresent` as a `Type` on `PaymentMethod` 2028 * Add `ChargePaymentMethodDetailsInteracPresent` on `Charge` 2029 * Add `TransferData ` on `SubscriptionSchedule` 2030 2031 ## 71.12.0 - 2020-05-18 2032 * [#1099](https://github.com/stripe/stripe-go/pull/1099) Multiple API changes 2033 * Add `issuing_dispute` as a `type` on `BalanceTransaction` 2034 * Add `BalanceTransactions` as a a list of `BalanceTransaction` on Issuing `Dispute` 2035 * Add `Fingerprint` and `TransactionId` in `ChargePaymentMethodDetailsAlipay` on `Charge` 2036 * Add `Amount` in `InvoiceTransferData` and `InvoiceTransferDataParams` on `Invoice` 2037 * Add `AmountPercent` in `SubscriptionTransferData` and `SubscriptionTransferDataParams` on `Subscription` 2038 2039 ## 71.11.1 - 2020-05-13 2040 * [#1097](https://github.com/stripe/stripe-go/pull/1097) Fixing `LineItems` to be `LineItemList` on Checkout `Session` 2041 2042 ## 71.11.0 - 2020-05-13 2043 * [#1096](https://github.com/stripe/stripe-go/pull/1096) Add support for `PurchaseDetails` on Issuing `Transaction` 2044 2045 ## 71.10.0 - 2020-05-12 2046 * [#1091](https://github.com/stripe/stripe-go/pull/1091) Add support for the `LineItem` resource and APIs 2047 2048 ## 71.9.0 - 2020-05-07 2049 * [#1093](https://github.com/stripe/stripe-go/pull/1093) Add support for `Metadata` for `PaymentIntentData` and `SubscriptionData` on Checkout `Session` 2050 * [#1095](https://github.com/stripe/stripe-go/pull/1095) Add `SupportAddress` in `BusinessProfile` on `Account` creation and update 2051 * [#1094](https://github.com/stripe/stripe-go/pull/1094) Fix parameters supported in `Recurring` for `PriceData` across the API 2052 2053 ## 71.8.0 - 2020-05-01 2054 * [#1089](https://github.com/stripe/stripe-go/pull/1089) Add support for `Issuing` in `Balance` 2055 2056 ## 71.7.0 - 2020-04-29 2057 * [#1087](https://github.com/stripe/stripe-go/pull/1087) Add support for Brazilian tax ids on `TaxID` 2058 * [#1085](https://github.com/stripe/stripe-go/pull/1085) Add `Object` on `BankAccount` 2059 * [#1065](https://github.com/stripe/stripe-go/pull/1065) Adding support for the `Price` resource and APIs 2060 2061 ## 71.6.0 - 2020-04-23 2062 * [#1083](https://github.com/stripe/stripe-go/pull/1083) Add support for `JCBPayments` and `CardIssuing` as a `Capability` 2063 * [#1082](https://github.com/stripe/stripe-go/pull/1082) Add support for expandable `CVC` and `Number` on Issuing `Card` 2064 2065 ## 71.5.0 - 2020-04-22 2066 * [#1080](https://github.com/stripe/stripe-go/pull/1080) Remove spurious newline in logs 2067 2068 ## 71.4.0 - 2020-04-22 2069 * [#1079](https://github.com/stripe/stripe-go/pull/1079) Add support for `Coupon` when for subscriptions on Checkout 2070 2071 ## 71.3.0 - 2020-04-22 2072 * [#1078](https://github.com/stripe/stripe-go/pull/1078) Add missing error codes such as `ErrorCodeCardDeclinedRateLimitExceeded` 2073 * [#1063](https://github.com/stripe/stripe-go/pull/1063) Add support for the `BillingPortal` namespace and the `Session` API and resource 2074 2075 ## 71.2.0 - 2020-04-21 2076 * [#1076](https://github.com/stripe/stripe-go/pull/1076) Add `Deleted` on `Invoice` 2077 2078 ## 71.1.0 - 2020-04-17 2079 * [#1074](https://github.com/stripe/stripe-go/pull/1074) Add `CardholderName` to `ChargePaymentMethodDetailsCardPresent` on `Charge` 2080 * [#1075](https://github.com/stripe/stripe-go/pull/1075) Add new enum values for `AccountCompanyStructure` on `Account` 2081 2082 ## 71.0.0 - 2020-04-17 2083 Version 71 of stripe-go contains some major changes. Many of them are breaking, but only in minor ways. We've written [a migration guide](https://github.com/stripe/stripe-go/blob/master/v71_migration_guide.md) with more details to help with the upgrade. 2084 2085 * [#1052](https://github.com/stripe/stripe-go/pull/1052) Remove all beta features from Issuing APIs 2086 * [#1054](https://github.com/stripe/stripe-go/pull/1054) Make API response accessible on returned API structs 2087 * [#1061](https://github.com/stripe/stripe-go/pull/1061) Start using Go Modules 2088 * [#1068](https://github.com/stripe/stripe-go/pull/1068) Multiple breaking API changes 2089 * `PaymentIntent` is now expandable on `Charge` 2090 * `Percentage` was removed as a filter when listing `TaxRate` 2091 * Removed `RenewalInterval` on `SubscriptionSchedule` 2092 * Removed `Country` and `RoutingNumber` from `ChargePaymentMethodDetailsAcssDebit` 2093 * [#1069](https://github.com/stripe/stripe-go/pull/1069) Default number of network retries to 2 2094 * [#1070](https://github.com/stripe/stripe-go/pull/1070) Clean up logging for next major 2095 2096 ## 70.15.0 - 2020-04-14 2097 * [#1066](https://github.com/stripe/stripe-go/pull/1066) Add support for `SecondaryColor` on `Account` 2098 2099 ## 70.14.0 - 2020-04-13 2100 * [#1062](https://github.com/stripe/stripe-go/pull/1062) Add `Description` on `WebhookEndpoint` 2101 2102 ## 70.13.0 - 2020-04-10 2103 * [#1060](https://github.com/stripe/stripe-go/pull/1060) Add support for `CancellationReason` on Issuing `Card` 2104 * [#1058](https://github.com/stripe/stripe-go/pull/1058) Add support for `TaxIDTypeSGGST` on `TaxId` 2105 2106 ## 70.12.0 - 2020-04-09 2107 * [#1057](https://github.com/stripe/stripe-go/pull/1057) Add missing properties on `Review` 2108 2109 ## 70.11.0 - 2020-04-03 2110 * [#1056](https://github.com/stripe/stripe-go/pull/1056) Add `CalculatedStatementDescriptor` on `Charge` 2111 2112 ## 70.10.0 - 2020-03-30 2113 * [#1053](https://github.com/stripe/stripe-go/pull/1053) Add `AccountCapabilityCardIssuing` as a `Capability` 2114 2115 ## 70.9.0 - 2020-03-26 2116 * [#1050](https://github.com/stripe/stripe-go/pull/1050) Multiple API changes for Issuing 2117 * Add support for `SpendingControls` on `Card` and `Cardholder` 2118 * Add new values for `Reason` on `Authorization` 2119 * Add new value for `Type` on `Cardholder` 2120 * Add new value for `Service` on `Card` 2121 * Mark many classes and other fields as deprecated for the next major 2122 2123 ## 70.8.0 - 2020-03-24 2124 * [#1049](https://github.com/stripe/stripe-go/pull/1049) Add support for `PauseCollection` on `Subscription` 2125 2126 ## 70.7.0 - 2020-03-23 2127 * [#1048](https://github.com/stripe/stripe-go/pull/1048) Add new capabilities for AU Becs Debit and tax reporting 2128 2129 ## 70.6.0 - 2020-03-20 2130 * [#1046](https://github.com/stripe/stripe-go/pull/1046) Add new fields to Issuing `Card` and `Authorization` 2131 2132 ## 70.5.0 - 2020-03-13 2133 * [#1044](https://github.com/stripe/stripe-go/pull/1044) Multiple changes for Issuing APIs 2134 * Rename `Speed` to `Service` on Issuing `Card` 2135 * Rename `WalletProvider` to `Wallet` and `AddressZipCheck` to `AddressPostalCodeCheck` on Issuing `Authorization` 2136 * Mark `IsDefault` as deprecated on Issuing `Cardholder` 2137 2138 ## 70.4.0 - 2020-03-12 2139 * [#1043](https://github.com/stripe/stripe-go/pull/1043) Add support for `Shipping` and `ShippingAddressCollection` on Checkout `Session` 2140 2141 ## 70.3.0 - 2020-03-12 2142 * [#1042](https://github.com/stripe/stripe-go/pull/1042) Add support for `ThreeDSecure` on Issuing `Authorization` 2143 2144 ## 70.2.0 - 2020-03-04 2145 * [#1041](https://github.com/stripe/stripe-go/pull/1041) Add new reason values and `ExpiryCheck` for Issuing `authorization 2146 2147 ## 70.1.0 - 2020-03-04 2148 * [#1040](https://github.com/stripe/stripe-go/pull/1040) Add support for `Errors` in `Requirements` on `Account`, `Capability` and `Person` 2149 2150 ## 70.0.0 - 2020-03-03 2151 * [#1039](https://github.com/stripe/stripe-go/pull/1039) Multiple API changes: 2152 * Move to latest API version `2020-03-02` 2153 * Add support for `NextInvoiceSequence` on `Customer` 2154 2155 ## 69.4.0 - 2020-02-28 2156 * [#1038](https://github.com/stripe/stripe-go/pull/1038) Add `TaxIDTypeMYSST` for `TaxId` 2157 2158 ## 69.3.0 - 2020-02-24 2159 * [#1037](https://github.com/stripe/stripe-go/pull/1037) Add new enum values for `IssuingDisputeReason` 2160 2161 ## 69.2.0 - 2020-02-24 2162 * [#1036](https://github.com/stripe/stripe-go/pull/1036) Add support for listing Checkout `Session` and passing tax rate information 2163 2164 ## 69.1.0 - 2020-02-21 2165 * [#1035](https://github.com/stripe/stripe-go/pull/1035) Add support for `ProrationBehavior` on `SubscriptionSchedule` 2166 * [#1034](https://github.com/stripe/stripe-go/pull/1034) Add support for `Timezone` on `ReportRun` 2167 2168 ## 69.0.0 - 2020-02-20 2169 * [#1033](https://github.com/stripe/stripe-go/pull/1033) Make `Subscription` expandable on `Invoice` 2170 2171 ## 68.20.0 - 2020-02-12 2172 * [#1029](https://github.com/stripe/stripe-go/pull/1029) Add support for `Amount` in `CheckoutSessionPaymentIntentDataTransferDataParams` 2173 2174 ## 68.19.0 - 2020-02-10 2175 * [#1027](https://github.com/stripe/stripe-go/pull/1027) Add new constants for `TaxIDType` 2176 * [#1028](https://github.com/stripe/stripe-go/pull/1028) Add support for `StatementDescriptorSuffix` on Checkout `Session` 2177 2178 ## 68.18.0 - 2020-02-05 2179 * [#1026](https://github.com/stripe/stripe-go/pull/1026) Multiple changes on the `Balance` resource: 2180 * Add support for `ConnectReserved` 2181 * Add support for `SourceTypes` for a given type of balance. 2182 * Add support for FPX balance as a constant. 2183 2184 ## 68.17.0 - 2020-02-03 2185 * [#1024](https://github.com/stripe/stripe-go/pull/1024) Add `FilePurposeAdditionalVerification` and `FilePurposeBusinessIcon` on `File` 2186 * [#1018](https://github.com/stripe/stripe-go/pull/1018) Add support for `ErrorOnRequiresAction` on `PaymentIntent` 2187 2188 ## 68.16.0 - 2020-01-31 2189 * [#1023](https://github.com/stripe/stripe-go/pull/1023) Add support for `TaxIDTypeTHVAT` and `TaxIDTypeTWVAT` on `TaxId` 2190 2191 ## 68.15.0 - 2020-01-30 2192 * [#1022](https://github.com/stripe/stripe-go/pull/1022) Add support for `Structure` on `Account` 2193 2194 ## 68.14.0 - 2020-01-28 2195 * [#1021](https://github.com/stripe/stripe-go/pull/1021) Add support for `TaxIDTypeESCIF` on `TaxId` 2196 2197 ## 68.13.0 - 2020-01-24 2198 * [#1019](https://github.com/stripe/stripe-go/pull/1019) Add support for `Shipping.Speed` and `Shipping.TrackingURL` on `IssuingCard` 2199 2200 ## 68.12.0 - 2020-01-23 2201 * [#1017](https://github.com/stripe/stripe-go/pull/1017) Add new values for `TaxIDType` and fix `TaxIDTypeCHVAT` 2202 * [#1015](https://github.com/stripe/stripe-go/pull/1015) Replace duplicate code in GetBackend method 2203 2204 ## 68.11.0 - 2020-01-17 2205 * [#1014](https://github.com/stripe/stripe-go/pull/1014) Add `Metadata` support on Checkout `Session` 2206 2207 ## 68.10.0 - 2020-01-15 2208 * [#1012](https://github.com/stripe/stripe-go/pull/1012) Adds `PendingUpdate` to `Subscription` 2209 2210 ## 68.9.0 - 2020-01-14 2211 * [#1013](https://github.com/stripe/stripe-go/pull/1013) Add support for `CreditNoteLineItem` 2212 2213 ## 68.8.0 - 2020-01-08 2214 * [#1011](https://github.com/stripe/stripe-go/pull/1011) Add support for `InvoiceItem` and fix `Livemode` on `InvoiceLine` 2215 2216 ## 68.7.0 - 2020-01-07 2217 * [#1008](https://github.com/stripe/stripe-go/pull/1008) Add `ReportingCategory` to `BalanceTransaction` 2218 2219 ## 68.6.0 - 2020-01-06 2220 * [#1009](https://github.com/stripe/stripe-go/pull/1009) Add constant for `TaxIDTypeSGUEN` on `TaxId` 2221 2222 ## 68.5.0 - 2020-01-03 2223 * [#1007](https://github.com/stripe/stripe-go/pull/1007) Add support for `SpendingLimitsCurrency` on Issuing `Card` and `Cardholder` 2224 2225 ## 68.4.0 - 2019-12-20 2226 * [#1006](https://github.com/stripe/stripe-go/pull/1006) Adds `ExecutivesProvided` to `Account` 2227 2228 ## 68.3.0 - 2019-12-19 2229 * [#1005](https://github.com/stripe/stripe-go/pull/1005) Add `Metadata` and `Livemode` to Terminal `Reader` and `Location' 2230 2231 ## 68.2.0 - 2019-12-09 2232 * [#1002](https://github.com/stripe/stripe-go/pull/1002) Add support for AU BECS Debit on PaymentMethod 2233 2234 ## 68.1.0 - 2019-12-04 2235 * [#1001](https://github.com/stripe/stripe-go/pull/1001) Add support for `Network` on `Charge` 2236 2237 ## 68.0.0 - 2019-12-03 2238 * [#1000](https://github.com/stripe/stripe-go/pull/1000) Multiple breaking changes: 2239 * Pin to API version `2019-12-03` 2240 * Rename `InvoiceBillingStatus` to `InvoiceStatus` for consistency 2241 * Remove typo-ed field `OutOfBankdAmount` on `CreditNote` 2242 * Remove deprecated `PaymentIntentPaymentMethodOptionsCardRequestThreeDSecureChallengeOnly` and `SetupIntentPaymentMethodOptionsCardRequestThreeDSecureChallengeOnly` from `PaymentIntent` and `SetupIntent`. 2243 * Remove `OperatorAccount` on `TerminalLocationListParams` 2244 2245 ## 67.10.0 - 2019-12-02 2246 * [#999](https://github.com/stripe/stripe-go/pull/999) Add support for `Status` filter when listing `Invoice`s. 2247 2248 ## 67.9.0 - 2019-11-26 2249 * [#997](https://github.com/stripe/stripe-go/pull/997) Add new refund reason `RefundReasonExpiredUncapturedCharge` 2250 2251 ## 67.8.0 - 2019-11-26 2252 * [#998](https://github.com/stripe/stripe-go/pull/998) Add support for `CreditNote` preview 2253 2254 ## 67.7.0 - 2019-11-25 2255 * [#996](https://github.com/stripe/stripe-go/pull/996) Add support for `OutOfBandAmount` on `CreditNote` creation 2256 * [#995](https://github.com/stripe/stripe-go/pull/995) Fix comment typos 2257 2258 ## 67.6.0 - 2019-11-22 2259 * [#994](https://github.com/stripe/stripe-go/pull/994) Support for the `now` on `StartDate` on Subscription Schedule creation 2260 2261 ## 67.5.0 - 2019-11-21 2262 * [#993](https://github.com/stripe/stripe-go/pull/993) Add `PaymentIntent` filter when listing `Dispute`s 2263 2264 ## 67.4.1 - 2019-11-19 2265 * [#991](https://github.com/stripe/stripe-go/pull/991) Add missing constant for PaymentMethod of type FPX 2266 2267 ## 67.4.0 - 2019-11-18 2268 * [#989](https://github.com/stripe/stripe-go/pull/989) Add support for `ViolatedAuthorizationControls` on Issuing `Authorization` 2269 2270 ## 67.3.0 - 2019-11-07 2271 * [#988](https://github.com/stripe/stripe-go/pull/988) Add `Company` and `Individual` to Issuing `Cardholder` 2272 2273 ## 67.2.0 - 2019-11-06 2274 * [#985](https://github.com/stripe/stripe-go/pull/985) Multiple API changes 2275 * Add `Disputed` to `Charge` 2276 * Add `PaymentIntent` to `Refund` and `Dispute` 2277 * Add `Charge` to `DisputeListParams` 2278 * Add `PaymentIntent` to `RefundListParams` and `RefundParams` 2279 2280 ## 67.1.0 - 2019-11-06 2281 * [#986](https://github.com/stripe/stripe-go/pull/986) Add support for iDEAL and SEPA debit on `PaymentMethod` 2282 2283 ## 67.0.0 - 2019-11-05 2284 * [#987](https://github.com/stripe/stripe-go/pull/987) Move to the latest API version and add new changes 2285 * Move to API version `2019-11-05` 2286 * Add `DefaultSettings` on `SubscritionSchedule` 2287 * Remove `BillingThresholds`, `CollectionMethod`, `DefaultPaymentMethod` and `DefaultSource` and `invoice_settings` from `SubscriptionSchedule` 2288 * `OffSession` on `PaymentIntent` is now always a boolean 2289 2290 ## 66.3.0 - 2019-11-04 2291 * [#984](https://github.com/stripe/stripe-go/pull/984) Add support for `UseStripeSDK` on `PaymentIntent` create and confirm 2292 2293 ## 66.2.0 - 2019-11-04 2294 * [#983](https://github.com/stripe/stripe-go/pull/983) Add support for cloning saved PaymentMethods 2295 * [#980](https://github.com/stripe/stripe-go/pull/980) Improve docs for ephemeral keys 2296 2297 ## 66.1.1 - 2019-10-24 2298 * [#978](https://github.com/stripe/stripe-go/pull/978) Properly pass `Type` in `PaymentIntentPaymentMethodOptionsCardInstallmentsPlanParams` 2299 * Note that this is technically a breaking change, however we've chosen to release it as a patch version as this shipped yesterday and is a new feature 2300 * [#977](https://github.com/stripe/stripe-go/pull/977) Contributor Convenant 2301 2302 ## 66.1.0 - 2019-10-23 2303 * [#974](https://github.com/stripe/stripe-go/pull/974) Add support for installments on `PaymentIntent` and `Charge` 2304 * [#975](https://github.com/stripe/stripe-go/pull/975) Add support for `PendingInvoiceItemInterval` on `Subscription` 2305 * [#976](https://github.com/stripe/stripe-go/pull/976) Add `TaxIDTypeMXRFC` constant to `TaxIDType` 2306 2307 ## 66.0.0 - 2019-10-18 2308 * [#973](https://github.com/stripe/stripe-go/pull/973) Multiple breaking changes 2309 * Pin to the latest API version `2019-10-17` 2310 * Remove `RenewalBehavior` on `SubscriptionSchedule` 2311 * Remove `RenewalBehavior` and `RenewalInterval` as parameters on `SubscriptionSchedule` 2312 2313 ## 65.2.0 - 2019-10-17 2314 * [#972](https://github.com/stripe/stripe-go/pull/972) Various API changes 2315 * `Requirements` on Issuing `Cardholder` 2316 * `PaymentMethodDetails.AuBecsDebit.Mandate` on `Charge` 2317 * `PaymentBehavior` on `Subscription` creation can now take the value `pending_if_incomplete` 2318 * `PaymentBehavior` on `SubscriptionItem` creation is now supported 2319 * `SubscriptionData.TrialFromPlan` is now supported on Checkout `Session` creation 2320 * New values for `TaxIDType` 2321 2322 ## 65.1.1 - 2019-10-11 2323 * [#970](https://github.com/stripe/stripe-go/pull/970) Properly deserialize `Fulfilled` on `StatusTransitions` in the `order` package 2324 2325 ## 65.1.0 - 2019-10-09 2326 * [#969](https://github.com/stripe/stripe-go/pull/969) Add `DeviceType` filter when listing Terminal `Reader`s 2327 2328 ## 65.0.0 - 2019-10-09 2329 * [#951](https://github.com/stripe/stripe-go/pull/951) Move to API version [`2019-10-08`](https://stripe.com/docs/upgrades#2019-10-08) and other changes 2330 * [#950](https://github.com/stripe/stripe-go/pull/950) Remove lossy "MarshalJSON" implementations 2331 * [#962](https://github.com/stripe/stripe-go/pull/962) Removed deprecated properties and most todos 2332 * Removed `GetBalanceTransaction` and `List` from the `balance` package. Prefer using `Get` and `List` in the `balancetransaction` package. 2333 * Removed `ApplicationFee` from the `charge` and `paymentintent` packages. Prefer using `ApplicationFeeAmount`. 2334 * Removed `TaxInfo` and related fields from the `customer` packager. Prefer using the `customertaxid` package. 2335 * Removed unsupported `Customer` parameter on `PaymentMethodParams` and `PaymentMethodDetachParams` in the `paymentmethod` package. 2336 * Removed `Billing` properties in the `invoice`, `sub` and `subschedule` packages. Prefer using `CollectionMethod`. 2337 * Removed the `InvoiceBilling` type from the `invoice` package. Prefer using `InvoiceCollectionMethod`. 2338 * Removed the `SubscriptionBilling` type from the `sub` package. Prefer using `SubscriptionCollectionMethod`. 2339 * Removed deprecated constants for `PaymentIntentConfirmationMethod` in `paymentintent` package. 2340 * Removed `OperatorAccount` from Terminal APIs. 2341 * [#960](https://github.com/stripe/stripe-go/pull/960) Remove `issuerfraudrecord` package. Prefer using `earlyfraudwarning` 2342 * [#968](https://github.com/stripe/stripe-go/pull/968) Rename `AccountOpener` to `Representative` and update to latest API version 2343 2344 ## 64.1.0 - 2019-10-09 2345 * [#967](https://github.com/stripe/stripe-go/pull/967) Add `Get` method to `OrderReturn` 2346 2347 ## 64.0.0 - 2019-10-08 2348 * ~[#968](https://github.com/stripe/stripe-go/pull/968) Update to latest API version [`2019-10-08`](https://stripe.com/docs/upgrades#2019-10-08)~ 2349 * **Note:** This release is actually a no-op as we failed to merge the changes. Please use 65.0.0 instead. 2350 2351 ## 63.5.0 - 2019-10-03 2352 * [#955](https://github.com/stripe/stripe-go/pull/955) Add FPX `PaymentMethod` Support 2353 * [#966](https://github.com/stripe/stripe-go/pull/966) Add the `Account` field to `BankAccount` 2354 2355 ## 63.4.0 - 2019-09-30 2356 * [#952](https://github.com/stripe/stripe-go/pull/952) Add AU BECS Debit Support 2357 2358 ## 63.3.0 - 2019-09-30 2359 * [#964](https://github.com/stripe/stripe-go/pull/964) Add support for `Status` and `Location` filters when listing `Reader`s 2360 2361 ## 63.2.2 - 2019-09-26 2362 * [#963](https://github.com/stripe/stripe-go/pull/963) Update `SourceSourceOrder` `Items` field to fix unmarshalling errors 2363 2364 ## 63.2.1 - 2019-09-25 2365 * [#961](https://github.com/stripe/stripe-go/pull/961) Properly tag `Customer` as deprecated in `PaymentMethodDetachParams` 2366 2367 ## 63.2.0 - 2019-09-25 2368 * [#959](https://github.com/stripe/stripe-go/pull/959) Mark `Customer` on `PaymentMethodDetachParams` as deprecated 2369 * [#957](https://github.com/stripe/stripe-go/pull/957) Add missing error code 2370 2371 ## 63.1.1 - 2019-09-23 2372 * [#954](https://github.com/stripe/stripe-go/pull/954) Add support for `Stripe-Should-Retry` header 2373 2374 ## 63.1.0 - 2019-09-13 2375 * [#949](https://github.com/stripe/stripe-go/pull/949) Add support for `DeclineCode` on `Error` top-level 2376 2377 ## 63.0.0 - 2019-09-10 2378 * [#947](https://github.com/stripe/stripe-go/pull/947) Bump API version to [`2019-09-09`](https://stripe.com/docs/upgrades#2019-09-09) 2379 2380 ## 62.10.0 - 2019-09-09 2381 * [#945](https://github.com/stripe/stripe-go/pull/945) Changes to `Account` and `Person` to represent identity verification state 2382 2383 ## 62.9.0 - 2019-09-04 2384 * [#943](https://github.com/stripe/stripe-go/pull/943) Add support for `Authentication` and `URL` on Issuing `Authorization` 2385 2386 ## 62.8.2 - 2019-08-29 2387 * [#939](https://github.com/stripe/stripe-go/pull/939) Also log error in case of non-`stripe.Error` 2388 2389 ## 62.8.1 - 2019-08-29 2390 * [#938](https://github.com/stripe/stripe-go/pull/938) Rearrange error logging so that 402 doesn't log an error 2391 2392 ## 62.8.0 - 2019-08-29 2393 * [#937](https://github.com/stripe/stripe-go/pull/937) Add support for `EndBehavior` on `SubscriptionSchedule` 2394 2395 ## 62.7.0 - 2019-08-27 2396 * [#935](https://github.com/stripe/stripe-go/pull/935) Retry requests on a 429 that's a lock timeout 2397 2398 ## 62.6.0 - 2019-08-26 2399 * [#934](https://github.com/stripe/stripe-go/pull/934) Add support for `SubscriptionBillingCycleAnchorNow` and `SubscriptionBillingCycleAnchorUnchanged` on `Invoice` 2400 * [#933](https://github.com/stripe/stripe-go/pull/933) Add `PendingVerification` on `Account`, `Person` and `Capability` 2401 2402 ## 62.5.0 - 2019-08-23 2403 * [#930](https://github.com/stripe/stripe-go/pull/930) Add `FailureReason` to `Refund` 2404 2405 ## 62.4.0 - 2019-08-22 2406 * [#926](https://github.com/stripe/stripe-go/pull/926) Add support for decimal amounts on Billing resources 2407 2408 ## 62.3.0 - 2019-08-22 2409 * [#928](https://github.com/stripe/stripe-go/pull/928) Bring retry code in-line with current best practices 2410 2411 ## 62.2.0 - 2019-08-21 2412 * [#922](https://github.com/stripe/stripe-go/pull/922) A few Billing changes 2413 * Add `Schedule` to `Subscription` 2414 * Add missing parameters for the Upcoming Invoice API: `Schedule`, `SubscriptionCancelAt`, `SubscriptionCancelNow` 2415 * Add missing properties and parameters for a `SubscriptionSchedule` phase: `BillingThresholds`, `CollectionMethod`, `DefaultPaymentMethod`, `InvoiceSettings` 2416 * [#923](https://github.com/stripe/stripe-go/pull/923) Add support for `Mode` on Checkout `Session` 2417 2418 ## 62.1.2 - 2019-08-19 2419 * [#921](https://github.com/stripe/stripe-go/pull/921) Mark `Customer` as an invalid parameter on PaymentMethod creation 2420 2421 ## 62.1.1 - 2019-08-15 2422 * [#918](https://github.com/stripe/stripe-go/pull/918) Fix `RadarEarlyFraudWarnings` to use the proper API endpoint 2423 2424 ## 62.1.0 - 2019-08-15 2425 * [#916](https://github.com/stripe/stripe-go/pull/916) 2426 * Add support for `PIN` on Issuing `Card` to reflect the status of a card's PIN 2427 * Add support for `Executive` on Person create, update and list 2428 2429 ## 62.0.0 - 2019-08-14 2430 * [#915](https://github.com/stripe/stripe-go/pull/915) Move to API version [`2019-08-14`](https://stripe.com/docs/upgrades#2019-08-14) and other changes 2431 * Pin to API version `2019-08-14` 2432 * Rename `AccountCapabilityPlatformPayments` to `AccountCapabilityTransfers` 2433 * Add `Executive` in `PersonRelationship` 2434 * Remove `PayentMethodOptions` as there was a typo which was fixed 2435 * Make `OffSession` only support booleans on `PaymentIntent` 2436 * Remove `PaymentIntentLastPaymentError` and use `Error` instead 2437 * Move `DeclineCode` on `Error` to the `DeclineCode` type instead of `string` 2438 * [#914](https://github.com/stripe/stripe-go/pull/914) Update webhook handler example to use `http.MaxBytesReader` 2439 2440 ## 61.27.0 - 2019-08-09 2441 * [#913](https://github.com/stripe/stripe-go/pull/913) Remove `SubscriptionScheduleRevision` 2442 * Note that this is technically a breaking change, however we've chosen to release it as a minor version in light of the fact that this resource and its API methods were virtually unused. 2443 2444 ## 61.26.0 - 2019-08-08 2445 * [#911](https://github.com/stripe/stripe-go/pull/911) 2446 * Add support for `PaymentMethodDetails.Card.Moto` on `Charge` 2447 * Add support `StatementDescriptorSuffix` on `Charge` and `PaymentIntent` 2448 * Add support `SubscriptionData.ApplicationFeePercent` on Checkout `Session` 2449 2450 ## 61.25.0 - 2019-07-30 2451 * [#910](https://github.com/stripe/stripe-go/pull/910) Add `balancetransaction` package with a `Get` and `List` methods 2452 2453 ## 61.24.0 - 2019-07-30 2454 * [#906](https://github.com/stripe/stripe-go/pull/906) Add decline code type and constants (for use with card errors) 2455 2456 ## 61.23.0 - 2019-07-29 2457 * [#879](https://github.com/stripe/stripe-go/pull/879) Add support for OAuth API endpoints 2458 2459 ## 61.22.0 - 2019-07-29 2460 * [#909](https://github.com/stripe/stripe-go/pull/909) Rename `PayentMethodOptions` to `PaymentMethodOptions` on `PaymentIntent` and `SetupIntent`. Keep the old name until the next major version for backwards-compatibility 2461 2462 ## 61.21.0 - 2019-07-26 2463 * [#904](https://github.com/stripe/stripe-go/pull/904) Add support for Klarna and source orders 2464 2465 ## 61.20.0 - 2019-07-25 2466 * [#897](https://github.com/stripe/stripe-go/pull/897) Add all missing error codes 2467 * [#903](https://github.com/stripe/stripe-go/pull/903) Disable HTTP/2 by default (until underlying bug in Go's implementation is fixed) 2468 * [#905](https://github.com/stripe/stripe-go/pull/905) Add missing `Authenticated` field for 3DS charges 2469 2470 ## 61.19.0 - 2019-07-22 2471 * [#902](https://github.com/stripe/stripe-go/pull/902) Add support for `StatementDescriptor` when capturing a `PaymentIntent` 2472 2473 ## 61.18.0 - 2019-07-19 2474 * [#898](https://github.com/stripe/stripe-go/pull/898) Add `Customer` filter when listing `CreditNote` 2475 * [#899](https://github.com/stripe/stripe-go/pull/899) Add `OffSession` parameter when updating `SubscriptionItem` 2476 2477 ## 61.17.0 - 2019-07-17 2478 * [#895](https://github.com/stripe/stripe-go/pull/895) Add `VoidedAt` on `CreditNote` 2479 2480 ## 61.16.0 - 2019-07-16 2481 * [#894](https://github.com/stripe/stripe-go/pull/894) Introduce encoding for high precision decimal fields 2482 2483 ## 61.15.0 - 2019-07-15 2484 * [#893](https://github.com/stripe/stripe-go/pull/893) 2485 * Add support for `PaymentMethodOptions` on `PaymentIntent` and `SetupIntent` 2486 * Add missing parameters to `PaymentIntentConfirmParams` 2487 2488 ## 61.14.0 - 2019-07-15 2489 * [#891](https://github.com/stripe/stripe-go/pull/891) Various changes relaed to SCA for Billing 2490 * Add support for `PendingSetupIntent` on `Subscription` 2491 * Add support for `PaymentBehavior` on `Subscription` creation and update 2492 * Add support for `PaymentBehavior` on `SubscriptionItem` update 2493 * Add support for `OffSession` when paying an `Invoice` 2494 * Add support for `OffSession` on `Subscription` creation and update 2495 2496 ## 61.13.0 - 2019-07-05 2497 * [#888](https://github.com/stripe/stripe-go/pull/888) Add support for `SetupFutureUsage` on `PaymentIntent` update and confirm 2498 * [#890](https://github.com/stripe/stripe-go/pull/890) Add support for `SetupFutureUsage` on Checkout `Session` 2499 2500 ## 61.12.0 - 2019-07-01 2501 * [#887](https://github.com/stripe/stripe-go/pull/887) Allow `OffSession` to be a bool on `PaymentIntent` creation and confirmation 2502 2503 ## 61.11.0 - 2019-07-01 2504 * [#886](https://github.com/stripe/stripe-go/pull/886) Add `CardVerificationUnavailable` constant value 2505 2506 ## 61.10.0 - 2019-07-01 2507 * [#884](https://github.com/stripe/stripe-go/pull/884) Add support for the `SetupIntent` resource and APIs 2508 * [#885](https://github.com/stripe/stripe-go/pull/885) Quick fix to the `NextAction` property on `SetupIntent` 2509 2510 ## 61.9.0 - 2019-06-27 2511 * [#882](https://github.com/stripe/stripe-go/pull/882) Add `DefaultPaymentMethod` and `DefaultSource` to `SubscriptionSchedule` 2512 2513 ## 61.8.0 - 2019-06-27 2514 * **Note:** This release was deleted after we merged some bad code. Please use 61.9.0 instead. 2515 2516 ## 61.7.1 - 2019-06-25 2517 * [#881](https://github.com/stripe/stripe-go/pull/881) Documentation fixes 2518 2519 ## 61.7.0 - 2019-06-25 2520 * [#880](https://github.com/stripe/stripe-go/pull/880) 2521 * Add support for `CollectionMethod` on `Invoice`, `Subscription` and `SubscriptionSchedule` 2522 * Add support for `UnifiedProration` on `InvoiceLine` 2523 2524 ## 61.6.0 - 2019-06-24 2525 * [#878](https://github.com/stripe/stripe-go/pull/878) Enable request latency telemetry by default 2526 2527 ## 61.5.0 - 2019-06-20 2528 * [#877](https://github.com/stripe/stripe-go/pull/877) Add `CancellationReason` to `PaymentIntent` 2529 2530 ## 61.4.0 - 2019-06-18 2531 * [#845](https://github.com/stripe/stripe-go/pull/845) Add support for `CustomerBalanceTransaction` resource and APIs 2532 * [#875](https://github.com/stripe/stripe-go/pull/875) Add missing `Account` settings 2533 2534 ## 61.3.0 - 2019-06-18 2535 * [#874](https://github.com/stripe/stripe-go/pull/874) Log only to info on 402 errors from Stripe 2536 2537 ## 61.2.0 - 2019-06-14 2538 * [#870](https://github.com/stripe/stripe-go/pull/870) Add support for `MerchantAmount` `MerchantCurrency` to Issuing `Transaction` 2539 * [#871](https://github.com/stripe/stripe-go/pull/871) Add support for `SubmitType` to Checkout `Session` 2540 2541 ## 61.1.0 - 2019-06-06 2542 * [#867](https://github.com/stripe/stripe-go/pull/867) Add support for `Location` on Terminal `ConnectionToken` 2543 * [#868](https://github.com/stripe/stripe-go/pull/868) Add support for `Balance` and deprecate `AccountBalance` on Customer 2544 2545 ## 61.0.1 - 2019-05-24 2546 * [#865](https://github.com/stripe/stripe-go/pull/865) Fix `earlyfraudwarning` client 2547 2548 ## 61.0.0 - 2019-05-24 2549 * [#864](https://github.com/stripe/stripe-go/pull/864) Pin library to API version `2019-05-16` 2550 2551 ## 60.19.0 - 2019-05-24 2552 * [#862](https://github.com/stripe/stripe-go/pull/862) Add support for `radar.early_fraud_warning` resource 2553 2554 ## 60.18.0 - 2019-05-22 2555 * [#861](https://github.com/stripe/stripe-go/pull/861) Add new tax ID types: `TaxIDTypeINGST` and `TaxIDTypeNOVAT` 2556 2557 ## 60.17.0 - 2019-05-16 2558 * [#860](https://github.com/stripe/stripe-go/pull/860) Add `OffSession` parameter to payment intents 2559 2560 ## 60.16.0 - 2019-05-14 2561 * [#859](https://github.com/stripe/stripe-go/pull/859) Add missing `InvoiceSettings` to `Customer` 2562 2563 ## 60.15.0 - 2019-05-14 2564 * [#855](https://github.com/stripe/stripe-go/pull/855) Add support for the capability resource and APIs 2565 2566 ## 60.14.0 - 2019-05-10 2567 * [#858](https://github.com/stripe/stripe-go/pull/858) Add `StartDate` to `Subscription` 2568 2569 ## 60.13.2 - 2019-05-10 2570 * [#857](https://github.com/stripe/stripe-go/pull/857) Fix invoice's `PaymentIntent` so its JSON tag uses API snakecase 2571 2572 ## 60.13.1 - 2019-05-08 2573 * [#853](https://github.com/stripe/stripe-go/pull/853) Add paymentmethod package to the clients list 2574 2575 ## 60.13.0 - 2019-05-07 2576 * [#850](https://github.com/stripe/stripe-go/pull/850) `OperatorAccount` is now deprecated across all Terminal endpoints 2577 * [#851](https://github.com/stripe/stripe-go/pull/851) Add `Customer` on the `Source` object 2578 2579 ## 60.12.2 - 2019-05-06 2580 * [#843](https://github.com/stripe/stripe-go/pull/843) Lock mutex while in `SetBackends` 2581 2582 ## 60.12.1 - 2019-05-06 2583 * [#848](https://github.com/stripe/stripe-go/pull/848) Fix `Items` on `CheckoutSessionSubscriptionDataParams` to be a slice 2584 2585 ## 60.12.0 - 2019-05-05 2586 * [#846](https://github.com/stripe/stripe-go/pull/846) Add support for the `PaymentIntent` filter on `ChargeListParams` 2587 2588 ## 60.11.0 - 2019-05-02 2589 * [#841](https://github.com/stripe/stripe-go/pull/841) Add support for the `Customer` filter on `PaymentIntentListParams` 2590 * [#842](https://github.com/stripe/stripe-go/pull/842) Add support for replacing another Issuing `Card` on creation 2591 2592 ## 60.10.0 - 2019-04-30 2593 * [#839](https://github.com/stripe/stripe-go/pull/839) Add support for ACSS Debit in `PaymentMethodDetails` on `Charge` 2594 * [#840](https://github.com/stripe/stripe-go/pull/840) Add support for `FileLinkData` on `File` creation 2595 2596 ## 60.9.0 - 2019-04-24 2597 * [#828](https://github.com/stripe/stripe-go/pull/828) Add support for the `TaxRate` resource and APIs 2598 2599 ## 60.8.0 - 2019-04-23 2600 * [#834](https://github.com/stripe/stripe-go/pull/834) Add support for the `TaxId` resource and APIs 2601 2602 ## 60.7.0 - 2019-04-18 2603 * [#823](https://github.com/stripe/stripe-go/pull/823) Add support for the `CreditNote` resource and APIs 2604 * [#829](https://github.com/stripe/stripe-go/pull/829) Add support for `Address`, `Name`, `Phone` and `PreferredLocales` on `Customer` and related fields on `Invoice` 2605 2606 ## 60.6.0 - 2019-04-18 2607 * [#837](https://github.com/stripe/stripe-go/pull/837) Add helpers to go from `[]T` to `[]*T` for `string`, `int64`, `float64`, `bool` 2608 2609 ## 60.5.1 - 2019-04-16 2610 * [#836](https://github.com/stripe/stripe-go/pull/836) Fix `SpendingLimits` on `AuthorizationControlsParams` and `AuthorizationControls` to be a slice on Issuing `Card` and `Cardholder` 2611 2612 ## 60.5.0 - 2019-04-16 2613 * [#740](https://github.com/stripe/stripe-go/pull/740) Add support for the Checkout `Session` resource and APIs 2614 * [#832](https://github.com/stripe/stripe-go/pull/832) Add support for `version` and `succeeded` properties in the `payment_method_details[card][three_d_secure]` hash for `Charge`. 2615 * [#835](https://github.com/stripe/stripe-go/pull/835) Add support for passing `payment_method` on `Customer` creation 2616 2617 ## 60.4.0 - 2019-04-15 2618 * [#833](https://github.com/stripe/stripe-go/pull/833) Add more context when failing to unmarshal JSON 2619 2620 ## 60.3.0 - 2019-04-12 2621 * [#831](https://github.com/stripe/stripe-go/pull/831) Add support for `authorization_controls` on `Cardholder` and `authorization_controls[spending_limits]` added to `Card` too for Issuing resources 2622 2623 ## 60.2.0 - 2019-04-09 2624 * [#827](https://github.com/stripe/stripe-go/pull/827) Add support for `confirmation_method` on `PaymentIntent` creation 2625 2626 ## 60.1.0 - 2019-04-09 2627 * [#824](https://github.com/stripe/stripe-go/pull/824) Add support for `PaymentIntent` and `PaymentMethod` on `Customer`, `Subscription` and `Invoice`. 2628 2629 ## 60.0.1 - 2019-04-02 2630 * [#825](https://github.com/stripe/stripe-go/pull/825) Fix the API for usage record summary listing 2631 2632 ## 60.0.0 - 2019-03-27 2633 * [#820](https://github.com/stripe/stripe-go/pull/820) Add various missing parameters 2634 * On `PIIParams` the previous `PersonalIDNumber` is fixed to `IDNumber` which we're releasing as a minor breaking change even though the old version probably didn't work correctly 2635 2636 ## 59.1.0 - 2019-03-22 2637 * [#819](https://github.com/stripe/stripe-go/pull/819) Add default level prefixes in messages from `LeveledLogger` 2638 2639 ## 59.0.0 - 2019-03-22 2640 * [#818](https://github.com/stripe/stripe-go/pull/818) Implement leveled logging (very minor breaking change -- only a couple properties were removed from the internal `BackendImplementation`) 2641 2642 ## 58.1.0 - 2019-03-19 2643 * [#815](https://github.com/stripe/stripe-go/pull/815) Add support for passing token on account or person creation 2644 2645 ## 58.0.0 - 2019-03-19 2646 * [#811](https://github.com/stripe/stripe-go/pull/811) Add support for API version 2019-03-14 2647 * [#814](https://github.com/stripe/stripe-go/pull/814) Properly override API version if it's set in the request 2648 2649 ## 57.8.0 - 2019-03-18 2650 * [#806](https://github.com/stripe/stripe-go/pull/806) Add support for the `PaymentMethod` resource and APIs 2651 * [#812](https://github.com/stripe/stripe-go/pull/812) Add support for deleting a Terminal `Location` and `Reader` 2652 2653 ## 57.7.0 - 2019-03-13 2654 * [#810](https://github.com/stripe/stripe-go/pull/810) Add support for `columns` on `ReportRun` and `default_columns` on `ReportType`. 2655 2656 ## 57.6.0 - 2019-03-06 2657 * [#808](https://github.com/stripe/stripe-go/pull/808) Add support for `backdate_start_date` and `cancel_at` on `Subscription`. 2658 2659 ## 57.5.0 - 2019-03-05 2660 * [#807](https://github.com/stripe/stripe-go/pull/807) Add support for `current_period_end` and `current_period_start` filters when listing `Invoice`. 2661 2662 ## 57.4.0 - 2019-03-04 2663 * [#798](https://github.com/stripe/stripe-go/pull/798) Properly support serialization of `Event`. 2664 2665 ## 57.3.0 - 2019-02-28 2666 * [#803](https://github.com/stripe/stripe-go/pull/803) Add support for `api_version` on `WebhookEndpoint`. 2667 2668 ## 57.2.0 - 2019-02-27 2669 * [#795](https://github.com/stripe/stripe-go/pull/795) Add support for `created` and `status_transitions` on `Invoice` 2670 * [#802](https://github.com/stripe/stripe-go/pull/802) Add support for `latest_invoice` on `Subscription` 2671 2672 ## 57.1.1 - 2019-02-26 2673 * [#800](https://github.com/stripe/stripe-go/pull/800) Add `UsageRecordSummaries` to the list of clients. 2674 2675 ## 57.1.0 - 2019-02-22 2676 * [#796](https://github.com/stripe/stripe-go/pull/796) Correct `InvoiceItems` in `InvoiceParams` to be a slice of structs instead of a struct (this is technically a breaking change, but the previous implementation was non-functional, so we're releasing it as a minor version) 2677 2678 ## 57.0.1 - 2019-02-20 2679 * [#794](https://github.com/stripe/stripe-go/pull/794) Properly pin to API version `2019-02-19`. The previous major version incorrectly stayed on API version `2019-02-11` which prevented requests to manage Connected accounts from working and charges to have the new statement descriptor behavior. 2680 2681 ## 57.0.0 - 2019-02-19 2682 **Important:** This version is non-functional and has been yanked in favor of 57.0.1. 2683 * [#782](https://github.com/stripe/stripe-go/pull/782) Changes related to the new API version `2019-02-19`: 2684 * The library is now pinned to API version `2019-02-19` 2685 * Numerous changes to the `Account` resource and APIs: 2686 * The `legal_entity` property on the Account API resource has been replaced with `individual`, `company`, and `business_type` 2687 * The `verification` hash has been replaced with a `requirements` hash 2688 * Multiple top-level properties were moved to the `settings` hash 2689 * The `keys` property on `Account` has been removed. Platforms should authenticate as their connected accounts with their own key via the `Stripe-Account` [header](https://stripe.com/docs/connect/authentication#authentication-via-the-stripe-account-header) 2690 * The `requested_capabilities` property on `Account` creation is now required for accounts in the US 2691 * The deprecated parameter `save_source_to_customer` on `PaymentIntent` has now been removed. Use `save_payment_method` instead 2692 2693 ## 56.1.0 - 2019-02-18 2694 * [#737](https://github.com/stripe/stripe-go/pull/737) Add support for setting `request_capabilities` and retrieving `capabilities` on `Account` 2695 * [#793](https://github.com/stripe/stripe-go/pull/793) Add support for `save_payment_method` on `PaymentIntent` 2696 2697 ## 56.0.0 - 2019-02-13 2698 * [#785](https://github.com/stripe/stripe-go/pull/785) Changes to the Payment Intent APIs for the next API version 2699 * [#789](https://github.com/stripe/stripe-go/pull/789) Allow API arrays to be emptied by setting an empty array 2700 2701 ## 55.15.0 - 2019-02-12 2702 * [#764](https://github.com/stripe/stripe-go/pull/764) Add support for `transfer_data[destination]` on `Invoice` and `Subscription` 2703 * [#784](https://github.com/stripe/stripe-go/pull/784) 2704 * Add support for `SubscriptionSchedule` and `SubscriptionScheduleRevision` 2705 * Add support for `payment_method_types` on `PaymentIntent` 2706 * [#787](https://github.com/stripe/stripe-go/pull/787) Add support for `transfer_data[amount]` on `Charge` 2707 2708 ## 55.14.0 - 2019-01-25 2709 * [#765](https://github.com/stripe/stripe-go/pull/765) Add support for `destination_payment_refund` and `source_refund` on the `Reversal` resource 2710 2711 ## 55.13.0 - 2019-01-17 2712 * [#779](https://github.com/stripe/stripe-go/pull/779) Add support for `receipt_url` on `Charge` 2713 2714 ## 55.12.0 - 2019-01-17 2715 * [#766](https://github.com/stripe/stripe-go/pull/766) Add optional support for sending request telemetry to Stripe 2716 2717 ## 55.11.0 - 2019-01-17 2718 * [#776](https://github.com/stripe/stripe-go/pull/776) Add support for billing thresholds 2719 2720 ## 55.10.0 - 2019-01-16 2721 * [#773](https://github.com/stripe/stripe-go/pull/773) Add support for `custom_fields` and `footer` on `Invoice` 2722 * [#774](https://github.com/stripe/stripe-go/pull/774) Revert Go module support 2723 2724 ## 55.9.0 - 2019-01-15 2725 * [#769](https://github.com/stripe/stripe-go/pull/769) Add field `Amount` to `IssuingTransaction` 2726 2727 ## 55.8.0 - 2019-01-09 2728 * [#763](https://github.com/stripe/stripe-go/pull/763) Add `application_fee_amount` to `Charge` and on charge create and capture params 2729 2730 ## 55.7.0 - 2019-01-09 2731 * [#738](https://github.com/stripe/stripe-go/pull/738) Add support for the account link resource 2732 2733 ## 55.6.0 - 2019-01-09 2734 * [#762](https://github.com/stripe/stripe-go/pull/762) Add support for new invoice items parameters when retrieving an upcoming invoice 2735 2736 ## 55.5.0 - 2019-01-07 2737 * [#744](https://github.com/stripe/stripe-go/pull/744) Add support for `transfer_data[destination]` on Charge struct and params 2738 * [#746](https://github.com/stripe/stripe-go/pull/746) Add support for `wallet_provider` on the Issuing Authorization 2739 2740 ## 55.4.0 - 2019-01-07 2741 * [#745](https://github.com/stripe/stripe-go/pull/745) Add support for `pending` parameter when listing invoice items 2742 2743 ## 55.3.0 - 2019-01-02 2744 * [#742](https://github.com/stripe/stripe-go/pull/742) Add field `FraudType` to `IssuerFraudRecord` 2745 2746 ## 55.2.0 - 2018-12-31 2747 * [#741](https://github.com/stripe/stripe-go/pull/741) Add missing parameters `InvoiceNow` and `Prorate` for subscription cancellation 2748 2749 ## 55.1.0 - 2018-12-27 2750 * [#743](https://github.com/stripe/stripe-go/pull/743) Add support for `clear_usage` on `SubscriptionItem` deletion 2751 2752 ## 55.0.0 - 2018-12-13 2753 * [#739](https://github.com/stripe/stripe-go/pull/739) Use `ApplicationFee` struct for `FeeRefund.Fee` (minor breaking change) 2754 2755 ## 54.2.0 - 2018-11-30 2756 * [#734](https://github.com/stripe/stripe-go/pull/734) Put `/v1/` prefix as part of all paths instead of URL 2757 2758 ## 54.1.1 - 2018-11-30 2759 * [#733](https://github.com/stripe/stripe-go/pull/733) Fix malformed URL generated for the uploads API when using `NewBackends` 2760 2761 ## 54.1.0 - 2018-11-28 2762 * [#730](https://github.com/stripe/stripe-go/pull/730) Add support for the Review resource 2763 * [#731](https://github.com/stripe/stripe-go/pull/731) Add missing properties on the Refund resource 2764 2765 ## 54.0.0 - 2018-11-27 2766 * [#721](https://github.com/stripe/stripe-go/pull/721) Add support for `RadarValueList` and `RadarValueListItem` 2767 * [#721](https://github.com/stripe/stripe-go/pull/721) Remove `Closed` and `Forgiven` from `InvoiceParams` 2768 * [#721](https://github.com/stripe/stripe-go/pull/721) Add `PaidOutOfBand` to `InvoicePayParams` 2769 2770 ## 53.4.0 - 2018-11-26 2771 * [#728](https://github.com/stripe/stripe-go/pull/728) Add `IssuingCard` to `EphemeralKeyParams` 2772 2773 ## 53.3.0 - 2018-11-26 2774 * [#727](https://github.com/stripe/stripe-go/pull/727) Add support for `TransferData` on payment intent create and update 2775 2776 ## 53.2.0 - 2018-11-21 2777 * [#725](https://github.com/stripe/stripe-go/pull/725) Improved error deserialization 2778 2779 ## 53.1.0 - 2018-11-15 2780 * [#723](https://github.com/stripe/stripe-go/pull/723) Add support for `last_payment_error` on `PaymentIntent`. 2781 * [#724](https://github.com/stripe/stripe-go/pull/724) Add support for `transfer_data[destination]` on `PaymentIntent`. 2782 2783 ## 53.0.1 - 2018-11-12 2784 * [#714](https://github.com/stripe/stripe-go/pull/714) Fix bug in retry logic that would cause the client to panic 2785 2786 ## 53.0.0 - 2018-11-08 2787 * [#716](https://github.com/stripe/stripe-go/pull/716) Drop support for Go 1.8. 2788 * [#715](https://github.com/stripe/stripe-go/pull/715) Ship changes to the `PaymentIntent` resource to match the final layout. 2789 * [#717](https://github.com/stripe/stripe-go/pull/717) Add support for `flat_amount` on `Plan` tiers. 2790 * [#718](https://github.com/stripe/stripe-go/pull/718) Add support for `supported_transfer_countries` on `CountrySpec`. 2791 * [#720](https://github.com/stripe/stripe-go/pull/720) Add support for `review` on `PaymentIntent`. 2792 * [#707](https://github.com/stripe/stripe-go/pull/707) Add new invoice methods and fixes to the Issuing Cardholder resource (multiple breaking changes) 2793 * Move to API version 2018-11-08. 2794 * Add support for new API methods, properties and parameters for `Invoice`. 2795 * Add support for `default_source` on `Subscription` and `Invoice`. 2796 2797 ## 52.1.0 - 2018-10-31 2798 * [#705](https://github.com/stripe/stripe-go/pull/705) Add support for the `Person` resource 2799 * [#706](https://github.com/stripe/stripe-go/pull/706) Add support for the `WebhookEndpoint` resource 2800 2801 ## 52.0.0 - 2018-10-29 2802 * [#711](https://github.com/stripe/stripe-go/pull/711) Set `Request.GetBody` when making requests 2803 * [#711](https://github.com/stripe/stripe-go/pull/711) Drop support for Go 1.7 (hasn't been supported by Go core since the release of Go 1.9 in August 2017) 2804 2805 ## 51.4.0 - 2018-10-19 2806 * [#708](https://github.com/stripe/stripe-go/pull/708) Add Stripe Terminal endpoints to master to `client.API` 2807 2808 ## 51.3.0 - 2018-10-09 2809 * [#704](https://github.com/stripe/stripe-go/pull/704) Add support for `subscription_cancel_at_period_end` on the Upcoming Invoice API. 2810 2811 ## 51.2.0 - 2018-10-09 2812 * [#702](https://github.com/stripe/stripe-go/pull/702) Add support for `delivery_success` filter when listing Events. 2813 2814 ## 51.1.0 - 2018-10-03 2815 * [#700](https://github.com/stripe/stripe-go/pull/700) Add support for `on_behalf_of` on Subscription and Charge resources. 2816 2817 ## 51.0.0 - 2018-09-27 2818 * [#698](https://github.com/stripe/stripe-go/pull/698) Move to API version 2018-09-24 2819 * Rename `FileUpload` to `File` (and all `FileUpload*` structs to `File*`) 2820 * Fix file links client 2821 2822 ## 50.0.0 - 2018-09-24 2823 * [#695](https://github.com/stripe/stripe-go/pull/695) Rename `Transaction` to `DisputedTransaction` in `IssuingDisputeParams` (minor breaking change) 2824 * [#695](https://github.com/stripe/stripe-go/pull/695) Add support for Stripe Terminal 2825 2826 ## 49.2.0 - 2018-09-24 2827 * [#697](https://github.com/stripe/stripe-go/pull/697) Fix `number` JSON tag on the `IssuingCardDetails` resource. 2828 2829 ## 49.1.0 - 2018-09-11 2830 * [#694](https://github.com/stripe/stripe-go/pull/694) Add `ErrorCodeResourceMissing` error code constant 2831 2832 ## 49.0.0 - 2018-09-11 2833 * [#693](https://github.com/stripe/stripe-go/pull/693) Change `Product` under `Plan` from a string to a full `Product` struct pointer (this is a minor breaking change -- upgrade by changing to `plan.Product.ID`) 2834 2835 ## 48.3.0 - 2018-09-06 2836 * [#691](https://github.com/stripe/stripe-go/pull/691) Add `InvoicePrefix` to `Customer` and `CustomerParams` 2837 2838 ## 48.2.0 - 2018-09-05 2839 * [#690](https://github.com/stripe/stripe-go/pull/690) Add support for reporting resources 2840 2841 ## 48.1.0 - 2018-09-05 2842 * [#683](https://github.com/stripe/stripe-go/pull/683) Add `StatusTransitions` filter parameters to `OrderListParams` 2843 2844 ## 48.0.0 - 2018-09-05 2845 * [#681](https://github.com/stripe/stripe-go/pull/681) Handle deserialization of `OrderItem` parent into an object if expanded (minor breaking change) 2846 2847 ## 47.0.0 - 2018-09-04 2848 * New major version for better compatibility with Go's new module system (no breaking changes) 2849 2850 ## 46.1.0 - 2018-09-04 2851 * [#688](https://github.com/stripe/stripe-go/pull/688) Encode `Params` in `AppendToAsSourceOrExternalAccount` (bug fix) 2852 * [#689](https://github.com/stripe/stripe-go/pull/689) Add `go.mod` for the new module system 2853 2854 ## 46.0.0 - 2018-09-04 2855 * [#686](https://github.com/stripe/stripe-go/pull/686) Add `Mandate` and `Receiver` to `SourceObjectParams` and change `Date` on `SourceMandateAcceptance` to `int64` (minor breaking change) 2856 2857 ## 45.0.0 - 2018-08-30 2858 * [#680](https://github.com/stripe/stripe-go/pull/680) Change `SubscriptionTaxPercent` on `Invoice` from `int64` to `float64` (minor breaking change) 2859 2860 ## 44.0.0 - 2018-08-28 2861 * [#678](https://github.com/stripe/stripe-go/pull/678) Allow payment intent capture to take its own parameters 2862 2863 ## 43.1.1 - 2018-08-28 2864 * [#675](https://github.com/stripe/stripe-go/pull/675) Fix incorrectly encoded parameter in `UsageRecordSummaryListParams` 2865 2866 ## 43.1.0 - 2018-08-28 2867 * [#669](https://github.com/stripe/stripe-go/pull/669) Add `AuthorizationCode` to `Charge` 2868 * [#671](https://github.com/stripe/stripe-go/pull/671) Fix deserialization of `TaxID` on `CustomerTaxInfo` 2869 2870 ## 43.0.0 - 2018-08-23 2871 * [#668](https://github.com/stripe/stripe-go/pull/668) Move to API version 2018-08-23 2872 * Add `TaxInfo` and `TaxInfoVerification` to `Customer` 2873 * Rename `Amount` to `UnitAmount` on `PlanTierParams` 2874 * Remove `BusinessVATID` from `Customer` 2875 * Remove `AtPeriodEnd` from `SubscriptionCancelParams` 2876 2877 ## 42.3.0 - 2018-08-23 2878 * [#667](https://github.com/stripe/stripe-go/pull/667) Add `Forgive` to `InvoicePayParams` 2879 2880 ## 42.2.0 - 2018-08-22 2881 * [#666](https://github.com/stripe/stripe-go/pull/666) Add `Subscription` to `SubscriptionItem` 2882 2883 ## 42.1.0 - 2018-08-22 2884 * [#664](https://github.com/stripe/stripe-go/pull/664) Add `AvailablePayoutMethods` to `Card` 2885 2886 ## 42.0.0 - 2018-08-20 2887 * [#663](https://github.com/stripe/stripe-go/pull/663) Add support for usage record summaries and rename `Live` on `IssuerFraudRecord, `SourceTransaction`, and `UsageRecord` to `Livemode` (a minor breaking change) 2888 2889 ## 41.0.0 - 2018-08-17 2890 * [#659](https://github.com/stripe/stripe-go/pull/659) Remove mutating Bitcoin receiver API calls (these were no longer functional anyway) 2891 * [#661](https://github.com/stripe/stripe-go/pull/661) Correct `IssuingCardShipping`'s type to `int64` 2892 * [#662](https://github.com/stripe/stripe-go/pull/662) Rename `IssuingCardShipping`'s `Eta` to `ETA` 2893 2894 ## 40.2.0 - 2018-08-15 2895 * [#657](https://github.com/stripe/stripe-go/pull/657) Use integer-indexed encoding for all arrays 2896 2897 ## 40.1.0 - 2018-08-10 2898 * [#656](https://github.com/stripe/stripe-go/pull/656) Expose new `ValidatePayload` functions for validating incoming payloads without constructing an event 2899 2900 ## 40.0.2 - 2018-08-07 2901 * [#652](https://github.com/stripe/stripe-go/pull/652) Change the type of `FileUpload.Links` to `FileLinkList` (this is a bug fix given that the previous type would never have worked) 2902 2903 ## 40.0.1 - 2018-08-07 2904 * [#653](https://github.com/stripe/stripe-go/pull/653) All `BackendImplementation`s should sleep by default on retries 2905 2906 ## 40.0.0 - 2018-08-06 2907 * [#648](https://github.com/stripe/stripe-go/pull/648) Introduce buffers so a request's body can be read multiple times (this modifies the interface of a few exported internal functions so it's technically breaking, but it will probably not be breaking for most users) 2908 * [#649](https://github.com/stripe/stripe-go/pull/649) Rename `BackendConfiguration` to `BackendImplementation` (likewise, technically breaking, but minor) 2909 * [#650](https://github.com/stripe/stripe-go/pull/650) Export `webhook.ComputeSignature` 2910 2911 ## 39.0.0 - 2018-08-04 2912 * [#646](https://github.com/stripe/stripe-go/pull/646) Set request body before every retry (this modifies the interface of a few exported internal functions so it's technically breaking, but it will probably not be breaking for most users) 2913 2914 ## 38.2.0 - 2018-08-03 2915 * [#644](https://github.com/stripe/stripe-go/pull/644) Add support for file links 2916 * [#645](https://github.com/stripe/stripe-go/pull/645) Add support for `Cancel` to topups 2917 2918 ## 38.1.0 - 2018-08-01 2919 * [#643](https://github.com/stripe/stripe-go/pull/643) Bug fix and various code/logging improvements to retry code 2920 2921 ## 38.0.0 - 2018-07-30 2922 * [#641](https://github.com/stripe/stripe-go/pull/641) Minor breaking changes to correct a few naming inconsistencies: 2923 * `IdentityVerificationDetailsCodeScanIdCountryNotSupported` becomes `IdentityVerificationDetailsCodeScanIDCountryNotSupported` 2924 * `IdentityVerificationDetailsCodeScanIdTypeNotSupported` becomes `IdentityVerificationDetailsCodeScanIDTypeNotSupported` 2925 * `BitcoinUri` on `BitcoinReceiver` becomes `BitcoinURI` 2926 * `NetworkId` on `IssuingAuthorization` becomes `NetworkID` 2927 2928 ## 37.0.0 - 2018-07-30 2929 * [#637](https://github.com/stripe/stripe-go/pull/637) Add support for Sigma scheduled query runs 2930 * [#639](https://github.com/stripe/stripe-go/pull/639) Move to API version `2018-07-27` (breaking) 2931 * Remove `SKUs` from `Product` 2932 * Subscription creation and update can no longer take a source 2933 * Change `PercentOff` on coupon struct and params from integer to float 2934 * [#640](https://github.com/stripe/stripe-go/pull/640) Add missing field `Created` to `Account` 2935 2936 ## 36.3.0 - 2018-07-27 2937 * [#636](https://github.com/stripe/stripe-go/pull/636) Add `RiskScore` to `ChargeOutcome` 2938 2939 ## 36.2.0 - 2018-07-26 2940 * [#635](https://github.com/stripe/stripe-go/pull/635) Add support for Stripe Issuing 2941 2942 ## 36.1.2 - 2018-07-24 2943 * [#633](https://github.com/stripe/stripe-go/pull/633) Fix encoding of list params for bank accounts and cards 2944 2945 ## 36.1.1 - 2018-07-17 2946 * [#627](https://github.com/stripe/stripe-go/pull/627) Wire an `http.Client` from `NewBackends` through to backends 2947 2948 ## 36.1.0 - 2018-07-11 2949 * [#624](https://github.com/stripe/stripe-go/pull/624) Add `AutoAdvance` for `Invoice` 2950 2951 ## 36.0.0 - 2018-07-09 2952 * [#606](https://github.com/stripe/stripe-go/pull/606) Add support for payment intents 2953 * [#623](https://github.com/stripe/stripe-go/pull/623) Changed `Payout.Destination` from `string` to `*PayoutDestination` to support expanding (minor breaking change) 2954 2955 ## 35.13.0 - 2018-07-06 2956 * [#622](https://github.com/stripe/stripe-go/pull/622) Correct position of `DeclineChargeOn` (it was added accidentally on `LegalEntityParams` when it should have been on `AccountParams`) 2957 2958 ## 35.12.0 - 2018-07-05 2959 * [#620](https://github.com/stripe/stripe-go/pull/620) Add support for `Quantity` and `UnitAmount` to `InvoiceItemParams` and `Quantity` to `InvoiceItem` 2960 2961 ## 35.11.0 - 2018-07-05 2962 * [#618](https://github.com/stripe/stripe-go/pull/618) Add support for `DeclineChargeOn` to `Account` and `AccountParams` 2963 2964 ## 35.10.0 - 2018-07-04 2965 * [#616](https://github.com/stripe/stripe-go/pull/616) Adding missing clients to the `API` struct including a `UsageRecords` entry 2966 2967 ## 35.9.0 - 2018-07-03 2968 * [#611](https://github.com/stripe/stripe-go/pull/611) Introduce `GetBackendWithConfig` and make logging configurable per backend 2969 2970 ## 35.8.0 - 2018-06-28 2971 * [#607](https://github.com/stripe/stripe-go/pull/607) Add support for `PartnerID` from `stripe.SetAppInfo` 2972 2973 ## 35.7.0 - 2018-06-26 2974 * [#604](https://github.com/stripe/stripe-go/pull/604) Add extra parameters `CustomerReference` and `ShippingFromZip` to `ChargeLevel3Params` and `ChargeLevel3` 2975 2976 ## 35.6.0 - 2018-06-25 2977 * [#603](https://github.com/stripe/stripe-go/pull/603) Add support for Level III data on charge creation 2978 2979 ## 35.5.0 - 2018-06-22 2980 * [#601](https://github.com/stripe/stripe-go/pull/601) Add missing parameters for retrieving an upcoming invoice 2981 2982 ## 35.4.0 - 2018-06-21 2983 * [#599](https://github.com/stripe/stripe-go/pull/599) Add `ExchangeRate` to `BalanceTransaction` 2984 2985 ## 35.3.0 - 2018-06-20 2986 * [#596](https://github.com/stripe/stripe-go/pull/596) Add `Type` to `ProductListParams` so that products can be listed by type 2987 2988 ## 35.2.0 - 2018-06-19 2989 * [#595](https://github.com/stripe/stripe-go/pull/595) Add `Product` to `PlanListParams` so that plans can be listed by product 2990 2991 ## 35.1.0 - 2018-06-17 2992 * [#592](https://github.com/stripe/stripe-go/pull/592) Add `Name` field to `Coupon` and `CouponParams` 2993 2994 ## 35.0.0 - 2018-06-15 2995 * [#557](https://github.com/stripe/stripe-go/pull/557) Add automatic retries for intermittent errors (enabling using `BackendConfiguration.SetMaxNetworkRetries`) 2996 * [#589](https://github.com/stripe/stripe-go/pull/589) Fix all `Get` methods to support standardized parameter structs + remove some deprecated functions 2997 * `IssuerFraudRecordListParams` now uses `*string` for `Charge` (set it using `stripe.String` like elsewhere) 2998 * `event.Get` now takes `stripe.EventParams` instead of `Params` for consistency 2999 * The `Get` method for `countryspec`, `exchangerate`, `issuerfraudrecord` now take an extra params struct parameter to be consistent and allow setting a connected account (use `stripe.CountrySpecParams`, `stripe.ExchangeRateParams`, and `IssuerFraudRecordParams`) 3000 * `charge.MarkFraudulent` and `charge.MarkSafe` have been removed; use `charge.Update` instead 3001 * `charge.CloseDispute` and `charge.UpdateDispute` have been removed; use `dispute.Update` or `dispute.Close` instead 3002 * `loginlink.New` now properly passes its params struct into its API call 3003 3004 ## 34.3.0 - 2018-06-14 3005 * [#587](https://github.com/stripe/stripe-go/pull/587) Use `net/http` constants instead of string literals for HTTP verbs (this is an internal cleanup and should not affect library behavior) 3006 3007 ## 34.2.0 - 2018-06-14 3008 * [#581](https://github.com/stripe/stripe-go/pull/581) Push parameter encoding into `BackendConfiguration.Call` (this is an internal cleanup and should not affect library behavior) 3009 3010 ## 34.1.0 - 2018-06-13 3011 * [#586](https://github.com/stripe/stripe-go/pull/586) Add `AmountPaid`, `AmountRemaining`, `BillingReason` (including new `InvoiceBillingReason` and constants), and `SubscriptionProrationDate` to `Invoice` 3012 3013 ## 34.0.0 - 2018-06-12 3014 * [#585](https://github.com/stripe/stripe-go/pull/585) Remove `File` in favor of `FileUpload`, and consolidating both classes which were already nearly identical except `MIMEType` has been replaced by `Type` (this is technically a breaking change, but quite a small one) 3015 3016 ## 33.1.0 - 2018-06-12 3017 * [#578](https://github.com/stripe/stripe-go/pull/578) Improve expansion parsing by not discarding unmarshal errors 3018 3019 ## 33.0.0 - 2018-06-11 3020 * [#583](https://github.com/stripe/stripe-go/pull/583) Add new account constants, rename one, and fix `DueBy` (this is technically a breaking change, but quite a small one) 3021 3022 ## 32.4.1 - 2018-06-11 3023 * [#582](https://github.com/stripe/stripe-go/pull/582) Fix unmarshaling of `LegalEntity` (specifically when we have `legal_entity[additional_owners][][verification]`) so that it comes out as a struct 3024 3025 ## 32.4.0 - 2018-06-07 3026 * [#577](https://github.com/stripe/stripe-go/pull/577) Add `DocumentBack` to account legal entity identity verification parameters and response 3027 3028 ## 32.3.0 - 2018-06-07 3029 * [#576](https://github.com/stripe/stripe-go/pull/576) Fix plan transform usage to use `BucketSize` instead of `DivideBy`; note this is technically a breaking API change, but we've released it as a minor because the previous manifestation didn't work 3030 3031 ## 32.2.0 - 2018-06-06 3032 * [#571](https://github.com/stripe/stripe-go/pull/571) Add `HostedInvoiceURL` and `InvoicePDF` to `Invoice` 3033 * [#573](https://github.com/stripe/stripe-go/pull/573) Add `FormatURLPath` helper to allow safer URL path building 3034 3035 ## 32.1.0 - 2018-06-06 3036 * [#572](https://github.com/stripe/stripe-go/pull/572) Add `Active` to plan parameters and response 3037 3038 ## 32.0.1 - 2018-06-06 3039 * [#569](https://github.com/stripe/stripe-go/pull/569) Fix unmarshaling of expanded transaction sources in balance transactions 3040 3041 ## 32.0.0 - 2018-06-06 3042 * [#544](https://github.com/stripe/stripe-go/pull/544) **MAJOR** changes that make all fields on parameter structs pointers, and rename many fields on parameter and response structs to be consistent with naming in the REST API; we've written [a migration guide with complete details](https://github.com/stripe/stripe-go/blob/master/v32_migration_guide.md) to help with the upgrade 3043 3044 ## 31.0.0 - 2018-06-06 3045 * [#566](https://github.com/stripe/stripe-go/pull/566) Support `DisputeParams` in `dispute.Close` 3046 3047 ## 30.8.1 - 2018-05-24 3048 * [#562](https://github.com/stripe/stripe-go/pull/562) Add `go.mod` for vgo support 3049 3050 ## 30.8.0 - 2018-05-22 3051 * [#558](https://github.com/stripe/stripe-go/pull/558) Add `SubscriptionItem` to `InvoiceLine` 3052 3053 ## 30.7.0 - 2018-05-09 3054 * [#552](https://github.com/stripe/stripe-go/pull/552) Add support for issuer fraud records 3055 3056 ## 30.6.1 - 2018-05-04 3057 * [#550](https://github.com/stripe/stripe-go/pull/550) Append standard `Params` as well as card options when encoding `CardParams` 3058 3059 ## 30.6.0 - 2018-04-17 3060 * [#546](https://github.com/stripe/stripe-go/pull/546) Add `SubParams.TrialFromPlan` and `SubItemsParams.ClearUsage` 3061 3062 ## 30.5.0 - 2018-04-09 3063 * [#543](https://github.com/stripe/stripe-go/pull/543) Support listing orders by customer (add `Customer` to `OrderListParams`) 3064 3065 ## 30.4.0 - 2018-04-06 3066 * [#541](https://github.com/stripe/stripe-go/pull/541) Add `Mandate` on `Source` (and associated mandate structs) 3067 3068 ## 30.3.0 - 2018-04-02 3069 * [#538](https://github.com/stripe/stripe-go/pull/538) Introduce flexible billing primitives for subscriptions 3070 3071 ## 30.2.0 - 2018-03-23 3072 * [#535](https://github.com/stripe/stripe-go/pull/535) Add constant for redirect status `not_required` (`RedirectFlowStatusNotRequired`) 3073 3074 ## 30.1.0 - 2018-03-17 3075 * [#534](https://github.com/stripe/stripe-go/pull/534) Add `AmountZero` to `InvoiceItemParams` 3076 3077 ## 30.0.0 - 2018-03-14 3078 * [#533](https://github.com/stripe/stripe-go/pull/533) Make `DestPayment` under `Transfer` expandable by changing it from a string to a `Charge` 3079 3080 ## 29.3.1 - 2018-03-08 3081 * [#530](https://github.com/stripe/stripe-go/pull/530) Fix mixed up types in `CountrySpec.SupportedBankAccountCurrencies` 3082 3083 ## 29.3.0 - 2018-03-01 3084 * [#527](https://github.com/stripe/stripe-go/pull/527) Add `MaidenName`, `PersonalIDNumber`, `PersonalIDNumberProvided` fields to `Owner` struct 3085 3086 ## 29.2.0 - 2018-02-26 3087 * [#525](https://github.com/stripe/stripe-go/pull/525) Support shipping carrier and tracking number in orders 3088 * [#526](https://github.com/stripe/stripe-go/pull/526) Fix ignored `commonParams` when returning an order 3089 3090 ## 29.1.1 - 2018-02-21 3091 * [#522](https://github.com/stripe/stripe-go/pull/522) Bump API version and fix creating plans with a product 3092 3093 ## 29.1.0 - 2018-02-21 3094 * [#520](https://github.com/stripe/stripe-go/pull/520) Add support for topups 3095 3096 ## 29.0.1 - 2018-02-16 3097 **WARNING:** Please use 29.1.1 instead. 3098 * [#519](https://github.com/stripe/stripe-go/pull/519) Correct the implementation of `PaymentSource.MarshalJSON` to also handle bank account sources 3099 3100 ## 29.0.0 - 2018-02-14 3101 **WARNING:** Please use 29.1.1 instead. 3102 * [#518](https://github.com/stripe/stripe-go/pull/518) Bump API version to 2018-02-06 and add support for Product & Plan API 3103 3104 ## 28.12.0 - 2018-02-09 3105 * [#517](https://github.com/stripe/stripe-go/pull/517) Add `BillingCycleAnchor` to `Sub` and `BillingCycleAnchorUnchanged` to `SubParams` 3106 3107 ## 28.11.0 - 2018-01-29 3108 * [#516](https://github.com/stripe/stripe-go/pull/516) Add `AmountZero` to `PlanParams` to it's possible to send zero values when creating or updating a plan 3109 3110 ## 28.10.1 - 2018-01-18 3111 * [#512](https://github.com/stripe/stripe-go/pull/512) Encode empty values found in maps (like `Meta`) 3112 3113 ## 28.10.0 - 2018-01-09 3114 * [#509](https://github.com/stripe/stripe-go/pull/509) Plumb through additional possible errors when unmarshaling polymorphic types (please test your integrations while upgrading) 3115 3116 ## 28.9.0 - 2018-01-08 3117 * [#506](https://github.com/stripe/stripe-go/pull/506) Add support for recursing into slices in `event.GetObjValue` 3118 3119 ## 28.8.0 - 2017-12-12 3120 * [#500](https://github.com/stripe/stripe-go/pull/500) Support sharing for bank accounts and cards (adds `ID` field to bank account and charge parameters) 3121 3122 ## 28.7.0 - 2017-12-05 3123 * [#494](https://github.com/stripe/stripe-go/pull/494) Add `Automatic` to `Payout` struct 3124 3125 ## 28.6.1 - 2017-11-02 3126 * [#492](https://github.com/stripe/stripe-go/pull/492) Correct name of user agent header used to send Go version to Stripe's API 3127 3128 ## 28.6.0 - 2017-10-31 3129 * [#491](https://github.com/stripe/stripe-go/pull/491) Support for exchange rates APIs 3130 3131 ## 28.5.0 - 2017-10-27 3132 * [#488](https://github.com/stripe/stripe-go/pull/488) Support for listing source transactions 3133 3134 ## 28.4.2 - 2017-10-25 3135 * [#486](https://github.com/stripe/stripe-go/pull/486) Send the required `object=bank_account` parameter when adding a bank account through an account 3136 * [#487](https://github.com/stripe/stripe-go/pull/487) Make bank account's `account_holder_name` and `account_holder_type` parameters truly optional 3137 3138 ## 28.4.1 - 2017-10-24 3139 * [#484](https://github.com/stripe/stripe-go/pull/484) Error early when params not specified for card-related API calls 3140 3141 ## 28.4.0 - 2017-10-19 3142 * [#477](https://github.com/stripe/stripe-go/pull/477) Support context on API requests with `Params.Context` and `ListParams.Context` 3143 3144 ## 28.3.2 - 2017-10-19 3145 * [#479](https://github.com/stripe/stripe-go/pull/479) Pass token in only one of `external_account` *or* source when appending card 3146 3147 ## 28.3.1 - 2017-10-17 3148 * [#476](https://github.com/stripe/stripe-go/pull/476) Make initializing new backends concurrency-safe 3149 3150 ## 28.3.0 - 2017-10-10 3151 * [#359](https://github.com/stripe/stripe-go/pull/359) Add support for verify sources (added `Values` on `SourceVerifyParams`) 3152 3153 ## 28.2.0 - 2017-10-09 3154 * [#472](https://github.com/stripe/stripe-go/pull/472) Add support for `statement_descriptor` in source objects 3155 * [#473](https://github.com/stripe/stripe-go/pull/473) Add support for detaching sources from customers 3156 3157 ## 28.1.0 - 2017-10-05 3158 * [#471](https://github.com/stripe/stripe-go/pull/471) Add support for `RedirectFlow.FailureReason` for sources 3159 3160 ## 28.0.1 - 2017-10-03 3161 * [#468](https://github.com/stripe/stripe-go/pull/468) Fix encoding of pointer-based scalars (e.g. `Active *bool` in `Product`) 3162 * [#470](https://github.com/stripe/stripe-go/pull/470) Fix concurrent race in `form` package's encoding caches 3163 3164 ## 28.0.0 - 2017-09-27 3165 * [#467](https://github.com/stripe/stripe-go/pull/467) Change `Product.Get` to include `ProductParams` for request metadata 3166 * [#467](https://github.com/stripe/stripe-go/pull/467) Fix sending extra parameters on product and SKU requests 3167 3168 ## 27.0.2 - 2017-09-26 3169 * [#465](https://github.com/stripe/stripe-go/pull/465) Fix encoding of `CVC` parameter in `CardParams` 3170 3171 ## 27.0.1 - 2017-09-20 3172 * [#461](https://github.com/stripe/stripe-go/pull/461) Fix encoding of `TypeData` under sources 3173 3174 ## 27.0.0 - 2017-09-19 3175 * [#458](https://github.com/stripe/stripe-go/pull/458) Remove `ChargeParams.Token` (this seems like it was added accidentally) 3176 3177 ## 26.0.0 - 2017-09-17 3178 * Introduce `form` package so it's no longer necessary to build conditional structures to encode parameters -- this may result in parameters that were set but previously not encoded to now be encoded so **PLEASE TEST CAREFULLY WHEN UPGRADING**! 3179 * Alphabetize all struct fields -- this may result in position-based struct initialization to fail if it was being used 3180 * Switch to stripe-mock for testing (test suite now runs completely!) 3181 * Remote Displayer interface and Display implementations 3182 * Add `FraudDetails` to `ChargeParams` 3183 * Remove `FraudReport` from `ChargeParams` (use `FraudDetails` instead) 3184 3185 ## 25.2.0 - 2017-09-13 3186 * Add `OnBehalfOf` to charge parameters. 3187 * Add `OnBehalfOf` to subscription parameters. 3188 3189 ## 25.1.0 - 2017-09-06 3190 * Use bearer token authentication for API requests 3191 3192 ## 25.0.0 - 2017-08-21 3193 * All `Del` methods now take params as second argument (which may be `nil`) 3194 * Product `Delete` has been renamed to `Del` for consistency 3195 * Product `Delete` now returns `(*Product, error)` for consistency 3196 * SKU `Delete` has been renamed to `Del` for consistency 3197 * SKU `Delete` now returns `(*SKU, error)` for consistency 3198 3199 ## 24.3.0 - 2017-08-08 3200 * Add `FeeZero` to invoice and `TaxPercentZero` to subscription for zeroing values 3201 3202 ## 24.2.0 - 2017-07-25 3203 * Add "range queries" for supported parameters (e.g. `created[gte]=123`) 3204 3205 ## 24.1.0 - 2017-07-17 3206 * Add metadata to subscription items 3207 3208 ## 24.0.0 - 2017-06-27 3209 `Pay` on invoice now takes specific pay parameters 3210 3211 ## 23.2.1 - 2017-06-26 3212 * Fix bank account retrieval when using a customer ID 3213 3214 ## 23.2.0 - 2017-06-26 3215 * Support sharing path while creating a source 3216 3217 ## 23.1.0 - 2017-06-26 3218 * Add LoginLinks to client list 3219 3220 ## 23.0.0 - 2017-06-23 3221 plan.Del now takes `stripe.PlanParams` as a second argument 3222 3223 ## 22.6.0 - 2017-06-19 3224 * Support for ephemeral keys 3225 3226 ## 22.5.0 - 2017-06-15 3227 * Support for checking webhook signatures 3228 3229 ## 22.4.1 - 2017-06-15 3230 * Fix returned type of subscription items list 3231 * Note: I meant to release this as 22.3.1, but I'm leaving it as it was released 3232 3233 ## 22.3.0 - 2017-06-14 3234 * Fix parameters for subscription items list 3235 3236 ## 22.2.0 - 2017-06-13 3237 * Support subscription items when getting upcoming invoice 3238 * Support setting subscription's quantity to zero when getting upcoming invoice 3239 3240 ## 22.1.1 - 2017-06-12 3241 * Handle `deleted` parameter when updating subscription items in a subscription 3242 3243 ## 22.1.0 - 2017-05-25 3244 * Change `Logger` to a `log.Logger`-like interface so other loggers are usable 3245 3246 ## 22.0.0 - 2017-05-25 3247 * Add support for login links 3248 * Add support for new `Type` for accounts 3249 * Make `Event` `Request` (renamed from `Req`) a struct with a new idempotency key 3250 * Rename `Event` `UserID` to `Account` 3251 3252 ## 21.5.1 - 2017-05-23 3253 * Fix plan update so `TrialPeriod` parameter is sent 3254 3255 ## 21.5.0 - 2017-05-15 3256 * Implement `Get` for `RequestValues` 3257 3258 ## 21.4.1 - 2017-05-11 3259 * Pass extra parameters to API calls on bank account deletion 3260 3261 ## 21.4.0 - 2017-05-04 3262 * Add `Billing` and `DueDate` filters to invoice listing 3263 * Add `Billing` filter to subscription listing 3264 3265 ## 21.3.0 - 2017-05-02 3266 * Add `DetailsCode` to `IdentityVerification` 3267 3268 ## 21.2.0 - 2017-04-19 3269 * Send user agent information with `X-Stripe-Client-User-Agent` 3270 * Add `stripe.SetAppInfo` for plugin authors to register app information 3271 3272 ## 21.1.0 - 2017-04-12 3273 * Allow coupon to be specified when creating orders 3274 * No longer require that items have descriptions when creating orders 3275 3276 ## 21.0.0 - 2017-04-07 3277 * Balances are now retrieved by payout instead of by transfer 3278 3279 ## 20.0.0 - 2017-04-06 3280 * Bump API version to 2017-04-06: https://stripe.com/docs/upgrades#2017-04-06 3281 * Add support for payouts and recipient transfers 3282 * Change the transfer resource to support its new format 3283 * Deprecate recipient creation 3284 * Disputes under charges are now expandable and collapsed by default 3285 * Rules under charge outcomes are now expandable and collapsed by default 3286 3287 ## 19.17.0 - 2017-04-06 3288 * Please see 20.0.0 (bad release) 3289 3290 ## 19.16.0 - 2017-03-23 3291 * Allow the ID of an identity document to be passed into an account owner update 3292 3293 ## 19.15.0 - 2017-03-22 3294 * Add `ShippingCarrier` to dispute evidence 3295 3296 ## 19.14.0 - 2017-03-20 3297 * Add `Period`, `Plan`, and `Quantity` to `InvoiceItem` 3298 3299 ## 19.13.0 - 2017-03-20 3300 * Add `AdditionalOwnersEmpty` to allow additional owners to be unset 3301 3302 ## 19.12.0 - 2017-03-17 3303 * Add new form of file upload using `io.FileReader` and filename 3304 3305 ## 19.11.0 - 2017-03-13 3306 * Add `Token` to `SourceObjectParams` 3307 3308 ## 19.10.0 - 2017-03-13 3309 * Add `CouponEmpty` (allowing a coupon to be cleared) to customer parameters 3310 * Add `CouponEmpty` (allowing a coupon to be cleared) to subscription parameters 3311 3312 ## 19.9.0 - 2017-03-08 3313 * Add missing value "all" to subscription statuses 3314 3315 ## 19.8.0 - 2017-03-02 3316 * Add subscription items client to main `client.API` struct 3317 3318 ## 19.7.0 - 2017-03-01 3319 * Add `Statement` (statement descriptor) to `CaptureParams` 3320 3321 ## 19.6.0 - 2017-02-22 3322 * Add new parameters for invoices and subscriptions 3323 3324 ## 19.5.0 - 2017-02-13 3325 * Add new rich `Destination` type to `ChargeParams` 3326 3327 ## 19.4.0 - 2017-02-03 3328 * Support Connect account as payment source 3329 3330 ## 19.3.0 - 2017-02-02 3331 * Add transfer group to charges and transfers 3332 3333 ## 19.2.0 - 2017-01-23 3334 * Add `Rule` to `ChargeOutcome` 3335 3336 ## 19.1.0 - 2017-01-18 3337 * Add support for updating sources 3338 3339 ## 19.0.2 - 2017-01-04 3340 * Fix subscription `trial_period_days` to be populated by the right value 3341 3342 ## 19.0.1 - 2016-12-08 3343 * Include verification document details when persisting `LegalEntity` 3344 3345 ## 19.0.0 - 2016-12-07 3346 * Remote `SubProrationDateNow` field from `InvoiceParams` 3347 3348 ## 18.14.1 - 2016-12-05 3349 * Truncate `tax_percent` at four decimals (e.g. 3.9750%) instead of two 3350 3351 ## 18.14.0 - 2016-11-23 3352 * Add retrieve method for 3-D Secure resources 3353 3354 ## 18.13.0 - 2016-11-15 3355 * Add `PaymentSource` to `API` 3356 3357 ## 18.12.0 - 2016-11-14 3358 * Allow bank accounts to be created as a customer source 3359 3360 ## 18.11.0 - 2016-11-14 3361 * Add `TrialPeriodEnd` to `SubParams` 3362 3363 ## 18.10.0 - 2016-11-09 3364 * Add `StatusTransitions` to `Order` 3365 3366 ## 18.9.0 - 2016-11-04 3367 * Add `Application` to `Charge` 3368 3369 ## 18.8.0 - 2016-10-24 3370 * Add `Review` to `Charge` for the charge reviews 3371 3372 ## 18.7.0 - 2016-10-18 3373 * Add `RiskLevel` to `ChargeOutcome` 3374 3375 ## 18.6.0 - 2016-10-18 3376 * Support for 403 status codes (permission denied) 3377 3378 ## 18.5.0 - 2016-10-18 3379 * Add `Status` to `SubListParams` to allow filtering subscriptions by status 3380 3381 ## 18.4.0 - 2016-10-14 3382 * Add `HasEvidence` and `PastDue` to `EvidenceDetails` 3383 3384 ## 18.3.0 - 2016-10-10 3385 * Add `NoDiscountable` to `InvoiceItemParams` 3386 3387 ## 18.2.0 - 2016-10-10 3388 * Add `BusinessLogo` to `Account` 3389 * Add `ReceiptNumber` to `Charge` 3390 * Add `DestPayment` to `Transfer` 3391 3392 ## 18.1.0 - 2016-10-04 3393 * Support for Apple Pay domains 3394 3395 ## 18.0.0 - 2016-10-03 3396 * Support for subscription items 3397 * Correct `SourceTx` on `Transfer` to be a `SourceTransaction` 3398 * Change `Charge` on `Resource` to be expandable (now a struct instead of string) 3399 3400 ## 17.5.0 - 2016-09-22 3401 * Support customer-related operations for bank accounts 3402 3403 ## 17.4.2 - 2016-09-19 3404 * Fix but where some parameters were not being included on order update 3405 3406 ## 17.4.1 - 2016-09-15 3407 * Fix bug that required a date of birth to be included on account update 3408 3409 ## 17.4.0 - 2016-09-13 3410 * Add missing Kana and Kanji address and name fields to account's legal entity 3411 * Add `ReceiptNumber` and `Status` to `Refund` 3412 3413 ## 17.3.0 - 2016-09-07 3414 * Add support for sources endpoint 3415 3416 ## 17.2.0 - 2016-08-29 3417 * Add order returns to `API` 3418 3419 ## 17.1.0 - 2016-08-22 3420 * Add `DeactiveOn` to `Product` 3421 3422 ## 17.0.0 - 2016-08-18 3423 * Allow expansion of destination on transfers 3424 * Allow expansion of sources on balance transactions 3425 3426 ## 16.8.0 - 2016-08-17 3427 * Add `OriginatingTransaction` to `Fee` 3428 3429 ## 16.7.1 - 2016-08-17 3430 * Allow params to be nil when retrieving a refund 3431 3432 ## 16.7.0 - 2016-08-11 3433 * Add support for 3-D Secure 3434 3435 ## 16.6.0 - 2016-08-09 3436 * Add `ReceiptNumber` to `Invoice` 3437 3438 ## 16.5.0 - 2016-08-08 3439 * Add `Meta` to `Account` 3440 3441 ## 16.4.0 - 2016-08-05 3442 * Allow the migration of recipients to accounts 3443 * Add `MigratedTo` to `Recipient` 3444 3445 ## 16.3.1 - 2016-07-25 3446 * URL-escape the IDs of coupons and plans when making API requests 3447 3448 ## 16.3.0 - 2016-07-19 3449 * Add `NoClosed` to `InvoiceParams` to allow an invoice to be reopened 3450 3451 ## 16.2.1 - 2016-07-11 3452 * Consider `SubParams.QuantityZero` when updating a subscription 3453 3454 ## 16.2.0 - 2016-07-07 3455 * Upgrade API version to 2016-07-06 3456 3457 ## 16.1.0 - 2016-07-07 3458 * Add `Returns` field to `Order` 3459 3460 ## 16.0.0 - 2016-06-30 3461 * Remove `Name` field on `SKU`; it's not actually supported 3462 * Support updating `Product` on `SKU` 3463 3464 ## 15.6.0 - 2016-06-24 3465 * Allow product and SKU attributes to be updated 3466 3467 ## 15.5.0 - 2016-06-24 3468 * Add `TaxPercent` and `TaxPercentZero` to `CustomerParams` 3469 3470 ## 15.4.0 - 2016-06-20 3471 * Add `TokenizationMethod` to `Card` struct 3472 3473 ## 15.3.0 - 2016-06-15 3474 * Add `BalanceZero` to `CustomerParams` so that balance can be zeroed out 3475 3476 ## 15.2.0 - 2016-06-03 3477 * Add `ToValues` to `RequestValues` struct 3478 3479 ## 15.1.0 - 2016-05-26 3480 * Add `BusinessVatID` to customer creation parameters 3481 3482 ## 15.0.0 - 2016-05-24 3483 * Fix handling of nested objects in arrays in request parameters 3484 3485 ## 14.4.0 - 2016-05-24 3486 * Add granular error types in new `Err` field on `stripe.Error` 3487 3488 ## 14.3.0 - 2016-05-20 3489 * Allow Relay orders to be returned and add associated types 3490 3491 ## 14.2.3 - 2016-05-20 3492 * When creating a bank account token, only send routing number if it's been set 3493 3494 ## 14.2.2 - 2016-05-17 3495 * When creating a bank account, only send routing number if it's been set 3496 3497 ## 14.2.1 - 2016-05-17 3498 * Add missing SKU clinet to client API type 3499 3500 ## 14.2.0 - 2016-05-11 3501 * Add `Reversed` and `AmountReversed` fields to `Transfer` 3502 3503 ## 14.1.0 - 2016-05-05 3504 * Allow `default_for_currency` to be set when creating a card 3505 3506 ## 14.0.0 - 2016-05-04 3507 * Change the signature for `sub.Delete`. The customer ID is no longer required. 3508 3509 ## 13.12.0 - 2016-04-28 3510 * Add `Currency` to `Card` 3511 3512 ## 13.11.1 - 2016-04-22 3513 * Fix bug where new external accounts could not be marked default from token 3514 3515 ## 13.11.0 - 2016-04-21 3516 * Expose a number of list types that were previously internal (full list below) 3517 * Expose `stripe.AccountList` 3518 * Expose `stripe.TransactionList` 3519 * Expose `stripe.BitcoinReceiverList` 3520 * Expose `stripe.ChargeList` 3521 * Expose `stripe.CountrySpecList` 3522 * Expose `stripe.CouponList` 3523 * Expose `stripe.CustomerList` 3524 * Expose `stripe.DisputeList` 3525 * Expose `stripe.EventList` 3526 * Expose `stripe.FeeList` 3527 * Expose `stripe.FileUploadList` 3528 * Expose `stripe.InvoiceList` 3529 * Expose `stripe.OrderList` 3530 * Expose `stripe.ProductList` 3531 * Expose `stripe.RecipientList` 3532 * Expose `stripe.TransferList` 3533 * Switch to use of `stripe.BitcoinTransactionList` 3534 * Switch to use of `stripe.SKUList` 3535 3536 ## 13.10.1 - 2016-04-20 3537 * Add support for `TaxPercentZero` to invoice and subscription updates 3538 3539 ## 13.10.0 - 2016-04-19 3540 * Expose `stripe.PlanList` (previously an internal type) 3541 3542 ## 13.9.0 - 2016-04-18 3543 * Add `TaxPercentZero` struct to `InvoiceParams` 3544 * Add `TaxPercentZero` to `SubParams` 3545 3546 ## 13.8.0 - 2016-04-12 3547 * Add `Outcome` struct to `Charge` 3548 3549 ## 13.7.0 - 2016-04-06 3550 * Add `Description`, `IIN`, and `Issuer` to `Card` 3551 3552 ## 13.6.0 - 2016-04-05 3553 * Add `SourceType` (and associated constants) to `Transfer` 3554 3555 ## 13.5.0 - 2016-03-29 3556 * Add `Meta` (metadata) to `BankAccount` 3557 3558 ## 13.4.0 - 2016-03-29 3559 * Add `Meta` (metadata) to `Card` 3560 3561 ## 13.3.0 - 2016-03-29 3562 * Add `DefaultCurrency` to `CountrySpec` 3563 3564 ## 13.2.0 - 2016-03-18 3565 * Add `SourceTransfer` to `Charge` 3566 * Add `SourceTx` to `Transfer` 3567 3568 ## 13.1.0 - 2016-03-15 3569 * Add `Reject` on `Account` to support the new API feature 3570 3571 ## 13.0.0 - 2016-03-15 3572 * Upgrade API version to 2016-03-07 3573 * Remove `Account.BankAccounts` in favor of `ExternalAccounts` 3574 * Remove `Account.Currencies` in favor of `CountrySpec` 3575 3576 ## 12.1.0 - 2016-02-04 3577 * Add `ListParams.StripeAccount` for making list calls on behalf of connected accounts 3578 * Add `Params.StripeAccount` for symmetry with `ListParams.StripeAccount` 3579 * Deprecate `Params.Account` in favor of `Params.StripeAccount` 3580 3581 ## 12.0.0 - 2016-02-02 3582 * Add support for fetching events for managed accounts (`event.Get` now takes `Params`) 3583 3584 ## 11.5.0 - 2016-02-26 3585 * Allow a `PII.PersonalIDNumber` number to be used to create a token 3586 3587 ## 11.4.0 - 2016-02-24 3588 * Add missing subscription fields to `InvoiceParams` for use with `invoice.GetNext` 3589 3590 ## 11.3.0 - 2016-02-19 3591 * Add `AccountHolderName` and `AccountHolderType` to bank accounts 3592 3593 ## 11.2.0 - 2016-02-11 3594 * Add support for `CountrySpec` 3595 * Add `SSNProvided`, `PersonalIDProvided` and `BusinessTaxIDProvided` to `LegalEntity` 3596 3597 ## 11.1.2 - 2016-02-02 3598 * Fix card update method to correctly take expiration date 3599 3600 ## 11.1.1 - 2016-02-01 3601 * Fix recipient update so that it can take a bank token (like create) 3602 3603 ## 11.0.1 - 2016-01-11 3604 * Add missing field `country` to shipping details of `Charge` and `Customer` 3605 3606 ## 11.0.0 - 2016-01-07 3607 * Add missing field `Default` to `BankAccount` 3608 * Add `OrderParams` parameter to `Order` retrieval 3609 * Fix parameter bug when creating a new `Order` 3610 * Support special value of 'now' for trial end when updating subscriptions 3611 3612 ## 10.3.0 - 2015-12-10 3613 * Allow an account to be referenced when creating a card 3614 3615 ## 10.2.0 - 2015-12-04 3616 * Add `Update` function on `Coupon` client so that metadata can be set 3617 3618 ## 10.1.0 - 2015-12-01 3619 * Add a verification routine for external accounts 3620 3621 ## 10.0.0 - 2015-11-30 3622 * Return models along with `error` when deleting resources with `Del` 3623 * Fix bug where country parameter wasn't included for some account creation 3624 3625 ## 9.0.0 - 2015-11-13 3626 * Return model (`Sub`) when cancelling a subscription (`sub.Cancel`) 3627 3628 ## 8.0.0 - 2015-08-17 3629 * Add ability to list and retrieve refunds without a Charge 3630 3631 ## 7.0.0 - 2015-08-03 3632 * Add ability to list and retrieve disputes 3633 3634 ## 6.8.0 - 2015-07-29 3635 * Add ability to delete an account 3636 3637 ## 6.7.1 - 2015-07-17 3638 * Bug fixes 3639 3640 ## 6.7.0 - 2015-07-16 3641 * Expand logging object 3642 * Move proration date to subscription update 3643 * Send country when creating/updating account 3644 3645 ## 6.6.0 - 2015-07-06 3646 * Add request ID to errors 3647 3648 ## 6.5.0 - 2015-07-06 3649 * Update bank account creation API 3650 * Add destination, application fee, transfer to Charge struct 3651 * Add missing fields to invoice line item 3652 * Rename deprecated customer param value 3653 3654 ## 6.4.2 - 2015-06-23 3655 * Add BusinessUrl, BusinessUrl, BusinessPrimaryColor, SupportEmail, and 3656 * SupportUrl to Account. 3657 3658 ## 6.4.1 - 2015-06-16 3659 * Change card.dynamic_last_four to card.dynamic_last4 3660 3661 ## 6.4.0 - 2015-05-28 3662 * Rename customer.default_card -> default_source 3663 3664 ## 6.3.0 - 2015-05-19 3665 * Add shipping address to charges 3666 * Expose card.dynamic_last_four 3667 * Expose account.tos_acceptance 3668 * Bug fixes 3669 * Bump API version to most recent one 3670 3671 ## 6.2.0 - 2015-04-09 3672 * Bug fixes 3673 * Add Extra to parameters 3674 3675 ## 6.1.0 - 2015-03-17 3676 * Add TaxPercent for subscriptions 3677 * Event bug fixes 3678 3679 ## 6.0.0 - 2015-03-15 3680 * Add more operations for /accounts endpoint 3681 * Add /transfers/reversals endpoint 3682 * Add /accounts/bank_accounts endpoint 3683 * Add support for Stripe-Account header 3684 3685 ## 5.1.0 - 2015-02-25 3686 * Add new dispute status `warning_closed` 3687 * Add SubParams.TrialEndNow to support `trial_end = "now"` 3688 3689 ## 5.0.1 - 2015-02-25 3690 * Fix URL for upcoming invoices 3691 3692 ## 5.0.0 - 2015-02-19 3693 * Bump to API version 2014-02-18 3694 * Change Card, DefaultCard, Cards to Source, DefaultSource, Sources in Stripe response objects 3695 * Add paymentsource package for manipulating Customer's sources 3696 * Support Update action for Bitcoin Receivers 3697 3698 ## 4.4.3 - 2015-02-08 3699 * Modify NewIdempotencyKey() algorithm to increase likelihood of randomness 3700 3701 ## 4.4.2 - 2015-01-24 3702 * Add BankAccountParams.Token 3703 * Add Token.ClientIP 3704 * Add LogLevel 3705 3706 ## 4.4.0 - 2015-01-20 3707 * Add Bitcoin support 3708 3709 ## 4.3.0 - 2015-01-13 3710 * Added support for listing FileUploads 3711 * Mime parameter on FileUpload has been changed to Type 3712 3713 ## 4.2.1 - 2014-12-28 3714 * Handle charges with customer card tokens 3715 3716 ## 4.2.0 - 2014-12-18 3717 * Add idempotency support 3718 3719 ## 4.1.0 - 2014-12-17 3720 * Bump to API version 2014-12-17. 3721 3722 ## 4.0.0 - 2014-12-16 3723 * Add FileUpload resource. This brings in a new endpoint (uploads.stripe.com) and thus makes changes to some of the existing interfaces. 3724 * This also adds support for multipart content. 3725 3726 ## 3.1.0 - 2014-12-16 3727 * Add Charge.FraudDetails 3728 3729 ## 3.0.1 - 2014-12-15 3730 * Add timeout value to HTTP requests 3731 3732 ## 3.0.0 - 2014-12-05 3733 * Add Dispute.EvidenceDetails 3734 * Remove Dispute.DueDate 3735 * Change Dispute.Evidence from string to struct 3736 3737 ## 2.0.0 - 2014-11-26 3738 * Change List interface to .Next() and .Resource() 3739 * Better error messages for Get() methods 3740 * EventData.Raw contains the raw event message 3741 * SubParams.QuantityZero can be used for free subscriptions 3742 3743 ## 1.0.3 - 2014-10-22 3744 * Add AddMeta method 3745 3746 ## 1.0.2 - 2014-09-23 3747 * Minor fixes 3748 3749 ## 1.0.1 - 2014-09-23 3750 * Linter-based updates 3751 3752 ## 1.0.0 - 2014-09-22 3753 * Initial version