diff --git a/OPENAPI_VERSION b/OPENAPI_VERSION index d646e140..7dc29593 100644 --- a/OPENAPI_VERSION +++ b/OPENAPI_VERSION @@ -1 +1 @@ -v353 \ No newline at end of file +v376 \ No newline at end of file diff --git a/lib/stripe/resources/charge.rb b/lib/stripe/resources/charge.rb index ebdc74b5..c8ca474b 100644 --- a/lib/stripe/resources/charge.rb +++ b/lib/stripe/resources/charge.rb @@ -2,11 +2,10 @@ # frozen_string_literal: true module Stripe - # To charge a credit or a debit card, you create a `Charge` object. You can - # retrieve and refund individual charges as well as list all charges. Charges - # are identified by a unique, random ID. - # - # Related guide: [Accept a payment with the Charges API](https://stripe.com/docs/payments/accept-a-payment-charges) + # The `Charge` object represents a single attempt to move money into your Stripe account. + # PaymentIntent confirmation is the most common way to create Charges, but transferring + # money to a different Stripe account through Connect also creates Charges. + # Some legacy payment flows create Charges directly, which is not recommended for new integrations. class Charge < APIResource extend Stripe::APIOperations::Create extend Stripe::APIOperations::List diff --git a/lib/stripe/resources/login_link.rb b/lib/stripe/resources/login_link.rb index 40e7221a..1196ce7b 100644 --- a/lib/stripe/resources/login_link.rb +++ b/lib/stripe/resources/login_link.rb @@ -2,6 +2,7 @@ # frozen_string_literal: true module Stripe + # Login Links are single-use login link for an Express account to access their Stripe dashboard. class LoginLink < APIResource OBJECT_NAME = "login_link" diff --git a/lib/stripe/resources/token.rb b/lib/stripe/resources/token.rb index 0af31f33..2c6032ef 100644 --- a/lib/stripe/resources/token.rb +++ b/lib/stripe/resources/token.rb @@ -22,8 +22,6 @@ module Stripe # objects or [Custom accounts](https://stripe.com/docs/api#external_accounts). Note that # [Radar](https://stripe.com/docs/radar), our integrated solution for automatic fraud protection, # performs best with integrations that use client-side tokenization. - # - # Related guide: [Accept a payment with Charges and Tokens](https://stripe.com/docs/payments/accept-a-payment-charges#web-create-token) class Token < APIResource extend Stripe::APIOperations::Create