Skip to content

Update generated code for beta #2096

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 34 commits into
base: beta
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
34 commits
Select commit Hold shift + click to select a range
0f16cc1
Update generated code (#2088)
stripe-openapi[bot] Jul 30, 2025
44b378e
Bump version to 82.4.0
ramya-stripe Jul 30, 2025
9fe5ffe
Use Go 1.24 in CI (#2097)
mbroshi-stripe Jul 31, 2025
9a08760
Bug fixes for `V1BankAccounts` and `V1Cards` services (#2098)
mbroshi-stripe Aug 3, 2025
8caad57
Add missing parameters to Card and BankAccount services (#2102)
mbroshi-stripe Aug 6, 2025
0f6eccf
Merge upstream and update generated code for v1893 and 2025-07-30.pre…
stripe-openapi[bot] Aug 8, 2025
45b48db
Update generated code for v1895 and 2025-07-30.preview
stripe-openapi[bot] Aug 8, 2025
1f7b6ca
Update generated code for v1896 and 2025-07-30.preview
stripe-openapi[bot] Aug 11, 2025
acfe060
Bump version to 82.4.1
mbroshi-stripe Aug 11, 2025
f67edc7
Merge upstream and update generated code for v1896 and 2025-07-30.pre…
stripe-openapi[bot] Aug 11, 2025
c746bd1
Update generated code for v1897 and 2025-07-30.preview
stripe-openapi[bot] Aug 11, 2025
655ec4e
Update generated code for v1898 and 2025-07-30.preview
stripe-openapi[bot] Aug 11, 2025
54d0882
Update generated code for v1901 and 2025-07-30.preview
stripe-openapi[bot] Aug 12, 2025
50815c9
Update generated code for v1902 and 2025-07-30.preview
stripe-openapi[bot] Aug 12, 2025
c36e39f
Update generated code for v1905 and 2025-07-30.preview
stripe-openapi[bot] Aug 13, 2025
c3a4bc4
Update generated code for v1908 and 2025-07-30.preview
stripe-openapi[bot] Aug 13, 2025
1839b20
Update generated code for v1909 and 2025-07-30.preview
stripe-openapi[bot] Aug 13, 2025
86c9de3
Update generated code for v1909 and 2025-08-27.preview
stripe-openapi[bot] Aug 13, 2025
69ac91e
Update generated code for v1910 and 2025-08-27.preview
stripe-openapi[bot] Aug 13, 2025
66e6775
Update generated code for v1911 and 2025-08-27.preview
stripe-openapi[bot] Aug 14, 2025
45b83cb
Update generated code for v1912 and 2025-08-27.preview
stripe-openapi[bot] Aug 14, 2025
941b0ee
Update generated code for v1913 and 2025-08-27.preview
stripe-openapi[bot] Aug 14, 2025
9f9fd90
Update generated code for v1915 and 2025-08-27.preview
stripe-openapi[bot] Aug 15, 2025
7f8faa1
Update generated code for v1916 and 2025-08-27.preview
stripe-openapi[bot] Aug 15, 2025
f0afa1c
Update generated code for v1918 and 2025-08-27.preview
stripe-openapi[bot] Aug 15, 2025
a07edce
Update generated code for v1920 and 2025-08-27.preview
stripe-openapi[bot] Aug 15, 2025
f7d24d4
Update generated code for v1922 and 2025-08-27.preview
stripe-openapi[bot] Aug 18, 2025
13196b1
Update generated code for v1924 and 2025-08-27.preview
stripe-openapi[bot] Aug 18, 2025
21ab292
Update generated code for v1926 and 2025-08-27.preview
stripe-openapi[bot] Aug 18, 2025
1929c70
Update generated code for v1929 and 2025-08-27.preview
stripe-openapi[bot] Aug 19, 2025
3600bb8
Update generated code for v1930 and 2025-08-27.preview
stripe-openapi[bot] Aug 19, 2025
13c4ecd
Update generated code for v1931 and 2025-08-27.preview
stripe-openapi[bot] Aug 19, 2025
491e2ad
Update generated code for v1932 and 2025-08-27.preview
stripe-openapi[bot] Aug 20, 2025
a9a76e2
Update generated code for v1932 and 2025-08-27.preview
stripe-openapi[bot] Aug 20, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: '1.23'
go-version: '1.24'
check-latest: true
- name: Install govulncheck
run: go install golang.org/x/vuln/cmd/govulncheck@latest
Expand All @@ -57,6 +57,7 @@ jobs:
strategy:
matrix:
go:
- "1.24"
- "1.23"
- "1.22"
- "1.21"
Expand Down
2 changes: 1 addition & 1 deletion API_VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2025-07-30.preview
2025-08-27.preview
29 changes: 28 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,31 @@ This release changes the pinned API version to `2025-07-30.preview`.
* Remove support for thin event `V2CoreAccountLinkCompletedEvent`
* Remove support for thin event `V2OffSessionPaymentRequiresCaptureEvent` with related object `V2PaymentsOffSessionPayment`

## 82.4.1 - 2025-08-11
* [#2102](https://github.com/stripe/stripe-go/pull/2102) Add missing parameters to Card and BankAccount services
* Fixes bugs in `V1Cards` and `V1BankAccounts` services: ensures the new `stripe.Client` pattern supports all parameters previously available in `client.API` for those two services.
* [#2098](https://github.com/stripe/stripe-go/pull/2098) Bug fixes for `V1BankAccounts` and `V1Cards` services
* Fixes bugs in `Create` and `List` methods in `V1BankAccounts` and `V1Cards` services in the `stripe.Client` pattern, which were previously returning errors on any valid inputs.

## 82.4.0 - 2025-07-30
This release changes the pinned API version to `2025-07-30.basil`.

* [#2088](https://github.com/stripe/stripe-go/pull/2088) Update generated code
* Add support for `InstantPayoutsPromotion` on `AccountSessionComponentsParams` and `AccountSessionComponents`
* Add support for `AdjustableQuantity` on `BillingPortalConfigurationFeaturesSubscriptionUpdateProductsParams` and `BillingPortalConfigurationFeaturesSubscriptionUpdateProducts`
* Remove support for value `disabled` from enum `Capability.Status`
* Add support for `TransactionID` on `ChargePaymentMethodDetailsCashapp`
* Add support for `OriginContext` on `CheckoutSessionParams` and `CheckoutSession`
* Add support for `Template` on `CheckoutSessionInvoiceCreationInvoiceDataRenderingOptionsParams`, `CheckoutSessionInvoiceCreationInvoiceDataRenderingOptions`, `PaymentLinkInvoiceCreationInvoiceDataRenderingOptionsParams`, and `PaymentLinkInvoiceCreationInvoiceDataRenderingOptions`
* Add support for `SetupFutureUsage` on `CheckoutSessionPaymentMethodOptionsPixParams` and `CheckoutSessionPaymentMethodOptionsPix`
* Add support for `Duration` on `InvoiceCreatePreviewScheduleDetailsPhaseParams` and `SubscriptionSchedulePhaseParams`
* Change type of `InvoiceCreatePreviewSubscriptionDetailsParams.CancelAt` and `SubscriptionParams.CancelAt` from `DateTime` to `DateTime | enum('max_period_end'|'min_period_end')`
* Add support for `PriceData` on `PaymentLinkLineItemParams`
* Add support for `Standard` on `TaxRegistrationCountryOptionsAeParams`, `TaxRegistrationCountryOptionsAe`, `TaxRegistrationCountryOptionsAlParams`, `TaxRegistrationCountryOptionsAoParams`, `TaxRegistrationCountryOptionsAuParams`, `TaxRegistrationCountryOptionsAu`, `TaxRegistrationCountryOptionsAwParams`, `TaxRegistrationCountryOptionsBaParams`, `TaxRegistrationCountryOptionsBbParams`, `TaxRegistrationCountryOptionsBdParams`, `TaxRegistrationCountryOptionsBfParams`, `TaxRegistrationCountryOptionsBhParams`, `TaxRegistrationCountryOptionsBsParams`, `TaxRegistrationCountryOptionsCdParams`, `TaxRegistrationCountryOptionsChParams`, `TaxRegistrationCountryOptionsCh`, `TaxRegistrationCountryOptionsEtParams`, `TaxRegistrationCountryOptionsGbParams`, `TaxRegistrationCountryOptionsGb`, `TaxRegistrationCountryOptionsGnParams`, `TaxRegistrationCountryOptionsIsParams`, `TaxRegistrationCountryOptionsJpParams`, `TaxRegistrationCountryOptionsJp`, `TaxRegistrationCountryOptionsMeParams`, `TaxRegistrationCountryOptionsMkParams`, `TaxRegistrationCountryOptionsMrParams`, `TaxRegistrationCountryOptionsNoParams`, `TaxRegistrationCountryOptionsNo`, `TaxRegistrationCountryOptionsNzParams`, `TaxRegistrationCountryOptionsNz`, `TaxRegistrationCountryOptionsOmParams`, `TaxRegistrationCountryOptionsRsParams`, `TaxRegistrationCountryOptionsSgParams`, `TaxRegistrationCountryOptionsSg`, `TaxRegistrationCountryOptionsSrParams`, `TaxRegistrationCountryOptionsUyParams`, `TaxRegistrationCountryOptionsZaParams`, and `TaxRegistrationCountryOptionsZwParams`
* Add support for new value `inbound_goods` on enums `TaxRegistrationCountryOptionsAtStandard.PlaceOfSupplyScheme`, `TaxRegistrationCountryOptionsBeStandard.PlaceOfSupplyScheme`, `TaxRegistrationCountryOptionsBgStandard.PlaceOfSupplyScheme`, `TaxRegistrationCountryOptionsCyStandard.PlaceOfSupplyScheme`, `TaxRegistrationCountryOptionsCzStandard.PlaceOfSupplyScheme`, `TaxRegistrationCountryOptionsDeStandard.PlaceOfSupplyScheme`, `TaxRegistrationCountryOptionsDkStandard.PlaceOfSupplyScheme`, `TaxRegistrationCountryOptionsEeStandard.PlaceOfSupplyScheme`, `TaxRegistrationCountryOptionsEsStandard.PlaceOfSupplyScheme`, `TaxRegistrationCountryOptionsFiStandard.PlaceOfSupplyScheme`, `TaxRegistrationCountryOptionsFrStandard.PlaceOfSupplyScheme`, `TaxRegistrationCountryOptionsGrStandard.PlaceOfSupplyScheme`, `TaxRegistrationCountryOptionsHrStandard.PlaceOfSupplyScheme`, `TaxRegistrationCountryOptionsHuStandard.PlaceOfSupplyScheme`, `TaxRegistrationCountryOptionsIeStandard.PlaceOfSupplyScheme`, `TaxRegistrationCountryOptionsItStandard.PlaceOfSupplyScheme`, `TaxRegistrationCountryOptionsLtStandard.PlaceOfSupplyScheme`, `TaxRegistrationCountryOptionsLuStandard.PlaceOfSupplyScheme`, `TaxRegistrationCountryOptionsLvStandard.PlaceOfSupplyScheme`, `TaxRegistrationCountryOptionsMtStandard.PlaceOfSupplyScheme`, `TaxRegistrationCountryOptionsNlStandard.PlaceOfSupplyScheme`, `TaxRegistrationCountryOptionsPlStandard.PlaceOfSupplyScheme`, `TaxRegistrationCountryOptionsPtStandard.PlaceOfSupplyScheme`, `TaxRegistrationCountryOptionsRoStandard.PlaceOfSupplyScheme`, `TaxRegistrationCountryOptionsSeStandard.PlaceOfSupplyScheme`, `TaxRegistrationCountryOptionsSiStandard.PlaceOfSupplyScheme`, and `TaxRegistrationCountryOptionsSkStandard.PlaceOfSupplyScheme`
* Add support for `Aed`, `Bgn`, `Huf`, and `Ron` on `TerminalConfigurationTippingParams` and `TerminalConfigurationTipping`
* [#2086](https://github.com/stripe/stripe-go/pull/2086) update changelog example to feature APIs that are not part of a preview

## 82.4.0-beta.2 - 2025-07-09
* [#2084](https://github.com/stripe/stripe-go/pull/2084) Pull in V2 FinancialAccount changes for June release
* Add support for `Close` and `New` methods on resource `V2MoneyManagementFinancialAccount`
Expand Down Expand Up @@ -76,6 +101,8 @@ This release changes the pinned API version to `2025-06-30.preview`.
* Remove support for error code `outbound_payment_recipient_email_does_not_exist` on `RecipientNotNotifiableError`

## 82.3.0 - 2025-07-01
This release changes the pinned API version to `2025-06-30.basil`.

* [#2078](https://github.com/stripe/stripe-go/pull/2078) Update generated code
* Add support for `Migrate` method on resource `Subscription`
* Add support for `CollectPaymentMethod` and `ConfirmPaymentIntent` methods on resource `TerminalReader`
Expand Down Expand Up @@ -104,7 +131,7 @@ This release changes the pinned API version to `2025-06-30.preview`.
* Add support for new values `collect_payment_method` and `confirm_payment_intent` on enum `TerminalReaderAction.Type`
* Add support for `Status` on `TreasuryFinancialAccountListParams`
* Add support for snapshot event `EventTypeTerminalReaderActionUpdated` with resource `TerminalReader`
* [#2082](https://github.com/stripe/stripe-go/pull/2082) Add form information to amount
* [#2082](https://github.com/stripe/stripe-go/pull/2082) Add form information to amount. Fixes a bug on v2 endpoints that uses the amount type
* [#2076](https://github.com/stripe/stripe-go/pull/2076) Switch to use generated API versions and add major/monthly version constants
* Export constants for the major and monthly API versions
* e.g. `2025-05-28.basil` has major version `basil` and monthly version `2025-05-28`
Expand Down
2 changes: 1 addition & 1 deletion OPENAPI_VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v1868
v1932
4 changes: 2 additions & 2 deletions account.go
Original file line number Diff line number Diff line change
Expand Up @@ -4193,13 +4193,13 @@ type AccountCompanyRegistrationDate struct {
Year int64 `json:"year"`
}
type AccountCompanyVerificationDocument struct {
// The back of a document returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `additional_verification`.
// The back of a document returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `additional_verification`. Note that `additional_verification` files are [not downloadable](https://docs.stripe.com/file-upload#uploading-a-file).
Back *File `json:"back"`
// A user-displayable string describing the verification state of this document.
Details string `json:"details"`
// One of `document_corrupt`, `document_expired`, `document_failed_copy`, `document_failed_greyscale`, `document_failed_other`, `document_failed_test_mode`, `document_fraudulent`, `document_incomplete`, `document_invalid`, `document_manipulated`, `document_not_readable`, `document_not_uploaded`, `document_type_not_supported`, or `document_too_large`. A machine-readable code specifying the verification state for this document.
DetailsCode AccountCompanyVerificationDocumentDetailsCode `json:"details_code"`
// The front of a document returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `additional_verification`.
// The front of a document returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `additional_verification`. Note that `additional_verification` files are [not downloadable](https://docs.stripe.com/file-upload#uploading-a-file).
Front *File `json:"front"`
}

Expand Down
Loading