stripe 15.2.1 → 15.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/API_VERSION +1 -0
- data/CHANGELOG.md +66 -39
- data/OPENAPI_VERSION +1 -1
- data/README.md +14 -50
- data/VERSION +1 -1
- data/lib/stripe/api_version.rb +2 -1
- data/lib/stripe/events/v2_core_event_destination_ping_event.rb +1 -1
- data/lib/stripe/resources/account.rb +89 -5
- data/lib/stripe/resources/account_session.rb +79 -79
- data/lib/stripe/resources/billing_portal/session.rb +2 -2
- data/lib/stripe/resources/charge.rb +28 -15
- data/lib/stripe/resources/checkout/session.rb +57 -7
- data/lib/stripe/resources/confirmation_token.rb +19 -11
- data/lib/stripe/resources/credit_note.rb +9 -9
- data/lib/stripe/resources/customer_session.rb +2 -2
- data/lib/stripe/resources/event.rb +1 -1
- data/lib/stripe/resources/identity/verification_session.rb +34 -0
- data/lib/stripe/resources/invoice.rb +29 -4
- data/lib/stripe/resources/invoice_item.rb +1 -4
- data/lib/stripe/resources/mandate.rb +3 -0
- data/lib/stripe/resources/payment_intent.rb +331 -12
- data/lib/stripe/resources/payment_method.rb +17 -9
- data/lib/stripe/resources/quote.rb +26 -3
- data/lib/stripe/resources/setup_attempt.rb +1 -1
- data/lib/stripe/resources/setup_intent.rb +285 -3
- data/lib/stripe/resources/subscription.rb +68 -6
- data/lib/stripe/resources/subscription_schedule.rb +22 -0
- data/lib/stripe/resources/tax/registration.rb +20 -0
- data/lib/stripe/resources/terminal/configuration.rb +1 -0
- data/lib/stripe/resources/terminal/reader.rb +152 -4
- data/lib/stripe/resources/token.rb +1 -1
- data/lib/stripe/resources/treasury/financial_account.rb +5 -1
- data/lib/stripe/services/account_service.rb +83 -5
- data/lib/stripe/services/account_session_service.rb +48 -48
- data/lib/stripe/services/billing_portal/session_service.rb +1 -1
- data/lib/stripe/services/checkout/session_service.rb +57 -7
- data/lib/stripe/services/credit_note_preview_lines_service.rb +3 -3
- data/lib/stripe/services/credit_note_service.rb +6 -6
- data/lib/stripe/services/customer_session_service.rb +1 -1
- data/lib/stripe/services/identity/verification_session_service.rb +16 -0
- data/lib/stripe/services/invoice_service.rb +29 -4
- data/lib/stripe/services/payment_intent_service.rb +315 -9
- data/lib/stripe/services/payment_method_service.rb +5 -0
- data/lib/stripe/services/quote_service.rb +20 -3
- data/lib/stripe/services/setup_intent_service.rb +275 -2
- data/lib/stripe/services/subscription_schedule_service.rb +13 -0
- data/lib/stripe/services/subscription_service.rb +48 -4
- data/lib/stripe/services/tax/registration_service.rb +13 -0
- data/lib/stripe/services/terminal/reader_service.rb +90 -0
- data/lib/stripe/services/test_helpers/confirmation_token_service.rb +6 -1
- data/lib/stripe/services/token_service.rb +1 -1
- data/lib/stripe/services/treasury/financial_account_service.rb +5 -1
- data/lib/stripe/services/v2/billing_service.rb +2 -2
- data/lib/stripe/services/v2/core/event_destination_service.rb +16 -16
- data/lib/stripe/version.rb +1 -1
- data/rbi/stripe/resources/account.rbi +78 -9
- data/rbi/stripe/resources/account_session.rbi +79 -79
- data/rbi/stripe/resources/billing_portal/session.rbi +2 -2
- data/rbi/stripe/resources/charge.rbi +32 -15
- data/rbi/stripe/resources/checkout/session.rbi +65 -9
- data/rbi/stripe/resources/confirmation_token.rbi +23 -12
- data/rbi/stripe/resources/credit_note.rbi +9 -9
- data/rbi/stripe/resources/customer_session.rbi +2 -2
- data/rbi/stripe/resources/event.rbi +1 -1
- data/rbi/stripe/resources/identity/verification_session.rbi +39 -1
- data/rbi/stripe/resources/invoice.rbi +36 -6
- data/rbi/stripe/resources/invoice_item.rbi +1 -4
- data/rbi/stripe/resources/mandate.rbi +4 -0
- data/rbi/stripe/resources/payment_intent.rbi +361 -21
- data/rbi/stripe/resources/payment_method.rbi +19 -10
- data/rbi/stripe/resources/quote.rbi +22 -3
- data/rbi/stripe/resources/setup_attempt.rbi +1 -1
- data/rbi/stripe/resources/setup_intent.rbi +332 -9
- data/rbi/stripe/resources/subscription.rbi +60 -7
- data/rbi/stripe/resources/subscription_schedule.rbi +23 -1
- data/rbi/stripe/resources/tax/registration.rbi +20 -1
- data/rbi/stripe/resources/terminal/configuration.rbi +1 -0
- data/rbi/stripe/resources/terminal/location.rbi +2 -2
- data/rbi/stripe/resources/terminal/reader.rbi +151 -4
- data/rbi/stripe/resources/token.rbi +1 -1
- data/rbi/stripe/resources/treasury/financial_account.rbi +6 -2
- data/rbi/stripe/services/account_service.rbi +77 -9
- data/rbi/stripe/services/account_session_service.rbi +48 -48
- data/rbi/stripe/services/billing_portal/session_service.rbi +1 -1
- data/rbi/stripe/services/checkout/session_service.rbi +65 -9
- data/rbi/stripe/services/credit_note_preview_lines_service.rbi +3 -3
- data/rbi/stripe/services/credit_note_service.rbi +6 -6
- data/rbi/stripe/services/customer_session_service.rbi +1 -1
- data/rbi/stripe/services/identity/verification_session_service.rbi +17 -1
- data/rbi/stripe/services/invoice_service.rbi +36 -6
- data/rbi/stripe/services/payment_intent_service.rbi +348 -18
- data/rbi/stripe/services/payment_method_service.rbi +6 -1
- data/rbi/stripe/services/quote_service.rbi +16 -3
- data/rbi/stripe/services/setup_intent_service.rbi +326 -8
- data/rbi/stripe/services/subscription_schedule_service.rbi +12 -1
- data/rbi/stripe/services/subscription_service.rbi +41 -5
- data/rbi/stripe/services/tax/registration_service.rbi +14 -1
- data/rbi/stripe/services/terminal/location_service.rbi +2 -2
- data/rbi/stripe/services/terminal/reader_service.rbi +85 -0
- data/rbi/stripe/services/test_helpers/confirmation_token_service.rbi +9 -2
- data/rbi/stripe/services/token_service.rbi +1 -1
- data/rbi/stripe/services/treasury/financial_account_service.rbi +6 -2
- data/rbi/stripe/services/v2/billing_service.rbi +1 -1
- data/rbi/stripe/services/v2/core/event_destination_service.rbi +13 -13
- metadata +3 -2
@@ -195,6 +195,74 @@ module Stripe
|
|
195
195
|
end
|
196
196
|
end
|
197
197
|
|
198
|
+
class CollectPaymentMethodParams < Stripe::RequestParams
|
199
|
+
class CollectConfig < Stripe::RequestParams
|
200
|
+
class Tipping < Stripe::RequestParams
|
201
|
+
# Amount used to calculate tip suggestions on tipping selection screen for this transaction. Must be a positive integer in the smallest currency unit (e.g., 100 cents to represent $1.00 or 100 to represent ¥100, a zero-decimal currency).
|
202
|
+
attr_accessor :amount_eligible
|
203
|
+
|
204
|
+
def initialize(amount_eligible: nil)
|
205
|
+
@amount_eligible = amount_eligible
|
206
|
+
end
|
207
|
+
end
|
208
|
+
# This field indicates whether this payment method can be shown again to its customer in a checkout flow. Stripe products such as Checkout and Elements use this field to determine whether a payment method can be shown as a saved payment method in a checkout flow.
|
209
|
+
attr_accessor :allow_redisplay
|
210
|
+
# Enables cancel button on transaction screens.
|
211
|
+
attr_accessor :enable_customer_cancellation
|
212
|
+
# Override showing a tipping selection screen on this transaction.
|
213
|
+
attr_accessor :skip_tipping
|
214
|
+
# Tipping configuration for this transaction.
|
215
|
+
attr_accessor :tipping
|
216
|
+
|
217
|
+
def initialize(
|
218
|
+
allow_redisplay: nil,
|
219
|
+
enable_customer_cancellation: nil,
|
220
|
+
skip_tipping: nil,
|
221
|
+
tipping: nil
|
222
|
+
)
|
223
|
+
@allow_redisplay = allow_redisplay
|
224
|
+
@enable_customer_cancellation = enable_customer_cancellation
|
225
|
+
@skip_tipping = skip_tipping
|
226
|
+
@tipping = tipping
|
227
|
+
end
|
228
|
+
end
|
229
|
+
# Configuration overrides.
|
230
|
+
attr_accessor :collect_config
|
231
|
+
# Specifies which fields in the response should be expanded.
|
232
|
+
attr_accessor :expand
|
233
|
+
# PaymentIntent ID.
|
234
|
+
attr_accessor :payment_intent
|
235
|
+
|
236
|
+
def initialize(collect_config: nil, expand: nil, payment_intent: nil)
|
237
|
+
@collect_config = collect_config
|
238
|
+
@expand = expand
|
239
|
+
@payment_intent = payment_intent
|
240
|
+
end
|
241
|
+
end
|
242
|
+
|
243
|
+
class ConfirmPaymentIntentParams < Stripe::RequestParams
|
244
|
+
class ConfirmConfig < Stripe::RequestParams
|
245
|
+
# The URL to redirect your customer back to after they authenticate or cancel their payment on the payment method's app or site. If you'd prefer to redirect to a mobile application, you can alternatively supply an application URI scheme.
|
246
|
+
attr_accessor :return_url
|
247
|
+
|
248
|
+
def initialize(return_url: nil)
|
249
|
+
@return_url = return_url
|
250
|
+
end
|
251
|
+
end
|
252
|
+
# Configuration overrides.
|
253
|
+
attr_accessor :confirm_config
|
254
|
+
# Specifies which fields in the response should be expanded.
|
255
|
+
attr_accessor :expand
|
256
|
+
# PaymentIntent ID.
|
257
|
+
attr_accessor :payment_intent
|
258
|
+
|
259
|
+
def initialize(confirm_config: nil, expand: nil, payment_intent: nil)
|
260
|
+
@confirm_config = confirm_config
|
261
|
+
@expand = expand
|
262
|
+
@payment_intent = payment_intent
|
263
|
+
end
|
264
|
+
end
|
265
|
+
|
198
266
|
class ProcessPaymentIntentParams < Stripe::RequestParams
|
199
267
|
class ProcessConfig < Stripe::RequestParams
|
200
268
|
class Tipping < Stripe::RequestParams
|
@@ -385,6 +453,28 @@ module Stripe
|
|
385
453
|
)
|
386
454
|
end
|
387
455
|
|
456
|
+
# Initiates a payment flow on a Reader and updates the PaymentIntent with card details before manual confirmation.
|
457
|
+
def collect_payment_method(reader, params = {}, opts = {})
|
458
|
+
request(
|
459
|
+
method: :post,
|
460
|
+
path: format("/v1/terminal/readers/%<reader>s/collect_payment_method", { reader: CGI.escape(reader) }),
|
461
|
+
params: params,
|
462
|
+
opts: opts,
|
463
|
+
base_address: :api
|
464
|
+
)
|
465
|
+
end
|
466
|
+
|
467
|
+
# Finalizes a payment on a Reader.
|
468
|
+
def confirm_payment_intent(reader, params = {}, opts = {})
|
469
|
+
request(
|
470
|
+
method: :post,
|
471
|
+
path: format("/v1/terminal/readers/%<reader>s/confirm_payment_intent", { reader: CGI.escape(reader) }),
|
472
|
+
params: params,
|
473
|
+
opts: opts,
|
474
|
+
base_address: :api
|
475
|
+
)
|
476
|
+
end
|
477
|
+
|
388
478
|
# Creates a new Reader object.
|
389
479
|
def create(params = {}, opts = {})
|
390
480
|
request(
|
@@ -117,6 +117,7 @@ module Stripe
|
|
117
117
|
end
|
118
118
|
|
119
119
|
class Cashapp < Stripe::RequestParams; end
|
120
|
+
class Crypto < Stripe::RequestParams; end
|
120
121
|
class CustomerBalance < Stripe::RequestParams; end
|
121
122
|
|
122
123
|
class Eps < Stripe::RequestParams
|
@@ -335,6 +336,8 @@ module Stripe
|
|
335
336
|
attr_accessor :boleto
|
336
337
|
# If this is a `cashapp` PaymentMethod, this hash contains details about the Cash App Pay payment method.
|
337
338
|
attr_accessor :cashapp
|
339
|
+
# If this is a Crypto PaymentMethod, this hash contains details about the Crypto payment method.
|
340
|
+
attr_accessor :crypto
|
338
341
|
# If this is a `customer_balance` PaymentMethod, this hash contains details about the CustomerBalance payment method.
|
339
342
|
attr_accessor :customer_balance
|
340
343
|
# If this is an `eps` PaymentMethod, this hash contains details about the EPS payment method.
|
@@ -426,6 +429,7 @@ module Stripe
|
|
426
429
|
blik: nil,
|
427
430
|
boleto: nil,
|
428
431
|
cashapp: nil,
|
432
|
+
crypto: nil,
|
429
433
|
customer_balance: nil,
|
430
434
|
eps: nil,
|
431
435
|
fpx: nil,
|
@@ -479,6 +483,7 @@ module Stripe
|
|
479
483
|
@blik = blik
|
480
484
|
@boleto = boleto
|
481
485
|
@cashapp = cashapp
|
486
|
+
@crypto = crypto
|
482
487
|
@customer_balance = customer_balance
|
483
488
|
@eps = eps
|
484
489
|
@fpx = fpx
|
@@ -528,7 +533,7 @@ module Stripe
|
|
528
533
|
# For `fixed_count` installment plans, this is required. It represents the interval between installment payments your customer will make to their credit card.
|
529
534
|
# One of `month`.
|
530
535
|
attr_accessor :interval
|
531
|
-
# Type of installment plan, one of `fixed_count`.
|
536
|
+
# Type of installment plan, one of `fixed_count`, `bonus`, or `revolving`.
|
532
537
|
attr_accessor :type
|
533
538
|
|
534
539
|
def initialize(count: nil, interval: nil, type: nil)
|
@@ -212,7 +212,7 @@ module Stripe
|
|
212
212
|
attr_accessor :ownership_exemption_reason
|
213
213
|
# The company's phone number (used for verification).
|
214
214
|
attr_accessor :phone
|
215
|
-
#
|
215
|
+
# When the business was incorporated or registered.
|
216
216
|
attr_accessor :registration_date
|
217
217
|
# The identification number given to a company when it is registered or incorporated, if distinct from the identification number used for filing taxes. (Examples are the CIN for companies and LLP IN for partnerships in India, and the Company Registration Number in Hong Kong).
|
218
218
|
attr_accessor :registration_number
|
@@ -39,19 +39,23 @@ module Stripe
|
|
39
39
|
attr_accessor :limit
|
40
40
|
# An object ID cursor for use in pagination.
|
41
41
|
attr_accessor :starting_after
|
42
|
+
# Only return FinancialAccounts that have the given status: `open` or `closed`
|
43
|
+
attr_accessor :status
|
42
44
|
|
43
45
|
def initialize(
|
44
46
|
created: nil,
|
45
47
|
ending_before: nil,
|
46
48
|
expand: nil,
|
47
49
|
limit: nil,
|
48
|
-
starting_after: nil
|
50
|
+
starting_after: nil,
|
51
|
+
status: nil
|
49
52
|
)
|
50
53
|
@created = created
|
51
54
|
@ending_before = ending_before
|
52
55
|
@expand = expand
|
53
56
|
@limit = limit
|
54
57
|
@starting_after = starting_after
|
58
|
+
@status = status
|
55
59
|
end
|
56
60
|
end
|
57
61
|
|
@@ -4,12 +4,12 @@
|
|
4
4
|
module Stripe
|
5
5
|
module V2
|
6
6
|
class BillingService < StripeService
|
7
|
-
attr_reader :
|
7
|
+
attr_reader :meter_event_adjustments, :meter_event_session, :meter_event_stream, :meter_events
|
8
8
|
|
9
9
|
def initialize(requestor)
|
10
10
|
super
|
11
|
-
@meter_event_session = Stripe::V2::Billing::MeterEventSessionService.new(@requestor)
|
12
11
|
@meter_event_adjustments = Stripe::V2::Billing::MeterEventAdjustmentService.new(@requestor)
|
12
|
+
@meter_event_session = Stripe::V2::Billing::MeterEventSessionService.new(@requestor)
|
13
13
|
@meter_event_stream = Stripe::V2::Billing::MeterEventStreamService.new(@requestor)
|
14
14
|
@meter_events = Stripe::V2::Billing::MeterEventService.new(@requestor)
|
15
15
|
end
|
@@ -5,6 +5,18 @@ module Stripe
|
|
5
5
|
module V2
|
6
6
|
module Core
|
7
7
|
class EventDestinationService < StripeService
|
8
|
+
class ListParams < Stripe::RequestParams
|
9
|
+
# Additional fields to include in the response. Currently supports `webhook_endpoint.url`.
|
10
|
+
attr_accessor :include
|
11
|
+
# The page size.
|
12
|
+
attr_accessor :limit
|
13
|
+
|
14
|
+
def initialize(include: nil, limit: nil)
|
15
|
+
@include = include
|
16
|
+
@limit = limit
|
17
|
+
end
|
18
|
+
end
|
19
|
+
|
8
20
|
class CreateParams < Stripe::RequestParams
|
9
21
|
class AmazonEventbridge < Stripe::RequestParams
|
10
22
|
# The AWS account ID.
|
@@ -77,22 +89,6 @@ module Stripe
|
|
77
89
|
end
|
78
90
|
|
79
91
|
class DeleteParams < Stripe::RequestParams; end
|
80
|
-
class DisableParams < Stripe::RequestParams; end
|
81
|
-
class EnableParams < Stripe::RequestParams; end
|
82
|
-
|
83
|
-
class ListParams < Stripe::RequestParams
|
84
|
-
# Additional fields to include in the response. Currently supports `webhook_endpoint.url`.
|
85
|
-
attr_accessor :include
|
86
|
-
# The page size.
|
87
|
-
attr_accessor :limit
|
88
|
-
|
89
|
-
def initialize(include: nil, limit: nil)
|
90
|
-
@include = include
|
91
|
-
@limit = limit
|
92
|
-
end
|
93
|
-
end
|
94
|
-
|
95
|
-
class PingParams < Stripe::RequestParams; end
|
96
92
|
|
97
93
|
class RetrieveParams < Stripe::RequestParams
|
98
94
|
# Additional fields to include in the response.
|
@@ -142,6 +138,10 @@ module Stripe
|
|
142
138
|
end
|
143
139
|
end
|
144
140
|
|
141
|
+
class DisableParams < Stripe::RequestParams; end
|
142
|
+
class EnableParams < Stripe::RequestParams; end
|
143
|
+
class PingParams < Stripe::RequestParams; end
|
144
|
+
|
145
145
|
# Create a new event destination.
|
146
146
|
def create(params = {}, opts = {})
|
147
147
|
request(
|
data/lib/stripe/version.rb
CHANGED
@@ -142,6 +142,9 @@ module Stripe
|
|
142
142
|
# The status of the Cash App Pay capability of the account, or whether the account can directly process Cash App Pay payments.
|
143
143
|
sig { returns(String) }
|
144
144
|
attr_reader :cashapp_payments
|
145
|
+
# The status of the Crypto capability of the account, or whether the account can directly process Crypto payments.
|
146
|
+
sig { returns(String) }
|
147
|
+
attr_reader :crypto_payments
|
145
148
|
# The status of the EPS payments capability of the account, or whether the account can directly process EPS charges.
|
146
149
|
sig { returns(String) }
|
147
150
|
attr_reader :eps_payments
|
@@ -687,9 +690,15 @@ module Stripe
|
|
687
690
|
# The day of the month funds will be paid out. Only shown if `interval` is monthly. Payouts scheduled between the 29th and 31st of the month are sent on the last day of shorter months.
|
688
691
|
sig { returns(Integer) }
|
689
692
|
attr_reader :monthly_anchor
|
693
|
+
# The days of the month funds will be paid out. Only shown if `interval` is monthly. Payouts scheduled between the 29th and 31st of the month are sent on the last day of shorter months.
|
694
|
+
sig { returns(T::Array[Integer]) }
|
695
|
+
attr_reader :monthly_payout_days
|
690
696
|
# The day of the week funds will be paid out, of the style 'monday', 'tuesday', etc. Only shown if `interval` is weekly.
|
691
697
|
sig { returns(String) }
|
692
698
|
attr_reader :weekly_anchor
|
699
|
+
# The days of the week when available funds are paid out, specified as an array, for example, [`monday`, `tuesday`]. Only shown if `interval` is weekly.
|
700
|
+
sig { returns(T::Array[String]) }
|
701
|
+
attr_reader :weekly_payout_days
|
693
702
|
end
|
694
703
|
# A Boolean indicating if Stripe should try to reclaim negative balances from an attached bank account. See [Understanding Connect account balances](/connect/account-balances) for details. The default value is `false` when [controller.requirement_collection](/api/accounts/object#account_object-controller-requirement_collection) is `application`, which includes Custom accounts, otherwise `true`.
|
695
704
|
sig { returns(T::Boolean) }
|
@@ -1104,6 +1113,13 @@ module Stripe
|
|
1104
1113
|
sig { params(requested: T.nilable(T::Boolean)).void }
|
1105
1114
|
def initialize(requested: nil); end
|
1106
1115
|
end
|
1116
|
+
class CryptoPayments < Stripe::RequestParams
|
1117
|
+
# 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.
|
1118
|
+
sig { returns(T.nilable(T::Boolean)) }
|
1119
|
+
attr_accessor :requested
|
1120
|
+
sig { params(requested: T.nilable(T::Boolean)).void }
|
1121
|
+
def initialize(requested: nil); end
|
1122
|
+
end
|
1107
1123
|
class EpsPayments < Stripe::RequestParams
|
1108
1124
|
# 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.
|
1109
1125
|
sig { returns(T.nilable(T::Boolean)) }
|
@@ -1456,6 +1472,9 @@ module Stripe
|
|
1456
1472
|
# The cashapp_payments capability.
|
1457
1473
|
sig { returns(T.nilable(::Stripe::Account::UpdateParams::Capabilities::CashappPayments)) }
|
1458
1474
|
attr_accessor :cashapp_payments
|
1475
|
+
# The crypto_payments capability.
|
1476
|
+
sig { returns(T.nilable(::Stripe::Account::UpdateParams::Capabilities::CryptoPayments)) }
|
1477
|
+
attr_accessor :crypto_payments
|
1459
1478
|
# The eps_payments capability.
|
1460
1479
|
sig { returns(T.nilable(::Stripe::Account::UpdateParams::Capabilities::EpsPayments)) }
|
1461
1480
|
attr_accessor :eps_payments
|
@@ -1609,7 +1628,7 @@ module Stripe
|
|
1609
1628
|
sig { returns(T.nilable(::Stripe::Account::UpdateParams::Capabilities::ZipPayments)) }
|
1610
1629
|
attr_accessor :zip_payments
|
1611
1630
|
sig {
|
1612
|
-
params(acss_debit_payments: T.nilable(::Stripe::Account::UpdateParams::Capabilities::AcssDebitPayments), affirm_payments: T.nilable(::Stripe::Account::UpdateParams::Capabilities::AffirmPayments), afterpay_clearpay_payments: T.nilable(::Stripe::Account::UpdateParams::Capabilities::AfterpayClearpayPayments), alma_payments: T.nilable(::Stripe::Account::UpdateParams::Capabilities::AlmaPayments), amazon_pay_payments: T.nilable(::Stripe::Account::UpdateParams::Capabilities::AmazonPayPayments), au_becs_debit_payments: T.nilable(::Stripe::Account::UpdateParams::Capabilities::AuBecsDebitPayments), bacs_debit_payments: T.nilable(::Stripe::Account::UpdateParams::Capabilities::BacsDebitPayments), bancontact_payments: T.nilable(::Stripe::Account::UpdateParams::Capabilities::BancontactPayments), bank_transfer_payments: T.nilable(::Stripe::Account::UpdateParams::Capabilities::BankTransferPayments), billie_payments: T.nilable(::Stripe::Account::UpdateParams::Capabilities::BilliePayments), blik_payments: T.nilable(::Stripe::Account::UpdateParams::Capabilities::BlikPayments), boleto_payments: T.nilable(::Stripe::Account::UpdateParams::Capabilities::BoletoPayments), card_issuing: T.nilable(::Stripe::Account::UpdateParams::Capabilities::CardIssuing), card_payments: T.nilable(::Stripe::Account::UpdateParams::Capabilities::CardPayments), cartes_bancaires_payments: T.nilable(::Stripe::Account::UpdateParams::Capabilities::CartesBancairesPayments), cashapp_payments: T.nilable(::Stripe::Account::UpdateParams::Capabilities::CashappPayments), eps_payments: T.nilable(::Stripe::Account::UpdateParams::Capabilities::EpsPayments), fpx_payments: T.nilable(::Stripe::Account::UpdateParams::Capabilities::FpxPayments), gb_bank_transfer_payments: T.nilable(::Stripe::Account::UpdateParams::Capabilities::GbBankTransferPayments), giropay_payments: T.nilable(::Stripe::Account::UpdateParams::Capabilities::GiropayPayments), grabpay_payments: T.nilable(::Stripe::Account::UpdateParams::Capabilities::GrabpayPayments), ideal_payments: T.nilable(::Stripe::Account::UpdateParams::Capabilities::IdealPayments), india_international_payments: T.nilable(::Stripe::Account::UpdateParams::Capabilities::IndiaInternationalPayments), jcb_payments: T.nilable(::Stripe::Account::UpdateParams::Capabilities::JcbPayments), jp_bank_transfer_payments: T.nilable(::Stripe::Account::UpdateParams::Capabilities::JpBankTransferPayments), kakao_pay_payments: T.nilable(::Stripe::Account::UpdateParams::Capabilities::KakaoPayPayments), klarna_payments: T.nilable(::Stripe::Account::UpdateParams::Capabilities::KlarnaPayments), konbini_payments: T.nilable(::Stripe::Account::UpdateParams::Capabilities::KonbiniPayments), kr_card_payments: T.nilable(::Stripe::Account::UpdateParams::Capabilities::KrCardPayments), legacy_payments: T.nilable(::Stripe::Account::UpdateParams::Capabilities::LegacyPayments), link_payments: T.nilable(::Stripe::Account::UpdateParams::Capabilities::LinkPayments), mobilepay_payments: T.nilable(::Stripe::Account::UpdateParams::Capabilities::MobilepayPayments), multibanco_payments: T.nilable(::Stripe::Account::UpdateParams::Capabilities::MultibancoPayments), mx_bank_transfer_payments: T.nilable(::Stripe::Account::UpdateParams::Capabilities::MxBankTransferPayments), naver_pay_payments: T.nilable(::Stripe::Account::UpdateParams::Capabilities::NaverPayPayments), nz_bank_account_becs_debit_payments: T.nilable(::Stripe::Account::UpdateParams::Capabilities::NzBankAccountBecsDebitPayments), oxxo_payments: T.nilable(::Stripe::Account::UpdateParams::Capabilities::OxxoPayments), p24_payments: T.nilable(::Stripe::Account::UpdateParams::Capabilities::P24Payments), pay_by_bank_payments: T.nilable(::Stripe::Account::UpdateParams::Capabilities::PayByBankPayments), payco_payments: T.nilable(::Stripe::Account::UpdateParams::Capabilities::PaycoPayments), paynow_payments: T.nilable(::Stripe::Account::UpdateParams::Capabilities::PaynowPayments), pix_payments: T.nilable(::Stripe::Account::UpdateParams::Capabilities::PixPayments), promptpay_payments: T.nilable(::Stripe::Account::UpdateParams::Capabilities::PromptpayPayments), revolut_pay_payments: T.nilable(::Stripe::Account::UpdateParams::Capabilities::RevolutPayPayments), samsung_pay_payments: T.nilable(::Stripe::Account::UpdateParams::Capabilities::SamsungPayPayments), satispay_payments: T.nilable(::Stripe::Account::UpdateParams::Capabilities::SatispayPayments), sepa_bank_transfer_payments: T.nilable(::Stripe::Account::UpdateParams::Capabilities::SepaBankTransferPayments), sepa_debit_payments: T.nilable(::Stripe::Account::UpdateParams::Capabilities::SepaDebitPayments), sofort_payments: T.nilable(::Stripe::Account::UpdateParams::Capabilities::SofortPayments), swish_payments: T.nilable(::Stripe::Account::UpdateParams::Capabilities::SwishPayments), tax_reporting_us_1099_k: T.nilable(::Stripe::Account::UpdateParams::Capabilities::TaxReportingUs1099K), tax_reporting_us_1099_misc: T.nilable(::Stripe::Account::UpdateParams::Capabilities::TaxReportingUs1099Misc), transfers: T.nilable(::Stripe::Account::UpdateParams::Capabilities::Transfers), treasury: T.nilable(::Stripe::Account::UpdateParams::Capabilities::Treasury), twint_payments: T.nilable(::Stripe::Account::UpdateParams::Capabilities::TwintPayments), us_bank_account_ach_payments: T.nilable(::Stripe::Account::UpdateParams::Capabilities::UsBankAccountAchPayments), us_bank_transfer_payments: T.nilable(::Stripe::Account::UpdateParams::Capabilities::UsBankTransferPayments), zip_payments: T.nilable(::Stripe::Account::UpdateParams::Capabilities::ZipPayments)).void
|
1631
|
+
params(acss_debit_payments: T.nilable(::Stripe::Account::UpdateParams::Capabilities::AcssDebitPayments), affirm_payments: T.nilable(::Stripe::Account::UpdateParams::Capabilities::AffirmPayments), afterpay_clearpay_payments: T.nilable(::Stripe::Account::UpdateParams::Capabilities::AfterpayClearpayPayments), alma_payments: T.nilable(::Stripe::Account::UpdateParams::Capabilities::AlmaPayments), amazon_pay_payments: T.nilable(::Stripe::Account::UpdateParams::Capabilities::AmazonPayPayments), au_becs_debit_payments: T.nilable(::Stripe::Account::UpdateParams::Capabilities::AuBecsDebitPayments), bacs_debit_payments: T.nilable(::Stripe::Account::UpdateParams::Capabilities::BacsDebitPayments), bancontact_payments: T.nilable(::Stripe::Account::UpdateParams::Capabilities::BancontactPayments), bank_transfer_payments: T.nilable(::Stripe::Account::UpdateParams::Capabilities::BankTransferPayments), billie_payments: T.nilable(::Stripe::Account::UpdateParams::Capabilities::BilliePayments), blik_payments: T.nilable(::Stripe::Account::UpdateParams::Capabilities::BlikPayments), boleto_payments: T.nilable(::Stripe::Account::UpdateParams::Capabilities::BoletoPayments), card_issuing: T.nilable(::Stripe::Account::UpdateParams::Capabilities::CardIssuing), card_payments: T.nilable(::Stripe::Account::UpdateParams::Capabilities::CardPayments), cartes_bancaires_payments: T.nilable(::Stripe::Account::UpdateParams::Capabilities::CartesBancairesPayments), cashapp_payments: T.nilable(::Stripe::Account::UpdateParams::Capabilities::CashappPayments), crypto_payments: T.nilable(::Stripe::Account::UpdateParams::Capabilities::CryptoPayments), eps_payments: T.nilable(::Stripe::Account::UpdateParams::Capabilities::EpsPayments), fpx_payments: T.nilable(::Stripe::Account::UpdateParams::Capabilities::FpxPayments), gb_bank_transfer_payments: T.nilable(::Stripe::Account::UpdateParams::Capabilities::GbBankTransferPayments), giropay_payments: T.nilable(::Stripe::Account::UpdateParams::Capabilities::GiropayPayments), grabpay_payments: T.nilable(::Stripe::Account::UpdateParams::Capabilities::GrabpayPayments), ideal_payments: T.nilable(::Stripe::Account::UpdateParams::Capabilities::IdealPayments), india_international_payments: T.nilable(::Stripe::Account::UpdateParams::Capabilities::IndiaInternationalPayments), jcb_payments: T.nilable(::Stripe::Account::UpdateParams::Capabilities::JcbPayments), jp_bank_transfer_payments: T.nilable(::Stripe::Account::UpdateParams::Capabilities::JpBankTransferPayments), kakao_pay_payments: T.nilable(::Stripe::Account::UpdateParams::Capabilities::KakaoPayPayments), klarna_payments: T.nilable(::Stripe::Account::UpdateParams::Capabilities::KlarnaPayments), konbini_payments: T.nilable(::Stripe::Account::UpdateParams::Capabilities::KonbiniPayments), kr_card_payments: T.nilable(::Stripe::Account::UpdateParams::Capabilities::KrCardPayments), legacy_payments: T.nilable(::Stripe::Account::UpdateParams::Capabilities::LegacyPayments), link_payments: T.nilable(::Stripe::Account::UpdateParams::Capabilities::LinkPayments), mobilepay_payments: T.nilable(::Stripe::Account::UpdateParams::Capabilities::MobilepayPayments), multibanco_payments: T.nilable(::Stripe::Account::UpdateParams::Capabilities::MultibancoPayments), mx_bank_transfer_payments: T.nilable(::Stripe::Account::UpdateParams::Capabilities::MxBankTransferPayments), naver_pay_payments: T.nilable(::Stripe::Account::UpdateParams::Capabilities::NaverPayPayments), nz_bank_account_becs_debit_payments: T.nilable(::Stripe::Account::UpdateParams::Capabilities::NzBankAccountBecsDebitPayments), oxxo_payments: T.nilable(::Stripe::Account::UpdateParams::Capabilities::OxxoPayments), p24_payments: T.nilable(::Stripe::Account::UpdateParams::Capabilities::P24Payments), pay_by_bank_payments: T.nilable(::Stripe::Account::UpdateParams::Capabilities::PayByBankPayments), payco_payments: T.nilable(::Stripe::Account::UpdateParams::Capabilities::PaycoPayments), paynow_payments: T.nilable(::Stripe::Account::UpdateParams::Capabilities::PaynowPayments), pix_payments: T.nilable(::Stripe::Account::UpdateParams::Capabilities::PixPayments), promptpay_payments: T.nilable(::Stripe::Account::UpdateParams::Capabilities::PromptpayPayments), revolut_pay_payments: T.nilable(::Stripe::Account::UpdateParams::Capabilities::RevolutPayPayments), samsung_pay_payments: T.nilable(::Stripe::Account::UpdateParams::Capabilities::SamsungPayPayments), satispay_payments: T.nilable(::Stripe::Account::UpdateParams::Capabilities::SatispayPayments), sepa_bank_transfer_payments: T.nilable(::Stripe::Account::UpdateParams::Capabilities::SepaBankTransferPayments), sepa_debit_payments: T.nilable(::Stripe::Account::UpdateParams::Capabilities::SepaDebitPayments), sofort_payments: T.nilable(::Stripe::Account::UpdateParams::Capabilities::SofortPayments), swish_payments: T.nilable(::Stripe::Account::UpdateParams::Capabilities::SwishPayments), tax_reporting_us_1099_k: T.nilable(::Stripe::Account::UpdateParams::Capabilities::TaxReportingUs1099K), tax_reporting_us_1099_misc: T.nilable(::Stripe::Account::UpdateParams::Capabilities::TaxReportingUs1099Misc), transfers: T.nilable(::Stripe::Account::UpdateParams::Capabilities::Transfers), treasury: T.nilable(::Stripe::Account::UpdateParams::Capabilities::Treasury), twint_payments: T.nilable(::Stripe::Account::UpdateParams::Capabilities::TwintPayments), us_bank_account_ach_payments: T.nilable(::Stripe::Account::UpdateParams::Capabilities::UsBankAccountAchPayments), us_bank_transfer_payments: T.nilable(::Stripe::Account::UpdateParams::Capabilities::UsBankTransferPayments), zip_payments: T.nilable(::Stripe::Account::UpdateParams::Capabilities::ZipPayments)).void
|
1613
1632
|
}
|
1614
1633
|
def initialize(
|
1615
1634
|
acss_debit_payments: nil,
|
@@ -1628,6 +1647,7 @@ module Stripe
|
|
1628
1647
|
card_payments: nil,
|
1629
1648
|
cartes_bancaires_payments: nil,
|
1630
1649
|
cashapp_payments: nil,
|
1650
|
+
crypto_payments: nil,
|
1631
1651
|
eps_payments: nil,
|
1632
1652
|
fpx_payments: nil,
|
1633
1653
|
gb_bank_transfer_payments: nil,
|
@@ -2059,6 +2079,13 @@ module Stripe
|
|
2059
2079
|
sig { params(files: T.nilable(T::Array[String])).void }
|
2060
2080
|
def initialize(files: nil); end
|
2061
2081
|
end
|
2082
|
+
class ProofOfAddress < Stripe::RequestParams
|
2083
|
+
# One or more document ids returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `account_requirement`.
|
2084
|
+
sig { returns(T.nilable(T::Array[String])) }
|
2085
|
+
attr_accessor :files
|
2086
|
+
sig { params(files: T.nilable(T::Array[String])).void }
|
2087
|
+
def initialize(files: nil); end
|
2088
|
+
end
|
2062
2089
|
class ProofOfRegistration < Stripe::RequestParams
|
2063
2090
|
# One or more document ids returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `account_requirement`.
|
2064
2091
|
sig { returns(T.nilable(T::Array[String])) }
|
@@ -2101,6 +2128,9 @@ module Stripe
|
|
2101
2128
|
returns(T.nilable(::Stripe::Account::UpdateParams::Documents::CompanyTaxIdVerification))
|
2102
2129
|
}
|
2103
2130
|
attr_accessor :company_tax_id_verification
|
2131
|
+
# One or more documents that demonstrate proof of address.
|
2132
|
+
sig { returns(T.nilable(::Stripe::Account::UpdateParams::Documents::ProofOfAddress)) }
|
2133
|
+
attr_accessor :proof_of_address
|
2104
2134
|
# One or more documents showing the company’s proof of registration with the national business registry.
|
2105
2135
|
sig { returns(T.nilable(::Stripe::Account::UpdateParams::Documents::ProofOfRegistration)) }
|
2106
2136
|
attr_accessor :proof_of_registration
|
@@ -2110,7 +2140,7 @@ module Stripe
|
|
2110
2140
|
}
|
2111
2141
|
attr_accessor :proof_of_ultimate_beneficial_ownership
|
2112
2142
|
sig {
|
2113
|
-
params(bank_account_ownership_verification: T.nilable(::Stripe::Account::UpdateParams::Documents::BankAccountOwnershipVerification), company_license: T.nilable(::Stripe::Account::UpdateParams::Documents::CompanyLicense), company_memorandum_of_association: T.nilable(::Stripe::Account::UpdateParams::Documents::CompanyMemorandumOfAssociation), company_ministerial_decree: T.nilable(::Stripe::Account::UpdateParams::Documents::CompanyMinisterialDecree), company_registration_verification: T.nilable(::Stripe::Account::UpdateParams::Documents::CompanyRegistrationVerification), company_tax_id_verification: T.nilable(::Stripe::Account::UpdateParams::Documents::CompanyTaxIdVerification), proof_of_registration: T.nilable(::Stripe::Account::UpdateParams::Documents::ProofOfRegistration), proof_of_ultimate_beneficial_ownership: T.nilable(::Stripe::Account::UpdateParams::Documents::ProofOfUltimateBeneficialOwnership)).void
|
2143
|
+
params(bank_account_ownership_verification: T.nilable(::Stripe::Account::UpdateParams::Documents::BankAccountOwnershipVerification), company_license: T.nilable(::Stripe::Account::UpdateParams::Documents::CompanyLicense), company_memorandum_of_association: T.nilable(::Stripe::Account::UpdateParams::Documents::CompanyMemorandumOfAssociation), company_ministerial_decree: T.nilable(::Stripe::Account::UpdateParams::Documents::CompanyMinisterialDecree), company_registration_verification: T.nilable(::Stripe::Account::UpdateParams::Documents::CompanyRegistrationVerification), company_tax_id_verification: T.nilable(::Stripe::Account::UpdateParams::Documents::CompanyTaxIdVerification), proof_of_address: T.nilable(::Stripe::Account::UpdateParams::Documents::ProofOfAddress), proof_of_registration: T.nilable(::Stripe::Account::UpdateParams::Documents::ProofOfRegistration), proof_of_ultimate_beneficial_ownership: T.nilable(::Stripe::Account::UpdateParams::Documents::ProofOfUltimateBeneficialOwnership)).void
|
2114
2144
|
}
|
2115
2145
|
def initialize(
|
2116
2146
|
bank_account_ownership_verification: nil,
|
@@ -2119,6 +2149,7 @@ module Stripe
|
|
2119
2149
|
company_ministerial_decree: nil,
|
2120
2150
|
company_registration_verification: nil,
|
2121
2151
|
company_tax_id_verification: nil,
|
2152
|
+
proof_of_address: nil,
|
2122
2153
|
proof_of_registration: nil,
|
2123
2154
|
proof_of_ultimate_beneficial_ownership: nil
|
2124
2155
|
); end
|
@@ -2570,17 +2601,25 @@ module Stripe
|
|
2570
2601
|
# The day of the month when available funds are paid out, specified as a number between 1--31. Payouts nominally scheduled between the 29th and 31st of the month are instead sent on the last day of a shorter month. Required and applicable only if `interval` is `monthly`.
|
2571
2602
|
sig { returns(T.nilable(Integer)) }
|
2572
2603
|
attr_accessor :monthly_anchor
|
2604
|
+
# The days of the month when available funds are paid out, specified as an array of numbers between 1--31. Payouts nominally scheduled between the 29th and 31st of the month are instead sent on the last day of a shorter month. Required and applicable only if `interval` is `monthly` and `monthly_anchor` is not set.
|
2605
|
+
sig { returns(T.nilable(T::Array[Integer])) }
|
2606
|
+
attr_accessor :monthly_payout_days
|
2573
2607
|
# The day of the week when available funds are paid out, specified as `monday`, `tuesday`, etc. (required and applicable only if `interval` is `weekly`.)
|
2574
2608
|
sig { returns(T.nilable(String)) }
|
2575
2609
|
attr_accessor :weekly_anchor
|
2610
|
+
# The days of the week when available funds are paid out, specified as an array, e.g., [`monday`, `tuesday`]. (required and applicable only if `interval` is `weekly` and `weekly_anchor` is not set.)
|
2611
|
+
sig { returns(T.nilable(T::Array[String])) }
|
2612
|
+
attr_accessor :weekly_payout_days
|
2576
2613
|
sig {
|
2577
|
-
params(delay_days: T.nilable(T.any(String, Integer)), interval: T.nilable(String), monthly_anchor: T.nilable(Integer), weekly_anchor: T.nilable(String)).void
|
2614
|
+
params(delay_days: T.nilable(T.any(String, Integer)), interval: T.nilable(String), monthly_anchor: T.nilable(Integer), monthly_payout_days: T.nilable(T::Array[Integer]), weekly_anchor: T.nilable(String), weekly_payout_days: T.nilable(T::Array[String])).void
|
2578
2615
|
}
|
2579
2616
|
def initialize(
|
2580
2617
|
delay_days: nil,
|
2581
2618
|
interval: nil,
|
2582
2619
|
monthly_anchor: nil,
|
2583
|
-
|
2620
|
+
monthly_payout_days: nil,
|
2621
|
+
weekly_anchor: nil,
|
2622
|
+
weekly_payout_days: nil
|
2584
2623
|
); end
|
2585
2624
|
end
|
2586
2625
|
# A Boolean indicating whether Stripe should try to reclaim negative balances from an attached bank account. For details, see [Understanding Connect Account Balances](/connect/account-balances).
|
@@ -3063,6 +3102,13 @@ module Stripe
|
|
3063
3102
|
sig { params(requested: T.nilable(T::Boolean)).void }
|
3064
3103
|
def initialize(requested: nil); end
|
3065
3104
|
end
|
3105
|
+
class CryptoPayments < Stripe::RequestParams
|
3106
|
+
# 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.
|
3107
|
+
sig { returns(T.nilable(T::Boolean)) }
|
3108
|
+
attr_accessor :requested
|
3109
|
+
sig { params(requested: T.nilable(T::Boolean)).void }
|
3110
|
+
def initialize(requested: nil); end
|
3111
|
+
end
|
3066
3112
|
class EpsPayments < Stripe::RequestParams
|
3067
3113
|
# 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.
|
3068
3114
|
sig { returns(T.nilable(T::Boolean)) }
|
@@ -3415,6 +3461,9 @@ module Stripe
|
|
3415
3461
|
# The cashapp_payments capability.
|
3416
3462
|
sig { returns(T.nilable(::Stripe::Account::CreateParams::Capabilities::CashappPayments)) }
|
3417
3463
|
attr_accessor :cashapp_payments
|
3464
|
+
# The crypto_payments capability.
|
3465
|
+
sig { returns(T.nilable(::Stripe::Account::CreateParams::Capabilities::CryptoPayments)) }
|
3466
|
+
attr_accessor :crypto_payments
|
3418
3467
|
# The eps_payments capability.
|
3419
3468
|
sig { returns(T.nilable(::Stripe::Account::CreateParams::Capabilities::EpsPayments)) }
|
3420
3469
|
attr_accessor :eps_payments
|
@@ -3568,7 +3617,7 @@ module Stripe
|
|
3568
3617
|
sig { returns(T.nilable(::Stripe::Account::CreateParams::Capabilities::ZipPayments)) }
|
3569
3618
|
attr_accessor :zip_payments
|
3570
3619
|
sig {
|
3571
|
-
params(acss_debit_payments: T.nilable(::Stripe::Account::CreateParams::Capabilities::AcssDebitPayments), affirm_payments: T.nilable(::Stripe::Account::CreateParams::Capabilities::AffirmPayments), afterpay_clearpay_payments: T.nilable(::Stripe::Account::CreateParams::Capabilities::AfterpayClearpayPayments), alma_payments: T.nilable(::Stripe::Account::CreateParams::Capabilities::AlmaPayments), amazon_pay_payments: T.nilable(::Stripe::Account::CreateParams::Capabilities::AmazonPayPayments), au_becs_debit_payments: T.nilable(::Stripe::Account::CreateParams::Capabilities::AuBecsDebitPayments), bacs_debit_payments: T.nilable(::Stripe::Account::CreateParams::Capabilities::BacsDebitPayments), bancontact_payments: T.nilable(::Stripe::Account::CreateParams::Capabilities::BancontactPayments), bank_transfer_payments: T.nilable(::Stripe::Account::CreateParams::Capabilities::BankTransferPayments), billie_payments: T.nilable(::Stripe::Account::CreateParams::Capabilities::BilliePayments), blik_payments: T.nilable(::Stripe::Account::CreateParams::Capabilities::BlikPayments), boleto_payments: T.nilable(::Stripe::Account::CreateParams::Capabilities::BoletoPayments), card_issuing: T.nilable(::Stripe::Account::CreateParams::Capabilities::CardIssuing), card_payments: T.nilable(::Stripe::Account::CreateParams::Capabilities::CardPayments), cartes_bancaires_payments: T.nilable(::Stripe::Account::CreateParams::Capabilities::CartesBancairesPayments), cashapp_payments: T.nilable(::Stripe::Account::CreateParams::Capabilities::CashappPayments), eps_payments: T.nilable(::Stripe::Account::CreateParams::Capabilities::EpsPayments), fpx_payments: T.nilable(::Stripe::Account::CreateParams::Capabilities::FpxPayments), gb_bank_transfer_payments: T.nilable(::Stripe::Account::CreateParams::Capabilities::GbBankTransferPayments), giropay_payments: T.nilable(::Stripe::Account::CreateParams::Capabilities::GiropayPayments), grabpay_payments: T.nilable(::Stripe::Account::CreateParams::Capabilities::GrabpayPayments), ideal_payments: T.nilable(::Stripe::Account::CreateParams::Capabilities::IdealPayments), india_international_payments: T.nilable(::Stripe::Account::CreateParams::Capabilities::IndiaInternationalPayments), jcb_payments: T.nilable(::Stripe::Account::CreateParams::Capabilities::JcbPayments), jp_bank_transfer_payments: T.nilable(::Stripe::Account::CreateParams::Capabilities::JpBankTransferPayments), kakao_pay_payments: T.nilable(::Stripe::Account::CreateParams::Capabilities::KakaoPayPayments), klarna_payments: T.nilable(::Stripe::Account::CreateParams::Capabilities::KlarnaPayments), konbini_payments: T.nilable(::Stripe::Account::CreateParams::Capabilities::KonbiniPayments), kr_card_payments: T.nilable(::Stripe::Account::CreateParams::Capabilities::KrCardPayments), legacy_payments: T.nilable(::Stripe::Account::CreateParams::Capabilities::LegacyPayments), link_payments: T.nilable(::Stripe::Account::CreateParams::Capabilities::LinkPayments), mobilepay_payments: T.nilable(::Stripe::Account::CreateParams::Capabilities::MobilepayPayments), multibanco_payments: T.nilable(::Stripe::Account::CreateParams::Capabilities::MultibancoPayments), mx_bank_transfer_payments: T.nilable(::Stripe::Account::CreateParams::Capabilities::MxBankTransferPayments), naver_pay_payments: T.nilable(::Stripe::Account::CreateParams::Capabilities::NaverPayPayments), nz_bank_account_becs_debit_payments: T.nilable(::Stripe::Account::CreateParams::Capabilities::NzBankAccountBecsDebitPayments), oxxo_payments: T.nilable(::Stripe::Account::CreateParams::Capabilities::OxxoPayments), p24_payments: T.nilable(::Stripe::Account::CreateParams::Capabilities::P24Payments), pay_by_bank_payments: T.nilable(::Stripe::Account::CreateParams::Capabilities::PayByBankPayments), payco_payments: T.nilable(::Stripe::Account::CreateParams::Capabilities::PaycoPayments), paynow_payments: T.nilable(::Stripe::Account::CreateParams::Capabilities::PaynowPayments), pix_payments: T.nilable(::Stripe::Account::CreateParams::Capabilities::PixPayments), promptpay_payments: T.nilable(::Stripe::Account::CreateParams::Capabilities::PromptpayPayments), revolut_pay_payments: T.nilable(::Stripe::Account::CreateParams::Capabilities::RevolutPayPayments), samsung_pay_payments: T.nilable(::Stripe::Account::CreateParams::Capabilities::SamsungPayPayments), satispay_payments: T.nilable(::Stripe::Account::CreateParams::Capabilities::SatispayPayments), sepa_bank_transfer_payments: T.nilable(::Stripe::Account::CreateParams::Capabilities::SepaBankTransferPayments), sepa_debit_payments: T.nilable(::Stripe::Account::CreateParams::Capabilities::SepaDebitPayments), sofort_payments: T.nilable(::Stripe::Account::CreateParams::Capabilities::SofortPayments), swish_payments: T.nilable(::Stripe::Account::CreateParams::Capabilities::SwishPayments), tax_reporting_us_1099_k: T.nilable(::Stripe::Account::CreateParams::Capabilities::TaxReportingUs1099K), tax_reporting_us_1099_misc: T.nilable(::Stripe::Account::CreateParams::Capabilities::TaxReportingUs1099Misc), transfers: T.nilable(::Stripe::Account::CreateParams::Capabilities::Transfers), treasury: T.nilable(::Stripe::Account::CreateParams::Capabilities::Treasury), twint_payments: T.nilable(::Stripe::Account::CreateParams::Capabilities::TwintPayments), us_bank_account_ach_payments: T.nilable(::Stripe::Account::CreateParams::Capabilities::UsBankAccountAchPayments), us_bank_transfer_payments: T.nilable(::Stripe::Account::CreateParams::Capabilities::UsBankTransferPayments), zip_payments: T.nilable(::Stripe::Account::CreateParams::Capabilities::ZipPayments)).void
|
3620
|
+
params(acss_debit_payments: T.nilable(::Stripe::Account::CreateParams::Capabilities::AcssDebitPayments), affirm_payments: T.nilable(::Stripe::Account::CreateParams::Capabilities::AffirmPayments), afterpay_clearpay_payments: T.nilable(::Stripe::Account::CreateParams::Capabilities::AfterpayClearpayPayments), alma_payments: T.nilable(::Stripe::Account::CreateParams::Capabilities::AlmaPayments), amazon_pay_payments: T.nilable(::Stripe::Account::CreateParams::Capabilities::AmazonPayPayments), au_becs_debit_payments: T.nilable(::Stripe::Account::CreateParams::Capabilities::AuBecsDebitPayments), bacs_debit_payments: T.nilable(::Stripe::Account::CreateParams::Capabilities::BacsDebitPayments), bancontact_payments: T.nilable(::Stripe::Account::CreateParams::Capabilities::BancontactPayments), bank_transfer_payments: T.nilable(::Stripe::Account::CreateParams::Capabilities::BankTransferPayments), billie_payments: T.nilable(::Stripe::Account::CreateParams::Capabilities::BilliePayments), blik_payments: T.nilable(::Stripe::Account::CreateParams::Capabilities::BlikPayments), boleto_payments: T.nilable(::Stripe::Account::CreateParams::Capabilities::BoletoPayments), card_issuing: T.nilable(::Stripe::Account::CreateParams::Capabilities::CardIssuing), card_payments: T.nilable(::Stripe::Account::CreateParams::Capabilities::CardPayments), cartes_bancaires_payments: T.nilable(::Stripe::Account::CreateParams::Capabilities::CartesBancairesPayments), cashapp_payments: T.nilable(::Stripe::Account::CreateParams::Capabilities::CashappPayments), crypto_payments: T.nilable(::Stripe::Account::CreateParams::Capabilities::CryptoPayments), eps_payments: T.nilable(::Stripe::Account::CreateParams::Capabilities::EpsPayments), fpx_payments: T.nilable(::Stripe::Account::CreateParams::Capabilities::FpxPayments), gb_bank_transfer_payments: T.nilable(::Stripe::Account::CreateParams::Capabilities::GbBankTransferPayments), giropay_payments: T.nilable(::Stripe::Account::CreateParams::Capabilities::GiropayPayments), grabpay_payments: T.nilable(::Stripe::Account::CreateParams::Capabilities::GrabpayPayments), ideal_payments: T.nilable(::Stripe::Account::CreateParams::Capabilities::IdealPayments), india_international_payments: T.nilable(::Stripe::Account::CreateParams::Capabilities::IndiaInternationalPayments), jcb_payments: T.nilable(::Stripe::Account::CreateParams::Capabilities::JcbPayments), jp_bank_transfer_payments: T.nilable(::Stripe::Account::CreateParams::Capabilities::JpBankTransferPayments), kakao_pay_payments: T.nilable(::Stripe::Account::CreateParams::Capabilities::KakaoPayPayments), klarna_payments: T.nilable(::Stripe::Account::CreateParams::Capabilities::KlarnaPayments), konbini_payments: T.nilable(::Stripe::Account::CreateParams::Capabilities::KonbiniPayments), kr_card_payments: T.nilable(::Stripe::Account::CreateParams::Capabilities::KrCardPayments), legacy_payments: T.nilable(::Stripe::Account::CreateParams::Capabilities::LegacyPayments), link_payments: T.nilable(::Stripe::Account::CreateParams::Capabilities::LinkPayments), mobilepay_payments: T.nilable(::Stripe::Account::CreateParams::Capabilities::MobilepayPayments), multibanco_payments: T.nilable(::Stripe::Account::CreateParams::Capabilities::MultibancoPayments), mx_bank_transfer_payments: T.nilable(::Stripe::Account::CreateParams::Capabilities::MxBankTransferPayments), naver_pay_payments: T.nilable(::Stripe::Account::CreateParams::Capabilities::NaverPayPayments), nz_bank_account_becs_debit_payments: T.nilable(::Stripe::Account::CreateParams::Capabilities::NzBankAccountBecsDebitPayments), oxxo_payments: T.nilable(::Stripe::Account::CreateParams::Capabilities::OxxoPayments), p24_payments: T.nilable(::Stripe::Account::CreateParams::Capabilities::P24Payments), pay_by_bank_payments: T.nilable(::Stripe::Account::CreateParams::Capabilities::PayByBankPayments), payco_payments: T.nilable(::Stripe::Account::CreateParams::Capabilities::PaycoPayments), paynow_payments: T.nilable(::Stripe::Account::CreateParams::Capabilities::PaynowPayments), pix_payments: T.nilable(::Stripe::Account::CreateParams::Capabilities::PixPayments), promptpay_payments: T.nilable(::Stripe::Account::CreateParams::Capabilities::PromptpayPayments), revolut_pay_payments: T.nilable(::Stripe::Account::CreateParams::Capabilities::RevolutPayPayments), samsung_pay_payments: T.nilable(::Stripe::Account::CreateParams::Capabilities::SamsungPayPayments), satispay_payments: T.nilable(::Stripe::Account::CreateParams::Capabilities::SatispayPayments), sepa_bank_transfer_payments: T.nilable(::Stripe::Account::CreateParams::Capabilities::SepaBankTransferPayments), sepa_debit_payments: T.nilable(::Stripe::Account::CreateParams::Capabilities::SepaDebitPayments), sofort_payments: T.nilable(::Stripe::Account::CreateParams::Capabilities::SofortPayments), swish_payments: T.nilable(::Stripe::Account::CreateParams::Capabilities::SwishPayments), tax_reporting_us_1099_k: T.nilable(::Stripe::Account::CreateParams::Capabilities::TaxReportingUs1099K), tax_reporting_us_1099_misc: T.nilable(::Stripe::Account::CreateParams::Capabilities::TaxReportingUs1099Misc), transfers: T.nilable(::Stripe::Account::CreateParams::Capabilities::Transfers), treasury: T.nilable(::Stripe::Account::CreateParams::Capabilities::Treasury), twint_payments: T.nilable(::Stripe::Account::CreateParams::Capabilities::TwintPayments), us_bank_account_ach_payments: T.nilable(::Stripe::Account::CreateParams::Capabilities::UsBankAccountAchPayments), us_bank_transfer_payments: T.nilable(::Stripe::Account::CreateParams::Capabilities::UsBankTransferPayments), zip_payments: T.nilable(::Stripe::Account::CreateParams::Capabilities::ZipPayments)).void
|
3572
3621
|
}
|
3573
3622
|
def initialize(
|
3574
3623
|
acss_debit_payments: nil,
|
@@ -3587,6 +3636,7 @@ module Stripe
|
|
3587
3636
|
card_payments: nil,
|
3588
3637
|
cartes_bancaires_payments: nil,
|
3589
3638
|
cashapp_payments: nil,
|
3639
|
+
crypto_payments: nil,
|
3590
3640
|
eps_payments: nil,
|
3591
3641
|
fpx_payments: nil,
|
3592
3642
|
gb_bank_transfer_payments: nil,
|
@@ -3924,7 +3974,7 @@ module Stripe
|
|
3924
3974
|
# The company's phone number (used for verification).
|
3925
3975
|
sig { returns(T.nilable(String)) }
|
3926
3976
|
attr_accessor :phone
|
3927
|
-
#
|
3977
|
+
# When the business was incorporated or registered.
|
3928
3978
|
sig {
|
3929
3979
|
returns(T.nilable(T.nilable(T.any(String, ::Stripe::Account::CreateParams::Company::RegistrationDate))))
|
3930
3980
|
}
|
@@ -4062,6 +4112,13 @@ module Stripe
|
|
4062
4112
|
sig { params(files: T.nilable(T::Array[String])).void }
|
4063
4113
|
def initialize(files: nil); end
|
4064
4114
|
end
|
4115
|
+
class ProofOfAddress < Stripe::RequestParams
|
4116
|
+
# One or more document ids returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `account_requirement`.
|
4117
|
+
sig { returns(T.nilable(T::Array[String])) }
|
4118
|
+
attr_accessor :files
|
4119
|
+
sig { params(files: T.nilable(T::Array[String])).void }
|
4120
|
+
def initialize(files: nil); end
|
4121
|
+
end
|
4065
4122
|
class ProofOfRegistration < Stripe::RequestParams
|
4066
4123
|
# One or more document ids returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `account_requirement`.
|
4067
4124
|
sig { returns(T.nilable(T::Array[String])) }
|
@@ -4104,6 +4161,9 @@ module Stripe
|
|
4104
4161
|
returns(T.nilable(::Stripe::Account::CreateParams::Documents::CompanyTaxIdVerification))
|
4105
4162
|
}
|
4106
4163
|
attr_accessor :company_tax_id_verification
|
4164
|
+
# One or more documents that demonstrate proof of address.
|
4165
|
+
sig { returns(T.nilable(::Stripe::Account::CreateParams::Documents::ProofOfAddress)) }
|
4166
|
+
attr_accessor :proof_of_address
|
4107
4167
|
# One or more documents showing the company’s proof of registration with the national business registry.
|
4108
4168
|
sig { returns(T.nilable(::Stripe::Account::CreateParams::Documents::ProofOfRegistration)) }
|
4109
4169
|
attr_accessor :proof_of_registration
|
@@ -4113,7 +4173,7 @@ module Stripe
|
|
4113
4173
|
}
|
4114
4174
|
attr_accessor :proof_of_ultimate_beneficial_ownership
|
4115
4175
|
sig {
|
4116
|
-
params(bank_account_ownership_verification: T.nilable(::Stripe::Account::CreateParams::Documents::BankAccountOwnershipVerification), company_license: T.nilable(::Stripe::Account::CreateParams::Documents::CompanyLicense), company_memorandum_of_association: T.nilable(::Stripe::Account::CreateParams::Documents::CompanyMemorandumOfAssociation), company_ministerial_decree: T.nilable(::Stripe::Account::CreateParams::Documents::CompanyMinisterialDecree), company_registration_verification: T.nilable(::Stripe::Account::CreateParams::Documents::CompanyRegistrationVerification), company_tax_id_verification: T.nilable(::Stripe::Account::CreateParams::Documents::CompanyTaxIdVerification), proof_of_registration: T.nilable(::Stripe::Account::CreateParams::Documents::ProofOfRegistration), proof_of_ultimate_beneficial_ownership: T.nilable(::Stripe::Account::CreateParams::Documents::ProofOfUltimateBeneficialOwnership)).void
|
4176
|
+
params(bank_account_ownership_verification: T.nilable(::Stripe::Account::CreateParams::Documents::BankAccountOwnershipVerification), company_license: T.nilable(::Stripe::Account::CreateParams::Documents::CompanyLicense), company_memorandum_of_association: T.nilable(::Stripe::Account::CreateParams::Documents::CompanyMemorandumOfAssociation), company_ministerial_decree: T.nilable(::Stripe::Account::CreateParams::Documents::CompanyMinisterialDecree), company_registration_verification: T.nilable(::Stripe::Account::CreateParams::Documents::CompanyRegistrationVerification), company_tax_id_verification: T.nilable(::Stripe::Account::CreateParams::Documents::CompanyTaxIdVerification), proof_of_address: T.nilable(::Stripe::Account::CreateParams::Documents::ProofOfAddress), proof_of_registration: T.nilable(::Stripe::Account::CreateParams::Documents::ProofOfRegistration), proof_of_ultimate_beneficial_ownership: T.nilable(::Stripe::Account::CreateParams::Documents::ProofOfUltimateBeneficialOwnership)).void
|
4117
4177
|
}
|
4118
4178
|
def initialize(
|
4119
4179
|
bank_account_ownership_verification: nil,
|
@@ -4122,6 +4182,7 @@ module Stripe
|
|
4122
4182
|
company_ministerial_decree: nil,
|
4123
4183
|
company_registration_verification: nil,
|
4124
4184
|
company_tax_id_verification: nil,
|
4185
|
+
proof_of_address: nil,
|
4125
4186
|
proof_of_registration: nil,
|
4126
4187
|
proof_of_ultimate_beneficial_ownership: nil
|
4127
4188
|
); end
|
@@ -4568,17 +4629,25 @@ module Stripe
|
|
4568
4629
|
# The day of the month when available funds are paid out, specified as a number between 1--31. Payouts nominally scheduled between the 29th and 31st of the month are instead sent on the last day of a shorter month. Required and applicable only if `interval` is `monthly`.
|
4569
4630
|
sig { returns(T.nilable(Integer)) }
|
4570
4631
|
attr_accessor :monthly_anchor
|
4632
|
+
# The days of the month when available funds are paid out, specified as an array of numbers between 1--31. Payouts nominally scheduled between the 29th and 31st of the month are instead sent on the last day of a shorter month. Required and applicable only if `interval` is `monthly` and `monthly_anchor` is not set.
|
4633
|
+
sig { returns(T.nilable(T::Array[Integer])) }
|
4634
|
+
attr_accessor :monthly_payout_days
|
4571
4635
|
# The day of the week when available funds are paid out, specified as `monday`, `tuesday`, etc. (required and applicable only if `interval` is `weekly`.)
|
4572
4636
|
sig { returns(T.nilable(String)) }
|
4573
4637
|
attr_accessor :weekly_anchor
|
4638
|
+
# The days of the week when available funds are paid out, specified as an array, e.g., [`monday`, `tuesday`]. (required and applicable only if `interval` is `weekly` and `weekly_anchor` is not set.)
|
4639
|
+
sig { returns(T.nilable(T::Array[String])) }
|
4640
|
+
attr_accessor :weekly_payout_days
|
4574
4641
|
sig {
|
4575
|
-
params(delay_days: T.nilable(T.any(String, Integer)), interval: T.nilable(String), monthly_anchor: T.nilable(Integer), weekly_anchor: T.nilable(String)).void
|
4642
|
+
params(delay_days: T.nilable(T.any(String, Integer)), interval: T.nilable(String), monthly_anchor: T.nilable(Integer), monthly_payout_days: T.nilable(T::Array[Integer]), weekly_anchor: T.nilable(String), weekly_payout_days: T.nilable(T::Array[String])).void
|
4576
4643
|
}
|
4577
4644
|
def initialize(
|
4578
4645
|
delay_days: nil,
|
4579
4646
|
interval: nil,
|
4580
4647
|
monthly_anchor: nil,
|
4581
|
-
|
4648
|
+
monthly_payout_days: nil,
|
4649
|
+
weekly_anchor: nil,
|
4650
|
+
weekly_payout_days: nil
|
4582
4651
|
); end
|
4583
4652
|
end
|
4584
4653
|
# A Boolean indicating whether Stripe should try to reclaim negative balances from an attached bank account. For details, see [Understanding Connect Account Balances](/connect/account-balances).
|