diff --git a/OPENAPI_VERSION b/OPENAPI_VERSION index ee183957..8a5a8933 100644 --- a/OPENAPI_VERSION +++ b/OPENAPI_VERSION @@ -1 +1 @@ -v979 \ No newline at end of file +v985 \ No newline at end of file diff --git a/lib/stripe/resources/event.rb b/lib/stripe/resources/event.rb index bc22180e..d2628ef5 100644 --- a/lib/stripe/resources/event.rb +++ b/lib/stripe/resources/event.rb @@ -23,10 +23,10 @@ module Stripe # `Event` objects directly to an endpoint on your server. You can manage # webhooks in your # [account settings](https://dashboard.stripe.com/account/webhooks). Learn how - # to [listen for events](https://stripe.com/docs/webhooks) + # to [listen for events](https://docs.stripe.com/webhooks) # so that your integration can automatically trigger reactions. # - # When using [Connect](https://stripe.com/docs/connect), you can also receive event notifications + # When using [Connect](https://docs.stripe.com/connect), you can also receive event notifications # that occur in connected accounts. For these events, there's an # additional `account` attribute in the received `Event` object. # @@ -40,7 +40,7 @@ module Stripe "event" end - # List events, going back up to 30 days. Each event data is rendered according to Stripe API version at its creation time, specified in [event object](https://stripe.com/docs/api/events/object) api_version attribute (not according to your current Stripe API version or Stripe-Version header). + # List events, going back up to 30 days. Each event data is rendered according to Stripe API version at its creation time, specified in [event object](https://docs.stripe.com/api/events/object) api_version attribute (not according to your current Stripe API version or Stripe-Version header). def self.list(filters = {}, opts = {}) request_stripe_object(method: :get, path: "/v1/events", params: filters, opts: opts) end diff --git a/lib/stripe/resources/webhook_endpoint.rb b/lib/stripe/resources/webhook_endpoint.rb index 0bf802d7..9f9ca192 100644 --- a/lib/stripe/resources/webhook_endpoint.rb +++ b/lib/stripe/resources/webhook_endpoint.rb @@ -2,13 +2,13 @@ # frozen_string_literal: true module Stripe - # You can configure [webhook endpoints](https://stripe.com/docs/webhooks/) via the API to be + # You can configure [webhook endpoints](https://docs.stripe.com/webhooks/) via the API to be # notified about events that happen in your Stripe account or connected # accounts. # # Most users configure webhooks from [the dashboard](https://dashboard.stripe.com/webhooks), which provides a user interface for registering and testing your webhook endpoints. # - # Related guide: [Setting up webhooks](https://stripe.com/docs/webhooks/configure) + # Related guide: [Setting up webhooks](https://docs.stripe.com/webhooks/configure) class WebhookEndpoint < APIResource extend Stripe::APIOperations::Create include Stripe::APIOperations::Delete