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
@@ -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.
|
@@ -67,11 +67,11 @@ module Stripe
|
|
67
67
|
class Features < Stripe::StripeObject
|
68
68
|
# Whether to allow capturing and cancelling payment intents. This is `true` by default.
|
69
69
|
attr_reader :capture_payments
|
70
|
-
# Whether
|
70
|
+
# Whether connected accounts can manage destination charges that are created on behalf of them. This is `false` by default.
|
71
71
|
attr_reader :destination_on_behalf_of_charge_management
|
72
|
-
# Whether
|
72
|
+
# Whether responding to disputes is enabled, including submitting evidence and accepting disputes. This is `true` by default.
|
73
73
|
attr_reader :dispute_management
|
74
|
-
# Whether
|
74
|
+
# Whether sending refunds is enabled. This is `true` by default.
|
75
75
|
attr_reader :refund_management
|
76
76
|
end
|
77
77
|
# Whether the embedded component is enabled.
|
@@ -90,9 +90,9 @@ module Stripe
|
|
90
90
|
|
91
91
|
class FinancialAccount < Stripe::StripeObject
|
92
92
|
class Features < Stripe::StripeObject
|
93
|
-
#
|
93
|
+
# 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`.
|
94
94
|
attr_reader :disable_stripe_user_authentication
|
95
|
-
# Whether
|
95
|
+
# 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`.
|
96
96
|
attr_reader :external_account_collection
|
97
97
|
# Whether to allow sending money.
|
98
98
|
attr_reader :send_money
|
@@ -141,7 +141,7 @@ module Stripe
|
|
141
141
|
attr_reader :card_spend_dispute_management
|
142
142
|
# Whether to allow cardholder management features.
|
143
143
|
attr_reader :cardholder_management
|
144
|
-
#
|
144
|
+
# 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`.
|
145
145
|
attr_reader :disable_stripe_user_authentication
|
146
146
|
# Whether to allow spend control management features.
|
147
147
|
attr_reader :spend_control_management
|
@@ -154,9 +154,9 @@ module Stripe
|
|
154
154
|
|
155
155
|
class NotificationBanner < Stripe::StripeObject
|
156
156
|
class Features < Stripe::StripeObject
|
157
|
-
#
|
157
|
+
# 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`.
|
158
158
|
attr_reader :disable_stripe_user_authentication
|
159
|
-
# Whether
|
159
|
+
# 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`.
|
160
160
|
attr_reader :external_account_collection
|
161
161
|
end
|
162
162
|
# Whether the embedded component is enabled.
|
@@ -169,11 +169,11 @@ module Stripe
|
|
169
169
|
class Features < Stripe::StripeObject
|
170
170
|
# Whether to allow capturing and cancelling payment intents. This is `true` by default.
|
171
171
|
attr_reader :capture_payments
|
172
|
-
# Whether
|
172
|
+
# Whether connected accounts can manage destination charges that are created on behalf of them. This is `false` by default.
|
173
173
|
attr_reader :destination_on_behalf_of_charge_management
|
174
|
-
# Whether
|
174
|
+
# Whether responding to disputes is enabled, including submitting evidence and accepting disputes. This is `true` by default.
|
175
175
|
attr_reader :dispute_management
|
176
|
-
# Whether
|
176
|
+
# Whether sending refunds is enabled. This is `true` by default.
|
177
177
|
attr_reader :refund_management
|
178
178
|
end
|
179
179
|
# Whether the embedded component is enabled.
|
@@ -184,11 +184,11 @@ module Stripe
|
|
184
184
|
|
185
185
|
class PaymentDisputes < Stripe::StripeObject
|
186
186
|
class Features < Stripe::StripeObject
|
187
|
-
# Whether
|
187
|
+
# Whether connected accounts can manage destination charges that are created on behalf of them. This is `false` by default.
|
188
188
|
attr_reader :destination_on_behalf_of_charge_management
|
189
|
-
# Whether
|
189
|
+
# Whether responding to disputes is enabled, including submitting evidence and accepting disputes. This is `true` by default.
|
190
190
|
attr_reader :dispute_management
|
191
|
-
# Whether
|
191
|
+
# Whether sending refunds is enabled. This is `true` by default.
|
192
192
|
attr_reader :refund_management
|
193
193
|
end
|
194
194
|
# Whether the embedded component is enabled.
|
@@ -201,11 +201,11 @@ module Stripe
|
|
201
201
|
class Features < Stripe::StripeObject
|
202
202
|
# Whether to allow capturing and cancelling payment intents. This is `true` by default.
|
203
203
|
attr_reader :capture_payments
|
204
|
-
# Whether
|
204
|
+
# Whether connected accounts can manage destination charges that are created on behalf of them. This is `false` by default.
|
205
205
|
attr_reader :destination_on_behalf_of_charge_management
|
206
|
-
# Whether
|
206
|
+
# Whether responding to disputes is enabled, including submitting evidence and accepting disputes. This is `true` by default.
|
207
207
|
attr_reader :dispute_management
|
208
|
-
# Whether
|
208
|
+
# Whether sending refunds is enabled. This is `true` by default.
|
209
209
|
attr_reader :refund_management
|
210
210
|
end
|
211
211
|
# Whether the embedded component is enabled.
|
@@ -216,15 +216,15 @@ module Stripe
|
|
216
216
|
|
217
217
|
class Payouts < Stripe::StripeObject
|
218
218
|
class Features < Stripe::StripeObject
|
219
|
-
#
|
219
|
+
# 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`.
|
220
220
|
attr_reader :disable_stripe_user_authentication
|
221
|
-
# Whether to allow payout schedule to be changed.
|
221
|
+
# Whether to allow payout schedule to be changed. Defaults to `true` when `controller.losses.payments` is set to `stripe` for the account, otherwise `false`.
|
222
222
|
attr_reader :edit_payout_schedule
|
223
|
-
# Whether
|
223
|
+
# 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`.
|
224
224
|
attr_reader :external_account_collection
|
225
|
-
# Whether to allow creation of instant payouts.
|
225
|
+
# Whether to allow creation of instant payouts. Defaults to `true` when `controller.losses.payments` is set to `stripe` for the account, otherwise `false`.
|
226
226
|
attr_reader :instant_payouts
|
227
|
-
# Whether to allow creation of standard payouts.
|
227
|
+
# Whether to allow creation of standard payouts. Defaults to `true` when `controller.losses.payments` is set to `stripe` for the account, otherwise `false`.
|
228
228
|
attr_reader :standard_payouts
|
229
229
|
end
|
230
230
|
# Whether the embedded component is enabled.
|
@@ -296,9 +296,9 @@ module Stripe
|
|
296
296
|
class Components < Stripe::RequestParams
|
297
297
|
class AccountManagement < Stripe::RequestParams
|
298
298
|
class Features < Stripe::RequestParams
|
299
|
-
#
|
299
|
+
# 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`.
|
300
300
|
attr_accessor :disable_stripe_user_authentication
|
301
|
-
# Whether
|
301
|
+
# 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`.
|
302
302
|
attr_accessor :external_account_collection
|
303
303
|
|
304
304
|
def initialize(
|
@@ -322,9 +322,9 @@ module Stripe
|
|
322
322
|
|
323
323
|
class AccountOnboarding < Stripe::RequestParams
|
324
324
|
class Features < Stripe::RequestParams
|
325
|
-
#
|
325
|
+
# 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`.
|
326
326
|
attr_accessor :disable_stripe_user_authentication
|
327
|
-
# Whether
|
327
|
+
# 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`.
|
328
328
|
attr_accessor :external_account_collection
|
329
329
|
|
330
330
|
def initialize(
|
@@ -348,15 +348,15 @@ module Stripe
|
|
348
348
|
|
349
349
|
class Balances < Stripe::RequestParams
|
350
350
|
class Features < Stripe::RequestParams
|
351
|
-
#
|
351
|
+
# 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`.
|
352
352
|
attr_accessor :disable_stripe_user_authentication
|
353
|
-
# Whether to allow payout schedule to be changed.
|
353
|
+
# Whether to allow payout schedule to be changed. Defaults to `true` when `controller.losses.payments` is set to `stripe` for the account, otherwise `false`.
|
354
354
|
attr_accessor :edit_payout_schedule
|
355
|
-
# Whether
|
355
|
+
# 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`.
|
356
356
|
attr_accessor :external_account_collection
|
357
|
-
# Whether to allow creation of instant payouts.
|
357
|
+
# Whether to allow creation of instant payouts. Defaults to `true` when `controller.losses.payments` is set to `stripe` for the account, otherwise `false`.
|
358
358
|
attr_accessor :instant_payouts
|
359
|
-
# Whether to allow creation of standard payouts.
|
359
|
+
# Whether to allow creation of standard payouts. Defaults to `true` when `controller.losses.payments` is set to `stripe` for the account, otherwise `false`.
|
360
360
|
attr_accessor :standard_payouts
|
361
361
|
|
362
362
|
def initialize(
|
@@ -388,11 +388,11 @@ module Stripe
|
|
388
388
|
class Features < Stripe::RequestParams
|
389
389
|
# Whether to allow capturing and cancelling payment intents. This is `true` by default.
|
390
390
|
attr_accessor :capture_payments
|
391
|
-
# Whether
|
391
|
+
# Whether connected accounts can manage destination charges that are created on behalf of them. This is `false` by default.
|
392
392
|
attr_accessor :destination_on_behalf_of_charge_management
|
393
|
-
# Whether
|
393
|
+
# Whether responding to disputes is enabled, including submitting evidence and accepting disputes. This is `true` by default.
|
394
394
|
attr_accessor :dispute_management
|
395
|
-
# Whether
|
395
|
+
# Whether sending refunds is enabled. This is `true` by default.
|
396
396
|
attr_accessor :refund_management
|
397
397
|
|
398
398
|
def initialize(
|
@@ -433,9 +433,9 @@ module Stripe
|
|
433
433
|
|
434
434
|
class FinancialAccount < Stripe::RequestParams
|
435
435
|
class Features < Stripe::RequestParams
|
436
|
-
#
|
436
|
+
# 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`.
|
437
437
|
attr_accessor :disable_stripe_user_authentication
|
438
|
-
# Whether
|
438
|
+
# 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`.
|
439
439
|
attr_accessor :external_account_collection
|
440
440
|
# Whether to allow sending money.
|
441
441
|
attr_accessor :send_money
|
@@ -527,7 +527,7 @@ module Stripe
|
|
527
527
|
attr_accessor :card_spend_dispute_management
|
528
528
|
# Whether to allow cardholder management features.
|
529
529
|
attr_accessor :cardholder_management
|
530
|
-
#
|
530
|
+
# 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`.
|
531
531
|
attr_accessor :disable_stripe_user_authentication
|
532
532
|
# Whether to allow spend control management features.
|
533
533
|
attr_accessor :spend_control_management
|
@@ -559,9 +559,9 @@ module Stripe
|
|
559
559
|
|
560
560
|
class NotificationBanner < Stripe::RequestParams
|
561
561
|
class Features < Stripe::RequestParams
|
562
|
-
#
|
562
|
+
# 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`.
|
563
563
|
attr_accessor :disable_stripe_user_authentication
|
564
|
-
# Whether
|
564
|
+
# 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`.
|
565
565
|
attr_accessor :external_account_collection
|
566
566
|
|
567
567
|
def initialize(
|
@@ -587,11 +587,11 @@ module Stripe
|
|
587
587
|
class Features < Stripe::RequestParams
|
588
588
|
# Whether to allow capturing and cancelling payment intents. This is `true` by default.
|
589
589
|
attr_accessor :capture_payments
|
590
|
-
# Whether
|
590
|
+
# Whether connected accounts can manage destination charges that are created on behalf of them. This is `false` by default.
|
591
591
|
attr_accessor :destination_on_behalf_of_charge_management
|
592
|
-
# Whether
|
592
|
+
# Whether responding to disputes is enabled, including submitting evidence and accepting disputes. This is `true` by default.
|
593
593
|
attr_accessor :dispute_management
|
594
|
-
# Whether
|
594
|
+
# Whether sending refunds is enabled. This is `true` by default.
|
595
595
|
attr_accessor :refund_management
|
596
596
|
|
597
597
|
def initialize(
|
@@ -619,11 +619,11 @@ module Stripe
|
|
619
619
|
|
620
620
|
class PaymentDisputes < Stripe::RequestParams
|
621
621
|
class Features < Stripe::RequestParams
|
622
|
-
# Whether
|
622
|
+
# Whether connected accounts can manage destination charges that are created on behalf of them. This is `false` by default.
|
623
623
|
attr_accessor :destination_on_behalf_of_charge_management
|
624
|
-
# Whether
|
624
|
+
# Whether responding to disputes is enabled, including submitting evidence and accepting disputes. This is `true` by default.
|
625
625
|
attr_accessor :dispute_management
|
626
|
-
# Whether
|
626
|
+
# Whether sending refunds is enabled. This is `true` by default.
|
627
627
|
attr_accessor :refund_management
|
628
628
|
|
629
629
|
def initialize(
|
@@ -651,11 +651,11 @@ module Stripe
|
|
651
651
|
class Features < Stripe::RequestParams
|
652
652
|
# Whether to allow capturing and cancelling payment intents. This is `true` by default.
|
653
653
|
attr_accessor :capture_payments
|
654
|
-
# Whether
|
654
|
+
# Whether connected accounts can manage destination charges that are created on behalf of them. This is `false` by default.
|
655
655
|
attr_accessor :destination_on_behalf_of_charge_management
|
656
|
-
# Whether
|
656
|
+
# Whether responding to disputes is enabled, including submitting evidence and accepting disputes. This is `true` by default.
|
657
657
|
attr_accessor :dispute_management
|
658
|
-
# Whether
|
658
|
+
# Whether sending refunds is enabled. This is `true` by default.
|
659
659
|
attr_accessor :refund_management
|
660
660
|
|
661
661
|
def initialize(
|
@@ -683,15 +683,15 @@ module Stripe
|
|
683
683
|
|
684
684
|
class Payouts < Stripe::RequestParams
|
685
685
|
class Features < Stripe::RequestParams
|
686
|
-
#
|
686
|
+
# 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`.
|
687
687
|
attr_accessor :disable_stripe_user_authentication
|
688
|
-
# Whether to allow payout schedule to be changed.
|
688
|
+
# Whether to allow payout schedule to be changed. Defaults to `true` when `controller.losses.payments` is set to `stripe` for the account, otherwise `false`.
|
689
689
|
attr_accessor :edit_payout_schedule
|
690
|
-
# Whether
|
690
|
+
# 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`.
|
691
691
|
attr_accessor :external_account_collection
|
692
|
-
# Whether to allow creation of instant payouts.
|
692
|
+
# Whether to allow creation of instant payouts. Defaults to `true` when `controller.losses.payments` is set to `stripe` for the account, otherwise `false`.
|
693
693
|
attr_accessor :instant_payouts
|
694
|
-
# Whether to allow creation of standard payouts.
|
694
|
+
# Whether to allow creation of standard payouts. Defaults to `true` when `controller.losses.payments` is set to `stripe` for the account, otherwise `false`.
|
695
695
|
attr_accessor :standard_payouts
|
696
696
|
|
697
697
|
def initialize(
|
@@ -757,39 +757,39 @@ module Stripe
|
|
757
757
|
@features = features
|
758
758
|
end
|
759
759
|
end
|
760
|
-
# Configuration for the account management embedded component.
|
760
|
+
# Configuration for the [account management](/connect/supported-embedded-components/account-management/) embedded component.
|
761
761
|
attr_accessor :account_management
|
762
|
-
# Configuration for the account onboarding embedded component.
|
762
|
+
# Configuration for the [account onboarding](/connect/supported-embedded-components/account-onboarding/) embedded component.
|
763
763
|
attr_accessor :account_onboarding
|
764
|
-
# Configuration for the balances embedded component.
|
764
|
+
# Configuration for the [balances](/connect/supported-embedded-components/balances/) embedded component.
|
765
765
|
attr_accessor :balances
|
766
|
-
# Configuration for the disputes list embedded component.
|
766
|
+
# Configuration for the [disputes list](/connect/supported-embedded-components/disputes-list/) embedded component.
|
767
767
|
attr_accessor :disputes_list
|
768
|
-
# Configuration for the documents embedded component.
|
768
|
+
# Configuration for the [documents](/connect/supported-embedded-components/documents/) embedded component.
|
769
769
|
attr_accessor :documents
|
770
|
-
# Configuration for the financial account embedded component.
|
770
|
+
# Configuration for the [financial account](/connect/supported-embedded-components/financial-account/) embedded component.
|
771
771
|
attr_accessor :financial_account
|
772
|
-
# Configuration for the financial account transactions embedded component.
|
772
|
+
# Configuration for the [financial account transactions](/connect/supported-embedded-components/financial-account-transactions/) embedded component.
|
773
773
|
attr_accessor :financial_account_transactions
|
774
|
-
# Configuration for the issuing card embedded component.
|
774
|
+
# Configuration for the [issuing card](/connect/supported-embedded-components/issuing-card/) embedded component.
|
775
775
|
attr_accessor :issuing_card
|
776
|
-
# Configuration for the issuing cards list embedded component.
|
776
|
+
# Configuration for the [issuing cards list](/connect/supported-embedded-components/issuing-cards-list/) embedded component.
|
777
777
|
attr_accessor :issuing_cards_list
|
778
|
-
# Configuration for the notification banner embedded component.
|
778
|
+
# Configuration for the [notification banner](/connect/supported-embedded-components/notification-banner/) embedded component.
|
779
779
|
attr_accessor :notification_banner
|
780
|
-
# Configuration for the payment details embedded component.
|
780
|
+
# Configuration for the [payment details](/connect/supported-embedded-components/payment-details/) embedded component.
|
781
781
|
attr_accessor :payment_details
|
782
|
-
# Configuration for the payment disputes embedded component.
|
782
|
+
# Configuration for the [payment disputes](/connect/supported-embedded-components/payment-disputes/) embedded component.
|
783
783
|
attr_accessor :payment_disputes
|
784
|
-
# Configuration for the payments embedded component.
|
784
|
+
# Configuration for the [payments](/connect/supported-embedded-components/payments/) embedded component.
|
785
785
|
attr_accessor :payments
|
786
|
-
# Configuration for the payouts embedded component.
|
786
|
+
# Configuration for the [payouts](/connect/supported-embedded-components/payouts/) embedded component.
|
787
787
|
attr_accessor :payouts
|
788
|
-
# Configuration for the payouts list embedded component.
|
788
|
+
# Configuration for the [payouts list](/connect/supported-embedded-components/payouts-list/) embedded component.
|
789
789
|
attr_accessor :payouts_list
|
790
|
-
# Configuration for the tax registrations embedded component.
|
790
|
+
# Configuration for the [tax registrations](/connect/supported-embedded-components/tax-registrations/) embedded component.
|
791
791
|
attr_accessor :tax_registrations
|
792
|
-
# Configuration for the tax settings embedded component.
|
792
|
+
# Configuration for the [tax settings](/connect/supported-embedded-components/tax-settings/) embedded component.
|
793
793
|
attr_accessor :tax_settings
|
794
794
|
|
795
795
|
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
|
@@ -290,7 +290,7 @@ module Stripe
|
|
290
290
|
# For `fixed_count` installment plans, this is the interval between installment payments your customer will make to their credit card.
|
291
291
|
# One of `month`.
|
292
292
|
attr_reader :interval
|
293
|
-
# Type of installment plan, one of `fixed_count`.
|
293
|
+
# Type of installment plan, one of `fixed_count`, `bonus`, or `revolving`.
|
294
294
|
attr_reader :type
|
295
295
|
end
|
296
296
|
# Installment plan selected for the payment.
|
@@ -474,7 +474,7 @@ module Stripe
|
|
474
474
|
attr_reader :iin
|
475
475
|
# Attribute for field incremental_authorization
|
476
476
|
attr_reader :incremental_authorization
|
477
|
-
# Installment details for this payment
|
477
|
+
# Installment details for this payment.
|
478
478
|
#
|
479
479
|
# For more information, see the [installments integration guide](https://stripe.com/docs/payments/installments).
|
480
480
|
attr_reader :installments
|
@@ -515,9 +515,9 @@ module Stripe
|
|
515
515
|
class Receipt < Stripe::StripeObject
|
516
516
|
# The type of account being debited or credited
|
517
517
|
attr_reader :account_type
|
518
|
-
#
|
518
|
+
# The Application Cryptogram, a unique value generated by the card to authenticate the transaction with issuers.
|
519
519
|
attr_reader :application_cryptogram
|
520
|
-
#
|
520
|
+
# 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.
|
521
521
|
attr_reader :application_preferred_name
|
522
522
|
# Identifier for this transaction.
|
523
523
|
attr_reader :authorization_code
|
@@ -525,11 +525,11 @@ module Stripe
|
|
525
525
|
attr_reader :authorization_response_code
|
526
526
|
# 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`.
|
527
527
|
attr_reader :cardholder_verification_method
|
528
|
-
#
|
528
|
+
# Similar to the application_preferred_name, identifying the applications (AIDs) available on the card. Referenced from EMV tag 84.
|
529
529
|
attr_reader :dedicated_file_name
|
530
|
-
#
|
530
|
+
# 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.
|
531
531
|
attr_reader :terminal_verification_results
|
532
|
-
# An indication of
|
532
|
+
# An indication of which steps were completed during the card read process. Referenced from EMV Tag 9B.
|
533
533
|
attr_reader :transaction_status_information
|
534
534
|
end
|
535
535
|
|
@@ -581,7 +581,7 @@ module Stripe
|
|
581
581
|
attr_reader :offline
|
582
582
|
# Defines whether the authorized amount can be over-captured or not
|
583
583
|
attr_reader :overcapture_supported
|
584
|
-
# EMV tag 5F2D
|
584
|
+
# 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.
|
585
585
|
attr_reader :preferred_locales
|
586
586
|
# How card details were read in this transaction.
|
587
587
|
attr_reader :read_method
|
@@ -598,6 +598,17 @@ module Stripe
|
|
598
598
|
attr_reader :cashtag
|
599
599
|
end
|
600
600
|
|
601
|
+
class Crypto < Stripe::StripeObject
|
602
|
+
# The wallet address of the customer.
|
603
|
+
attr_reader :buyer_address
|
604
|
+
# The blockchain network that the transaction was sent on.
|
605
|
+
attr_reader :network
|
606
|
+
# The token currency that the transaction was sent with.
|
607
|
+
attr_reader :token_currency
|
608
|
+
# The blockchain transaction hash of the crypto payment.
|
609
|
+
attr_reader :transaction_hash
|
610
|
+
end
|
611
|
+
|
601
612
|
class CustomerBalance < Stripe::StripeObject; end
|
602
613
|
|
603
614
|
class Eps < Stripe::StripeObject
|
@@ -637,7 +648,7 @@ module Stripe
|
|
637
648
|
end
|
638
649
|
|
639
650
|
class Ideal < Stripe::StripeObject
|
640
|
-
# 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`.
|
651
|
+
# 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`.
|
641
652
|
attr_reader :bank
|
642
653
|
# The Bank Identifier Code of the customer's bank.
|
643
654
|
attr_reader :bic
|
@@ -656,9 +667,9 @@ module Stripe
|
|
656
667
|
class Receipt < Stripe::StripeObject
|
657
668
|
# The type of account being debited or credited
|
658
669
|
attr_reader :account_type
|
659
|
-
#
|
670
|
+
# The Application Cryptogram, a unique value generated by the card to authenticate the transaction with issuers.
|
660
671
|
attr_reader :application_cryptogram
|
661
|
-
#
|
672
|
+
# 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.
|
662
673
|
attr_reader :application_preferred_name
|
663
674
|
# Identifier for this transaction.
|
664
675
|
attr_reader :authorization_code
|
@@ -666,11 +677,11 @@ module Stripe
|
|
666
677
|
attr_reader :authorization_response_code
|
667
678
|
# 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`.
|
668
679
|
attr_reader :cardholder_verification_method
|
669
|
-
#
|
680
|
+
# Similar to the application_preferred_name, identifying the applications (AIDs) available on the card. Referenced from EMV tag 84.
|
670
681
|
attr_reader :dedicated_file_name
|
671
|
-
#
|
682
|
+
# 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.
|
672
683
|
attr_reader :terminal_verification_results
|
673
|
-
# An indication of
|
684
|
+
# An indication of which steps were completed during the card read process. Referenced from EMV Tag 9B.
|
674
685
|
attr_reader :transaction_status_information
|
675
686
|
end
|
676
687
|
# Card brand. Can be `interac`, `mastercard` or `visa`.
|
@@ -705,7 +716,7 @@ module Stripe
|
|
705
716
|
attr_reader :network
|
706
717
|
# 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.
|
707
718
|
attr_reader :network_transaction_id
|
708
|
-
# EMV tag 5F2D
|
719
|
+
# 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.
|
709
720
|
attr_reader :preferred_locales
|
710
721
|
# How card details were read in this transaction.
|
711
722
|
attr_reader :read_method
|
@@ -1025,6 +1036,8 @@ module Stripe
|
|
1025
1036
|
attr_reader :card_present
|
1026
1037
|
# Attribute for field cashapp
|
1027
1038
|
attr_reader :cashapp
|
1039
|
+
# Attribute for field crypto
|
1040
|
+
attr_reader :crypto
|
1028
1041
|
# Attribute for field customer_balance
|
1029
1042
|
attr_reader :customer_balance
|
1030
1043
|
# Attribute for field eps
|