Skip to content

Commit 1200cf2

Browse files
Update generated code for v1770
1 parent a4901f6 commit 1200cf2

File tree

135 files changed

+735
-735
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

135 files changed

+735
-735
lines changed

lib/stripe/resources/account.rb

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,14 @@ module Stripe
66
# properties on the account like its current requirements or if the account is
77
# enabled to make live charges or receive payouts.
88
#
9-
# For accounts where [controller.requirement_collection](https://stripe.com/api/accounts/object#account_object-controller-requirement_collection)
9+
# For accounts where [controller.requirement_collection](https://docs.stripe.com/api/accounts/object#account_object-controller-requirement_collection)
1010
# is `application`, which includes Custom accounts, the properties below are always
1111
# returned.
1212
#
13-
# For accounts where [controller.requirement_collection](https://stripe.com/api/accounts/object#account_object-controller-requirement_collection)
13+
# For accounts where [controller.requirement_collection](https://docs.stripe.com/api/accounts/object#account_object-controller-requirement_collection)
1414
# is `stripe`, which includes Standard and Express accounts, some properties are only returned
15-
# until you create an [Account Link](https://stripe.com/api/account_links) or [Account Session](https://stripe.com/api/account_sessions)
16-
# to start Connect Onboarding. Learn about the [differences between accounts](https://stripe.com/connect/accounts).
15+
# until you create an [Account Link](https://docs.stripe.com/api/account_links) or [Account Session](https://docs.stripe.com/api/account_sessions)
16+
# to start Connect Onboarding. Learn about the [differences between accounts](https://docs.stripe.com/connect/accounts).
1717
class Account < APIResource
1818
extend Stripe::APIOperations::Create
1919
include Stripe::APIOperations::Delete
@@ -5406,21 +5406,21 @@ def initialize(expand: nil, reason: nil)
54065406
# Always true for a deleted object
54075407
attr_reader :deleted
54085408

5409-
# With [Connect](https://stripe.com/docs/connect), you can create Stripe accounts for your users.
5409+
# With [Connect](https://docs.stripe.com/docs/connect), you can create Stripe accounts for your users.
54105410
# To do this, you'll first need to [register your platform](https://dashboard.stripe.com/account/applications/settings).
54115411
#
5412-
# If you've already collected information for your connected accounts, you [can prefill that information](https://stripe.com/docs/connect/best-practices#onboarding) when
5412+
# If you've already collected information for your connected accounts, you [can prefill that information](https://docs.stripe.com/docs/connect/best-practices#onboarding) when
54135413
# creating the account. Connect Onboarding won't ask for the prefilled information during account onboarding.
54145414
# You can prefill any information on the account.
54155415
def self.create(params = {}, opts = {})
54165416
request_stripe_object(method: :post, path: "/v1/accounts", params: params, opts: opts)
54175417
end
54185418

5419-
# With [Connect](https://stripe.com/connect), you can delete accounts you manage.
5419+
# With [Connect](https://docs.stripe.com/connect), you can delete accounts you manage.
54205420
#
54215421
# Test-mode accounts can be deleted at any time.
54225422
#
5423-
# Live-mode accounts where Stripe is responsible for negative account balances cannot be deleted, which includes Standard accounts. Live-mode accounts where your platform is liable for negative account balances, which includes Custom and Express accounts, can be deleted when all [balances](https://stripe.com/api/balance/balance_object) are zero.
5423+
# Live-mode accounts where Stripe is responsible for negative account balances cannot be deleted, which includes Standard accounts. Live-mode accounts where your platform is liable for negative account balances, which includes Custom and Express accounts, can be deleted when all [balances](https://docs.stripe.com/api/balance/balance_object) are zero.
54245424
#
54255425
# If you want to delete your own account, use the [account information tab in your account settings](https://dashboard.stripe.com/settings/account) instead.
54265426
def self.delete(account, params = {}, opts = {})
@@ -5432,11 +5432,11 @@ def self.delete(account, params = {}, opts = {})
54325432
)
54335433
end
54345434

5435-
# With [Connect](https://stripe.com/connect), you can delete accounts you manage.
5435+
# With [Connect](https://docs.stripe.com/connect), you can delete accounts you manage.
54365436
#
54375437
# Test-mode accounts can be deleted at any time.
54385438
#
5439-
# Live-mode accounts where Stripe is responsible for negative account balances cannot be deleted, which includes Standard accounts. Live-mode accounts where your platform is liable for negative account balances, which includes Custom and Express accounts, can be deleted when all [balances](https://stripe.com/api/balance/balance_object) are zero.
5439+
# Live-mode accounts where Stripe is responsible for negative account balances cannot be deleted, which includes Standard accounts. Live-mode accounts where your platform is liable for negative account balances, which includes Custom and Express accounts, can be deleted when all [balances](https://docs.stripe.com/api/balance/balance_object) are zero.
54405440
#
54415441
# If you want to delete your own account, use the [account information tab in your account settings](https://dashboard.stripe.com/settings/account) instead.
54425442
def delete(params = {}, opts = {})
@@ -5448,7 +5448,7 @@ def delete(params = {}, opts = {})
54485448
)
54495449
end
54505450

5451-
# Returns a list of accounts connected to your platform via [Connect](https://stripe.com/docs/connect). If you're not a platform, the list is empty.
5451+
# Returns a list of accounts connected to your platform via [Connect](https://docs.stripe.com/docs/connect). If you're not a platform, the list is empty.
54525452
def self.list(params = {}, opts = {})
54535453
request_stripe_object(method: :get, path: "/v1/accounts", params: params, opts: opts)
54545454
end
@@ -5473,7 +5473,7 @@ def self.persons(account, params = {}, opts = {})
54735473
)
54745474
end
54755475

5476-
# With [Connect](https://stripe.com/connect), you can reject accounts that you have flagged as suspicious.
5476+
# With [Connect](https://docs.stripe.com/connect), you can reject accounts that you have flagged as suspicious.
54775477
#
54785478
# Only accounts where your platform is liable for negative account balances, which includes Custom and Express accounts, can be rejected. Test-mode accounts can be rejected at any time. Live-mode accounts can only be rejected after all balances are zero.
54795479
def reject(params = {}, opts = {})
@@ -5485,7 +5485,7 @@ def reject(params = {}, opts = {})
54855485
)
54865486
end
54875487

5488-
# With [Connect](https://stripe.com/connect), you can reject accounts that you have flagged as suspicious.
5488+
# With [Connect](https://docs.stripe.com/connect), you can reject accounts that you have flagged as suspicious.
54895489
#
54905490
# Only accounts where your platform is liable for negative account balances, which includes Custom and Express accounts, can be rejected. Test-mode accounts can be rejected at any time. Live-mode accounts can only be rejected after all balances are zero.
54915491
def self.reject(account, params = {}, opts = {})
@@ -5497,19 +5497,19 @@ def self.reject(account, params = {}, opts = {})
54975497
)
54985498
end
54995499

5500-
# Updates a [connected account](https://stripe.com/connect/accounts) by setting the values of the parameters passed. Any parameters not provided are
5500+
# Updates a [connected account](https://docs.stripe.com/connect/accounts) by setting the values of the parameters passed. Any parameters not provided are
55015501
# left unchanged.
55025502
#
5503-
# For accounts where [controller.requirement_collection](https://stripe.com/api/accounts/object#account_object-controller-requirement_collection)
5503+
# For accounts where [controller.requirement_collection](https://docs.stripe.com/api/accounts/object#account_object-controller-requirement_collection)
55045504
# is application, which includes Custom accounts, you can update any information on the account.
55055505
#
5506-
# For accounts where [controller.requirement_collection](https://stripe.com/api/accounts/object#account_object-controller-requirement_collection)
5506+
# For accounts where [controller.requirement_collection](https://docs.stripe.com/api/accounts/object#account_object-controller-requirement_collection)
55075507
# is stripe, which includes Standard and Express accounts, you can update all information until you create
5508-
# an [Account Link or <a href="/api/account_sessions">Account Session](https://stripe.com/api/account_links) to start Connect onboarding,
5508+
# an [Account Link or <a href="/api/account_sessions">Account Session](https://docs.stripe.com/api/account_links) to start Connect onboarding,
55095509
# after which some properties can no longer be updated.
55105510
#
55115511
# To update your own account, use the [Dashboard](https://dashboard.stripe.com/settings/account). Refer to our
5512-
# [Connect](https://stripe.com/docs/connect/updating-accounts) documentation to learn more about updating accounts.
5512+
# [Connect](https://docs.stripe.com/docs/connect/updating-accounts) documentation to learn more about updating accounts.
55135513
def self.update(account, params = {}, opts = {})
55145514
request_stripe_object(
55155515
method: :post,

lib/stripe/resources/bank_account.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,11 @@
44
module Stripe
55
# These bank accounts are payment methods on `Customer` objects.
66
#
7-
# On the other hand [External Accounts](https://stripe.com/api#external_accounts) are transfer
7+
# On the other hand [External Accounts](https://docs.stripe.com/api#external_accounts) are transfer
88
# destinations on `Account` objects for connected accounts.
99
# They can be bank accounts or debit cards as well, and are documented in the links above.
1010
#
11-
# Related guide: [Bank debits and transfers](https://stripe.com/payments/bank-debits-transfers)
11+
# Related guide: [Bank debits and transfers](https://docs.stripe.com/payments/bank-debits-transfers)
1212
class BankAccount < APIResource
1313
include Stripe::APIOperations::Delete
1414
extend Stripe::APIOperations::List

lib/stripe/resources/billing_portal/session.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ module BillingPortal
1616
# Create sessions on-demand when customers intend to manage their subscriptions
1717
# and billing details.
1818
#
19-
# Related guide: [Customer management](https://stripe.com/customer-management)
19+
# Related guide: [Customer management](https://docs.stripe.com/customer-management)
2020
class Session < APIResource
2121
extend Stripe::APIOperations::Create
2222

lib/stripe/resources/charge.rb

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3182,9 +3182,9 @@ def initialize(
31823182

31833183
# Capture the payment of an existing, uncaptured charge that was created with the capture option set to false.
31843184
#
3185-
# Uncaptured payments expire a set number of days after they are created ([7 by default](https://stripe.com/docs/charges/placing-a-hold)), after which they are marked as refunded and capture attempts will fail.
3185+
# Uncaptured payments expire a set number of days after they are created ([7 by default](https://docs.stripe.com/docs/charges/placing-a-hold)), after which they are marked as refunded and capture attempts will fail.
31863186
#
3187-
# Don't use this method to capture a PaymentIntent-initiated charge. Use [Capture a PaymentIntent](https://stripe.com/docs/api/payment_intents/capture).
3187+
# Don't use this method to capture a PaymentIntent-initiated charge. Use [Capture a PaymentIntent](https://docs.stripe.com/docs/api/payment_intents/capture).
31883188
def capture(params = {}, opts = {})
31893189
request_stripe_object(
31903190
method: :post,
@@ -3196,9 +3196,9 @@ def capture(params = {}, opts = {})
31963196

31973197
# Capture the payment of an existing, uncaptured charge that was created with the capture option set to false.
31983198
#
3199-
# Uncaptured payments expire a set number of days after they are created ([7 by default](https://stripe.com/docs/charges/placing-a-hold)), after which they are marked as refunded and capture attempts will fail.
3199+
# Uncaptured payments expire a set number of days after they are created ([7 by default](https://docs.stripe.com/docs/charges/placing-a-hold)), after which they are marked as refunded and capture attempts will fail.
32003200
#
3201-
# Don't use this method to capture a PaymentIntent-initiated charge. Use [Capture a PaymentIntent](https://stripe.com/docs/api/payment_intents/capture).
3201+
# Don't use this method to capture a PaymentIntent-initiated charge. Use [Capture a PaymentIntent](https://docs.stripe.com/docs/api/payment_intents/capture).
32023202
def self.capture(charge, params = {}, opts = {})
32033203
request_stripe_object(
32043204
method: :post,
@@ -3208,7 +3208,7 @@ def self.capture(charge, params = {}, opts = {})
32083208
)
32093209
end
32103210

3211-
# This method is no longer recommended—use the [Payment Intents API](https://stripe.com/docs/api/payment_intents)
3211+
# This method is no longer recommended—use the [Payment Intents API](https://docs.stripe.com/docs/api/payment_intents)
32123212
# to initiate a new payment instead. Confirmation of the PaymentIntent creates the Charge
32133213
# object used to request payment.
32143214
def self.create(params = {}, opts = {})

lib/stripe/resources/checkout/session.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3994,7 +3994,7 @@ def self.list_line_items(session, params = {}, opts = {})
39943994

39953995
# Updates a Checkout Session object.
39963996
#
3997-
# Related guide: [Dynamically update Checkout](https://stripe.com/payments/checkout/dynamic-updates)
3997+
# Related guide: [Dynamically update Checkout](https://docs.stripe.com/payments/checkout/dynamic-updates)
39983998
def self.update(session, params = {}, opts = {})
39993999
request_stripe_object(
40004000
method: :post,

lib/stripe/resources/country_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ module Stripe
77
# Country Specs API makes these rules available to your integration.
88
#
99
# You can also view the information from this API call as [an online
10-
# guide](https://stripe.com/docs/connect/required-verification-information).
10+
# guide](https://docs.stripe.com/docs/connect/required-verification-information).
1111
class CountrySpec < APIResource
1212
extend Stripe::APIOperations::List
1313

lib/stripe/resources/credit_note.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -716,7 +716,7 @@ def self.update(id, params = {}, opts = {})
716716
)
717717
end
718718

719-
# Marks a credit note as void. Learn more about [voiding credit notes](https://stripe.com/docs/billing/invoices/credit-notes#voiding).
719+
# Marks a credit note as void. Learn more about [voiding credit notes](https://docs.stripe.com/docs/billing/invoices/credit-notes#voiding).
720720
def void_credit_note(params = {}, opts = {})
721721
request_stripe_object(
722722
method: :post,
@@ -726,7 +726,7 @@ def void_credit_note(params = {}, opts = {})
726726
)
727727
end
728728

729-
# Marks a credit note as void. Learn more about [voiding credit notes](https://stripe.com/docs/billing/invoices/credit-notes#voiding).
729+
# Marks a credit note as void. Learn more about [voiding credit notes](https://docs.stripe.com/docs/billing/invoices/credit-notes#voiding).
730730
def self.void_credit_note(id, params = {}, opts = {})
731731
request_stripe_object(
732732
method: :post,

lib/stripe/resources/customer_session.rb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@ module Stripe
55
# A Customer Session allows you to grant Stripe's frontend SDKs (like Stripe.js) client-side access
66
# control over a Customer.
77
#
8-
# Related guides: [Customer Session with the Payment Element](https://stripe.com/payments/accept-a-payment-deferred?platform=web&type=payment#save-payment-methods),
9-
# [Customer Session with the Pricing Table](https://stripe.com/payments/checkout/pricing-table#customer-session),
10-
# [Customer Session with the Buy Button](https://stripe.com/payment-links/buy-button#pass-an-existing-customer).
8+
# Related guides: [Customer Session with the Payment Element](https://docs.stripe.com/payments/accept-a-payment-deferred?platform=web&type=payment#save-payment-methods),
9+
# [Customer Session with the Pricing Table](https://docs.stripe.com/payments/checkout/pricing-table#customer-session),
10+
# [Customer Session with the Buy Button](https://docs.stripe.com/payment-links/buy-button#pass-an-existing-customer).
1111
class CustomerSession < APIResource
1212
extend Stripe::APIOperations::Create
1313

lib/stripe/resources/dispute.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -657,7 +657,7 @@ def self.list(params = {}, opts = {})
657657

658658
# When you get a dispute, contacting your customer is always the best first step. If that doesn't work, you can submit evidence to help us resolve the dispute in your favor. You can do this in your [dashboard](https://dashboard.stripe.com/disputes), but if you prefer, you can use the API to submit evidence programmatically.
659659
#
660-
# Depending on your dispute type, different evidence fields will give you a better chance of winning your dispute. To figure out which evidence fields to provide, see our [guide to dispute types](https://stripe.com/docs/disputes/categories).
660+
# Depending on your dispute type, different evidence fields will give you a better chance of winning your dispute. To figure out which evidence fields to provide, see our [guide to dispute types](https://docs.stripe.com/docs/disputes/categories).
661661
def self.update(dispute, params = {}, opts = {})
662662
request_stripe_object(
663663
method: :post,

lib/stripe/resources/file.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ module Stripe
66
# files with the [create file](https://stripe.com/docs/api#create_file) request
77
# (for example, when uploading dispute evidence). Stripe also
88
# creates files independently (for example, the results of a [Sigma scheduled
9-
# query](https://stripe.com/docs/api#scheduled_queries)).
9+
# query](https://docs.stripe.com/api#scheduled_queries)).
1010
#
1111
# Related guide: [File upload guide](https://stripe.com/docs/file-upload)
1212
class File < APIResource

0 commit comments

Comments
 (0)