Skip to content

Commit c3f9f45

Browse files
Update generated code (#1605)
* Update generated code for v1758 * Update generated code for v1770 * Update generated code for v1770 * Update generated code for v1772 * Update generated code for v1773 --------- Co-authored-by: Stripe OpenAPI <105521251+stripe-openapi[bot]@users.noreply.github.com>
1 parent 6a2a9dc commit c3f9f45

File tree

236 files changed

+5926
-4164
lines changed

Some content is hidden

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

236 files changed

+5926
-4164
lines changed

OPENAPI_VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
v1719
1+
v1773

lib/stripe/api_version.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,6 @@
33

44
module Stripe
55
module ApiVersion
6-
CURRENT = "2025-04-30.basil"
6+
CURRENT = "2025-05-28.basil"
77
end
88
end

lib/stripe/resources/account.rb

Lines changed: 47 additions & 20 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
@@ -174,6 +174,8 @@ class Capabilities < Stripe::StripeObject
174174
attr_reader :payco_payments
175175
# The status of the paynow payments capability of the account, or whether the account can directly process paynow charges.
176176
attr_reader :paynow_payments
177+
# The status of the pix payments capability of the account, or whether the account can directly process pix charges.
178+
attr_reader :pix_payments
177179
# The status of the promptpay payments capability of the account, or whether the account can directly process promptpay charges.
178180
attr_reader :promptpay_payments
179181
# The status of the RevolutPay capability of the account, or whether the account can directly process RevolutPay payments.
@@ -590,8 +592,7 @@ class TosAcceptance < Stripe::StripeObject
590592
attr_reader :user_agent
591593
end
592594

593-
class DeleteParams < Stripe::RequestParams
594-
end
595+
class DeleteParams < Stripe::RequestParams; end
595596

596597
class UpdateParams < Stripe::RequestParams
597598
class BankAccount < Stripe::RequestParams
@@ -1111,6 +1112,15 @@ def initialize(requested: nil)
11111112
end
11121113
end
11131114

1115+
class PixPayments < Stripe::RequestParams
1116+
# Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
1117+
attr_accessor :requested
1118+
1119+
def initialize(requested: nil)
1120+
@requested = requested
1121+
end
1122+
end
1123+
11141124
class PromptpayPayments < Stripe::RequestParams
11151125
# Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
11161126
attr_accessor :requested
@@ -1336,6 +1346,8 @@ def initialize(requested: nil)
13361346
attr_accessor :payco_payments
13371347
# The paynow_payments capability.
13381348
attr_accessor :paynow_payments
1349+
# The pix_payments capability.
1350+
attr_accessor :pix_payments
13391351
# The promptpay_payments capability.
13401352
attr_accessor :promptpay_payments
13411353
# The revolut_pay_payments capability.
@@ -1411,6 +1423,7 @@ def initialize(
14111423
pay_by_bank_payments: nil,
14121424
payco_payments: nil,
14131425
paynow_payments: nil,
1426+
pix_payments: nil,
14141427
promptpay_payments: nil,
14151428
revolut_pay_payments: nil,
14161429
samsung_pay_payments: nil,
@@ -1469,6 +1482,7 @@ def initialize(
14691482
@pay_by_bank_payments = pay_by_bank_payments
14701483
@payco_payments = payco_payments
14711484
@paynow_payments = paynow_payments
1485+
@pix_payments = pix_payments
14721486
@promptpay_payments = promptpay_payments
14731487
@revolut_pay_payments = revolut_pay_payments
14741488
@samsung_pay_payments = samsung_pay_payments
@@ -3110,6 +3124,15 @@ def initialize(requested: nil)
31103124
end
31113125
end
31123126

3127+
class PixPayments < Stripe::RequestParams
3128+
# Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
3129+
attr_accessor :requested
3130+
3131+
def initialize(requested: nil)
3132+
@requested = requested
3133+
end
3134+
end
3135+
31133136
class PromptpayPayments < Stripe::RequestParams
31143137
# Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
31153138
attr_accessor :requested
@@ -3335,6 +3358,8 @@ def initialize(requested: nil)
33353358
attr_accessor :payco_payments
33363359
# The paynow_payments capability.
33373360
attr_accessor :paynow_payments
3361+
# The pix_payments capability.
3362+
attr_accessor :pix_payments
33383363
# The promptpay_payments capability.
33393364
attr_accessor :promptpay_payments
33403365
# The revolut_pay_payments capability.
@@ -3410,6 +3435,7 @@ def initialize(
34103435
pay_by_bank_payments: nil,
34113436
payco_payments: nil,
34123437
paynow_payments: nil,
3438+
pix_payments: nil,
34133439
promptpay_payments: nil,
34143440
revolut_pay_payments: nil,
34153441
samsung_pay_payments: nil,
@@ -3468,6 +3494,7 @@ def initialize(
34683494
@pay_by_bank_payments = pay_by_bank_payments
34693495
@payco_payments = payco_payments
34703496
@paynow_payments = paynow_payments
3497+
@pix_payments = pix_payments
34713498
@promptpay_payments = promptpay_payments
34723499
@revolut_pay_payments = revolut_pay_payments
34733500
@samsung_pay_payments = samsung_pay_payments
@@ -4727,21 +4754,21 @@ def initialize(expand: nil, reason: nil)
47274754
# Always true for a deleted object
47284755
attr_reader :deleted
47294756

4730-
# With [Connect](https://stripe.com/docs/connect), you can create Stripe accounts for your users.
4757+
# With [Connect](https://docs.stripe.com/docs/connect), you can create Stripe accounts for your users.
47314758
# To do this, you'll first need to [register your platform](https://dashboard.stripe.com/account/applications/settings).
47324759
#
4733-
# If you've already collected information for your connected accounts, you [can prefill that information](https://stripe.com/docs/connect/best-practices#onboarding) when
4760+
# 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
47344761
# creating the account. Connect Onboarding won't ask for the prefilled information during account onboarding.
47354762
# You can prefill any information on the account.
47364763
def self.create(params = {}, opts = {})
47374764
request_stripe_object(method: :post, path: "/v1/accounts", params: params, opts: opts)
47384765
end
47394766

4740-
# With [Connect](https://stripe.com/connect), you can delete accounts you manage.
4767+
# With [Connect](https://docs.stripe.com/connect), you can delete accounts you manage.
47414768
#
47424769
# Test-mode accounts can be deleted at any time.
47434770
#
4744-
# 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.
4771+
# 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.
47454772
#
47464773
# If you want to delete your own account, use the [account information tab in your account settings](https://dashboard.stripe.com/settings/account) instead.
47474774
def self.delete(account, params = {}, opts = {})
@@ -4753,11 +4780,11 @@ def self.delete(account, params = {}, opts = {})
47534780
)
47544781
end
47554782

4756-
# With [Connect](https://stripe.com/connect), you can delete accounts you manage.
4783+
# With [Connect](https://docs.stripe.com/connect), you can delete accounts you manage.
47574784
#
47584785
# Test-mode accounts can be deleted at any time.
47594786
#
4760-
# 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.
4787+
# 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.
47614788
#
47624789
# If you want to delete your own account, use the [account information tab in your account settings](https://dashboard.stripe.com/settings/account) instead.
47634790
def delete(params = {}, opts = {})
@@ -4769,7 +4796,7 @@ def delete(params = {}, opts = {})
47694796
)
47704797
end
47714798

4772-
# 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.
4799+
# 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.
47734800
def self.list(params = {}, opts = {})
47744801
request_stripe_object(method: :get, path: "/v1/accounts", params: params, opts: opts)
47754802
end
@@ -4794,7 +4821,7 @@ def self.persons(account, params = {}, opts = {})
47944821
)
47954822
end
47964823

4797-
# With [Connect](https://stripe.com/connect), you can reject accounts that you have flagged as suspicious.
4824+
# With [Connect](https://docs.stripe.com/connect), you can reject accounts that you have flagged as suspicious.
47984825
#
47994826
# 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.
48004827
def reject(params = {}, opts = {})
@@ -4806,7 +4833,7 @@ def reject(params = {}, opts = {})
48064833
)
48074834
end
48084835

4809-
# With [Connect](https://stripe.com/connect), you can reject accounts that you have flagged as suspicious.
4836+
# With [Connect](https://docs.stripe.com/connect), you can reject accounts that you have flagged as suspicious.
48104837
#
48114838
# 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.
48124839
def self.reject(account, params = {}, opts = {})
@@ -4818,19 +4845,19 @@ def self.reject(account, params = {}, opts = {})
48184845
)
48194846
end
48204847

4821-
# Updates a [connected account](https://stripe.com/connect/accounts) by setting the values of the parameters passed. Any parameters not provided are
4848+
# Updates a [connected account](https://docs.stripe.com/connect/accounts) by setting the values of the parameters passed. Any parameters not provided are
48224849
# left unchanged.
48234850
#
4824-
# For accounts where [controller.requirement_collection](https://stripe.com/api/accounts/object#account_object-controller-requirement_collection)
4851+
# For accounts where [controller.requirement_collection](https://docs.stripe.com/api/accounts/object#account_object-controller-requirement_collection)
48254852
# is application, which includes Custom accounts, you can update any information on the account.
48264853
#
4827-
# For accounts where [controller.requirement_collection](https://stripe.com/api/accounts/object#account_object-controller-requirement_collection)
4854+
# For accounts where [controller.requirement_collection](https://docs.stripe.com/api/accounts/object#account_object-controller-requirement_collection)
48284855
# is stripe, which includes Standard and Express accounts, you can update all information until you create
4829-
# an [Account Link or <a href="/api/account_sessions">Account Session](https://stripe.com/api/account_links) to start Connect onboarding,
4856+
# an [Account Link or <a href="/api/account_sessions">Account Session](https://docs.stripe.com/api/account_links) to start Connect onboarding,
48304857
# after which some properties can no longer be updated.
48314858
#
48324859
# To update your own account, use the [Dashboard](https://dashboard.stripe.com/settings/account). Refer to our
4833-
# [Connect](https://stripe.com/docs/connect/updating-accounts) documentation to learn more about updating accounts.
4860+
# [Connect](https://docs.stripe.com/docs/connect/updating-accounts) documentation to learn more about updating accounts.
48344861
def self.update(account, params = {}, opts = {})
48354862
request_stripe_object(
48364863
method: :post,

0 commit comments

Comments
 (0)