From ad79e5ddec775ada5e607e25fdb378d7957644f2 Mon Sep 17 00:00:00 2001 From: Stripe OpenAPI <105521251+stripe-openapi[bot]@users.noreply.github.com> Date: Wed, 9 Oct 2024 20:02:33 +0000 Subject: [PATCH] Update generated code for v1284 --- OPENAPI_VERSION | 2 +- lib/stripe/resources/token.rb | 2 +- lib/stripe/services/token_service.rb | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/OPENAPI_VERSION b/OPENAPI_VERSION index 35e0f763..96c839fe 100644 --- a/OPENAPI_VERSION +++ b/OPENAPI_VERSION @@ -1 +1 @@ -v1273 \ No newline at end of file +v1284 \ No newline at end of file diff --git a/lib/stripe/resources/token.rb b/lib/stripe/resources/token.rb index 9ae3b7f6..ffef36de 100644 --- a/lib/stripe/resources/token.rb +++ b/lib/stripe/resources/token.rb @@ -31,7 +31,7 @@ module Stripe end # Creates a single-use token that represents a bank account's details. - # You can use this token with any API method in place of a bank account dictionary. You can only use this token once. To do so, attach it to a [connected account](https://stripe.com/docs/api#accounts) where [controller.requirement_collection](https://stripe.com/api/accounts/object#account_object-controller-requirement_collection) is application, which includes Custom accounts. + # You can use this token with any v1 API method in place of a bank account dictionary. You can only use this token once. To do so, attach it to a [connected account](https://stripe.com/docs/api#accounts) where [controller.requirement_collection](https://stripe.com/api/accounts/object#account_object-controller-requirement_collection) is application, which includes Custom accounts. def self.create(params = {}, opts = {}) request_stripe_object(method: :post, path: "/v1/tokens", params: params, opts: opts) end diff --git a/lib/stripe/services/token_service.rb b/lib/stripe/services/token_service.rb index cf5deabf..49994a74 100644 --- a/lib/stripe/services/token_service.rb +++ b/lib/stripe/services/token_service.rb @@ -4,7 +4,7 @@ module Stripe class TokenService < StripeService # Creates a single-use token that represents a bank account's details. - # You can use this token with any API method in place of a bank account dictionary. You can only use this token once. To do so, attach it to a [connected account](https://stripe.com/docs/api#accounts) where [controller.requirement_collection](https://stripe.com/api/accounts/object#account_object-controller-requirement_collection) is application, which includes Custom accounts. + # You can use this token with any v1 API method in place of a bank account dictionary. You can only use this token once. To do so, attach it to a [connected account](https://stripe.com/docs/api#accounts) where [controller.requirement_collection](https://stripe.com/api/accounts/object#account_object-controller-requirement_collection) is application, which includes Custom accounts. def create(params = {}, opts = {}) request(method: :post, path: "/v1/tokens", params: params, opts: opts, base_address: :api) end