stripe 15.1.0 → 15.2.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/CHANGELOG.md +34 -6
- data/CONTRIBUTING.md +25 -0
- data/OPENAPI_VERSION +1 -1
- data/README.md +10 -7
- data/VERSION +1 -1
- data/lib/stripe/api_version.rb +1 -1
- data/lib/stripe/resources/account.rb +47 -20
- data/lib/stripe/resources/account_session.rb +111 -7
- data/lib/stripe/resources/apple_pay_domain.rb +1 -2
- data/lib/stripe/resources/balance.rb +42 -0
- data/lib/stripe/resources/balance_transaction.rb +2 -0
- data/lib/stripe/resources/bank_account.rb +2 -2
- data/lib/stripe/resources/billing_portal/session.rb +1 -1
- data/lib/stripe/resources/capability.rb +1 -1
- data/lib/stripe/resources/charge.rb +13 -5
- data/lib/stripe/resources/checkout/session.rb +20 -4
- data/lib/stripe/resources/confirmation_token.rb +33 -87
- data/lib/stripe/resources/country_spec.rb +1 -1
- data/lib/stripe/resources/coupon.rb +1 -2
- data/lib/stripe/resources/credit_note.rb +12 -9
- data/lib/stripe/resources/customer.rb +2 -4
- data/lib/stripe/resources/customer_session.rb +3 -3
- data/lib/stripe/resources/dispute.rb +2 -2
- data/lib/stripe/resources/event.rb +1 -1
- data/lib/stripe/resources/file.rb +1 -1
- data/lib/stripe/resources/identity/verification_report.rb +6 -0
- data/lib/stripe/resources/identity/verification_session.rb +17 -11
- data/lib/stripe/resources/invoice.rb +114 -27
- data/lib/stripe/resources/invoice_item.rb +2 -3
- data/lib/stripe/resources/invoice_line_item.rb +1 -1
- data/lib/stripe/resources/invoice_payment.rb +9 -2
- data/lib/stripe/resources/issuing/authorization.rb +8 -8
- data/lib/stripe/resources/issuing/card.rb +1 -1
- data/lib/stripe/resources/issuing/dispute.rb +3 -3
- data/lib/stripe/resources/payment_intent.rb +196 -302
- data/lib/stripe/resources/payment_method.rb +46 -103
- data/lib/stripe/resources/payment_method_configuration.rb +297 -2
- data/lib/stripe/resources/payment_method_domain.rb +2 -2
- data/lib/stripe/resources/payout.rb +4 -4
- data/lib/stripe/resources/person.rb +2 -2
- data/lib/stripe/resources/plan.rb +2 -3
- data/lib/stripe/resources/price.rb +1 -1
- data/lib/stripe/resources/product.rb +1 -2
- data/lib/stripe/resources/radar/value_list.rb +1 -2
- data/lib/stripe/resources/radar/value_list_item.rb +1 -2
- data/lib/stripe/resources/refund.rb +6 -1
- data/lib/stripe/resources/reversal.rb +1 -1
- data/lib/stripe/resources/review.rb +1 -1
- data/lib/stripe/resources/setup_intent.rb +111 -281
- data/lib/stripe/resources/source.rb +1 -1
- data/lib/stripe/resources/subscription.rb +89 -29
- data/lib/stripe/resources/subscription_item.rb +33 -0
- data/lib/stripe/resources/subscription_schedule.rb +119 -4
- data/lib/stripe/resources/tax/calculation.rb +4 -0
- data/lib/stripe/resources/tax/calculation_line_item.rb +2 -0
- data/lib/stripe/resources/tax/registration.rb +1 -1
- data/lib/stripe/resources/tax_id.rb +1 -2
- data/lib/stripe/resources/tax_rate.rb +2 -2
- data/lib/stripe/resources/terminal/configuration.rb +1 -2
- data/lib/stripe/resources/terminal/location.rb +2 -3
- data/lib/stripe/resources/terminal/reader.rb +275 -3
- data/lib/stripe/resources/test_helpers/test_clock.rb +1 -2
- data/lib/stripe/resources/token.rb +2 -2
- data/lib/stripe/resources/transfer.rb +1 -1
- data/lib/stripe/resources/webhook_endpoint.rb +1 -2
- data/lib/stripe/services/account_external_account_service.rb +2 -3
- data/lib/stripe/services/account_login_link_service.rb +1 -1
- data/lib/stripe/services/account_person_service.rb +1 -2
- data/lib/stripe/services/account_service.rb +38 -13
- data/lib/stripe/services/account_session_service.rb +75 -7
- data/lib/stripe/services/apple_pay_domain_service.rb +1 -2
- data/lib/stripe/services/balance_service.rb +1 -1
- data/lib/stripe/services/charge_service.rb +4 -4
- data/lib/stripe/services/checkout/session_service.rb +11 -3
- data/lib/stripe/services/coupon_service.rb +1 -2
- data/lib/stripe/services/credit_note_service.rb +7 -8
- data/lib/stripe/services/customer_balance_transaction_service.rb +3 -3
- data/lib/stripe/services/customer_cash_balance_transaction_service.rb +2 -2
- data/lib/stripe/services/customer_payment_source_service.rb +1 -1
- data/lib/stripe/services/customer_service.rb +3 -5
- data/lib/stripe/services/customer_tax_id_service.rb +1 -2
- data/lib/stripe/services/dispute_service.rb +1 -1
- data/lib/stripe/services/file_service.rb +1 -1
- data/lib/stripe/services/identity/verification_session_service.rb +5 -5
- data/lib/stripe/services/invoice_item_service.rb +1 -2
- data/lib/stripe/services/invoice_service.rb +92 -23
- data/lib/stripe/services/issuing/authorization_service.rb +4 -4
- data/lib/stripe/services/issuing/card_service.rb +1 -1
- data/lib/stripe/services/issuing/dispute_service.rb +2 -2
- data/lib/stripe/services/payment_intent_service.rb +176 -292
- data/lib/stripe/services/payment_method_configuration_service.rb +212 -2
- data/lib/stripe/services/payment_method_domain_service.rb +1 -1
- data/lib/stripe/services/payment_method_service.rb +43 -100
- data/lib/stripe/services/payout_service.rb +2 -2
- data/lib/stripe/services/plan_service.rb +2 -3
- data/lib/stripe/services/price_service.rb +2 -2
- data/lib/stripe/services/product_feature_service.rb +1 -2
- data/lib/stripe/services/product_service.rb +2 -3
- data/lib/stripe/services/promotion_code_service.rb +1 -1
- data/lib/stripe/services/radar/early_fraud_warning_service.rb +1 -1
- data/lib/stripe/services/radar/value_list_item_service.rb +1 -2
- data/lib/stripe/services/radar/value_list_service.rb +1 -2
- data/lib/stripe/services/setup_intent_service.rb +110 -280
- data/lib/stripe/services/source_service.rb +1 -1
- data/lib/stripe/services/subscription_item_service.rb +26 -0
- data/lib/stripe/services/subscription_schedule_service.rb +93 -3
- data/lib/stripe/services/subscription_service.rb +77 -26
- data/lib/stripe/services/tax/calculation_service.rb +4 -0
- data/lib/stripe/services/tax/registration_service.rb +1 -1
- data/lib/stripe/services/tax_id_service.rb +1 -2
- data/lib/stripe/services/terminal/configuration_service.rb +1 -2
- data/lib/stripe/services/terminal/location_service.rb +2 -3
- data/lib/stripe/services/terminal/reader_service.rb +106 -2
- data/lib/stripe/services/test_helpers/confirmation_token_service.rb +33 -87
- data/lib/stripe/services/test_helpers/terminal/reader_service.rb +43 -0
- data/lib/stripe/services/test_helpers/test_clock_service.rb +1 -2
- data/lib/stripe/services/token_service.rb +1 -1
- data/lib/stripe/services/transfer_service.rb +1 -1
- data/lib/stripe/services/v2/billing/meter_event_session_service.rb +1 -2
- data/lib/stripe/services/v2/core/event_destination_service.rb +4 -10
- data/lib/stripe/services/v2/core/event_service.rb +1 -2
- data/lib/stripe/services/webhook_endpoint_service.rb +1 -2
- data/lib/stripe/version.rb +1 -1
- data/rbi/stripe/resources/account.rbi +46 -23
- data/rbi/stripe/resources/account_session.rbi +131 -12
- data/rbi/stripe/resources/apple_pay_domain.rbi +1 -3
- data/rbi/stripe/resources/balance.rbi +55 -0
- data/rbi/stripe/resources/balance_transaction.rbi +3 -0
- data/rbi/stripe/resources/bank_account.rbi +2 -2
- data/rbi/stripe/resources/billing/alert.rbi +2 -2
- data/rbi/stripe/resources/billing_portal/session.rbi +1 -1
- data/rbi/stripe/resources/capability.rbi +1 -1
- data/rbi/stripe/resources/charge.rbi +17 -5
- data/rbi/stripe/resources/checkout/session.rbi +22 -6
- data/rbi/stripe/resources/confirmation_token.rbi +33 -99
- data/rbi/stripe/resources/country_spec.rbi +1 -1
- data/rbi/stripe/resources/coupon.rbi +1 -3
- data/rbi/stripe/resources/credit_note.rbi +14 -9
- data/rbi/stripe/resources/customer.rbi +2 -6
- data/rbi/stripe/resources/customer_session.rbi +3 -3
- data/rbi/stripe/resources/dispute.rbi +2 -2
- data/rbi/stripe/resources/event.rbi +1 -1
- data/rbi/stripe/resources/file.rbi +1 -1
- data/rbi/stripe/resources/identity/verification_report.rbi +9 -0
- data/rbi/stripe/resources/identity/verification_session.rbi +20 -11
- data/rbi/stripe/resources/invoice.rbi +109 -33
- data/rbi/stripe/resources/invoice_item.rbi +2 -4
- data/rbi/stripe/resources/invoice_line_item.rbi +1 -1
- data/rbi/stripe/resources/invoice_payment.rbi +9 -2
- data/rbi/stripe/resources/issuing/authorization.rbi +8 -8
- data/rbi/stripe/resources/issuing/card.rbi +1 -1
- data/rbi/stripe/resources/issuing/dispute.rbi +3 -3
- data/rbi/stripe/resources/payment_intent.rbi +201 -349
- data/rbi/stripe/resources/payment_method.rbi +46 -116
- data/rbi/stripe/resources/payment_method_configuration.rbi +334 -4
- data/rbi/stripe/resources/payment_method_domain.rbi +2 -2
- data/rbi/stripe/resources/payout.rbi +4 -4
- data/rbi/stripe/resources/person.rbi +2 -2
- data/rbi/stripe/resources/plan.rbi +2 -4
- data/rbi/stripe/resources/price.rbi +1 -1
- data/rbi/stripe/resources/product.rbi +1 -3
- data/rbi/stripe/resources/radar/value_list.rbi +1 -3
- data/rbi/stripe/resources/radar/value_list_item.rbi +1 -3
- data/rbi/stripe/resources/refund.rbi +5 -1
- data/rbi/stripe/resources/reversal.rbi +1 -1
- data/rbi/stripe/resources/review.rbi +1 -1
- data/rbi/stripe/resources/setup_intent.rbi +111 -325
- data/rbi/stripe/resources/source.rbi +1 -1
- data/rbi/stripe/resources/subscription.rbi +99 -36
- data/rbi/stripe/resources/subscription_item.rbi +36 -2
- data/rbi/stripe/resources/subscription_schedule.rbi +138 -10
- data/rbi/stripe/resources/tax/calculation.rbi +5 -1
- data/rbi/stripe/resources/tax/calculation_line_item.rbi +3 -0
- data/rbi/stripe/resources/tax/registration.rbi +1 -1
- data/rbi/stripe/resources/tax_id.rbi +1 -3
- data/rbi/stripe/resources/tax_rate.rbi +2 -2
- data/rbi/stripe/resources/terminal/configuration.rbi +1 -3
- data/rbi/stripe/resources/terminal/location.rbi +2 -4
- data/rbi/stripe/resources/terminal/reader.rbi +265 -5
- data/rbi/stripe/resources/test_helpers/test_clock.rbi +1 -3
- data/rbi/stripe/resources/token.rbi +2 -2
- data/rbi/stripe/resources/transfer.rbi +1 -1
- data/rbi/stripe/resources/webhook_endpoint.rbi +1 -3
- data/rbi/stripe/services/account_external_account_service.rbi +2 -4
- data/rbi/stripe/services/account_login_link_service.rbi +1 -1
- data/rbi/stripe/services/account_person_service.rbi +1 -3
- data/rbi/stripe/services/account_service.rbi +40 -16
- data/rbi/stripe/services/account_session_service.rbi +86 -12
- data/rbi/stripe/services/apple_pay_domain_service.rbi +1 -3
- data/rbi/stripe/services/balance_service.rbi +1 -1
- data/rbi/stripe/services/billing/alert_service.rbi +2 -2
- data/rbi/stripe/services/charge_service.rbi +4 -4
- data/rbi/stripe/services/checkout/session_service.rbi +12 -5
- data/rbi/stripe/services/coupon_service.rbi +1 -3
- data/rbi/stripe/services/credit_note_service.rbi +7 -8
- data/rbi/stripe/services/customer_balance_transaction_service.rbi +3 -3
- data/rbi/stripe/services/customer_cash_balance_transaction_service.rbi +2 -2
- data/rbi/stripe/services/customer_payment_source_service.rbi +1 -1
- data/rbi/stripe/services/customer_service.rbi +3 -7
- data/rbi/stripe/services/customer_tax_id_service.rbi +1 -3
- data/rbi/stripe/services/dispute_service.rbi +1 -1
- data/rbi/stripe/services/file_service.rbi +1 -1
- data/rbi/stripe/services/identity/verification_session_service.rbi +5 -5
- data/rbi/stripe/services/invoice_item_service.rbi +1 -3
- data/rbi/stripe/services/invoice_service.rbi +90 -29
- data/rbi/stripe/services/issuing/authorization_service.rbi +4 -4
- data/rbi/stripe/services/issuing/card_service.rbi +1 -1
- data/rbi/stripe/services/issuing/dispute_service.rbi +2 -2
- data/rbi/stripe/services/payment_intent_service.rbi +179 -339
- data/rbi/stripe/services/payment_method_configuration_service.rbi +236 -4
- data/rbi/stripe/services/payment_method_domain_service.rbi +1 -1
- data/rbi/stripe/services/payment_method_service.rbi +43 -113
- data/rbi/stripe/services/payout_service.rbi +2 -2
- data/rbi/stripe/services/plan_service.rbi +2 -4
- data/rbi/stripe/services/price_service.rbi +2 -2
- data/rbi/stripe/services/product_feature_service.rbi +1 -3
- data/rbi/stripe/services/product_service.rbi +2 -4
- data/rbi/stripe/services/promotion_code_service.rbi +1 -1
- data/rbi/stripe/services/radar/early_fraud_warning_service.rbi +1 -1
- data/rbi/stripe/services/radar/value_list_item_service.rbi +1 -3
- data/rbi/stripe/services/radar/value_list_service.rbi +1 -3
- data/rbi/stripe/services/setup_intent_service.rbi +110 -324
- data/rbi/stripe/services/source_service.rbi +1 -1
- data/rbi/stripe/services/subscription_item_service.rbi +28 -2
- data/rbi/stripe/services/subscription_schedule_service.rbi +107 -9
- data/rbi/stripe/services/subscription_service.rbi +85 -33
- data/rbi/stripe/services/tax/calculation_service.rbi +5 -1
- data/rbi/stripe/services/tax/registration_service.rbi +1 -1
- data/rbi/stripe/services/tax_id_service.rbi +1 -3
- data/rbi/stripe/services/terminal/configuration_service.rbi +1 -3
- data/rbi/stripe/services/terminal/location_service.rbi +2 -4
- data/rbi/stripe/services/terminal/reader_service.rbi +115 -4
- data/rbi/stripe/services/test_helpers/confirmation_token_service.rbi +33 -99
- data/rbi/stripe/services/test_helpers/terminal/reader_service.rbi +31 -0
- data/rbi/stripe/services/test_helpers/test_clock_service.rbi +1 -3
- data/rbi/stripe/services/token_service.rbi +1 -1
- data/rbi/stripe/services/transfer_service.rbi +1 -1
- data/rbi/stripe/services/v2/billing/meter_event_session_service.rbi +1 -3
- data/rbi/stripe/services/v2/core/event_destination_service.rbi +4 -12
- data/rbi/stripe/services/v2/core/event_service.rbi +1 -3
- data/rbi/stripe/services/webhook_endpoint_service.rbi +1 -3
- metadata +3 -2
@@ -70,9 +70,7 @@ module Stripe
|
|
70
70
|
end
|
71
71
|
class MandateData < Stripe::RequestParams
|
72
72
|
class CustomerAcceptance < Stripe::RequestParams
|
73
|
-
class Offline < Stripe::RequestParams
|
74
|
-
|
75
|
-
end
|
73
|
+
class Offline < Stripe::RequestParams; end
|
76
74
|
class Online < Stripe::RequestParams
|
77
75
|
# The IP address from which the Mandate was accepted by the customer.
|
78
76
|
sig { returns(String) }
|
@@ -130,21 +128,11 @@ module Stripe
|
|
130
128
|
}
|
131
129
|
def initialize(account_number: nil, institution_number: nil, transit_number: nil); end
|
132
130
|
end
|
133
|
-
class Affirm < Stripe::RequestParams
|
134
|
-
|
135
|
-
end
|
136
|
-
class
|
137
|
-
|
138
|
-
end
|
139
|
-
class Alipay < Stripe::RequestParams
|
140
|
-
|
141
|
-
end
|
142
|
-
class Alma < Stripe::RequestParams
|
143
|
-
|
144
|
-
end
|
145
|
-
class AmazonPay < Stripe::RequestParams
|
146
|
-
|
147
|
-
end
|
131
|
+
class Affirm < Stripe::RequestParams; end
|
132
|
+
class AfterpayClearpay < Stripe::RequestParams; end
|
133
|
+
class Alipay < Stripe::RequestParams; end
|
134
|
+
class Alma < Stripe::RequestParams; end
|
135
|
+
class AmazonPay < Stripe::RequestParams; end
|
148
136
|
class AuBecsDebit < Stripe::RequestParams
|
149
137
|
# The account number for the bank account.
|
150
138
|
sig { returns(String) }
|
@@ -165,12 +153,8 @@ module Stripe
|
|
165
153
|
sig { params(account_number: T.nilable(String), sort_code: T.nilable(String)).void }
|
166
154
|
def initialize(account_number: nil, sort_code: nil); end
|
167
155
|
end
|
168
|
-
class Bancontact < Stripe::RequestParams
|
169
|
-
|
170
|
-
end
|
171
|
-
class Billie < Stripe::RequestParams
|
172
|
-
|
173
|
-
end
|
156
|
+
class Bancontact < Stripe::RequestParams; end
|
157
|
+
class Billie < Stripe::RequestParams; end
|
174
158
|
class BillingDetails < Stripe::RequestParams
|
175
159
|
class Address < Stripe::RequestParams
|
176
160
|
# City, district, suburb, town, or village.
|
@@ -225,9 +209,7 @@ module Stripe
|
|
225
209
|
}
|
226
210
|
def initialize(address: nil, email: nil, name: nil, phone: nil, tax_id: nil); end
|
227
211
|
end
|
228
|
-
class Blik < Stripe::RequestParams
|
229
|
-
|
230
|
-
end
|
212
|
+
class Blik < Stripe::RequestParams; end
|
231
213
|
class Boleto < Stripe::RequestParams
|
232
214
|
# The tax ID of the customer (CPF for individual consumers or CNPJ for businesses consumers)
|
233
215
|
sig { returns(String) }
|
@@ -235,12 +217,8 @@ module Stripe
|
|
235
217
|
sig { params(tax_id: String).void }
|
236
218
|
def initialize(tax_id: nil); end
|
237
219
|
end
|
238
|
-
class Cashapp < Stripe::RequestParams
|
239
|
-
|
240
|
-
end
|
241
|
-
class CustomerBalance < Stripe::RequestParams
|
242
|
-
|
243
|
-
end
|
220
|
+
class Cashapp < Stripe::RequestParams; end
|
221
|
+
class CustomerBalance < Stripe::RequestParams; end
|
244
222
|
class Eps < Stripe::RequestParams
|
245
223
|
# The customer's bank.
|
246
224
|
sig { returns(T.nilable(String)) }
|
@@ -258,12 +236,8 @@ module Stripe
|
|
258
236
|
sig { params(account_holder_type: T.nilable(String), bank: String).void }
|
259
237
|
def initialize(account_holder_type: nil, bank: nil); end
|
260
238
|
end
|
261
|
-
class Giropay < Stripe::RequestParams
|
262
|
-
|
263
|
-
end
|
264
|
-
class Grabpay < Stripe::RequestParams
|
265
|
-
|
266
|
-
end
|
239
|
+
class Giropay < Stripe::RequestParams; end
|
240
|
+
class Grabpay < Stripe::RequestParams; end
|
267
241
|
class Ideal < Stripe::RequestParams
|
268
242
|
# The customer's bank. Only use this parameter for existing customers. Don't use it for new customers.
|
269
243
|
sig { returns(T.nilable(String)) }
|
@@ -271,12 +245,8 @@ module Stripe
|
|
271
245
|
sig { params(bank: T.nilable(String)).void }
|
272
246
|
def initialize(bank: nil); end
|
273
247
|
end
|
274
|
-
class InteracPresent < Stripe::RequestParams
|
275
|
-
|
276
|
-
end
|
277
|
-
class KakaoPay < Stripe::RequestParams
|
278
|
-
|
279
|
-
end
|
248
|
+
class InteracPresent < Stripe::RequestParams; end
|
249
|
+
class KakaoPay < Stripe::RequestParams; end
|
280
250
|
class Klarna < Stripe::RequestParams
|
281
251
|
class Dob < Stripe::RequestParams
|
282
252
|
# The day of birth, between 1 and 31.
|
@@ -301,21 +271,11 @@ module Stripe
|
|
301
271
|
}
|
302
272
|
def initialize(dob: nil); end
|
303
273
|
end
|
304
|
-
class Konbini < Stripe::RequestParams
|
305
|
-
|
306
|
-
end
|
307
|
-
class
|
308
|
-
|
309
|
-
end
|
310
|
-
class Link < Stripe::RequestParams
|
311
|
-
|
312
|
-
end
|
313
|
-
class Mobilepay < Stripe::RequestParams
|
314
|
-
|
315
|
-
end
|
316
|
-
class Multibanco < Stripe::RequestParams
|
317
|
-
|
318
|
-
end
|
274
|
+
class Konbini < Stripe::RequestParams; end
|
275
|
+
class KrCard < Stripe::RequestParams; end
|
276
|
+
class Link < Stripe::RequestParams; end
|
277
|
+
class Mobilepay < Stripe::RequestParams; end
|
278
|
+
class Multibanco < Stripe::RequestParams; end
|
319
279
|
class NaverPay < Stripe::RequestParams
|
320
280
|
# Whether to use Naver Pay points or a card to fund this transaction. If not provided, this defaults to `card`.
|
321
281
|
sig { returns(T.nilable(String)) }
|
@@ -354,9 +314,7 @@ module Stripe
|
|
354
314
|
suffix: nil
|
355
315
|
); end
|
356
316
|
end
|
357
|
-
class Oxxo < Stripe::RequestParams
|
358
|
-
|
359
|
-
end
|
317
|
+
class Oxxo < Stripe::RequestParams; end
|
360
318
|
class P24 < Stripe::RequestParams
|
361
319
|
# The customer's bank.
|
362
320
|
sig { returns(T.nilable(String)) }
|
@@ -364,24 +322,12 @@ module Stripe
|
|
364
322
|
sig { params(bank: T.nilable(String)).void }
|
365
323
|
def initialize(bank: nil); end
|
366
324
|
end
|
367
|
-
class PayByBank < Stripe::RequestParams
|
368
|
-
|
369
|
-
end
|
370
|
-
class
|
371
|
-
|
372
|
-
end
|
373
|
-
class Paynow < Stripe::RequestParams
|
374
|
-
|
375
|
-
end
|
376
|
-
class Paypal < Stripe::RequestParams
|
377
|
-
|
378
|
-
end
|
379
|
-
class Pix < Stripe::RequestParams
|
380
|
-
|
381
|
-
end
|
382
|
-
class Promptpay < Stripe::RequestParams
|
383
|
-
|
384
|
-
end
|
325
|
+
class PayByBank < Stripe::RequestParams; end
|
326
|
+
class Payco < Stripe::RequestParams; end
|
327
|
+
class Paynow < Stripe::RequestParams; end
|
328
|
+
class Paypal < Stripe::RequestParams; end
|
329
|
+
class Pix < Stripe::RequestParams; end
|
330
|
+
class Promptpay < Stripe::RequestParams; end
|
385
331
|
class RadarOptions < Stripe::RequestParams
|
386
332
|
# A [Radar Session](https://stripe.com/docs/radar/radar-session) is a snapshot of the browser metadata and device details that help Radar make more accurate predictions on your payments.
|
387
333
|
sig { returns(T.nilable(String)) }
|
@@ -389,15 +335,9 @@ module Stripe
|
|
389
335
|
sig { params(session: T.nilable(String)).void }
|
390
336
|
def initialize(session: nil); end
|
391
337
|
end
|
392
|
-
class RevolutPay < Stripe::RequestParams
|
393
|
-
|
394
|
-
end
|
395
|
-
class SamsungPay < Stripe::RequestParams
|
396
|
-
|
397
|
-
end
|
398
|
-
class Satispay < Stripe::RequestParams
|
399
|
-
|
400
|
-
end
|
338
|
+
class RevolutPay < Stripe::RequestParams; end
|
339
|
+
class SamsungPay < Stripe::RequestParams; end
|
340
|
+
class Satispay < Stripe::RequestParams; end
|
401
341
|
class SepaDebit < Stripe::RequestParams
|
402
342
|
# IBAN of the bank account.
|
403
343
|
sig { returns(String) }
|
@@ -412,12 +352,8 @@ module Stripe
|
|
412
352
|
sig { params(country: String).void }
|
413
353
|
def initialize(country: nil); end
|
414
354
|
end
|
415
|
-
class Swish < Stripe::RequestParams
|
416
|
-
|
417
|
-
end
|
418
|
-
class Twint < Stripe::RequestParams
|
419
|
-
|
420
|
-
end
|
355
|
+
class Swish < Stripe::RequestParams; end
|
356
|
+
class Twint < Stripe::RequestParams; end
|
421
357
|
class UsBankAccount < Stripe::RequestParams
|
422
358
|
# Account holder type: individual or company.
|
423
359
|
sig { returns(T.nilable(String)) }
|
@@ -445,12 +381,8 @@ module Stripe
|
|
445
381
|
routing_number: nil
|
446
382
|
); end
|
447
383
|
end
|
448
|
-
class WechatPay < Stripe::RequestParams
|
449
|
-
|
450
|
-
end
|
451
|
-
class Zip < Stripe::RequestParams
|
452
|
-
|
453
|
-
end
|
384
|
+
class WechatPay < Stripe::RequestParams; end
|
385
|
+
class Zip < Stripe::RequestParams; end
|
454
386
|
# If this is an `acss_debit` PaymentMethod, this hash contains details about the ACSS Debit payment method.
|
455
387
|
sig {
|
456
388
|
returns(T.nilable(::Stripe::PaymentIntentService::CreateParams::PaymentMethodData::AcssDebit))
|
@@ -1477,9 +1409,7 @@ module Stripe
|
|
1477
1409
|
sig { params(setup_future_usage: T.nilable(T.nilable(T.any(String, String)))).void }
|
1478
1410
|
def initialize(setup_future_usage: nil); end
|
1479
1411
|
end
|
1480
|
-
class InteracPresent < Stripe::RequestParams
|
1481
|
-
|
1482
|
-
end
|
1412
|
+
class InteracPresent < Stripe::RequestParams; end
|
1483
1413
|
class KakaoPay < Stripe::RequestParams
|
1484
1414
|
# Controls when the funds are captured from the customer's account.
|
1485
1415
|
#
|
@@ -1734,9 +1664,7 @@ module Stripe
|
|
1734
1664
|
}
|
1735
1665
|
def initialize(setup_future_usage: nil, tos_shown_and_accepted: nil); end
|
1736
1666
|
end
|
1737
|
-
class PayByBank < Stripe::RequestParams
|
1738
|
-
|
1739
|
-
end
|
1667
|
+
class PayByBank < Stripe::RequestParams; end
|
1740
1668
|
class Payco < Stripe::RequestParams
|
1741
1669
|
# Controls when the funds are captured from the customer's account.
|
1742
1670
|
#
|
@@ -1869,6 +1797,17 @@ module Stripe
|
|
1869
1797
|
sig { params(capture_method: T.nilable(T.nilable(String))).void }
|
1870
1798
|
def initialize(capture_method: nil); end
|
1871
1799
|
end
|
1800
|
+
class Satispay < Stripe::RequestParams
|
1801
|
+
# Controls when the funds are captured from the customer's account.
|
1802
|
+
#
|
1803
|
+
# If provided, this parameter overrides the behavior of the top-level [capture_method](/api/payment_intents/update#update_payment_intent-capture_method) for this payment method type when finalizing the payment with this payment method type.
|
1804
|
+
#
|
1805
|
+
# If `capture_method` is already set on the PaymentIntent, providing an empty value for this parameter unsets the stored value for this payment method type.
|
1806
|
+
sig { returns(T.nilable(T.nilable(String))) }
|
1807
|
+
attr_accessor :capture_method
|
1808
|
+
sig { params(capture_method: T.nilable(T.nilable(String))).void }
|
1809
|
+
def initialize(capture_method: nil); end
|
1810
|
+
end
|
1872
1811
|
class SepaDebit < Stripe::RequestParams
|
1873
1812
|
class MandateOptions < Stripe::RequestParams
|
1874
1813
|
# Prefix used to generate the Mandate reference. Must be at most 12 characters long. Must consist of only uppercase letters, numbers, spaces, or the following special characters: '/', '_', '-', '&', '.'. Cannot begin with 'STRIPE'.
|
@@ -2289,6 +2228,11 @@ module Stripe
|
|
2289
2228
|
returns(T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntentService::CreateParams::PaymentMethodOptions::SamsungPay))))
|
2290
2229
|
}
|
2291
2230
|
attr_accessor :samsung_pay
|
2231
|
+
# If this is a `satispay` PaymentMethod, this sub-hash contains details about the Satispay payment method options.
|
2232
|
+
sig {
|
2233
|
+
returns(T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntentService::CreateParams::PaymentMethodOptions::Satispay))))
|
2234
|
+
}
|
2235
|
+
attr_accessor :satispay
|
2292
2236
|
# If this is a `sepa_debit` PaymentIntent, this sub-hash contains details about the SEPA Debit payment method options.
|
2293
2237
|
sig {
|
2294
2238
|
returns(T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntentService::CreateParams::PaymentMethodOptions::SepaDebit))))
|
@@ -2325,7 +2269,7 @@ module Stripe
|
|
2325
2269
|
}
|
2326
2270
|
attr_accessor :zip
|
2327
2271
|
sig {
|
2328
|
-
params(acss_debit: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntentService::CreateParams::PaymentMethodOptions::AcssDebit))), affirm: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntentService::CreateParams::PaymentMethodOptions::Affirm))), afterpay_clearpay: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntentService::CreateParams::PaymentMethodOptions::AfterpayClearpay))), alipay: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntentService::CreateParams::PaymentMethodOptions::Alipay))), alma: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntentService::CreateParams::PaymentMethodOptions::Alma))), amazon_pay: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntentService::CreateParams::PaymentMethodOptions::AmazonPay))), au_becs_debit: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntentService::CreateParams::PaymentMethodOptions::AuBecsDebit))), bacs_debit: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntentService::CreateParams::PaymentMethodOptions::BacsDebit))), bancontact: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntentService::CreateParams::PaymentMethodOptions::Bancontact))), billie: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntentService::CreateParams::PaymentMethodOptions::Billie))), blik: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntentService::CreateParams::PaymentMethodOptions::Blik))), boleto: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntentService::CreateParams::PaymentMethodOptions::Boleto))), card: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntentService::CreateParams::PaymentMethodOptions::Card))), card_present: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntentService::CreateParams::PaymentMethodOptions::CardPresent))), cashapp: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntentService::CreateParams::PaymentMethodOptions::Cashapp))), customer_balance: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntentService::CreateParams::PaymentMethodOptions::CustomerBalance))), eps: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntentService::CreateParams::PaymentMethodOptions::Eps))), fpx: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntentService::CreateParams::PaymentMethodOptions::Fpx))), giropay: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntentService::CreateParams::PaymentMethodOptions::Giropay))), grabpay: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntentService::CreateParams::PaymentMethodOptions::Grabpay))), ideal: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntentService::CreateParams::PaymentMethodOptions::Ideal))), interac_present: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntentService::CreateParams::PaymentMethodOptions::InteracPresent))), kakao_pay: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntentService::CreateParams::PaymentMethodOptions::KakaoPay))), klarna: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntentService::CreateParams::PaymentMethodOptions::Klarna))), konbini: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntentService::CreateParams::PaymentMethodOptions::Konbini))), kr_card: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntentService::CreateParams::PaymentMethodOptions::KrCard))), link: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntentService::CreateParams::PaymentMethodOptions::Link))), mobilepay: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntentService::CreateParams::PaymentMethodOptions::Mobilepay))), multibanco: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntentService::CreateParams::PaymentMethodOptions::Multibanco))), naver_pay: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntentService::CreateParams::PaymentMethodOptions::NaverPay))), nz_bank_account: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntentService::CreateParams::PaymentMethodOptions::NzBankAccount))), oxxo: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntentService::CreateParams::PaymentMethodOptions::Oxxo))), p24: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntentService::CreateParams::PaymentMethodOptions::P24))), pay_by_bank: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntentService::CreateParams::PaymentMethodOptions::PayByBank))), payco: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntentService::CreateParams::PaymentMethodOptions::Payco))), paynow: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntentService::CreateParams::PaymentMethodOptions::Paynow))), paypal: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntentService::CreateParams::PaymentMethodOptions::Paypal))), pix: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntentService::CreateParams::PaymentMethodOptions::Pix))), promptpay: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntentService::CreateParams::PaymentMethodOptions::Promptpay))), revolut_pay: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntentService::CreateParams::PaymentMethodOptions::RevolutPay))), samsung_pay: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntentService::CreateParams::PaymentMethodOptions::SamsungPay))), sepa_debit: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntentService::CreateParams::PaymentMethodOptions::SepaDebit))), sofort: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntentService::CreateParams::PaymentMethodOptions::Sofort))), swish: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntentService::CreateParams::PaymentMethodOptions::Swish))), twint: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntentService::CreateParams::PaymentMethodOptions::Twint))), us_bank_account: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntentService::CreateParams::PaymentMethodOptions::UsBankAccount))), wechat_pay: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntentService::CreateParams::PaymentMethodOptions::WechatPay))), zip: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntentService::CreateParams::PaymentMethodOptions::Zip)))).void
|
2272
|
+
params(acss_debit: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntentService::CreateParams::PaymentMethodOptions::AcssDebit))), affirm: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntentService::CreateParams::PaymentMethodOptions::Affirm))), afterpay_clearpay: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntentService::CreateParams::PaymentMethodOptions::AfterpayClearpay))), alipay: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntentService::CreateParams::PaymentMethodOptions::Alipay))), alma: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntentService::CreateParams::PaymentMethodOptions::Alma))), amazon_pay: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntentService::CreateParams::PaymentMethodOptions::AmazonPay))), au_becs_debit: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntentService::CreateParams::PaymentMethodOptions::AuBecsDebit))), bacs_debit: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntentService::CreateParams::PaymentMethodOptions::BacsDebit))), bancontact: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntentService::CreateParams::PaymentMethodOptions::Bancontact))), billie: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntentService::CreateParams::PaymentMethodOptions::Billie))), blik: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntentService::CreateParams::PaymentMethodOptions::Blik))), boleto: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntentService::CreateParams::PaymentMethodOptions::Boleto))), card: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntentService::CreateParams::PaymentMethodOptions::Card))), card_present: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntentService::CreateParams::PaymentMethodOptions::CardPresent))), cashapp: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntentService::CreateParams::PaymentMethodOptions::Cashapp))), customer_balance: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntentService::CreateParams::PaymentMethodOptions::CustomerBalance))), eps: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntentService::CreateParams::PaymentMethodOptions::Eps))), fpx: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntentService::CreateParams::PaymentMethodOptions::Fpx))), giropay: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntentService::CreateParams::PaymentMethodOptions::Giropay))), grabpay: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntentService::CreateParams::PaymentMethodOptions::Grabpay))), ideal: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntentService::CreateParams::PaymentMethodOptions::Ideal))), interac_present: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntentService::CreateParams::PaymentMethodOptions::InteracPresent))), kakao_pay: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntentService::CreateParams::PaymentMethodOptions::KakaoPay))), klarna: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntentService::CreateParams::PaymentMethodOptions::Klarna))), konbini: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntentService::CreateParams::PaymentMethodOptions::Konbini))), kr_card: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntentService::CreateParams::PaymentMethodOptions::KrCard))), link: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntentService::CreateParams::PaymentMethodOptions::Link))), mobilepay: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntentService::CreateParams::PaymentMethodOptions::Mobilepay))), multibanco: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntentService::CreateParams::PaymentMethodOptions::Multibanco))), naver_pay: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntentService::CreateParams::PaymentMethodOptions::NaverPay))), nz_bank_account: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntentService::CreateParams::PaymentMethodOptions::NzBankAccount))), oxxo: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntentService::CreateParams::PaymentMethodOptions::Oxxo))), p24: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntentService::CreateParams::PaymentMethodOptions::P24))), pay_by_bank: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntentService::CreateParams::PaymentMethodOptions::PayByBank))), payco: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntentService::CreateParams::PaymentMethodOptions::Payco))), paynow: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntentService::CreateParams::PaymentMethodOptions::Paynow))), paypal: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntentService::CreateParams::PaymentMethodOptions::Paypal))), pix: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntentService::CreateParams::PaymentMethodOptions::Pix))), promptpay: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntentService::CreateParams::PaymentMethodOptions::Promptpay))), revolut_pay: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntentService::CreateParams::PaymentMethodOptions::RevolutPay))), samsung_pay: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntentService::CreateParams::PaymentMethodOptions::SamsungPay))), satispay: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntentService::CreateParams::PaymentMethodOptions::Satispay))), sepa_debit: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntentService::CreateParams::PaymentMethodOptions::SepaDebit))), sofort: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntentService::CreateParams::PaymentMethodOptions::Sofort))), swish: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntentService::CreateParams::PaymentMethodOptions::Swish))), twint: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntentService::CreateParams::PaymentMethodOptions::Twint))), us_bank_account: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntentService::CreateParams::PaymentMethodOptions::UsBankAccount))), wechat_pay: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntentService::CreateParams::PaymentMethodOptions::WechatPay))), zip: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntentService::CreateParams::PaymentMethodOptions::Zip)))).void
|
2329
2273
|
}
|
2330
2274
|
def initialize(
|
2331
2275
|
acss_debit: nil,
|
@@ -2369,6 +2313,7 @@ module Stripe
|
|
2369
2313
|
promptpay: nil,
|
2370
2314
|
revolut_pay: nil,
|
2371
2315
|
samsung_pay: nil,
|
2316
|
+
satispay: nil,
|
2372
2317
|
sepa_debit: nil,
|
2373
2318
|
sofort: nil,
|
2374
2319
|
swish: nil,
|
@@ -2520,6 +2465,8 @@ module Stripe
|
|
2520
2465
|
# ID of the payment method (a PaymentMethod, Card, or [compatible Source](https://stripe.com/docs/payments/payment-methods#compatibility) object) to attach to this PaymentIntent.
|
2521
2466
|
#
|
2522
2467
|
# If you don't provide the `payment_method` parameter or the `source` parameter with `confirm=true`, `source` automatically populates with `customer.default_source` to improve migration for users of the Charges API. We recommend that you explicitly provide the `payment_method` moving forward.
|
2468
|
+
# If the payment method is attached to a Customer, you must also provide the ID of that Customer as the [customer](https://stripe.com/docs/api#create_payment_intent-customer) parameter of this PaymentIntent.
|
2469
|
+
# end
|
2523
2470
|
sig { returns(T.nilable(String)) }
|
2524
2471
|
attr_accessor :payment_method
|
2525
2472
|
# The ID of the [payment method configuration](https://stripe.com/docs/api/payment_method_configurations) to use with this PaymentIntent.
|
@@ -2640,21 +2587,11 @@ module Stripe
|
|
2640
2587
|
}
|
2641
2588
|
def initialize(account_number: nil, institution_number: nil, transit_number: nil); end
|
2642
2589
|
end
|
2643
|
-
class Affirm < Stripe::RequestParams
|
2644
|
-
|
2645
|
-
end
|
2646
|
-
class
|
2647
|
-
|
2648
|
-
end
|
2649
|
-
class Alipay < Stripe::RequestParams
|
2650
|
-
|
2651
|
-
end
|
2652
|
-
class Alma < Stripe::RequestParams
|
2653
|
-
|
2654
|
-
end
|
2655
|
-
class AmazonPay < Stripe::RequestParams
|
2656
|
-
|
2657
|
-
end
|
2590
|
+
class Affirm < Stripe::RequestParams; end
|
2591
|
+
class AfterpayClearpay < Stripe::RequestParams; end
|
2592
|
+
class Alipay < Stripe::RequestParams; end
|
2593
|
+
class Alma < Stripe::RequestParams; end
|
2594
|
+
class AmazonPay < Stripe::RequestParams; end
|
2658
2595
|
class AuBecsDebit < Stripe::RequestParams
|
2659
2596
|
# The account number for the bank account.
|
2660
2597
|
sig { returns(String) }
|
@@ -2675,12 +2612,8 @@ module Stripe
|
|
2675
2612
|
sig { params(account_number: T.nilable(String), sort_code: T.nilable(String)).void }
|
2676
2613
|
def initialize(account_number: nil, sort_code: nil); end
|
2677
2614
|
end
|
2678
|
-
class Bancontact < Stripe::RequestParams
|
2679
|
-
|
2680
|
-
end
|
2681
|
-
class Billie < Stripe::RequestParams
|
2682
|
-
|
2683
|
-
end
|
2615
|
+
class Bancontact < Stripe::RequestParams; end
|
2616
|
+
class Billie < Stripe::RequestParams; end
|
2684
2617
|
class BillingDetails < Stripe::RequestParams
|
2685
2618
|
class Address < Stripe::RequestParams
|
2686
2619
|
# City, district, suburb, town, or village.
|
@@ -2735,9 +2668,7 @@ module Stripe
|
|
2735
2668
|
}
|
2736
2669
|
def initialize(address: nil, email: nil, name: nil, phone: nil, tax_id: nil); end
|
2737
2670
|
end
|
2738
|
-
class Blik < Stripe::RequestParams
|
2739
|
-
|
2740
|
-
end
|
2671
|
+
class Blik < Stripe::RequestParams; end
|
2741
2672
|
class Boleto < Stripe::RequestParams
|
2742
2673
|
# The tax ID of the customer (CPF for individual consumers or CNPJ for businesses consumers)
|
2743
2674
|
sig { returns(String) }
|
@@ -2745,12 +2676,8 @@ module Stripe
|
|
2745
2676
|
sig { params(tax_id: String).void }
|
2746
2677
|
def initialize(tax_id: nil); end
|
2747
2678
|
end
|
2748
|
-
class Cashapp < Stripe::RequestParams
|
2749
|
-
|
2750
|
-
end
|
2751
|
-
class CustomerBalance < Stripe::RequestParams
|
2752
|
-
|
2753
|
-
end
|
2679
|
+
class Cashapp < Stripe::RequestParams; end
|
2680
|
+
class CustomerBalance < Stripe::RequestParams; end
|
2754
2681
|
class Eps < Stripe::RequestParams
|
2755
2682
|
# The customer's bank.
|
2756
2683
|
sig { returns(T.nilable(String)) }
|
@@ -2768,12 +2695,8 @@ module Stripe
|
|
2768
2695
|
sig { params(account_holder_type: T.nilable(String), bank: String).void }
|
2769
2696
|
def initialize(account_holder_type: nil, bank: nil); end
|
2770
2697
|
end
|
2771
|
-
class Giropay < Stripe::RequestParams
|
2772
|
-
|
2773
|
-
end
|
2774
|
-
class Grabpay < Stripe::RequestParams
|
2775
|
-
|
2776
|
-
end
|
2698
|
+
class Giropay < Stripe::RequestParams; end
|
2699
|
+
class Grabpay < Stripe::RequestParams; end
|
2777
2700
|
class Ideal < Stripe::RequestParams
|
2778
2701
|
# The customer's bank. Only use this parameter for existing customers. Don't use it for new customers.
|
2779
2702
|
sig { returns(T.nilable(String)) }
|
@@ -2781,12 +2704,8 @@ module Stripe
|
|
2781
2704
|
sig { params(bank: T.nilable(String)).void }
|
2782
2705
|
def initialize(bank: nil); end
|
2783
2706
|
end
|
2784
|
-
class InteracPresent < Stripe::RequestParams
|
2785
|
-
|
2786
|
-
end
|
2787
|
-
class KakaoPay < Stripe::RequestParams
|
2788
|
-
|
2789
|
-
end
|
2707
|
+
class InteracPresent < Stripe::RequestParams; end
|
2708
|
+
class KakaoPay < Stripe::RequestParams; end
|
2790
2709
|
class Klarna < Stripe::RequestParams
|
2791
2710
|
class Dob < Stripe::RequestParams
|
2792
2711
|
# The day of birth, between 1 and 31.
|
@@ -2811,21 +2730,11 @@ module Stripe
|
|
2811
2730
|
}
|
2812
2731
|
def initialize(dob: nil); end
|
2813
2732
|
end
|
2814
|
-
class Konbini < Stripe::RequestParams
|
2815
|
-
|
2816
|
-
end
|
2817
|
-
class
|
2818
|
-
|
2819
|
-
end
|
2820
|
-
class Link < Stripe::RequestParams
|
2821
|
-
|
2822
|
-
end
|
2823
|
-
class Mobilepay < Stripe::RequestParams
|
2824
|
-
|
2825
|
-
end
|
2826
|
-
class Multibanco < Stripe::RequestParams
|
2827
|
-
|
2828
|
-
end
|
2733
|
+
class Konbini < Stripe::RequestParams; end
|
2734
|
+
class KrCard < Stripe::RequestParams; end
|
2735
|
+
class Link < Stripe::RequestParams; end
|
2736
|
+
class Mobilepay < Stripe::RequestParams; end
|
2737
|
+
class Multibanco < Stripe::RequestParams; end
|
2829
2738
|
class NaverPay < Stripe::RequestParams
|
2830
2739
|
# Whether to use Naver Pay points or a card to fund this transaction. If not provided, this defaults to `card`.
|
2831
2740
|
sig { returns(T.nilable(String)) }
|
@@ -2864,9 +2773,7 @@ module Stripe
|
|
2864
2773
|
suffix: nil
|
2865
2774
|
); end
|
2866
2775
|
end
|
2867
|
-
class Oxxo < Stripe::RequestParams
|
2868
|
-
|
2869
|
-
end
|
2776
|
+
class Oxxo < Stripe::RequestParams; end
|
2870
2777
|
class P24 < Stripe::RequestParams
|
2871
2778
|
# The customer's bank.
|
2872
2779
|
sig { returns(T.nilable(String)) }
|
@@ -2874,24 +2781,12 @@ module Stripe
|
|
2874
2781
|
sig { params(bank: T.nilable(String)).void }
|
2875
2782
|
def initialize(bank: nil); end
|
2876
2783
|
end
|
2877
|
-
class PayByBank < Stripe::RequestParams
|
2878
|
-
|
2879
|
-
end
|
2880
|
-
class
|
2881
|
-
|
2882
|
-
end
|
2883
|
-
class Paynow < Stripe::RequestParams
|
2884
|
-
|
2885
|
-
end
|
2886
|
-
class Paypal < Stripe::RequestParams
|
2887
|
-
|
2888
|
-
end
|
2889
|
-
class Pix < Stripe::RequestParams
|
2890
|
-
|
2891
|
-
end
|
2892
|
-
class Promptpay < Stripe::RequestParams
|
2893
|
-
|
2894
|
-
end
|
2784
|
+
class PayByBank < Stripe::RequestParams; end
|
2785
|
+
class Payco < Stripe::RequestParams; end
|
2786
|
+
class Paynow < Stripe::RequestParams; end
|
2787
|
+
class Paypal < Stripe::RequestParams; end
|
2788
|
+
class Pix < Stripe::RequestParams; end
|
2789
|
+
class Promptpay < Stripe::RequestParams; end
|
2895
2790
|
class RadarOptions < Stripe::RequestParams
|
2896
2791
|
# A [Radar Session](https://stripe.com/docs/radar/radar-session) is a snapshot of the browser metadata and device details that help Radar make more accurate predictions on your payments.
|
2897
2792
|
sig { returns(T.nilable(String)) }
|
@@ -2899,15 +2794,9 @@ module Stripe
|
|
2899
2794
|
sig { params(session: T.nilable(String)).void }
|
2900
2795
|
def initialize(session: nil); end
|
2901
2796
|
end
|
2902
|
-
class RevolutPay < Stripe::RequestParams
|
2903
|
-
|
2904
|
-
end
|
2905
|
-
class SamsungPay < Stripe::RequestParams
|
2906
|
-
|
2907
|
-
end
|
2908
|
-
class Satispay < Stripe::RequestParams
|
2909
|
-
|
2910
|
-
end
|
2797
|
+
class RevolutPay < Stripe::RequestParams; end
|
2798
|
+
class SamsungPay < Stripe::RequestParams; end
|
2799
|
+
class Satispay < Stripe::RequestParams; end
|
2911
2800
|
class SepaDebit < Stripe::RequestParams
|
2912
2801
|
# IBAN of the bank account.
|
2913
2802
|
sig { returns(String) }
|
@@ -2922,12 +2811,8 @@ module Stripe
|
|
2922
2811
|
sig { params(country: String).void }
|
2923
2812
|
def initialize(country: nil); end
|
2924
2813
|
end
|
2925
|
-
class Swish < Stripe::RequestParams
|
2926
|
-
|
2927
|
-
end
|
2928
|
-
class Twint < Stripe::RequestParams
|
2929
|
-
|
2930
|
-
end
|
2814
|
+
class Swish < Stripe::RequestParams; end
|
2815
|
+
class Twint < Stripe::RequestParams; end
|
2931
2816
|
class UsBankAccount < Stripe::RequestParams
|
2932
2817
|
# Account holder type: individual or company.
|
2933
2818
|
sig { returns(T.nilable(String)) }
|
@@ -2955,12 +2840,8 @@ module Stripe
|
|
2955
2840
|
routing_number: nil
|
2956
2841
|
); end
|
2957
2842
|
end
|
2958
|
-
class WechatPay < Stripe::RequestParams
|
2959
|
-
|
2960
|
-
end
|
2961
|
-
class Zip < Stripe::RequestParams
|
2962
|
-
|
2963
|
-
end
|
2843
|
+
class WechatPay < Stripe::RequestParams; end
|
2844
|
+
class Zip < Stripe::RequestParams; end
|
2964
2845
|
# If this is an `acss_debit` PaymentMethod, this hash contains details about the ACSS Debit payment method.
|
2965
2846
|
sig {
|
2966
2847
|
returns(T.nilable(::Stripe::PaymentIntentService::UpdateParams::PaymentMethodData::AcssDebit))
|
@@ -3987,9 +3868,7 @@ module Stripe
|
|
3987
3868
|
sig { params(setup_future_usage: T.nilable(T.nilable(T.any(String, String)))).void }
|
3988
3869
|
def initialize(setup_future_usage: nil); end
|
3989
3870
|
end
|
3990
|
-
class InteracPresent < Stripe::RequestParams
|
3991
|
-
|
3992
|
-
end
|
3871
|
+
class InteracPresent < Stripe::RequestParams; end
|
3993
3872
|
class KakaoPay < Stripe::RequestParams
|
3994
3873
|
# Controls when the funds are captured from the customer's account.
|
3995
3874
|
#
|
@@ -4244,9 +4123,7 @@ module Stripe
|
|
4244
4123
|
}
|
4245
4124
|
def initialize(setup_future_usage: nil, tos_shown_and_accepted: nil); end
|
4246
4125
|
end
|
4247
|
-
class PayByBank < Stripe::RequestParams
|
4248
|
-
|
4249
|
-
end
|
4126
|
+
class PayByBank < Stripe::RequestParams; end
|
4250
4127
|
class Payco < Stripe::RequestParams
|
4251
4128
|
# Controls when the funds are captured from the customer's account.
|
4252
4129
|
#
|
@@ -4379,6 +4256,17 @@ module Stripe
|
|
4379
4256
|
sig { params(capture_method: T.nilable(T.nilable(String))).void }
|
4380
4257
|
def initialize(capture_method: nil); end
|
4381
4258
|
end
|
4259
|
+
class Satispay < Stripe::RequestParams
|
4260
|
+
# Controls when the funds are captured from the customer's account.
|
4261
|
+
#
|
4262
|
+
# If provided, this parameter overrides the behavior of the top-level [capture_method](/api/payment_intents/update#update_payment_intent-capture_method) for this payment method type when finalizing the payment with this payment method type.
|
4263
|
+
#
|
4264
|
+
# If `capture_method` is already set on the PaymentIntent, providing an empty value for this parameter unsets the stored value for this payment method type.
|
4265
|
+
sig { returns(T.nilable(T.nilable(String))) }
|
4266
|
+
attr_accessor :capture_method
|
4267
|
+
sig { params(capture_method: T.nilable(T.nilable(String))).void }
|
4268
|
+
def initialize(capture_method: nil); end
|
4269
|
+
end
|
4382
4270
|
class SepaDebit < Stripe::RequestParams
|
4383
4271
|
class MandateOptions < Stripe::RequestParams
|
4384
4272
|
# Prefix used to generate the Mandate reference. Must be at most 12 characters long. Must consist of only uppercase letters, numbers, spaces, or the following special characters: '/', '_', '-', '&', '.'. Cannot begin with 'STRIPE'.
|
@@ -4799,6 +4687,11 @@ module Stripe
|
|
4799
4687
|
returns(T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntentService::UpdateParams::PaymentMethodOptions::SamsungPay))))
|
4800
4688
|
}
|
4801
4689
|
attr_accessor :samsung_pay
|
4690
|
+
# If this is a `satispay` PaymentMethod, this sub-hash contains details about the Satispay payment method options.
|
4691
|
+
sig {
|
4692
|
+
returns(T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntentService::UpdateParams::PaymentMethodOptions::Satispay))))
|
4693
|
+
}
|
4694
|
+
attr_accessor :satispay
|
4802
4695
|
# If this is a `sepa_debit` PaymentIntent, this sub-hash contains details about the SEPA Debit payment method options.
|
4803
4696
|
sig {
|
4804
4697
|
returns(T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntentService::UpdateParams::PaymentMethodOptions::SepaDebit))))
|
@@ -4835,7 +4728,7 @@ module Stripe
|
|
4835
4728
|
}
|
4836
4729
|
attr_accessor :zip
|
4837
4730
|
sig {
|
4838
|
-
params(acss_debit: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntentService::UpdateParams::PaymentMethodOptions::AcssDebit))), affirm: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntentService::UpdateParams::PaymentMethodOptions::Affirm))), afterpay_clearpay: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntentService::UpdateParams::PaymentMethodOptions::AfterpayClearpay))), alipay: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntentService::UpdateParams::PaymentMethodOptions::Alipay))), alma: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntentService::UpdateParams::PaymentMethodOptions::Alma))), amazon_pay: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntentService::UpdateParams::PaymentMethodOptions::AmazonPay))), au_becs_debit: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntentService::UpdateParams::PaymentMethodOptions::AuBecsDebit))), bacs_debit: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntentService::UpdateParams::PaymentMethodOptions::BacsDebit))), bancontact: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntentService::UpdateParams::PaymentMethodOptions::Bancontact))), billie: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntentService::UpdateParams::PaymentMethodOptions::Billie))), blik: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntentService::UpdateParams::PaymentMethodOptions::Blik))), boleto: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntentService::UpdateParams::PaymentMethodOptions::Boleto))), card: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntentService::UpdateParams::PaymentMethodOptions::Card))), card_present: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntentService::UpdateParams::PaymentMethodOptions::CardPresent))), cashapp: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntentService::UpdateParams::PaymentMethodOptions::Cashapp))), customer_balance: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntentService::UpdateParams::PaymentMethodOptions::CustomerBalance))), eps: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntentService::UpdateParams::PaymentMethodOptions::Eps))), fpx: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntentService::UpdateParams::PaymentMethodOptions::Fpx))), giropay: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntentService::UpdateParams::PaymentMethodOptions::Giropay))), grabpay: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntentService::UpdateParams::PaymentMethodOptions::Grabpay))), ideal: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntentService::UpdateParams::PaymentMethodOptions::Ideal))), interac_present: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntentService::UpdateParams::PaymentMethodOptions::InteracPresent))), kakao_pay: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntentService::UpdateParams::PaymentMethodOptions::KakaoPay))), klarna: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntentService::UpdateParams::PaymentMethodOptions::Klarna))), konbini: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntentService::UpdateParams::PaymentMethodOptions::Konbini))), kr_card: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntentService::UpdateParams::PaymentMethodOptions::KrCard))), link: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntentService::UpdateParams::PaymentMethodOptions::Link))), mobilepay: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntentService::UpdateParams::PaymentMethodOptions::Mobilepay))), multibanco: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntentService::UpdateParams::PaymentMethodOptions::Multibanco))), naver_pay: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntentService::UpdateParams::PaymentMethodOptions::NaverPay))), nz_bank_account: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntentService::UpdateParams::PaymentMethodOptions::NzBankAccount))), oxxo: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntentService::UpdateParams::PaymentMethodOptions::Oxxo))), p24: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntentService::UpdateParams::PaymentMethodOptions::P24))), pay_by_bank: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntentService::UpdateParams::PaymentMethodOptions::PayByBank))), payco: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntentService::UpdateParams::PaymentMethodOptions::Payco))), paynow: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntentService::UpdateParams::PaymentMethodOptions::Paynow))), paypal: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntentService::UpdateParams::PaymentMethodOptions::Paypal))), pix: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntentService::UpdateParams::PaymentMethodOptions::Pix))), promptpay: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntentService::UpdateParams::PaymentMethodOptions::Promptpay))), revolut_pay: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntentService::UpdateParams::PaymentMethodOptions::RevolutPay))), samsung_pay: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntentService::UpdateParams::PaymentMethodOptions::SamsungPay))), sepa_debit: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntentService::UpdateParams::PaymentMethodOptions::SepaDebit))), sofort: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntentService::UpdateParams::PaymentMethodOptions::Sofort))), swish: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntentService::UpdateParams::PaymentMethodOptions::Swish))), twint: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntentService::UpdateParams::PaymentMethodOptions::Twint))), us_bank_account: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntentService::UpdateParams::PaymentMethodOptions::UsBankAccount))), wechat_pay: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntentService::UpdateParams::PaymentMethodOptions::WechatPay))), zip: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntentService::UpdateParams::PaymentMethodOptions::Zip)))).void
|
4731
|
+
params(acss_debit: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntentService::UpdateParams::PaymentMethodOptions::AcssDebit))), affirm: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntentService::UpdateParams::PaymentMethodOptions::Affirm))), afterpay_clearpay: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntentService::UpdateParams::PaymentMethodOptions::AfterpayClearpay))), alipay: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntentService::UpdateParams::PaymentMethodOptions::Alipay))), alma: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntentService::UpdateParams::PaymentMethodOptions::Alma))), amazon_pay: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntentService::UpdateParams::PaymentMethodOptions::AmazonPay))), au_becs_debit: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntentService::UpdateParams::PaymentMethodOptions::AuBecsDebit))), bacs_debit: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntentService::UpdateParams::PaymentMethodOptions::BacsDebit))), bancontact: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntentService::UpdateParams::PaymentMethodOptions::Bancontact))), billie: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntentService::UpdateParams::PaymentMethodOptions::Billie))), blik: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntentService::UpdateParams::PaymentMethodOptions::Blik))), boleto: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntentService::UpdateParams::PaymentMethodOptions::Boleto))), card: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntentService::UpdateParams::PaymentMethodOptions::Card))), card_present: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntentService::UpdateParams::PaymentMethodOptions::CardPresent))), cashapp: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntentService::UpdateParams::PaymentMethodOptions::Cashapp))), customer_balance: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntentService::UpdateParams::PaymentMethodOptions::CustomerBalance))), eps: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntentService::UpdateParams::PaymentMethodOptions::Eps))), fpx: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntentService::UpdateParams::PaymentMethodOptions::Fpx))), giropay: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntentService::UpdateParams::PaymentMethodOptions::Giropay))), grabpay: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntentService::UpdateParams::PaymentMethodOptions::Grabpay))), ideal: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntentService::UpdateParams::PaymentMethodOptions::Ideal))), interac_present: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntentService::UpdateParams::PaymentMethodOptions::InteracPresent))), kakao_pay: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntentService::UpdateParams::PaymentMethodOptions::KakaoPay))), klarna: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntentService::UpdateParams::PaymentMethodOptions::Klarna))), konbini: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntentService::UpdateParams::PaymentMethodOptions::Konbini))), kr_card: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntentService::UpdateParams::PaymentMethodOptions::KrCard))), link: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntentService::UpdateParams::PaymentMethodOptions::Link))), mobilepay: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntentService::UpdateParams::PaymentMethodOptions::Mobilepay))), multibanco: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntentService::UpdateParams::PaymentMethodOptions::Multibanco))), naver_pay: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntentService::UpdateParams::PaymentMethodOptions::NaverPay))), nz_bank_account: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntentService::UpdateParams::PaymentMethodOptions::NzBankAccount))), oxxo: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntentService::UpdateParams::PaymentMethodOptions::Oxxo))), p24: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntentService::UpdateParams::PaymentMethodOptions::P24))), pay_by_bank: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntentService::UpdateParams::PaymentMethodOptions::PayByBank))), payco: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntentService::UpdateParams::PaymentMethodOptions::Payco))), paynow: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntentService::UpdateParams::PaymentMethodOptions::Paynow))), paypal: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntentService::UpdateParams::PaymentMethodOptions::Paypal))), pix: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntentService::UpdateParams::PaymentMethodOptions::Pix))), promptpay: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntentService::UpdateParams::PaymentMethodOptions::Promptpay))), revolut_pay: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntentService::UpdateParams::PaymentMethodOptions::RevolutPay))), samsung_pay: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntentService::UpdateParams::PaymentMethodOptions::SamsungPay))), satispay: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntentService::UpdateParams::PaymentMethodOptions::Satispay))), sepa_debit: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntentService::UpdateParams::PaymentMethodOptions::SepaDebit))), sofort: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntentService::UpdateParams::PaymentMethodOptions::Sofort))), swish: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntentService::UpdateParams::PaymentMethodOptions::Swish))), twint: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntentService::UpdateParams::PaymentMethodOptions::Twint))), us_bank_account: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntentService::UpdateParams::PaymentMethodOptions::UsBankAccount))), wechat_pay: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntentService::UpdateParams::PaymentMethodOptions::WechatPay))), zip: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntentService::UpdateParams::PaymentMethodOptions::Zip)))).void
|
4839
4732
|
}
|
4840
4733
|
def initialize(
|
4841
4734
|
acss_debit: nil,
|
@@ -4879,6 +4772,7 @@ module Stripe
|
|
4879
4772
|
promptpay: nil,
|
4880
4773
|
revolut_pay: nil,
|
4881
4774
|
samsung_pay: nil,
|
4775
|
+
satispay: nil,
|
4882
4776
|
sepa_debit: nil,
|
4883
4777
|
sofort: nil,
|
4884
4778
|
swish: nil,
|
@@ -5152,9 +5046,7 @@ module Stripe
|
|
5152
5046
|
class ConfirmParams < Stripe::RequestParams
|
5153
5047
|
class MandateData < Stripe::RequestParams
|
5154
5048
|
class CustomerAcceptance < Stripe::RequestParams
|
5155
|
-
class Offline < Stripe::RequestParams
|
5156
|
-
|
5157
|
-
end
|
5049
|
+
class Offline < Stripe::RequestParams; end
|
5158
5050
|
class Online < Stripe::RequestParams
|
5159
5051
|
# The IP address from which the Mandate was accepted by the customer.
|
5160
5052
|
sig { returns(T.nilable(String)) }
|
@@ -5212,21 +5104,11 @@ module Stripe
|
|
5212
5104
|
}
|
5213
5105
|
def initialize(account_number: nil, institution_number: nil, transit_number: nil); end
|
5214
5106
|
end
|
5215
|
-
class Affirm < Stripe::RequestParams
|
5216
|
-
|
5217
|
-
end
|
5218
|
-
class
|
5219
|
-
|
5220
|
-
end
|
5221
|
-
class Alipay < Stripe::RequestParams
|
5222
|
-
|
5223
|
-
end
|
5224
|
-
class Alma < Stripe::RequestParams
|
5225
|
-
|
5226
|
-
end
|
5227
|
-
class AmazonPay < Stripe::RequestParams
|
5228
|
-
|
5229
|
-
end
|
5107
|
+
class Affirm < Stripe::RequestParams; end
|
5108
|
+
class AfterpayClearpay < Stripe::RequestParams; end
|
5109
|
+
class Alipay < Stripe::RequestParams; end
|
5110
|
+
class Alma < Stripe::RequestParams; end
|
5111
|
+
class AmazonPay < Stripe::RequestParams; end
|
5230
5112
|
class AuBecsDebit < Stripe::RequestParams
|
5231
5113
|
# The account number for the bank account.
|
5232
5114
|
sig { returns(String) }
|
@@ -5247,12 +5129,8 @@ module Stripe
|
|
5247
5129
|
sig { params(account_number: T.nilable(String), sort_code: T.nilable(String)).void }
|
5248
5130
|
def initialize(account_number: nil, sort_code: nil); end
|
5249
5131
|
end
|
5250
|
-
class Bancontact < Stripe::RequestParams
|
5251
|
-
|
5252
|
-
end
|
5253
|
-
class Billie < Stripe::RequestParams
|
5254
|
-
|
5255
|
-
end
|
5132
|
+
class Bancontact < Stripe::RequestParams; end
|
5133
|
+
class Billie < Stripe::RequestParams; end
|
5256
5134
|
class BillingDetails < Stripe::RequestParams
|
5257
5135
|
class Address < Stripe::RequestParams
|
5258
5136
|
# City, district, suburb, town, or village.
|
@@ -5307,9 +5185,7 @@ module Stripe
|
|
5307
5185
|
}
|
5308
5186
|
def initialize(address: nil, email: nil, name: nil, phone: nil, tax_id: nil); end
|
5309
5187
|
end
|
5310
|
-
class Blik < Stripe::RequestParams
|
5311
|
-
|
5312
|
-
end
|
5188
|
+
class Blik < Stripe::RequestParams; end
|
5313
5189
|
class Boleto < Stripe::RequestParams
|
5314
5190
|
# The tax ID of the customer (CPF for individual consumers or CNPJ for businesses consumers)
|
5315
5191
|
sig { returns(String) }
|
@@ -5317,12 +5193,8 @@ module Stripe
|
|
5317
5193
|
sig { params(tax_id: String).void }
|
5318
5194
|
def initialize(tax_id: nil); end
|
5319
5195
|
end
|
5320
|
-
class Cashapp < Stripe::RequestParams
|
5321
|
-
|
5322
|
-
end
|
5323
|
-
class CustomerBalance < Stripe::RequestParams
|
5324
|
-
|
5325
|
-
end
|
5196
|
+
class Cashapp < Stripe::RequestParams; end
|
5197
|
+
class CustomerBalance < Stripe::RequestParams; end
|
5326
5198
|
class Eps < Stripe::RequestParams
|
5327
5199
|
# The customer's bank.
|
5328
5200
|
sig { returns(T.nilable(String)) }
|
@@ -5340,12 +5212,8 @@ module Stripe
|
|
5340
5212
|
sig { params(account_holder_type: T.nilable(String), bank: String).void }
|
5341
5213
|
def initialize(account_holder_type: nil, bank: nil); end
|
5342
5214
|
end
|
5343
|
-
class Giropay < Stripe::RequestParams
|
5344
|
-
|
5345
|
-
end
|
5346
|
-
class Grabpay < Stripe::RequestParams
|
5347
|
-
|
5348
|
-
end
|
5215
|
+
class Giropay < Stripe::RequestParams; end
|
5216
|
+
class Grabpay < Stripe::RequestParams; end
|
5349
5217
|
class Ideal < Stripe::RequestParams
|
5350
5218
|
# The customer's bank. Only use this parameter for existing customers. Don't use it for new customers.
|
5351
5219
|
sig { returns(T.nilable(String)) }
|
@@ -5353,12 +5221,8 @@ module Stripe
|
|
5353
5221
|
sig { params(bank: T.nilable(String)).void }
|
5354
5222
|
def initialize(bank: nil); end
|
5355
5223
|
end
|
5356
|
-
class InteracPresent < Stripe::RequestParams
|
5357
|
-
|
5358
|
-
end
|
5359
|
-
class KakaoPay < Stripe::RequestParams
|
5360
|
-
|
5361
|
-
end
|
5224
|
+
class InteracPresent < Stripe::RequestParams; end
|
5225
|
+
class KakaoPay < Stripe::RequestParams; end
|
5362
5226
|
class Klarna < Stripe::RequestParams
|
5363
5227
|
class Dob < Stripe::RequestParams
|
5364
5228
|
# The day of birth, between 1 and 31.
|
@@ -5383,21 +5247,11 @@ module Stripe
|
|
5383
5247
|
}
|
5384
5248
|
def initialize(dob: nil); end
|
5385
5249
|
end
|
5386
|
-
class Konbini < Stripe::RequestParams
|
5387
|
-
|
5388
|
-
end
|
5389
|
-
class
|
5390
|
-
|
5391
|
-
end
|
5392
|
-
class Link < Stripe::RequestParams
|
5393
|
-
|
5394
|
-
end
|
5395
|
-
class Mobilepay < Stripe::RequestParams
|
5396
|
-
|
5397
|
-
end
|
5398
|
-
class Multibanco < Stripe::RequestParams
|
5399
|
-
|
5400
|
-
end
|
5250
|
+
class Konbini < Stripe::RequestParams; end
|
5251
|
+
class KrCard < Stripe::RequestParams; end
|
5252
|
+
class Link < Stripe::RequestParams; end
|
5253
|
+
class Mobilepay < Stripe::RequestParams; end
|
5254
|
+
class Multibanco < Stripe::RequestParams; end
|
5401
5255
|
class NaverPay < Stripe::RequestParams
|
5402
5256
|
# Whether to use Naver Pay points or a card to fund this transaction. If not provided, this defaults to `card`.
|
5403
5257
|
sig { returns(T.nilable(String)) }
|
@@ -5436,9 +5290,7 @@ module Stripe
|
|
5436
5290
|
suffix: nil
|
5437
5291
|
); end
|
5438
5292
|
end
|
5439
|
-
class Oxxo < Stripe::RequestParams
|
5440
|
-
|
5441
|
-
end
|
5293
|
+
class Oxxo < Stripe::RequestParams; end
|
5442
5294
|
class P24 < Stripe::RequestParams
|
5443
5295
|
# The customer's bank.
|
5444
5296
|
sig { returns(T.nilable(String)) }
|
@@ -5446,24 +5298,12 @@ module Stripe
|
|
5446
5298
|
sig { params(bank: T.nilable(String)).void }
|
5447
5299
|
def initialize(bank: nil); end
|
5448
5300
|
end
|
5449
|
-
class PayByBank < Stripe::RequestParams
|
5450
|
-
|
5451
|
-
end
|
5452
|
-
class
|
5453
|
-
|
5454
|
-
end
|
5455
|
-
class Paynow < Stripe::RequestParams
|
5456
|
-
|
5457
|
-
end
|
5458
|
-
class Paypal < Stripe::RequestParams
|
5459
|
-
|
5460
|
-
end
|
5461
|
-
class Pix < Stripe::RequestParams
|
5462
|
-
|
5463
|
-
end
|
5464
|
-
class Promptpay < Stripe::RequestParams
|
5465
|
-
|
5466
|
-
end
|
5301
|
+
class PayByBank < Stripe::RequestParams; end
|
5302
|
+
class Payco < Stripe::RequestParams; end
|
5303
|
+
class Paynow < Stripe::RequestParams; end
|
5304
|
+
class Paypal < Stripe::RequestParams; end
|
5305
|
+
class Pix < Stripe::RequestParams; end
|
5306
|
+
class Promptpay < Stripe::RequestParams; end
|
5467
5307
|
class RadarOptions < Stripe::RequestParams
|
5468
5308
|
# A [Radar Session](https://stripe.com/docs/radar/radar-session) is a snapshot of the browser metadata and device details that help Radar make more accurate predictions on your payments.
|
5469
5309
|
sig { returns(T.nilable(String)) }
|
@@ -5471,15 +5311,9 @@ module Stripe
|
|
5471
5311
|
sig { params(session: T.nilable(String)).void }
|
5472
5312
|
def initialize(session: nil); end
|
5473
5313
|
end
|
5474
|
-
class RevolutPay < Stripe::RequestParams
|
5475
|
-
|
5476
|
-
end
|
5477
|
-
class SamsungPay < Stripe::RequestParams
|
5478
|
-
|
5479
|
-
end
|
5480
|
-
class Satispay < Stripe::RequestParams
|
5481
|
-
|
5482
|
-
end
|
5314
|
+
class RevolutPay < Stripe::RequestParams; end
|
5315
|
+
class SamsungPay < Stripe::RequestParams; end
|
5316
|
+
class Satispay < Stripe::RequestParams; end
|
5483
5317
|
class SepaDebit < Stripe::RequestParams
|
5484
5318
|
# IBAN of the bank account.
|
5485
5319
|
sig { returns(String) }
|
@@ -5494,12 +5328,8 @@ module Stripe
|
|
5494
5328
|
sig { params(country: String).void }
|
5495
5329
|
def initialize(country: nil); end
|
5496
5330
|
end
|
5497
|
-
class Swish < Stripe::RequestParams
|
5498
|
-
|
5499
|
-
end
|
5500
|
-
class Twint < Stripe::RequestParams
|
5501
|
-
|
5502
|
-
end
|
5331
|
+
class Swish < Stripe::RequestParams; end
|
5332
|
+
class Twint < Stripe::RequestParams; end
|
5503
5333
|
class UsBankAccount < Stripe::RequestParams
|
5504
5334
|
# Account holder type: individual or company.
|
5505
5335
|
sig { returns(T.nilable(String)) }
|
@@ -5527,12 +5357,8 @@ module Stripe
|
|
5527
5357
|
routing_number: nil
|
5528
5358
|
); end
|
5529
5359
|
end
|
5530
|
-
class WechatPay < Stripe::RequestParams
|
5531
|
-
|
5532
|
-
end
|
5533
|
-
class Zip < Stripe::RequestParams
|
5534
|
-
|
5535
|
-
end
|
5360
|
+
class WechatPay < Stripe::RequestParams; end
|
5361
|
+
class Zip < Stripe::RequestParams; end
|
5536
5362
|
# If this is an `acss_debit` PaymentMethod, this hash contains details about the ACSS Debit payment method.
|
5537
5363
|
sig {
|
5538
5364
|
returns(T.nilable(::Stripe::PaymentIntentService::ConfirmParams::PaymentMethodData::AcssDebit))
|
@@ -6559,9 +6385,7 @@ module Stripe
|
|
6559
6385
|
sig { params(setup_future_usage: T.nilable(T.nilable(T.any(String, String)))).void }
|
6560
6386
|
def initialize(setup_future_usage: nil); end
|
6561
6387
|
end
|
6562
|
-
class InteracPresent < Stripe::RequestParams
|
6563
|
-
|
6564
|
-
end
|
6388
|
+
class InteracPresent < Stripe::RequestParams; end
|
6565
6389
|
class KakaoPay < Stripe::RequestParams
|
6566
6390
|
# Controls when the funds are captured from the customer's account.
|
6567
6391
|
#
|
@@ -6816,9 +6640,7 @@ module Stripe
|
|
6816
6640
|
}
|
6817
6641
|
def initialize(setup_future_usage: nil, tos_shown_and_accepted: nil); end
|
6818
6642
|
end
|
6819
|
-
class PayByBank < Stripe::RequestParams
|
6820
|
-
|
6821
|
-
end
|
6643
|
+
class PayByBank < Stripe::RequestParams; end
|
6822
6644
|
class Payco < Stripe::RequestParams
|
6823
6645
|
# Controls when the funds are captured from the customer's account.
|
6824
6646
|
#
|
@@ -6951,6 +6773,17 @@ module Stripe
|
|
6951
6773
|
sig { params(capture_method: T.nilable(T.nilable(String))).void }
|
6952
6774
|
def initialize(capture_method: nil); end
|
6953
6775
|
end
|
6776
|
+
class Satispay < Stripe::RequestParams
|
6777
|
+
# Controls when the funds are captured from the customer's account.
|
6778
|
+
#
|
6779
|
+
# If provided, this parameter overrides the behavior of the top-level [capture_method](/api/payment_intents/update#update_payment_intent-capture_method) for this payment method type when finalizing the payment with this payment method type.
|
6780
|
+
#
|
6781
|
+
# If `capture_method` is already set on the PaymentIntent, providing an empty value for this parameter unsets the stored value for this payment method type.
|
6782
|
+
sig { returns(T.nilable(T.nilable(String))) }
|
6783
|
+
attr_accessor :capture_method
|
6784
|
+
sig { params(capture_method: T.nilable(T.nilable(String))).void }
|
6785
|
+
def initialize(capture_method: nil); end
|
6786
|
+
end
|
6954
6787
|
class SepaDebit < Stripe::RequestParams
|
6955
6788
|
class MandateOptions < Stripe::RequestParams
|
6956
6789
|
# Prefix used to generate the Mandate reference. Must be at most 12 characters long. Must consist of only uppercase letters, numbers, spaces, or the following special characters: '/', '_', '-', '&', '.'. Cannot begin with 'STRIPE'.
|
@@ -7371,6 +7204,11 @@ module Stripe
|
|
7371
7204
|
returns(T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntentService::ConfirmParams::PaymentMethodOptions::SamsungPay))))
|
7372
7205
|
}
|
7373
7206
|
attr_accessor :samsung_pay
|
7207
|
+
# If this is a `satispay` PaymentMethod, this sub-hash contains details about the Satispay payment method options.
|
7208
|
+
sig {
|
7209
|
+
returns(T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntentService::ConfirmParams::PaymentMethodOptions::Satispay))))
|
7210
|
+
}
|
7211
|
+
attr_accessor :satispay
|
7374
7212
|
# If this is a `sepa_debit` PaymentIntent, this sub-hash contains details about the SEPA Debit payment method options.
|
7375
7213
|
sig {
|
7376
7214
|
returns(T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntentService::ConfirmParams::PaymentMethodOptions::SepaDebit))))
|
@@ -7407,7 +7245,7 @@ module Stripe
|
|
7407
7245
|
}
|
7408
7246
|
attr_accessor :zip
|
7409
7247
|
sig {
|
7410
|
-
params(acss_debit: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntentService::ConfirmParams::PaymentMethodOptions::AcssDebit))), affirm: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntentService::ConfirmParams::PaymentMethodOptions::Affirm))), afterpay_clearpay: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntentService::ConfirmParams::PaymentMethodOptions::AfterpayClearpay))), alipay: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntentService::ConfirmParams::PaymentMethodOptions::Alipay))), alma: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntentService::ConfirmParams::PaymentMethodOptions::Alma))), amazon_pay: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntentService::ConfirmParams::PaymentMethodOptions::AmazonPay))), au_becs_debit: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntentService::ConfirmParams::PaymentMethodOptions::AuBecsDebit))), bacs_debit: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntentService::ConfirmParams::PaymentMethodOptions::BacsDebit))), bancontact: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntentService::ConfirmParams::PaymentMethodOptions::Bancontact))), billie: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntentService::ConfirmParams::PaymentMethodOptions::Billie))), blik: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntentService::ConfirmParams::PaymentMethodOptions::Blik))), boleto: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntentService::ConfirmParams::PaymentMethodOptions::Boleto))), card: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntentService::ConfirmParams::PaymentMethodOptions::Card))), card_present: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntentService::ConfirmParams::PaymentMethodOptions::CardPresent))), cashapp: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntentService::ConfirmParams::PaymentMethodOptions::Cashapp))), customer_balance: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntentService::ConfirmParams::PaymentMethodOptions::CustomerBalance))), eps: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntentService::ConfirmParams::PaymentMethodOptions::Eps))), fpx: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntentService::ConfirmParams::PaymentMethodOptions::Fpx))), giropay: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntentService::ConfirmParams::PaymentMethodOptions::Giropay))), grabpay: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntentService::ConfirmParams::PaymentMethodOptions::Grabpay))), ideal: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntentService::ConfirmParams::PaymentMethodOptions::Ideal))), interac_present: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntentService::ConfirmParams::PaymentMethodOptions::InteracPresent))), kakao_pay: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntentService::ConfirmParams::PaymentMethodOptions::KakaoPay))), klarna: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntentService::ConfirmParams::PaymentMethodOptions::Klarna))), konbini: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntentService::ConfirmParams::PaymentMethodOptions::Konbini))), kr_card: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntentService::ConfirmParams::PaymentMethodOptions::KrCard))), link: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntentService::ConfirmParams::PaymentMethodOptions::Link))), mobilepay: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntentService::ConfirmParams::PaymentMethodOptions::Mobilepay))), multibanco: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntentService::ConfirmParams::PaymentMethodOptions::Multibanco))), naver_pay: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntentService::ConfirmParams::PaymentMethodOptions::NaverPay))), nz_bank_account: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntentService::ConfirmParams::PaymentMethodOptions::NzBankAccount))), oxxo: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntentService::ConfirmParams::PaymentMethodOptions::Oxxo))), p24: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntentService::ConfirmParams::PaymentMethodOptions::P24))), pay_by_bank: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntentService::ConfirmParams::PaymentMethodOptions::PayByBank))), payco: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntentService::ConfirmParams::PaymentMethodOptions::Payco))), paynow: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntentService::ConfirmParams::PaymentMethodOptions::Paynow))), paypal: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntentService::ConfirmParams::PaymentMethodOptions::Paypal))), pix: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntentService::ConfirmParams::PaymentMethodOptions::Pix))), promptpay: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntentService::ConfirmParams::PaymentMethodOptions::Promptpay))), revolut_pay: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntentService::ConfirmParams::PaymentMethodOptions::RevolutPay))), samsung_pay: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntentService::ConfirmParams::PaymentMethodOptions::SamsungPay))), sepa_debit: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntentService::ConfirmParams::PaymentMethodOptions::SepaDebit))), sofort: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntentService::ConfirmParams::PaymentMethodOptions::Sofort))), swish: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntentService::ConfirmParams::PaymentMethodOptions::Swish))), twint: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntentService::ConfirmParams::PaymentMethodOptions::Twint))), us_bank_account: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntentService::ConfirmParams::PaymentMethodOptions::UsBankAccount))), wechat_pay: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntentService::ConfirmParams::PaymentMethodOptions::WechatPay))), zip: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntentService::ConfirmParams::PaymentMethodOptions::Zip)))).void
|
7248
|
+
params(acss_debit: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntentService::ConfirmParams::PaymentMethodOptions::AcssDebit))), affirm: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntentService::ConfirmParams::PaymentMethodOptions::Affirm))), afterpay_clearpay: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntentService::ConfirmParams::PaymentMethodOptions::AfterpayClearpay))), alipay: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntentService::ConfirmParams::PaymentMethodOptions::Alipay))), alma: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntentService::ConfirmParams::PaymentMethodOptions::Alma))), amazon_pay: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntentService::ConfirmParams::PaymentMethodOptions::AmazonPay))), au_becs_debit: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntentService::ConfirmParams::PaymentMethodOptions::AuBecsDebit))), bacs_debit: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntentService::ConfirmParams::PaymentMethodOptions::BacsDebit))), bancontact: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntentService::ConfirmParams::PaymentMethodOptions::Bancontact))), billie: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntentService::ConfirmParams::PaymentMethodOptions::Billie))), blik: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntentService::ConfirmParams::PaymentMethodOptions::Blik))), boleto: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntentService::ConfirmParams::PaymentMethodOptions::Boleto))), card: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntentService::ConfirmParams::PaymentMethodOptions::Card))), card_present: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntentService::ConfirmParams::PaymentMethodOptions::CardPresent))), cashapp: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntentService::ConfirmParams::PaymentMethodOptions::Cashapp))), customer_balance: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntentService::ConfirmParams::PaymentMethodOptions::CustomerBalance))), eps: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntentService::ConfirmParams::PaymentMethodOptions::Eps))), fpx: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntentService::ConfirmParams::PaymentMethodOptions::Fpx))), giropay: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntentService::ConfirmParams::PaymentMethodOptions::Giropay))), grabpay: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntentService::ConfirmParams::PaymentMethodOptions::Grabpay))), ideal: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntentService::ConfirmParams::PaymentMethodOptions::Ideal))), interac_present: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntentService::ConfirmParams::PaymentMethodOptions::InteracPresent))), kakao_pay: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntentService::ConfirmParams::PaymentMethodOptions::KakaoPay))), klarna: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntentService::ConfirmParams::PaymentMethodOptions::Klarna))), konbini: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntentService::ConfirmParams::PaymentMethodOptions::Konbini))), kr_card: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntentService::ConfirmParams::PaymentMethodOptions::KrCard))), link: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntentService::ConfirmParams::PaymentMethodOptions::Link))), mobilepay: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntentService::ConfirmParams::PaymentMethodOptions::Mobilepay))), multibanco: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntentService::ConfirmParams::PaymentMethodOptions::Multibanco))), naver_pay: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntentService::ConfirmParams::PaymentMethodOptions::NaverPay))), nz_bank_account: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntentService::ConfirmParams::PaymentMethodOptions::NzBankAccount))), oxxo: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntentService::ConfirmParams::PaymentMethodOptions::Oxxo))), p24: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntentService::ConfirmParams::PaymentMethodOptions::P24))), pay_by_bank: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntentService::ConfirmParams::PaymentMethodOptions::PayByBank))), payco: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntentService::ConfirmParams::PaymentMethodOptions::Payco))), paynow: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntentService::ConfirmParams::PaymentMethodOptions::Paynow))), paypal: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntentService::ConfirmParams::PaymentMethodOptions::Paypal))), pix: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntentService::ConfirmParams::PaymentMethodOptions::Pix))), promptpay: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntentService::ConfirmParams::PaymentMethodOptions::Promptpay))), revolut_pay: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntentService::ConfirmParams::PaymentMethodOptions::RevolutPay))), samsung_pay: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntentService::ConfirmParams::PaymentMethodOptions::SamsungPay))), satispay: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntentService::ConfirmParams::PaymentMethodOptions::Satispay))), sepa_debit: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntentService::ConfirmParams::PaymentMethodOptions::SepaDebit))), sofort: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntentService::ConfirmParams::PaymentMethodOptions::Sofort))), swish: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntentService::ConfirmParams::PaymentMethodOptions::Swish))), twint: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntentService::ConfirmParams::PaymentMethodOptions::Twint))), us_bank_account: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntentService::ConfirmParams::PaymentMethodOptions::UsBankAccount))), wechat_pay: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntentService::ConfirmParams::PaymentMethodOptions::WechatPay))), zip: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntentService::ConfirmParams::PaymentMethodOptions::Zip)))).void
|
7411
7249
|
}
|
7412
7250
|
def initialize(
|
7413
7251
|
acss_debit: nil,
|
@@ -7451,6 +7289,7 @@ module Stripe
|
|
7451
7289
|
promptpay: nil,
|
7452
7290
|
revolut_pay: nil,
|
7453
7291
|
samsung_pay: nil,
|
7292
|
+
satispay: nil,
|
7454
7293
|
sepa_debit: nil,
|
7455
7294
|
sofort: nil,
|
7456
7295
|
swish: nil,
|
@@ -7545,6 +7384,7 @@ module Stripe
|
|
7545
7384
|
sig { returns(T.nilable(T.any(T::Boolean, String))) }
|
7546
7385
|
attr_accessor :off_session
|
7547
7386
|
# ID of the payment method (a PaymentMethod, Card, or [compatible Source](https://stripe.com/docs/payments/payment-methods/transitioning#compatibility) object) to attach to this PaymentIntent.
|
7387
|
+
# If the payment method is attached to a Customer, it must match the [customer](https://stripe.com/docs/api#create_payment_intent-customer) that is set on this PaymentIntent.
|
7548
7388
|
sig { returns(T.nilable(String)) }
|
7549
7389
|
attr_accessor :payment_method
|
7550
7390
|
# If provided, this hash will be used to create a PaymentMethod. The new PaymentMethod will appear
|
@@ -7679,11 +7519,11 @@ module Stripe
|
|
7679
7519
|
}
|
7680
7520
|
def apply_customer_balance(intent, params = {}, opts = {}); end
|
7681
7521
|
|
7682
|
-
# You can cancel a PaymentIntent object when it's in one of these statuses: requires_payment_method, requires_capture, requires_confirmation, requires_action or, [in rare cases](https://stripe.com/docs/payments/intents), processing.
|
7522
|
+
# You can cancel a PaymentIntent object when it's in one of these statuses: requires_payment_method, requires_capture, requires_confirmation, requires_action or, [in rare cases](https://docs.stripe.com/docs/payments/intents), processing.
|
7683
7523
|
#
|
7684
7524
|
# After it's canceled, no additional charges are made by the PaymentIntent and any operations on the PaymentIntent fail with an error. For PaymentIntents with a status of requires_capture, the remaining amount_capturable is automatically refunded.
|
7685
7525
|
#
|
7686
|
-
# You can't cancel the PaymentIntent for a Checkout Session. [Expire the Checkout Session](https://stripe.com/docs/api/checkout/sessions/expire) instead.
|
7526
|
+
# You can't cancel the PaymentIntent for a Checkout Session. [Expire the Checkout Session](https://docs.stripe.com/docs/api/checkout/sessions/expire) instead.
|
7687
7527
|
sig {
|
7688
7528
|
params(intent: String, params: T.any(::Stripe::PaymentIntentService::CancelParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::PaymentIntent)
|
7689
7529
|
}
|
@@ -7693,7 +7533,7 @@ module Stripe
|
|
7693
7533
|
#
|
7694
7534
|
# Uncaptured PaymentIntents are cancelled a set number of days (7 by default) after their creation.
|
7695
7535
|
#
|
7696
|
-
# Learn more about [separate authorization and capture](https://stripe.com/docs/payments/capture-later).
|
7536
|
+
# Learn more about [separate authorization and capture](https://docs.stripe.com/docs/payments/capture-later).
|
7697
7537
|
sig {
|
7698
7538
|
params(intent: String, params: T.any(::Stripe::PaymentIntentService::CaptureParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::PaymentIntent)
|
7699
7539
|
}
|
@@ -7710,8 +7550,8 @@ module Stripe
|
|
7710
7550
|
# payment succeeds, the PaymentIntent will transition to the succeeded
|
7711
7551
|
# status (or requires_capture, if capture_method is set to manual).
|
7712
7552
|
# If the confirmation_method is automatic, payment may be attempted
|
7713
|
-
# using our [client SDKs](https://stripe.com/docs/stripe-js/reference#stripe-handle-card-payment)
|
7714
|
-
# and the PaymentIntent's [client_secret](https://stripe.com/
|
7553
|
+
# using our [client SDKs](https://docs.stripe.com/docs/stripe-js/reference#stripe-handle-card-payment)
|
7554
|
+
# and the PaymentIntent's [client_secret](https://docs.stripe.com/api#payment_intent_object-client_secret).
|
7715
7555
|
# After next_actions are handled by the client, no additional
|
7716
7556
|
# confirmation is required to complete the payment.
|
7717
7557
|
# If the confirmation_method is manual, all payment attempts must be
|
@@ -7731,13 +7571,13 @@ module Stripe
|
|
7731
7571
|
|
7732
7572
|
# Creates a PaymentIntent object.
|
7733
7573
|
#
|
7734
|
-
# After the PaymentIntent is created, attach a payment method and [confirm](https://stripe.com/docs/api/payment_intents/confirm)
|
7574
|
+
# After the PaymentIntent is created, attach a payment method and [confirm](https://docs.stripe.com/docs/api/payment_intents/confirm)
|
7735
7575
|
# to continue the payment. Learn more about <a href="/docs/payments/payment-intents">the available payment flows
|
7736
7576
|
# with the Payment Intents API.
|
7737
7577
|
#
|
7738
7578
|
# When you use confirm=true during creation, it's equivalent to creating
|
7739
7579
|
# and confirming the PaymentIntent in the same call. You can use any parameters
|
7740
|
-
# available in the [confirm API](https://stripe.com/docs/api/payment_intents/confirm) when you supply
|
7580
|
+
# available in the [confirm API](https://docs.stripe.com/docs/api/payment_intents/confirm) when you supply
|
7741
7581
|
# confirm=true.
|
7742
7582
|
sig {
|
7743
7583
|
params(params: T.any(::Stripe::PaymentIntentService::CreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::PaymentIntent)
|
@@ -7745,9 +7585,9 @@ module Stripe
|
|
7745
7585
|
def create(params = {}, opts = {}); end
|
7746
7586
|
|
7747
7587
|
# Perform an incremental authorization on an eligible
|
7748
|
-
# [PaymentIntent](https://stripe.com/docs/api/payment_intents/object). To be eligible, the
|
7588
|
+
# [PaymentIntent](https://docs.stripe.com/docs/api/payment_intents/object). To be eligible, the
|
7749
7589
|
# PaymentIntent's status must be requires_capture and
|
7750
|
-
# [incremental_authorization_supported](https://stripe.com/docs/api/charges/object#charge_object-payment_method_details-card_present-incremental_authorization_supported)
|
7590
|
+
# [incremental_authorization_supported](https://docs.stripe.com/docs/api/charges/object#charge_object-payment_method_details-card_present-incremental_authorization_supported)
|
7751
7591
|
# must be true.
|
7752
7592
|
#
|
7753
7593
|
# Incremental authorizations attempt to increase the authorized amount on
|
@@ -7758,16 +7598,16 @@ module Stripe
|
|
7758
7598
|
#
|
7759
7599
|
# If the incremental authorization succeeds, the PaymentIntent object
|
7760
7600
|
# returns with the updated
|
7761
|
-
# [amount](https://stripe.com/docs/api/payment_intents/object#payment_intent_object-amount).
|
7601
|
+
# [amount](https://docs.stripe.com/docs/api/payment_intents/object#payment_intent_object-amount).
|
7762
7602
|
# If the incremental authorization fails, a
|
7763
|
-
# [card_declined](https://stripe.com/docs/error-codes#card-declined) error returns, and no other
|
7603
|
+
# [card_declined](https://docs.stripe.com/docs/error-codes#card-declined) error returns, and no other
|
7764
7604
|
# fields on the PaymentIntent or Charge update. The PaymentIntent
|
7765
7605
|
# object remains capturable for the previously authorized amount.
|
7766
7606
|
#
|
7767
7607
|
# Each PaymentIntent can have a maximum of 10 incremental authorization attempts, including declines.
|
7768
7608
|
# After it's captured, a PaymentIntent can no longer be incremented.
|
7769
7609
|
#
|
7770
|
-
# Learn more about [incremental authorizations](https://stripe.com/docs/terminal/features/incremental-authorizations).
|
7610
|
+
# Learn more about [incremental authorizations](https://docs.stripe.com/docs/terminal/features/incremental-authorizations).
|
7771
7611
|
sig {
|
7772
7612
|
params(intent: String, params: T.any(::Stripe::PaymentIntentService::IncrementAuthorizationParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::PaymentIntent)
|
7773
7613
|
}
|
@@ -7783,13 +7623,13 @@ module Stripe
|
|
7783
7623
|
#
|
7784
7624
|
# You can retrieve a PaymentIntent client-side using a publishable key when the client_secret is in the query string.
|
7785
7625
|
#
|
7786
|
-
# If you retrieve a PaymentIntent with a publishable key, it only returns a subset of properties. Refer to the [payment intent](https://stripe.com/
|
7626
|
+
# If you retrieve a PaymentIntent with a publishable key, it only returns a subset of properties. Refer to the [payment intent](https://docs.stripe.com/api#payment_intent_object) object reference for more details.
|
7787
7627
|
sig {
|
7788
7628
|
params(intent: String, params: T.any(::Stripe::PaymentIntentService::RetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::PaymentIntent)
|
7789
7629
|
}
|
7790
7630
|
def retrieve(intent, params = {}, opts = {}); end
|
7791
7631
|
|
7792
|
-
# Search for PaymentIntents you've previously created using Stripe's [Search Query Language](https://stripe.com/docs/search#search-query-language).
|
7632
|
+
# Search for PaymentIntents you've previously created using Stripe's [Search Query Language](https://docs.stripe.com/docs/search#search-query-language).
|
7793
7633
|
# Don't use search in read-after-write flows where strict consistency is necessary. Under normal operating
|
7794
7634
|
# conditions, data is searchable in less than a minute. Occasionally, propagation of new or updated data can be up
|
7795
7635
|
# to an hour behind during outages. Search functionality is not available to merchants in India.
|
@@ -7804,7 +7644,7 @@ module Stripe
|
|
7804
7644
|
# PaymentIntent again. For example, updating the payment_method
|
7805
7645
|
# always requires you to confirm the PaymentIntent again. If you prefer to
|
7806
7646
|
# update and confirm at the same time, we recommend updating properties through
|
7807
|
-
# the [confirm API](https://stripe.com/docs/api/payment_intents/confirm) instead.
|
7647
|
+
# the [confirm API](https://docs.stripe.com/docs/api/payment_intents/confirm) instead.
|
7808
7648
|
sig {
|
7809
7649
|
params(intent: String, params: T.any(::Stripe::PaymentIntentService::UpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::PaymentIntent)
|
7810
7650
|
}
|