stripe 15.3.0.pre.beta.2 → 15.4.0.pre.beta.1
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 +42 -16
- data/OPENAPI_VERSION +1 -1
- data/README.md +13 -49
- data/VERSION +1 -1
- data/lib/stripe/api_requestor.rb +2 -2
- data/lib/stripe/api_version.rb +1 -1
- data/lib/stripe/errors.rb +3 -3
- 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 +93 -93
- 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 +53 -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/dispute.rb +2 -0
- data/lib/stripe/resources/event.rb +1 -1
- data/lib/stripe/resources/identity/verification_session.rb +34 -0
- data/lib/stripe/resources/invoice.rb +21 -3
- data/lib/stripe/resources/invoice_item.rb +1 -4
- data/lib/stripe/resources/mandate.rb +3 -0
- data/lib/stripe/resources/order.rb +154 -2
- data/lib/stripe/resources/payment_attempt_record.rb +30 -17
- data/lib/stripe/resources/payment_intent.rb +331 -12
- data/lib/stripe/resources/payment_method.rb +17 -9
- data/lib/stripe/resources/payment_record.rb +30 -17
- data/lib/stripe/resources/quote.rb +15 -1
- data/lib/stripe/resources/quote_preview_subscription_schedule.rb +8 -1
- data/lib/stripe/resources/setup_attempt.rb +1 -1
- data/lib/stripe/resources/setup_intent.rb +285 -3
- data/lib/stripe/resources/subscription.rb +27 -10
- data/lib/stripe/resources/subscription_schedule.rb +17 -1
- 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 +10 -10
- data/lib/stripe/resources/token.rb +1 -1
- data/lib/stripe/resources/treasury/financial_account.rb +5 -1
- data/lib/stripe/resources/v2/core/account.rb +9 -0
- data/lib/stripe/resources/v2/money_management/financial_account.rb +3 -3
- data/lib/stripe/resources/v2/money_management/outbound_payment.rb +1 -1
- data/lib/stripe/resources/v2/money_management/outbound_transfer.rb +1 -1
- data/lib/stripe/resources/v2/money_management/received_credit.rb +8 -2
- data/lib/stripe/services/account_service.rb +83 -5
- data/lib/stripe/services/account_session_service.rb +62 -62
- data/lib/stripe/services/billing_portal/session_service.rb +1 -1
- data/lib/stripe/services/checkout/session_service.rb +53 -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 +21 -3
- data/lib/stripe/services/order_service.rb +154 -2
- 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 +9 -0
- data/lib/stripe/services/setup_intent_service.rb +275 -2
- data/lib/stripe/services/subscription_schedule_service.rb +9 -0
- data/lib/stripe/services/subscription_service.rb +21 -4
- data/lib/stripe/services/tax/registration_service.rb +13 -0
- data/lib/stripe/services/terminal/reader_service.rb +4 -4
- 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/account_service.rb +47 -15
- data/lib/stripe/services/v2/core/accounts/person_service.rb +9 -10
- data/lib/stripe/services/v2/core/event_destination_service.rb +16 -16
- data/lib/stripe/services/v2/core/vault/gb_bank_account_service.rb +4 -5
- data/lib/stripe/services/v2/core/vault/us_bank_account_service.rb +2 -2
- data/lib/stripe/services/v2/core_service.rb +2 -2
- data/lib/stripe/services/v2/money_management/financial_address_service.rb +13 -12
- data/lib/stripe/services/v2/money_management/inbound_transfer_service.rb +36 -36
- data/lib/stripe/services/v2/money_management/outbound_payment_service.rb +44 -45
- data/lib/stripe/services/v2/money_management/outbound_setup_intent_service.rb +10 -10
- data/lib/stripe/services/v2/money_management/outbound_transfer_service.rb +41 -41
- data/lib/stripe/services/v2/money_management/payout_method_service.rb +1 -2
- data/lib/stripe/services/v2/money_management_service.rb +4 -4
- data/lib/stripe/services/v2/payments/off_session_payment_service.rb +9 -10
- data/lib/stripe/services/v2_services.rb +3 -3
- data/lib/stripe/version.rb +1 -1
- data/lib/stripe/webhook.rb +1 -1
- data/rbi/stripe.rbi +14445 -12226
- metadata +3 -2
@@ -20,9 +20,9 @@ module Stripe
|
|
20
20
|
class Components < Stripe::StripeObject
|
21
21
|
class AccountManagement < Stripe::StripeObject
|
22
22
|
class Features < Stripe::StripeObject
|
23
|
-
#
|
23
|
+
# Whether Stripe user authentication is disabled. This value can only be `true` for accounts where `controller.requirement_collection` is `application` for the account. The default value is the opposite of the `external_account_collection` value. For example, if you don't set `external_account_collection`, it defaults to `true` and `disable_stripe_user_authentication` defaults to `false`.
|
24
24
|
attr_reader :disable_stripe_user_authentication
|
25
|
-
# Whether
|
25
|
+
# Whether external account collection is enabled. This feature can only be `false` for accounts where you’re responsible for collecting updated information when requirements are due or change, like Custom accounts. The default value for this feature is `true`.
|
26
26
|
attr_reader :external_account_collection
|
27
27
|
end
|
28
28
|
# Whether the embedded component is enabled.
|
@@ -33,9 +33,9 @@ module Stripe
|
|
33
33
|
|
34
34
|
class AccountOnboarding < Stripe::StripeObject
|
35
35
|
class Features < Stripe::StripeObject
|
36
|
-
#
|
36
|
+
# Whether Stripe user authentication is disabled. This value can only be `true` for accounts where `controller.requirement_collection` is `application` for the account. The default value is the opposite of the `external_account_collection` value. For example, if you don't set `external_account_collection`, it defaults to `true` and `disable_stripe_user_authentication` defaults to `false`.
|
37
37
|
attr_reader :disable_stripe_user_authentication
|
38
|
-
# Whether
|
38
|
+
# Whether external account collection is enabled. This feature can only be `false` for accounts where you’re responsible for collecting updated information when requirements are due or change, like Custom accounts. The default value for this feature is `true`.
|
39
39
|
attr_reader :external_account_collection
|
40
40
|
end
|
41
41
|
# Whether the embedded component is enabled.
|
@@ -46,15 +46,15 @@ module Stripe
|
|
46
46
|
|
47
47
|
class Balances < Stripe::StripeObject
|
48
48
|
class Features < Stripe::StripeObject
|
49
|
-
#
|
49
|
+
# Whether Stripe user authentication is disabled. This value can only be `true` for accounts where `controller.requirement_collection` is `application` for the account. The default value is the opposite of the `external_account_collection` value. For example, if you don't set `external_account_collection`, it defaults to `true` and `disable_stripe_user_authentication` defaults to `false`.
|
50
50
|
attr_reader :disable_stripe_user_authentication
|
51
|
-
# Whether to allow payout schedule to be changed.
|
51
|
+
# Whether to allow payout schedule to be changed. Defaults to `true` when `controller.losses.payments` is set to `stripe` for the account, otherwise `false`.
|
52
52
|
attr_reader :edit_payout_schedule
|
53
|
-
# Whether
|
53
|
+
# Whether external account collection is enabled. This feature can only be `false` for accounts where you’re responsible for collecting updated information when requirements are due or change, like Custom accounts. The default value for this feature is `true`.
|
54
54
|
attr_reader :external_account_collection
|
55
|
-
# Whether to allow creation of instant payouts.
|
55
|
+
# Whether to allow creation of instant payouts. Defaults to `true` when `controller.losses.payments` is set to `stripe` for the account, otherwise `false`.
|
56
56
|
attr_reader :instant_payouts
|
57
|
-
# Whether to allow creation of standard payouts.
|
57
|
+
# Whether to allow creation of standard payouts. Defaults to `true` when `controller.losses.payments` is set to `stripe` for the account, otherwise `false`.
|
58
58
|
attr_reader :standard_payouts
|
59
59
|
end
|
60
60
|
# Whether the embedded component is enabled.
|
@@ -91,11 +91,11 @@ module Stripe
|
|
91
91
|
class Features < Stripe::StripeObject
|
92
92
|
# Whether to allow capturing and cancelling payment intents. This is `true` by default.
|
93
93
|
attr_reader :capture_payments
|
94
|
-
# Whether
|
94
|
+
# Whether connected accounts can manage destination charges that are created on behalf of them. This is `false` by default.
|
95
95
|
attr_reader :destination_on_behalf_of_charge_management
|
96
|
-
# Whether
|
96
|
+
# Whether responding to disputes is enabled, including submitting evidence and accepting disputes. This is `true` by default.
|
97
97
|
attr_reader :dispute_management
|
98
|
-
# Whether
|
98
|
+
# Whether sending refunds is enabled. This is `true` by default.
|
99
99
|
attr_reader :refund_management
|
100
100
|
end
|
101
101
|
# Whether the embedded component is enabled.
|
@@ -114,9 +114,9 @@ module Stripe
|
|
114
114
|
|
115
115
|
class FinancialAccount < Stripe::StripeObject
|
116
116
|
class Features < Stripe::StripeObject
|
117
|
-
#
|
117
|
+
# Whether Stripe user authentication is disabled. This value can only be `true` for accounts where `controller.requirement_collection` is `application` for the account. The default value is the opposite of the `external_account_collection` value. For example, if you don't set `external_account_collection`, it defaults to `true` and `disable_stripe_user_authentication` defaults to `false`.
|
118
118
|
attr_reader :disable_stripe_user_authentication
|
119
|
-
# Whether
|
119
|
+
# Whether external account collection is enabled. This feature can only be `false` for accounts where you’re responsible for collecting updated information when requirements are due or change, like Custom accounts. The default value for this feature is `true`.
|
120
120
|
attr_reader :external_account_collection
|
121
121
|
# Whether to allow sending money.
|
122
122
|
attr_reader :send_money
|
@@ -165,7 +165,7 @@ module Stripe
|
|
165
165
|
attr_reader :card_spend_dispute_management
|
166
166
|
# Whether to allow cardholder management features.
|
167
167
|
attr_reader :cardholder_management
|
168
|
-
#
|
168
|
+
# Whether Stripe user authentication is disabled. This value can only be `true` for accounts where `controller.requirement_collection` is `application` for the account. The default value is the opposite of the `external_account_collection` value. For example, if you don't set `external_account_collection`, it defaults to `true` and `disable_stripe_user_authentication` defaults to `false`.
|
169
169
|
attr_reader :disable_stripe_user_authentication
|
170
170
|
# Whether to allow spend control management features.
|
171
171
|
attr_reader :spend_control_management
|
@@ -178,9 +178,9 @@ module Stripe
|
|
178
178
|
|
179
179
|
class NotificationBanner < Stripe::StripeObject
|
180
180
|
class Features < Stripe::StripeObject
|
181
|
-
#
|
181
|
+
# Whether Stripe user authentication is disabled. This value can only be `true` for accounts where `controller.requirement_collection` is `application` for the account. The default value is the opposite of the `external_account_collection` value. For example, if you don't set `external_account_collection`, it defaults to `true` and `disable_stripe_user_authentication` defaults to `false`.
|
182
182
|
attr_reader :disable_stripe_user_authentication
|
183
|
-
# Whether
|
183
|
+
# Whether external account collection is enabled. This feature can only be `false` for accounts where you’re responsible for collecting updated information when requirements are due or change, like Custom accounts. The default value for this feature is `true`.
|
184
184
|
attr_reader :external_account_collection
|
185
185
|
end
|
186
186
|
# Whether the embedded component is enabled.
|
@@ -193,11 +193,11 @@ module Stripe
|
|
193
193
|
class Features < Stripe::StripeObject
|
194
194
|
# Whether to allow capturing and cancelling payment intents. This is `true` by default.
|
195
195
|
attr_reader :capture_payments
|
196
|
-
# Whether
|
196
|
+
# Whether connected accounts can manage destination charges that are created on behalf of them. This is `false` by default.
|
197
197
|
attr_reader :destination_on_behalf_of_charge_management
|
198
|
-
# Whether
|
198
|
+
# Whether responding to disputes is enabled, including submitting evidence and accepting disputes. This is `true` by default.
|
199
199
|
attr_reader :dispute_management
|
200
|
-
# Whether
|
200
|
+
# Whether sending refunds is enabled. This is `true` by default.
|
201
201
|
attr_reader :refund_management
|
202
202
|
end
|
203
203
|
# Whether the embedded component is enabled.
|
@@ -208,11 +208,11 @@ module Stripe
|
|
208
208
|
|
209
209
|
class PaymentDisputes < Stripe::StripeObject
|
210
210
|
class Features < Stripe::StripeObject
|
211
|
-
# Whether
|
211
|
+
# Whether connected accounts can manage destination charges that are created on behalf of them. This is `false` by default.
|
212
212
|
attr_reader :destination_on_behalf_of_charge_management
|
213
|
-
# Whether
|
213
|
+
# Whether responding to disputes is enabled, including submitting evidence and accepting disputes. This is `true` by default.
|
214
214
|
attr_reader :dispute_management
|
215
|
-
# Whether
|
215
|
+
# Whether sending refunds is enabled. This is `true` by default.
|
216
216
|
attr_reader :refund_management
|
217
217
|
end
|
218
218
|
# Whether the embedded component is enabled.
|
@@ -225,11 +225,11 @@ module Stripe
|
|
225
225
|
class Features < Stripe::StripeObject
|
226
226
|
# Whether to allow capturing and cancelling payment intents. This is `true` by default.
|
227
227
|
attr_reader :capture_payments
|
228
|
-
# Whether
|
228
|
+
# Whether connected accounts can manage destination charges that are created on behalf of them. This is `false` by default.
|
229
229
|
attr_reader :destination_on_behalf_of_charge_management
|
230
|
-
# Whether
|
230
|
+
# Whether responding to disputes is enabled, including submitting evidence and accepting disputes. This is `true` by default.
|
231
231
|
attr_reader :dispute_management
|
232
|
-
# Whether
|
232
|
+
# Whether sending refunds is enabled. This is `true` by default.
|
233
233
|
attr_reader :refund_management
|
234
234
|
end
|
235
235
|
# Whether the embedded component is enabled.
|
@@ -240,15 +240,15 @@ module Stripe
|
|
240
240
|
|
241
241
|
class Payouts < Stripe::StripeObject
|
242
242
|
class Features < Stripe::StripeObject
|
243
|
-
#
|
243
|
+
# Whether Stripe user authentication is disabled. This value can only be `true` for accounts where `controller.requirement_collection` is `application` for the account. The default value is the opposite of the `external_account_collection` value. For example, if you don't set `external_account_collection`, it defaults to `true` and `disable_stripe_user_authentication` defaults to `false`.
|
244
244
|
attr_reader :disable_stripe_user_authentication
|
245
|
-
# Whether to allow payout schedule to be changed.
|
245
|
+
# Whether to allow payout schedule to be changed. Defaults to `true` when `controller.losses.payments` is set to `stripe` for the account, otherwise `false`.
|
246
246
|
attr_reader :edit_payout_schedule
|
247
|
-
# Whether
|
247
|
+
# Whether external account collection is enabled. This feature can only be `false` for accounts where you’re responsible for collecting updated information when requirements are due or change, like Custom accounts. The default value for this feature is `true`.
|
248
248
|
attr_reader :external_account_collection
|
249
|
-
# Whether to allow creation of instant payouts.
|
249
|
+
# Whether to allow creation of instant payouts. Defaults to `true` when `controller.losses.payments` is set to `stripe` for the account, otherwise `false`.
|
250
250
|
attr_reader :instant_payouts
|
251
|
-
# Whether to allow creation of standard payouts.
|
251
|
+
# Whether to allow creation of standard payouts. Defaults to `true` when `controller.losses.payments` is set to `stripe` for the account, otherwise `false`.
|
252
252
|
attr_reader :standard_payouts
|
253
253
|
end
|
254
254
|
# Whether the embedded component is enabled.
|
@@ -326,9 +326,9 @@ module Stripe
|
|
326
326
|
class Components < Stripe::RequestParams
|
327
327
|
class AccountManagement < Stripe::RequestParams
|
328
328
|
class Features < Stripe::RequestParams
|
329
|
-
#
|
329
|
+
# Whether Stripe user authentication is disabled. This value can only be `true` for accounts where `controller.requirement_collection` is `application` for the account. The default value is the opposite of the `external_account_collection` value. For example, if you don't set `external_account_collection`, it defaults to `true` and `disable_stripe_user_authentication` defaults to `false`.
|
330
330
|
attr_accessor :disable_stripe_user_authentication
|
331
|
-
# Whether
|
331
|
+
# Whether external account collection is enabled. This feature can only be `false` for accounts where you’re responsible for collecting updated information when requirements are due or change, like Custom accounts. The default value for this feature is `true`.
|
332
332
|
attr_accessor :external_account_collection
|
333
333
|
|
334
334
|
def initialize(
|
@@ -352,9 +352,9 @@ module Stripe
|
|
352
352
|
|
353
353
|
class AccountOnboarding < Stripe::RequestParams
|
354
354
|
class Features < Stripe::RequestParams
|
355
|
-
#
|
355
|
+
# Whether Stripe user authentication is disabled. This value can only be `true` for accounts where `controller.requirement_collection` is `application` for the account. The default value is the opposite of the `external_account_collection` value. For example, if you don't set `external_account_collection`, it defaults to `true` and `disable_stripe_user_authentication` defaults to `false`.
|
356
356
|
attr_accessor :disable_stripe_user_authentication
|
357
|
-
# Whether
|
357
|
+
# Whether external account collection is enabled. This feature can only be `false` for accounts where you’re responsible for collecting updated information when requirements are due or change, like Custom accounts. The default value for this feature is `true`.
|
358
358
|
attr_accessor :external_account_collection
|
359
359
|
|
360
360
|
def initialize(
|
@@ -378,7 +378,7 @@ module Stripe
|
|
378
378
|
|
379
379
|
class AppInstall < Stripe::RequestParams
|
380
380
|
class Features < Stripe::RequestParams
|
381
|
-
#
|
381
|
+
# The list of apps allowed to be enabled in the embedded component.
|
382
382
|
attr_accessor :allowed_apps
|
383
383
|
|
384
384
|
def initialize(allowed_apps: nil)
|
@@ -398,7 +398,7 @@ module Stripe
|
|
398
398
|
|
399
399
|
class AppViewport < Stripe::RequestParams
|
400
400
|
class Features < Stripe::RequestParams
|
401
|
-
#
|
401
|
+
# The list of apps allowed to be enabled in the embedded component.
|
402
402
|
attr_accessor :allowed_apps
|
403
403
|
|
404
404
|
def initialize(allowed_apps: nil)
|
@@ -418,15 +418,15 @@ module Stripe
|
|
418
418
|
|
419
419
|
class Balances < Stripe::RequestParams
|
420
420
|
class Features < Stripe::RequestParams
|
421
|
-
#
|
421
|
+
# Whether Stripe user authentication is disabled. This value can only be `true` for accounts where `controller.requirement_collection` is `application` for the account. The default value is the opposite of the `external_account_collection` value. For example, if you don't set `external_account_collection`, it defaults to `true` and `disable_stripe_user_authentication` defaults to `false`.
|
422
422
|
attr_accessor :disable_stripe_user_authentication
|
423
|
-
# Whether to allow payout schedule to be changed.
|
423
|
+
# Whether to allow payout schedule to be changed. Defaults to `true` when `controller.losses.payments` is set to `stripe` for the account, otherwise `false`.
|
424
424
|
attr_accessor :edit_payout_schedule
|
425
|
-
# Whether
|
425
|
+
# Whether external account collection is enabled. This feature can only be `false` for accounts where you’re responsible for collecting updated information when requirements are due or change, like Custom accounts. The default value for this feature is `true`.
|
426
426
|
attr_accessor :external_account_collection
|
427
|
-
# Whether to allow creation of instant payouts.
|
427
|
+
# Whether to allow creation of instant payouts. Defaults to `true` when `controller.losses.payments` is set to `stripe` for the account, otherwise `false`.
|
428
428
|
attr_accessor :instant_payouts
|
429
|
-
# Whether to allow creation of standard payouts.
|
429
|
+
# Whether to allow creation of standard payouts. Defaults to `true` when `controller.losses.payments` is set to `stripe` for the account, otherwise `false`.
|
430
430
|
attr_accessor :standard_payouts
|
431
431
|
|
432
432
|
def initialize(
|
@@ -510,11 +510,11 @@ module Stripe
|
|
510
510
|
class Features < Stripe::RequestParams
|
511
511
|
# Whether to allow capturing and cancelling payment intents. This is `true` by default.
|
512
512
|
attr_accessor :capture_payments
|
513
|
-
# Whether
|
513
|
+
# Whether connected accounts can manage destination charges that are created on behalf of them. This is `false` by default.
|
514
514
|
attr_accessor :destination_on_behalf_of_charge_management
|
515
|
-
# Whether
|
515
|
+
# Whether responding to disputes is enabled, including submitting evidence and accepting disputes. This is `true` by default.
|
516
516
|
attr_accessor :dispute_management
|
517
|
-
# Whether
|
517
|
+
# Whether sending refunds is enabled. This is `true` by default.
|
518
518
|
attr_accessor :refund_management
|
519
519
|
|
520
520
|
def initialize(
|
@@ -568,9 +568,9 @@ module Stripe
|
|
568
568
|
|
569
569
|
class FinancialAccount < Stripe::RequestParams
|
570
570
|
class Features < Stripe::RequestParams
|
571
|
-
#
|
571
|
+
# Whether Stripe user authentication is disabled. This value can only be `true` for accounts where `controller.requirement_collection` is `application` for the account. The default value is the opposite of the `external_account_collection` value. For example, if you don't set `external_account_collection`, it defaults to `true` and `disable_stripe_user_authentication` defaults to `false`.
|
572
572
|
attr_accessor :disable_stripe_user_authentication
|
573
|
-
# Whether
|
573
|
+
# Whether external account collection is enabled. This feature can only be `false` for accounts where you’re responsible for collecting updated information when requirements are due or change, like Custom accounts. The default value for this feature is `true`.
|
574
574
|
attr_accessor :external_account_collection
|
575
575
|
# Whether to allow sending money.
|
576
576
|
attr_accessor :send_money
|
@@ -662,7 +662,7 @@ module Stripe
|
|
662
662
|
attr_accessor :card_spend_dispute_management
|
663
663
|
# Whether to allow cardholder management features.
|
664
664
|
attr_accessor :cardholder_management
|
665
|
-
#
|
665
|
+
# Whether Stripe user authentication is disabled. This value can only be `true` for accounts where `controller.requirement_collection` is `application` for the account. The default value is the opposite of the `external_account_collection` value. For example, if you don't set `external_account_collection`, it defaults to `true` and `disable_stripe_user_authentication` defaults to `false`.
|
666
666
|
attr_accessor :disable_stripe_user_authentication
|
667
667
|
# Whether to allow spend control management features.
|
668
668
|
attr_accessor :spend_control_management
|
@@ -694,9 +694,9 @@ module Stripe
|
|
694
694
|
|
695
695
|
class NotificationBanner < Stripe::RequestParams
|
696
696
|
class Features < Stripe::RequestParams
|
697
|
-
#
|
697
|
+
# Whether Stripe user authentication is disabled. This value can only be `true` for accounts where `controller.requirement_collection` is `application` for the account. The default value is the opposite of the `external_account_collection` value. For example, if you don't set `external_account_collection`, it defaults to `true` and `disable_stripe_user_authentication` defaults to `false`.
|
698
698
|
attr_accessor :disable_stripe_user_authentication
|
699
|
-
# Whether
|
699
|
+
# Whether external account collection is enabled. This feature can only be `false` for accounts where you’re responsible for collecting updated information when requirements are due or change, like Custom accounts. The default value for this feature is `true`.
|
700
700
|
attr_accessor :external_account_collection
|
701
701
|
|
702
702
|
def initialize(
|
@@ -722,11 +722,11 @@ module Stripe
|
|
722
722
|
class Features < Stripe::RequestParams
|
723
723
|
# Whether to allow capturing and cancelling payment intents. This is `true` by default.
|
724
724
|
attr_accessor :capture_payments
|
725
|
-
# Whether
|
725
|
+
# Whether connected accounts can manage destination charges that are created on behalf of them. This is `false` by default.
|
726
726
|
attr_accessor :destination_on_behalf_of_charge_management
|
727
|
-
# Whether
|
727
|
+
# Whether responding to disputes is enabled, including submitting evidence and accepting disputes. This is `true` by default.
|
728
728
|
attr_accessor :dispute_management
|
729
|
-
# Whether
|
729
|
+
# Whether sending refunds is enabled. This is `true` by default.
|
730
730
|
attr_accessor :refund_management
|
731
731
|
|
732
732
|
def initialize(
|
@@ -754,11 +754,11 @@ module Stripe
|
|
754
754
|
|
755
755
|
class PaymentDisputes < Stripe::RequestParams
|
756
756
|
class Features < Stripe::RequestParams
|
757
|
-
# Whether
|
757
|
+
# Whether connected accounts can manage destination charges that are created on behalf of them. This is `false` by default.
|
758
758
|
attr_accessor :destination_on_behalf_of_charge_management
|
759
|
-
# Whether
|
759
|
+
# Whether responding to disputes is enabled, including submitting evidence and accepting disputes. This is `true` by default.
|
760
760
|
attr_accessor :dispute_management
|
761
|
-
# Whether
|
761
|
+
# Whether sending refunds is enabled. This is `true` by default.
|
762
762
|
attr_accessor :refund_management
|
763
763
|
|
764
764
|
def initialize(
|
@@ -799,11 +799,11 @@ module Stripe
|
|
799
799
|
class Features < Stripe::RequestParams
|
800
800
|
# Whether to allow capturing and cancelling payment intents. This is `true` by default.
|
801
801
|
attr_accessor :capture_payments
|
802
|
-
# Whether
|
802
|
+
# Whether connected accounts can manage destination charges that are created on behalf of them. This is `false` by default.
|
803
803
|
attr_accessor :destination_on_behalf_of_charge_management
|
804
|
-
# Whether
|
804
|
+
# Whether responding to disputes is enabled, including submitting evidence and accepting disputes. This is `true` by default.
|
805
805
|
attr_accessor :dispute_management
|
806
|
-
# Whether
|
806
|
+
# Whether sending refunds is enabled. This is `true` by default.
|
807
807
|
attr_accessor :refund_management
|
808
808
|
|
809
809
|
def initialize(
|
@@ -831,15 +831,15 @@ module Stripe
|
|
831
831
|
|
832
832
|
class Payouts < Stripe::RequestParams
|
833
833
|
class Features < Stripe::RequestParams
|
834
|
-
#
|
834
|
+
# Whether Stripe user authentication is disabled. This value can only be `true` for accounts where `controller.requirement_collection` is `application` for the account. The default value is the opposite of the `external_account_collection` value. For example, if you don't set `external_account_collection`, it defaults to `true` and `disable_stripe_user_authentication` defaults to `false`.
|
835
835
|
attr_accessor :disable_stripe_user_authentication
|
836
|
-
# Whether to allow payout schedule to be changed.
|
836
|
+
# Whether to allow payout schedule to be changed. Defaults to `true` when `controller.losses.payments` is set to `stripe` for the account, otherwise `false`.
|
837
837
|
attr_accessor :edit_payout_schedule
|
838
|
-
# Whether
|
838
|
+
# Whether external account collection is enabled. This feature can only be `false` for accounts where you’re responsible for collecting updated information when requirements are due or change, like Custom accounts. The default value for this feature is `true`.
|
839
839
|
attr_accessor :external_account_collection
|
840
|
-
# Whether to allow creation of instant payouts.
|
840
|
+
# Whether to allow creation of instant payouts. Defaults to `true` when `controller.losses.payments` is set to `stripe` for the account, otherwise `false`.
|
841
841
|
attr_accessor :instant_payouts
|
842
|
-
# Whether to allow creation of standard payouts.
|
842
|
+
# Whether to allow creation of standard payouts. Defaults to `true` when `controller.losses.payments` is set to `stripe` for the account, otherwise `false`.
|
843
843
|
attr_accessor :standard_payouts
|
844
844
|
|
845
845
|
def initialize(
|
@@ -964,63 +964,63 @@ module Stripe
|
|
964
964
|
@features = features
|
965
965
|
end
|
966
966
|
end
|
967
|
-
# Configuration for the account management embedded component.
|
967
|
+
# Configuration for the [account management](/connect/supported-embedded-components/account-management/) embedded component.
|
968
968
|
attr_accessor :account_management
|
969
|
-
# Configuration for the account onboarding embedded component.
|
969
|
+
# Configuration for the [account onboarding](/connect/supported-embedded-components/account-onboarding/) embedded component.
|
970
970
|
attr_accessor :account_onboarding
|
971
|
-
# Configuration for the app install component.
|
971
|
+
# Configuration for the [app install](/connect/supported-embedded-components/app-install/) embedded component.
|
972
972
|
attr_accessor :app_install
|
973
|
-
# Configuration for the app viewport component.
|
973
|
+
# Configuration for the [app viewport](/connect/supported-embedded-components/app-viewport/) embedded component.
|
974
974
|
attr_accessor :app_viewport
|
975
|
-
# Configuration for the balances embedded component.
|
975
|
+
# Configuration for the [balances](/connect/supported-embedded-components/balances/) embedded component.
|
976
976
|
attr_accessor :balances
|
977
|
-
# Configuration for the
|
977
|
+
# Configuration for the [Capital financing](/connect/supported-embedded-components/capital-financing/) embedded component.
|
978
978
|
attr_accessor :capital_financing
|
979
|
-
# Configuration for the
|
979
|
+
# Configuration for the [Capital financing application](/connect/supported-embedded-components/capital-financing-application/) embedded component.
|
980
980
|
attr_accessor :capital_financing_application
|
981
|
-
# Configuration for the
|
981
|
+
# Configuration for the [Capital financing promotion](/connect/supported-embedded-components/capital-financing-promotion/) embedded component.
|
982
982
|
attr_accessor :capital_financing_promotion
|
983
|
-
# Configuration for the
|
983
|
+
# Configuration for the [Capital overview](/connect/supported-embedded-components/capital-overview/) embedded component.
|
984
984
|
attr_accessor :capital_overview
|
985
|
-
# Configuration for the disputes list embedded component.
|
985
|
+
# Configuration for the [disputes list](/connect/supported-embedded-components/disputes-list/) embedded component.
|
986
986
|
attr_accessor :disputes_list
|
987
|
-
# Configuration for the documents embedded component.
|
987
|
+
# Configuration for the [documents](/connect/supported-embedded-components/documents/) embedded component.
|
988
988
|
attr_accessor :documents
|
989
|
-
# Configuration for the export tax transactions embedded component.
|
989
|
+
# Configuration for the [export tax transactions](/connect/supported-embedded-components/export-tax-transactions/) embedded component.
|
990
990
|
attr_accessor :export_tax_transactions
|
991
|
-
# Configuration for the financial account embedded component.
|
991
|
+
# Configuration for the [financial account](/connect/supported-embedded-components/financial-account/) embedded component.
|
992
992
|
attr_accessor :financial_account
|
993
|
-
# Configuration for the financial account transactions embedded component.
|
993
|
+
# Configuration for the [financial account transactions](/connect/supported-embedded-components/financial-account-transactions/) embedded component.
|
994
994
|
attr_accessor :financial_account_transactions
|
995
|
-
# Configuration for the issuing card embedded component.
|
995
|
+
# Configuration for the [issuing card](/connect/supported-embedded-components/issuing-card/) embedded component.
|
996
996
|
attr_accessor :issuing_card
|
997
|
-
# Configuration for the issuing cards list embedded component.
|
997
|
+
# Configuration for the [issuing cards list](/connect/supported-embedded-components/issuing-cards-list/) embedded component.
|
998
998
|
attr_accessor :issuing_cards_list
|
999
|
-
# Configuration for the notification banner embedded component.
|
999
|
+
# Configuration for the [notification banner](/connect/supported-embedded-components/notification-banner/) embedded component.
|
1000
1000
|
attr_accessor :notification_banner
|
1001
|
-
# Configuration for the payment details embedded component.
|
1001
|
+
# Configuration for the [payment details](/connect/supported-embedded-components/payment-details/) embedded component.
|
1002
1002
|
attr_accessor :payment_details
|
1003
|
-
# Configuration for the payment disputes embedded component.
|
1003
|
+
# Configuration for the [payment disputes](/connect/supported-embedded-components/payment-disputes/) embedded component.
|
1004
1004
|
attr_accessor :payment_disputes
|
1005
|
-
# Configuration for the payment method settings embedded component.
|
1005
|
+
# Configuration for the [payment method settings](/connect/supported-embedded-components/payment-method-settings/) embedded component.
|
1006
1006
|
attr_accessor :payment_method_settings
|
1007
|
-
# Configuration for the payments embedded component.
|
1007
|
+
# Configuration for the [payments](/connect/supported-embedded-components/payments/) embedded component.
|
1008
1008
|
attr_accessor :payments
|
1009
|
-
# Configuration for the payouts embedded component.
|
1009
|
+
# Configuration for the [payouts](/connect/supported-embedded-components/payouts/) embedded component.
|
1010
1010
|
attr_accessor :payouts
|
1011
|
-
# Configuration for the payouts list embedded component.
|
1011
|
+
# Configuration for the [payouts list](/connect/supported-embedded-components/payouts-list/) embedded component.
|
1012
1012
|
attr_accessor :payouts_list
|
1013
|
-
# Configuration for the product tax code selector embedded component.
|
1013
|
+
# Configuration for the [product tax code selector](/connect/supported-embedded-components/product-tax-code-selector/) embedded component.
|
1014
1014
|
attr_accessor :product_tax_code_selector
|
1015
|
-
# Configuration for the recipients component.
|
1015
|
+
# Configuration for the [recipients](/connect/supported-embedded-components/recipients/) embedded component.
|
1016
1016
|
attr_accessor :recipients
|
1017
|
-
# Configuration for the reporting chart embedded component.
|
1017
|
+
# Configuration for the [reporting chart](/connect/supported-embedded-components/reporting-chart/) embedded component.
|
1018
1018
|
attr_accessor :reporting_chart
|
1019
|
-
# Configuration for the tax registrations embedded component.
|
1019
|
+
# Configuration for the [tax registrations](/connect/supported-embedded-components/tax-registrations/) embedded component.
|
1020
1020
|
attr_accessor :tax_registrations
|
1021
|
-
# Configuration for the tax settings embedded component.
|
1021
|
+
# Configuration for the [tax settings](/connect/supported-embedded-components/tax-settings/) embedded component.
|
1022
1022
|
attr_accessor :tax_settings
|
1023
|
-
# Configuration for the tax threshold monitoring embedded component.
|
1023
|
+
# Configuration for the [tax threshold monitoring](/connect/supported-embedded-components/tax-threshold-monitoring/) embedded component.
|
1024
1024
|
attr_accessor :tax_threshold_monitoring
|
1025
1025
|
|
1026
1026
|
def initialize(
|
@@ -82,7 +82,7 @@ module Stripe
|
|
82
82
|
# [Quantity](https://stripe.com/docs/subscriptions/quantities) for this item that the customer should subscribe to through this flow.
|
83
83
|
attr_reader :quantity
|
84
84
|
end
|
85
|
-
# The coupon or promotion code to apply to this subscription update.
|
85
|
+
# The coupon or promotion code to apply to this subscription update.
|
86
86
|
attr_reader :discounts
|
87
87
|
# The [subscription item](https://stripe.com/docs/api/subscription_items) to be updated through this flow. Currently, only up to one may be specified and subscriptions with multiple items are not updatable.
|
88
88
|
attr_reader :items
|
@@ -202,7 +202,7 @@ module Stripe
|
|
202
202
|
@quantity = quantity
|
203
203
|
end
|
204
204
|
end
|
205
|
-
# The coupon or promotion code to apply to this subscription update.
|
205
|
+
# The coupon or promotion code to apply to this subscription update.
|
206
206
|
attr_accessor :discounts
|
207
207
|
# The [subscription item](https://stripe.com/docs/api/subscription_items) to be updated through this flow. Currently, only up to one may be specified and subscriptions with multiple items are not updatable.
|
208
208
|
attr_accessor :items
|
@@ -297,7 +297,7 @@ module Stripe
|
|
297
297
|
# For `fixed_count` installment plans, this is the interval between installment payments your customer will make to their credit card.
|
298
298
|
# One of `month`.
|
299
299
|
attr_reader :interval
|
300
|
-
# Type of installment plan, one of `fixed_count`.
|
300
|
+
# Type of installment plan, one of `fixed_count`, `bonus`, or `revolving`.
|
301
301
|
attr_reader :type
|
302
302
|
end
|
303
303
|
# Installment plan selected for the payment.
|
@@ -490,7 +490,7 @@ module Stripe
|
|
490
490
|
attr_reader :iin
|
491
491
|
# Attribute for field incremental_authorization
|
492
492
|
attr_reader :incremental_authorization
|
493
|
-
# Installment details for this payment
|
493
|
+
# Installment details for this payment.
|
494
494
|
#
|
495
495
|
# For more information, see the [installments integration guide](https://stripe.com/docs/payments/installments).
|
496
496
|
attr_reader :installments
|
@@ -533,9 +533,9 @@ module Stripe
|
|
533
533
|
class Receipt < Stripe::StripeObject
|
534
534
|
# The type of account being debited or credited
|
535
535
|
attr_reader :account_type
|
536
|
-
#
|
536
|
+
# The Application Cryptogram, a unique value generated by the card to authenticate the transaction with issuers.
|
537
537
|
attr_reader :application_cryptogram
|
538
|
-
#
|
538
|
+
# The Application Identifier (AID) on the card used to determine which networks are eligible to process the transaction. Referenced from EMV tag 9F12, data encoded on the card's chip.
|
539
539
|
attr_reader :application_preferred_name
|
540
540
|
# Identifier for this transaction.
|
541
541
|
attr_reader :authorization_code
|
@@ -543,11 +543,11 @@ module Stripe
|
|
543
543
|
attr_reader :authorization_response_code
|
544
544
|
# Describes the method used by the cardholder to verify ownership of the card. One of the following: `approval`, `failure`, `none`, `offline_pin`, `offline_pin_and_signature`, `online_pin`, or `signature`.
|
545
545
|
attr_reader :cardholder_verification_method
|
546
|
-
#
|
546
|
+
# Similar to the application_preferred_name, identifying the applications (AIDs) available on the card. Referenced from EMV tag 84.
|
547
547
|
attr_reader :dedicated_file_name
|
548
|
-
#
|
548
|
+
# A 5-byte string that records the checks and validations that occur between the card and the terminal. These checks determine how the terminal processes the transaction and what risk tolerance is acceptable. Referenced from EMV Tag 95.
|
549
549
|
attr_reader :terminal_verification_results
|
550
|
-
# An indication of
|
550
|
+
# An indication of which steps were completed during the card read process. Referenced from EMV Tag 9B.
|
551
551
|
attr_reader :transaction_status_information
|
552
552
|
end
|
553
553
|
|
@@ -599,7 +599,7 @@ module Stripe
|
|
599
599
|
attr_reader :offline
|
600
600
|
# Defines whether the authorized amount can be over-captured or not
|
601
601
|
attr_reader :overcapture_supported
|
602
|
-
# EMV tag 5F2D
|
602
|
+
# The languages that the issuing bank recommends using for localizing any customer-facing text, as read from the card. Referenced from EMV tag 5F2D, data encoded on the card's chip.
|
603
603
|
attr_reader :preferred_locales
|
604
604
|
# How card details were read in this transaction.
|
605
605
|
attr_reader :read_method
|
@@ -616,6 +616,17 @@ module Stripe
|
|
616
616
|
attr_reader :cashtag
|
617
617
|
end
|
618
618
|
|
619
|
+
class Crypto < Stripe::StripeObject
|
620
|
+
# The wallet address of the customer.
|
621
|
+
attr_reader :buyer_address
|
622
|
+
# The blockchain network that the transaction was sent on.
|
623
|
+
attr_reader :network
|
624
|
+
# The token currency that the transaction was sent with.
|
625
|
+
attr_reader :token_currency
|
626
|
+
# The blockchain transaction hash of the crypto payment.
|
627
|
+
attr_reader :transaction_hash
|
628
|
+
end
|
629
|
+
|
619
630
|
class CustomerBalance < Stripe::StripeObject; end
|
620
631
|
|
621
632
|
class Eps < Stripe::StripeObject
|
@@ -670,7 +681,7 @@ module Stripe
|
|
670
681
|
end
|
671
682
|
|
672
683
|
class Ideal < Stripe::StripeObject
|
673
|
-
# The customer's bank. Can be one of `abn_amro`, `asn_bank`, `bunq`, `handelsbanken`, `ing`, `knab`, `moneyou`, `n26`, `nn`, `rabobank`, `regiobank`, `revolut`, `sns_bank`, `triodos_bank`, `van_lanschot`, or `yoursafe`.
|
684
|
+
# The customer's bank. Can be one of `abn_amro`, `asn_bank`, `bunq`, `buut`, `handelsbanken`, `ing`, `knab`, `moneyou`, `n26`, `nn`, `rabobank`, `regiobank`, `revolut`, `sns_bank`, `triodos_bank`, `van_lanschot`, or `yoursafe`.
|
674
685
|
attr_reader :bank
|
675
686
|
# The Bank Identifier Code of the customer's bank.
|
676
687
|
attr_reader :bic
|
@@ -689,9 +700,9 @@ module Stripe
|
|
689
700
|
class Receipt < Stripe::StripeObject
|
690
701
|
# The type of account being debited or credited
|
691
702
|
attr_reader :account_type
|
692
|
-
#
|
703
|
+
# The Application Cryptogram, a unique value generated by the card to authenticate the transaction with issuers.
|
693
704
|
attr_reader :application_cryptogram
|
694
|
-
#
|
705
|
+
# The Application Identifier (AID) on the card used to determine which networks are eligible to process the transaction. Referenced from EMV tag 9F12, data encoded on the card's chip.
|
695
706
|
attr_reader :application_preferred_name
|
696
707
|
# Identifier for this transaction.
|
697
708
|
attr_reader :authorization_code
|
@@ -699,11 +710,11 @@ module Stripe
|
|
699
710
|
attr_reader :authorization_response_code
|
700
711
|
# Describes the method used by the cardholder to verify ownership of the card. One of the following: `approval`, `failure`, `none`, `offline_pin`, `offline_pin_and_signature`, `online_pin`, or `signature`.
|
701
712
|
attr_reader :cardholder_verification_method
|
702
|
-
#
|
713
|
+
# Similar to the application_preferred_name, identifying the applications (AIDs) available on the card. Referenced from EMV tag 84.
|
703
714
|
attr_reader :dedicated_file_name
|
704
|
-
#
|
715
|
+
# A 5-byte string that records the checks and validations that occur between the card and the terminal. These checks determine how the terminal processes the transaction and what risk tolerance is acceptable. Referenced from EMV Tag 95.
|
705
716
|
attr_reader :terminal_verification_results
|
706
|
-
# An indication of
|
717
|
+
# An indication of which steps were completed during the card read process. Referenced from EMV Tag 9B.
|
707
718
|
attr_reader :transaction_status_information
|
708
719
|
end
|
709
720
|
# Card brand. Can be `interac`, `mastercard` or `visa`.
|
@@ -738,7 +749,7 @@ module Stripe
|
|
738
749
|
attr_reader :network
|
739
750
|
# This is used by the financial networks to identify a transaction. Visa calls this the Transaction ID, Mastercard calls this the Trace ID, and American Express calls this the Acquirer Reference Data. This value will be present if it is returned by the financial network in the authorization response, and null otherwise.
|
740
751
|
attr_reader :network_transaction_id
|
741
|
-
# EMV tag 5F2D
|
752
|
+
# The languages that the issuing bank recommends using for localizing any customer-facing text, as read from the card. Referenced from EMV tag 5F2D, data encoded on the card's chip.
|
742
753
|
attr_reader :preferred_locales
|
743
754
|
# How card details were read in this transaction.
|
744
755
|
attr_reader :read_method
|
@@ -1129,6 +1140,8 @@ module Stripe
|
|
1129
1140
|
attr_reader :card_present
|
1130
1141
|
# Attribute for field cashapp
|
1131
1142
|
attr_reader :cashapp
|
1143
|
+
# Attribute for field crypto
|
1144
|
+
attr_reader :crypto
|
1132
1145
|
# Attribute for field customer_balance
|
1133
1146
|
attr_reader :customer_balance
|
1134
1147
|
# Attribute for field eps
|