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
@@ -68,8 +68,7 @@ module Stripe
|
|
68
68
|
|
69
69
|
class MandateData < Stripe::RequestParams
|
70
70
|
class CustomerAcceptance < Stripe::RequestParams
|
71
|
-
class Offline < Stripe::RequestParams
|
72
|
-
end
|
71
|
+
class Offline < Stripe::RequestParams; end
|
73
72
|
|
74
73
|
class Online < Stripe::RequestParams
|
75
74
|
# The IP address from which the Mandate was accepted by the customer.
|
@@ -122,20 +121,11 @@ module Stripe
|
|
122
121
|
end
|
123
122
|
end
|
124
123
|
|
125
|
-
class Affirm < Stripe::RequestParams
|
126
|
-
end
|
127
|
-
|
128
|
-
class
|
129
|
-
end
|
130
|
-
|
131
|
-
class Alipay < Stripe::RequestParams
|
132
|
-
end
|
133
|
-
|
134
|
-
class Alma < Stripe::RequestParams
|
135
|
-
end
|
136
|
-
|
137
|
-
class AmazonPay < Stripe::RequestParams
|
138
|
-
end
|
124
|
+
class Affirm < Stripe::RequestParams; end
|
125
|
+
class AfterpayClearpay < Stripe::RequestParams; end
|
126
|
+
class Alipay < Stripe::RequestParams; end
|
127
|
+
class Alma < Stripe::RequestParams; end
|
128
|
+
class AmazonPay < Stripe::RequestParams; end
|
139
129
|
|
140
130
|
class AuBecsDebit < Stripe::RequestParams
|
141
131
|
# The account number for the bank account.
|
@@ -161,11 +151,8 @@ module Stripe
|
|
161
151
|
end
|
162
152
|
end
|
163
153
|
|
164
|
-
class Bancontact < Stripe::RequestParams
|
165
|
-
end
|
166
|
-
|
167
|
-
class Billie < Stripe::RequestParams
|
168
|
-
end
|
154
|
+
class Bancontact < Stripe::RequestParams; end
|
155
|
+
class Billie < Stripe::RequestParams; end
|
169
156
|
|
170
157
|
class BillingDetails < Stripe::RequestParams
|
171
158
|
class Address < Stripe::RequestParams
|
@@ -218,8 +205,7 @@ module Stripe
|
|
218
205
|
end
|
219
206
|
end
|
220
207
|
|
221
|
-
class Blik < Stripe::RequestParams
|
222
|
-
end
|
208
|
+
class Blik < Stripe::RequestParams; end
|
223
209
|
|
224
210
|
class Boleto < Stripe::RequestParams
|
225
211
|
# The tax ID of the customer (CPF for individual consumers or CNPJ for businesses consumers)
|
@@ -230,11 +216,8 @@ module Stripe
|
|
230
216
|
end
|
231
217
|
end
|
232
218
|
|
233
|
-
class Cashapp < Stripe::RequestParams
|
234
|
-
end
|
235
|
-
|
236
|
-
class CustomerBalance < Stripe::RequestParams
|
237
|
-
end
|
219
|
+
class Cashapp < Stripe::RequestParams; end
|
220
|
+
class CustomerBalance < Stripe::RequestParams; end
|
238
221
|
|
239
222
|
class Eps < Stripe::RequestParams
|
240
223
|
# The customer's bank.
|
@@ -257,11 +240,8 @@ module Stripe
|
|
257
240
|
end
|
258
241
|
end
|
259
242
|
|
260
|
-
class Giropay < Stripe::RequestParams
|
261
|
-
end
|
262
|
-
|
263
|
-
class Grabpay < Stripe::RequestParams
|
264
|
-
end
|
243
|
+
class Giropay < Stripe::RequestParams; end
|
244
|
+
class Grabpay < Stripe::RequestParams; end
|
265
245
|
|
266
246
|
class Ideal < Stripe::RequestParams
|
267
247
|
# The customer's bank. Only use this parameter for existing customers. Don't use it for new customers.
|
@@ -272,11 +252,8 @@ module Stripe
|
|
272
252
|
end
|
273
253
|
end
|
274
254
|
|
275
|
-
class InteracPresent < Stripe::RequestParams
|
276
|
-
end
|
277
|
-
|
278
|
-
class KakaoPay < Stripe::RequestParams
|
279
|
-
end
|
255
|
+
class InteracPresent < Stripe::RequestParams; end
|
256
|
+
class KakaoPay < Stripe::RequestParams; end
|
280
257
|
|
281
258
|
class Klarna < Stripe::RequestParams
|
282
259
|
class Dob < Stripe::RequestParams
|
@@ -301,20 +278,11 @@ module Stripe
|
|
301
278
|
end
|
302
279
|
end
|
303
280
|
|
304
|
-
class Konbini < Stripe::RequestParams
|
305
|
-
end
|
306
|
-
|
307
|
-
class
|
308
|
-
end
|
309
|
-
|
310
|
-
class Link < Stripe::RequestParams
|
311
|
-
end
|
312
|
-
|
313
|
-
class Mobilepay < Stripe::RequestParams
|
314
|
-
end
|
315
|
-
|
316
|
-
class Multibanco < Stripe::RequestParams
|
317
|
-
end
|
281
|
+
class Konbini < Stripe::RequestParams; end
|
282
|
+
class KrCard < Stripe::RequestParams; end
|
283
|
+
class Link < Stripe::RequestParams; end
|
284
|
+
class Mobilepay < Stripe::RequestParams; end
|
285
|
+
class Multibanco < Stripe::RequestParams; end
|
318
286
|
|
319
287
|
class NaverPay < Stripe::RequestParams
|
320
288
|
# Whether to use Naver Pay points or a card to fund this transaction. If not provided, this defaults to `card`.
|
@@ -356,8 +324,7 @@ module Stripe
|
|
356
324
|
end
|
357
325
|
end
|
358
326
|
|
359
|
-
class Oxxo < Stripe::RequestParams
|
360
|
-
end
|
327
|
+
class Oxxo < Stripe::RequestParams; end
|
361
328
|
|
362
329
|
class P24 < Stripe::RequestParams
|
363
330
|
# The customer's bank.
|
@@ -368,23 +335,12 @@ module Stripe
|
|
368
335
|
end
|
369
336
|
end
|
370
337
|
|
371
|
-
class PayByBank < Stripe::RequestParams
|
372
|
-
end
|
373
|
-
|
374
|
-
class
|
375
|
-
end
|
376
|
-
|
377
|
-
class Paynow < Stripe::RequestParams
|
378
|
-
end
|
379
|
-
|
380
|
-
class Paypal < Stripe::RequestParams
|
381
|
-
end
|
382
|
-
|
383
|
-
class Pix < Stripe::RequestParams
|
384
|
-
end
|
385
|
-
|
386
|
-
class Promptpay < Stripe::RequestParams
|
387
|
-
end
|
338
|
+
class PayByBank < Stripe::RequestParams; end
|
339
|
+
class Payco < Stripe::RequestParams; end
|
340
|
+
class Paynow < Stripe::RequestParams; end
|
341
|
+
class Paypal < Stripe::RequestParams; end
|
342
|
+
class Pix < Stripe::RequestParams; end
|
343
|
+
class Promptpay < Stripe::RequestParams; end
|
388
344
|
|
389
345
|
class RadarOptions < Stripe::RequestParams
|
390
346
|
# 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.
|
@@ -395,14 +351,9 @@ module Stripe
|
|
395
351
|
end
|
396
352
|
end
|
397
353
|
|
398
|
-
class RevolutPay < Stripe::RequestParams
|
399
|
-
end
|
400
|
-
|
401
|
-
class SamsungPay < Stripe::RequestParams
|
402
|
-
end
|
403
|
-
|
404
|
-
class Satispay < Stripe::RequestParams
|
405
|
-
end
|
354
|
+
class RevolutPay < Stripe::RequestParams; end
|
355
|
+
class SamsungPay < Stripe::RequestParams; end
|
356
|
+
class Satispay < Stripe::RequestParams; end
|
406
357
|
|
407
358
|
class SepaDebit < Stripe::RequestParams
|
408
359
|
# IBAN of the bank account.
|
@@ -422,11 +373,8 @@ module Stripe
|
|
422
373
|
end
|
423
374
|
end
|
424
375
|
|
425
|
-
class Swish < Stripe::RequestParams
|
426
|
-
end
|
427
|
-
|
428
|
-
class Twint < Stripe::RequestParams
|
429
|
-
end
|
376
|
+
class Swish < Stripe::RequestParams; end
|
377
|
+
class Twint < Stripe::RequestParams; end
|
430
378
|
|
431
379
|
class UsBankAccount < Stripe::RequestParams
|
432
380
|
# Account holder type: individual or company.
|
@@ -455,11 +403,8 @@ module Stripe
|
|
455
403
|
end
|
456
404
|
end
|
457
405
|
|
458
|
-
class WechatPay < Stripe::RequestParams
|
459
|
-
end
|
460
|
-
|
461
|
-
class Zip < Stripe::RequestParams
|
462
|
-
end
|
406
|
+
class WechatPay < Stripe::RequestParams; end
|
407
|
+
class Zip < Stripe::RequestParams; end
|
463
408
|
# If this is an `acss_debit` PaymentMethod, this hash contains details about the ACSS Debit payment method.
|
464
409
|
attr_accessor :acss_debit
|
465
410
|
# If this is an `affirm` PaymentMethod, this hash contains details about the Affirm payment method.
|
@@ -1379,8 +1324,7 @@ module Stripe
|
|
1379
1324
|
end
|
1380
1325
|
end
|
1381
1326
|
|
1382
|
-
class InteracPresent < Stripe::RequestParams
|
1383
|
-
end
|
1327
|
+
class InteracPresent < Stripe::RequestParams; end
|
1384
1328
|
|
1385
1329
|
class KakaoPay < Stripe::RequestParams
|
1386
1330
|
# Controls when the funds are captured from the customer's account.
|
@@ -1638,8 +1582,7 @@ module Stripe
|
|
1638
1582
|
end
|
1639
1583
|
end
|
1640
1584
|
|
1641
|
-
class PayByBank < Stripe::RequestParams
|
1642
|
-
end
|
1585
|
+
class PayByBank < Stripe::RequestParams; end
|
1643
1586
|
|
1644
1587
|
class Payco < Stripe::RequestParams
|
1645
1588
|
# Controls when the funds are captured from the customer's account.
|
@@ -1781,6 +1724,19 @@ module Stripe
|
|
1781
1724
|
end
|
1782
1725
|
end
|
1783
1726
|
|
1727
|
+
class Satispay < Stripe::RequestParams
|
1728
|
+
# Controls when the funds are captured from the customer's account.
|
1729
|
+
#
|
1730
|
+
# 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.
|
1731
|
+
#
|
1732
|
+
# 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.
|
1733
|
+
attr_accessor :capture_method
|
1734
|
+
|
1735
|
+
def initialize(capture_method: nil)
|
1736
|
+
@capture_method = capture_method
|
1737
|
+
end
|
1738
|
+
end
|
1739
|
+
|
1784
1740
|
class SepaDebit < Stripe::RequestParams
|
1785
1741
|
class MandateOptions < Stripe::RequestParams
|
1786
1742
|
# 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'.
|
@@ -2076,6 +2032,8 @@ module Stripe
|
|
2076
2032
|
attr_accessor :revolut_pay
|
2077
2033
|
# If this is a `samsung_pay` PaymentMethod, this sub-hash contains details about the Samsung Pay payment method options.
|
2078
2034
|
attr_accessor :samsung_pay
|
2035
|
+
# If this is a `satispay` PaymentMethod, this sub-hash contains details about the Satispay payment method options.
|
2036
|
+
attr_accessor :satispay
|
2079
2037
|
# If this is a `sepa_debit` PaymentIntent, this sub-hash contains details about the SEPA Debit payment method options.
|
2080
2038
|
attr_accessor :sepa_debit
|
2081
2039
|
# If this is a `sofort` PaymentMethod, this sub-hash contains details about the SOFORT payment method options.
|
@@ -2133,6 +2091,7 @@ module Stripe
|
|
2133
2091
|
promptpay: nil,
|
2134
2092
|
revolut_pay: nil,
|
2135
2093
|
samsung_pay: nil,
|
2094
|
+
satispay: nil,
|
2136
2095
|
sepa_debit: nil,
|
2137
2096
|
sofort: nil,
|
2138
2097
|
swish: nil,
|
@@ -2182,6 +2141,7 @@ module Stripe
|
|
2182
2141
|
@promptpay = promptpay
|
2183
2142
|
@revolut_pay = revolut_pay
|
2184
2143
|
@samsung_pay = samsung_pay
|
2144
|
+
@satispay = satispay
|
2185
2145
|
@sepa_debit = sepa_debit
|
2186
2146
|
@sofort = sofort
|
2187
2147
|
@swish = swish
|
@@ -2315,6 +2275,8 @@ module Stripe
|
|
2315
2275
|
# 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.
|
2316
2276
|
#
|
2317
2277
|
# 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.
|
2278
|
+
# 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.
|
2279
|
+
# end
|
2318
2280
|
attr_accessor :payment_method
|
2319
2281
|
# The ID of the [payment method configuration](https://stripe.com/docs/api/payment_method_configurations) to use with this PaymentIntent.
|
2320
2282
|
attr_accessor :payment_method_configuration
|
@@ -2454,20 +2416,11 @@ module Stripe
|
|
2454
2416
|
end
|
2455
2417
|
end
|
2456
2418
|
|
2457
|
-
class Affirm < Stripe::RequestParams
|
2458
|
-
end
|
2459
|
-
|
2460
|
-
class
|
2461
|
-
end
|
2462
|
-
|
2463
|
-
class Alipay < Stripe::RequestParams
|
2464
|
-
end
|
2465
|
-
|
2466
|
-
class Alma < Stripe::RequestParams
|
2467
|
-
end
|
2468
|
-
|
2469
|
-
class AmazonPay < Stripe::RequestParams
|
2470
|
-
end
|
2419
|
+
class Affirm < Stripe::RequestParams; end
|
2420
|
+
class AfterpayClearpay < Stripe::RequestParams; end
|
2421
|
+
class Alipay < Stripe::RequestParams; end
|
2422
|
+
class Alma < Stripe::RequestParams; end
|
2423
|
+
class AmazonPay < Stripe::RequestParams; end
|
2471
2424
|
|
2472
2425
|
class AuBecsDebit < Stripe::RequestParams
|
2473
2426
|
# The account number for the bank account.
|
@@ -2493,11 +2446,8 @@ module Stripe
|
|
2493
2446
|
end
|
2494
2447
|
end
|
2495
2448
|
|
2496
|
-
class Bancontact < Stripe::RequestParams
|
2497
|
-
end
|
2498
|
-
|
2499
|
-
class Billie < Stripe::RequestParams
|
2500
|
-
end
|
2449
|
+
class Bancontact < Stripe::RequestParams; end
|
2450
|
+
class Billie < Stripe::RequestParams; end
|
2501
2451
|
|
2502
2452
|
class BillingDetails < Stripe::RequestParams
|
2503
2453
|
class Address < Stripe::RequestParams
|
@@ -2550,8 +2500,7 @@ module Stripe
|
|
2550
2500
|
end
|
2551
2501
|
end
|
2552
2502
|
|
2553
|
-
class Blik < Stripe::RequestParams
|
2554
|
-
end
|
2503
|
+
class Blik < Stripe::RequestParams; end
|
2555
2504
|
|
2556
2505
|
class Boleto < Stripe::RequestParams
|
2557
2506
|
# The tax ID of the customer (CPF for individual consumers or CNPJ for businesses consumers)
|
@@ -2562,11 +2511,8 @@ module Stripe
|
|
2562
2511
|
end
|
2563
2512
|
end
|
2564
2513
|
|
2565
|
-
class Cashapp < Stripe::RequestParams
|
2566
|
-
end
|
2567
|
-
|
2568
|
-
class CustomerBalance < Stripe::RequestParams
|
2569
|
-
end
|
2514
|
+
class Cashapp < Stripe::RequestParams; end
|
2515
|
+
class CustomerBalance < Stripe::RequestParams; end
|
2570
2516
|
|
2571
2517
|
class Eps < Stripe::RequestParams
|
2572
2518
|
# The customer's bank.
|
@@ -2589,11 +2535,8 @@ module Stripe
|
|
2589
2535
|
end
|
2590
2536
|
end
|
2591
2537
|
|
2592
|
-
class Giropay < Stripe::RequestParams
|
2593
|
-
end
|
2594
|
-
|
2595
|
-
class Grabpay < Stripe::RequestParams
|
2596
|
-
end
|
2538
|
+
class Giropay < Stripe::RequestParams; end
|
2539
|
+
class Grabpay < Stripe::RequestParams; end
|
2597
2540
|
|
2598
2541
|
class Ideal < Stripe::RequestParams
|
2599
2542
|
# The customer's bank. Only use this parameter for existing customers. Don't use it for new customers.
|
@@ -2604,11 +2547,8 @@ module Stripe
|
|
2604
2547
|
end
|
2605
2548
|
end
|
2606
2549
|
|
2607
|
-
class InteracPresent < Stripe::RequestParams
|
2608
|
-
end
|
2609
|
-
|
2610
|
-
class KakaoPay < Stripe::RequestParams
|
2611
|
-
end
|
2550
|
+
class InteracPresent < Stripe::RequestParams; end
|
2551
|
+
class KakaoPay < Stripe::RequestParams; end
|
2612
2552
|
|
2613
2553
|
class Klarna < Stripe::RequestParams
|
2614
2554
|
class Dob < Stripe::RequestParams
|
@@ -2633,20 +2573,11 @@ module Stripe
|
|
2633
2573
|
end
|
2634
2574
|
end
|
2635
2575
|
|
2636
|
-
class Konbini < Stripe::RequestParams
|
2637
|
-
end
|
2638
|
-
|
2639
|
-
class
|
2640
|
-
end
|
2641
|
-
|
2642
|
-
class Link < Stripe::RequestParams
|
2643
|
-
end
|
2644
|
-
|
2645
|
-
class Mobilepay < Stripe::RequestParams
|
2646
|
-
end
|
2647
|
-
|
2648
|
-
class Multibanco < Stripe::RequestParams
|
2649
|
-
end
|
2576
|
+
class Konbini < Stripe::RequestParams; end
|
2577
|
+
class KrCard < Stripe::RequestParams; end
|
2578
|
+
class Link < Stripe::RequestParams; end
|
2579
|
+
class Mobilepay < Stripe::RequestParams; end
|
2580
|
+
class Multibanco < Stripe::RequestParams; end
|
2650
2581
|
|
2651
2582
|
class NaverPay < Stripe::RequestParams
|
2652
2583
|
# Whether to use Naver Pay points or a card to fund this transaction. If not provided, this defaults to `card`.
|
@@ -2688,8 +2619,7 @@ module Stripe
|
|
2688
2619
|
end
|
2689
2620
|
end
|
2690
2621
|
|
2691
|
-
class Oxxo < Stripe::RequestParams
|
2692
|
-
end
|
2622
|
+
class Oxxo < Stripe::RequestParams; end
|
2693
2623
|
|
2694
2624
|
class P24 < Stripe::RequestParams
|
2695
2625
|
# The customer's bank.
|
@@ -2700,23 +2630,12 @@ module Stripe
|
|
2700
2630
|
end
|
2701
2631
|
end
|
2702
2632
|
|
2703
|
-
class PayByBank < Stripe::RequestParams
|
2704
|
-
end
|
2705
|
-
|
2706
|
-
class
|
2707
|
-
end
|
2708
|
-
|
2709
|
-
class Paynow < Stripe::RequestParams
|
2710
|
-
end
|
2711
|
-
|
2712
|
-
class Paypal < Stripe::RequestParams
|
2713
|
-
end
|
2714
|
-
|
2715
|
-
class Pix < Stripe::RequestParams
|
2716
|
-
end
|
2717
|
-
|
2718
|
-
class Promptpay < Stripe::RequestParams
|
2719
|
-
end
|
2633
|
+
class PayByBank < Stripe::RequestParams; end
|
2634
|
+
class Payco < Stripe::RequestParams; end
|
2635
|
+
class Paynow < Stripe::RequestParams; end
|
2636
|
+
class Paypal < Stripe::RequestParams; end
|
2637
|
+
class Pix < Stripe::RequestParams; end
|
2638
|
+
class Promptpay < Stripe::RequestParams; end
|
2720
2639
|
|
2721
2640
|
class RadarOptions < Stripe::RequestParams
|
2722
2641
|
# 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.
|
@@ -2727,14 +2646,9 @@ module Stripe
|
|
2727
2646
|
end
|
2728
2647
|
end
|
2729
2648
|
|
2730
|
-
class RevolutPay < Stripe::RequestParams
|
2731
|
-
end
|
2732
|
-
|
2733
|
-
class SamsungPay < Stripe::RequestParams
|
2734
|
-
end
|
2735
|
-
|
2736
|
-
class Satispay < Stripe::RequestParams
|
2737
|
-
end
|
2649
|
+
class RevolutPay < Stripe::RequestParams; end
|
2650
|
+
class SamsungPay < Stripe::RequestParams; end
|
2651
|
+
class Satispay < Stripe::RequestParams; end
|
2738
2652
|
|
2739
2653
|
class SepaDebit < Stripe::RequestParams
|
2740
2654
|
# IBAN of the bank account.
|
@@ -2754,11 +2668,8 @@ module Stripe
|
|
2754
2668
|
end
|
2755
2669
|
end
|
2756
2670
|
|
2757
|
-
class Swish < Stripe::RequestParams
|
2758
|
-
end
|
2759
|
-
|
2760
|
-
class Twint < Stripe::RequestParams
|
2761
|
-
end
|
2671
|
+
class Swish < Stripe::RequestParams; end
|
2672
|
+
class Twint < Stripe::RequestParams; end
|
2762
2673
|
|
2763
2674
|
class UsBankAccount < Stripe::RequestParams
|
2764
2675
|
# Account holder type: individual or company.
|
@@ -2787,11 +2698,8 @@ module Stripe
|
|
2787
2698
|
end
|
2788
2699
|
end
|
2789
2700
|
|
2790
|
-
class WechatPay < Stripe::RequestParams
|
2791
|
-
end
|
2792
|
-
|
2793
|
-
class Zip < Stripe::RequestParams
|
2794
|
-
end
|
2701
|
+
class WechatPay < Stripe::RequestParams; end
|
2702
|
+
class Zip < Stripe::RequestParams; end
|
2795
2703
|
# If this is an `acss_debit` PaymentMethod, this hash contains details about the ACSS Debit payment method.
|
2796
2704
|
attr_accessor :acss_debit
|
2797
2705
|
# If this is an `affirm` PaymentMethod, this hash contains details about the Affirm payment method.
|
@@ -3711,8 +3619,7 @@ module Stripe
|
|
3711
3619
|
end
|
3712
3620
|
end
|
3713
3621
|
|
3714
|
-
class InteracPresent < Stripe::RequestParams
|
3715
|
-
end
|
3622
|
+
class InteracPresent < Stripe::RequestParams; end
|
3716
3623
|
|
3717
3624
|
class KakaoPay < Stripe::RequestParams
|
3718
3625
|
# Controls when the funds are captured from the customer's account.
|
@@ -3970,8 +3877,7 @@ module Stripe
|
|
3970
3877
|
end
|
3971
3878
|
end
|
3972
3879
|
|
3973
|
-
class PayByBank < Stripe::RequestParams
|
3974
|
-
end
|
3880
|
+
class PayByBank < Stripe::RequestParams; end
|
3975
3881
|
|
3976
3882
|
class Payco < Stripe::RequestParams
|
3977
3883
|
# Controls when the funds are captured from the customer's account.
|
@@ -4113,6 +4019,19 @@ module Stripe
|
|
4113
4019
|
end
|
4114
4020
|
end
|
4115
4021
|
|
4022
|
+
class Satispay < Stripe::RequestParams
|
4023
|
+
# Controls when the funds are captured from the customer's account.
|
4024
|
+
#
|
4025
|
+
# 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.
|
4026
|
+
#
|
4027
|
+
# 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.
|
4028
|
+
attr_accessor :capture_method
|
4029
|
+
|
4030
|
+
def initialize(capture_method: nil)
|
4031
|
+
@capture_method = capture_method
|
4032
|
+
end
|
4033
|
+
end
|
4034
|
+
|
4116
4035
|
class SepaDebit < Stripe::RequestParams
|
4117
4036
|
class MandateOptions < Stripe::RequestParams
|
4118
4037
|
# 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'.
|
@@ -4408,6 +4327,8 @@ module Stripe
|
|
4408
4327
|
attr_accessor :revolut_pay
|
4409
4328
|
# If this is a `samsung_pay` PaymentMethod, this sub-hash contains details about the Samsung Pay payment method options.
|
4410
4329
|
attr_accessor :samsung_pay
|
4330
|
+
# If this is a `satispay` PaymentMethod, this sub-hash contains details about the Satispay payment method options.
|
4331
|
+
attr_accessor :satispay
|
4411
4332
|
# If this is a `sepa_debit` PaymentIntent, this sub-hash contains details about the SEPA Debit payment method options.
|
4412
4333
|
attr_accessor :sepa_debit
|
4413
4334
|
# If this is a `sofort` PaymentMethod, this sub-hash contains details about the SOFORT payment method options.
|
@@ -4465,6 +4386,7 @@ module Stripe
|
|
4465
4386
|
promptpay: nil,
|
4466
4387
|
revolut_pay: nil,
|
4467
4388
|
samsung_pay: nil,
|
4389
|
+
satispay: nil,
|
4468
4390
|
sepa_debit: nil,
|
4469
4391
|
sofort: nil,
|
4470
4392
|
swish: nil,
|
@@ -4514,6 +4436,7 @@ module Stripe
|
|
4514
4436
|
@promptpay = promptpay
|
4515
4437
|
@revolut_pay = revolut_pay
|
4516
4438
|
@samsung_pay = samsung_pay
|
4439
|
+
@satispay = satispay
|
4517
4440
|
@sepa_debit = sepa_debit
|
4518
4441
|
@sofort = sofort
|
4519
4442
|
@swish = swish
|
@@ -4787,8 +4710,7 @@ module Stripe
|
|
4787
4710
|
class ConfirmParams < Stripe::RequestParams
|
4788
4711
|
class MandateData < Stripe::RequestParams
|
4789
4712
|
class CustomerAcceptance < Stripe::RequestParams
|
4790
|
-
class Offline < Stripe::RequestParams
|
4791
|
-
end
|
4713
|
+
class Offline < Stripe::RequestParams; end
|
4792
4714
|
|
4793
4715
|
class Online < Stripe::RequestParams
|
4794
4716
|
# The IP address from which the Mandate was accepted by the customer.
|
@@ -4841,20 +4763,11 @@ module Stripe
|
|
4841
4763
|
end
|
4842
4764
|
end
|
4843
4765
|
|
4844
|
-
class Affirm < Stripe::RequestParams
|
4845
|
-
end
|
4846
|
-
|
4847
|
-
class
|
4848
|
-
end
|
4849
|
-
|
4850
|
-
class Alipay < Stripe::RequestParams
|
4851
|
-
end
|
4852
|
-
|
4853
|
-
class Alma < Stripe::RequestParams
|
4854
|
-
end
|
4855
|
-
|
4856
|
-
class AmazonPay < Stripe::RequestParams
|
4857
|
-
end
|
4766
|
+
class Affirm < Stripe::RequestParams; end
|
4767
|
+
class AfterpayClearpay < Stripe::RequestParams; end
|
4768
|
+
class Alipay < Stripe::RequestParams; end
|
4769
|
+
class Alma < Stripe::RequestParams; end
|
4770
|
+
class AmazonPay < Stripe::RequestParams; end
|
4858
4771
|
|
4859
4772
|
class AuBecsDebit < Stripe::RequestParams
|
4860
4773
|
# The account number for the bank account.
|
@@ -4880,11 +4793,8 @@ module Stripe
|
|
4880
4793
|
end
|
4881
4794
|
end
|
4882
4795
|
|
4883
|
-
class Bancontact < Stripe::RequestParams
|
4884
|
-
end
|
4885
|
-
|
4886
|
-
class Billie < Stripe::RequestParams
|
4887
|
-
end
|
4796
|
+
class Bancontact < Stripe::RequestParams; end
|
4797
|
+
class Billie < Stripe::RequestParams; end
|
4888
4798
|
|
4889
4799
|
class BillingDetails < Stripe::RequestParams
|
4890
4800
|
class Address < Stripe::RequestParams
|
@@ -4937,8 +4847,7 @@ module Stripe
|
|
4937
4847
|
end
|
4938
4848
|
end
|
4939
4849
|
|
4940
|
-
class Blik < Stripe::RequestParams
|
4941
|
-
end
|
4850
|
+
class Blik < Stripe::RequestParams; end
|
4942
4851
|
|
4943
4852
|
class Boleto < Stripe::RequestParams
|
4944
4853
|
# The tax ID of the customer (CPF for individual consumers or CNPJ for businesses consumers)
|
@@ -4949,11 +4858,8 @@ module Stripe
|
|
4949
4858
|
end
|
4950
4859
|
end
|
4951
4860
|
|
4952
|
-
class Cashapp < Stripe::RequestParams
|
4953
|
-
end
|
4954
|
-
|
4955
|
-
class CustomerBalance < Stripe::RequestParams
|
4956
|
-
end
|
4861
|
+
class Cashapp < Stripe::RequestParams; end
|
4862
|
+
class CustomerBalance < Stripe::RequestParams; end
|
4957
4863
|
|
4958
4864
|
class Eps < Stripe::RequestParams
|
4959
4865
|
# The customer's bank.
|
@@ -4976,11 +4882,8 @@ module Stripe
|
|
4976
4882
|
end
|
4977
4883
|
end
|
4978
4884
|
|
4979
|
-
class Giropay < Stripe::RequestParams
|
4980
|
-
end
|
4981
|
-
|
4982
|
-
class Grabpay < Stripe::RequestParams
|
4983
|
-
end
|
4885
|
+
class Giropay < Stripe::RequestParams; end
|
4886
|
+
class Grabpay < Stripe::RequestParams; end
|
4984
4887
|
|
4985
4888
|
class Ideal < Stripe::RequestParams
|
4986
4889
|
# The customer's bank. Only use this parameter for existing customers. Don't use it for new customers.
|
@@ -4991,11 +4894,8 @@ module Stripe
|
|
4991
4894
|
end
|
4992
4895
|
end
|
4993
4896
|
|
4994
|
-
class InteracPresent < Stripe::RequestParams
|
4995
|
-
end
|
4996
|
-
|
4997
|
-
class KakaoPay < Stripe::RequestParams
|
4998
|
-
end
|
4897
|
+
class InteracPresent < Stripe::RequestParams; end
|
4898
|
+
class KakaoPay < Stripe::RequestParams; end
|
4999
4899
|
|
5000
4900
|
class Klarna < Stripe::RequestParams
|
5001
4901
|
class Dob < Stripe::RequestParams
|
@@ -5020,20 +4920,11 @@ module Stripe
|
|
5020
4920
|
end
|
5021
4921
|
end
|
5022
4922
|
|
5023
|
-
class Konbini < Stripe::RequestParams
|
5024
|
-
end
|
5025
|
-
|
5026
|
-
class
|
5027
|
-
end
|
5028
|
-
|
5029
|
-
class Link < Stripe::RequestParams
|
5030
|
-
end
|
5031
|
-
|
5032
|
-
class Mobilepay < Stripe::RequestParams
|
5033
|
-
end
|
5034
|
-
|
5035
|
-
class Multibanco < Stripe::RequestParams
|
5036
|
-
end
|
4923
|
+
class Konbini < Stripe::RequestParams; end
|
4924
|
+
class KrCard < Stripe::RequestParams; end
|
4925
|
+
class Link < Stripe::RequestParams; end
|
4926
|
+
class Mobilepay < Stripe::RequestParams; end
|
4927
|
+
class Multibanco < Stripe::RequestParams; end
|
5037
4928
|
|
5038
4929
|
class NaverPay < Stripe::RequestParams
|
5039
4930
|
# Whether to use Naver Pay points or a card to fund this transaction. If not provided, this defaults to `card`.
|
@@ -5075,8 +4966,7 @@ module Stripe
|
|
5075
4966
|
end
|
5076
4967
|
end
|
5077
4968
|
|
5078
|
-
class Oxxo < Stripe::RequestParams
|
5079
|
-
end
|
4969
|
+
class Oxxo < Stripe::RequestParams; end
|
5080
4970
|
|
5081
4971
|
class P24 < Stripe::RequestParams
|
5082
4972
|
# The customer's bank.
|
@@ -5087,23 +4977,12 @@ module Stripe
|
|
5087
4977
|
end
|
5088
4978
|
end
|
5089
4979
|
|
5090
|
-
class PayByBank < Stripe::RequestParams
|
5091
|
-
end
|
5092
|
-
|
5093
|
-
class
|
5094
|
-
end
|
5095
|
-
|
5096
|
-
class Paynow < Stripe::RequestParams
|
5097
|
-
end
|
5098
|
-
|
5099
|
-
class Paypal < Stripe::RequestParams
|
5100
|
-
end
|
5101
|
-
|
5102
|
-
class Pix < Stripe::RequestParams
|
5103
|
-
end
|
5104
|
-
|
5105
|
-
class Promptpay < Stripe::RequestParams
|
5106
|
-
end
|
4980
|
+
class PayByBank < Stripe::RequestParams; end
|
4981
|
+
class Payco < Stripe::RequestParams; end
|
4982
|
+
class Paynow < Stripe::RequestParams; end
|
4983
|
+
class Paypal < Stripe::RequestParams; end
|
4984
|
+
class Pix < Stripe::RequestParams; end
|
4985
|
+
class Promptpay < Stripe::RequestParams; end
|
5107
4986
|
|
5108
4987
|
class RadarOptions < Stripe::RequestParams
|
5109
4988
|
# 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.
|
@@ -5114,14 +4993,9 @@ module Stripe
|
|
5114
4993
|
end
|
5115
4994
|
end
|
5116
4995
|
|
5117
|
-
class RevolutPay < Stripe::RequestParams
|
5118
|
-
end
|
5119
|
-
|
5120
|
-
class SamsungPay < Stripe::RequestParams
|
5121
|
-
end
|
5122
|
-
|
5123
|
-
class Satispay < Stripe::RequestParams
|
5124
|
-
end
|
4996
|
+
class RevolutPay < Stripe::RequestParams; end
|
4997
|
+
class SamsungPay < Stripe::RequestParams; end
|
4998
|
+
class Satispay < Stripe::RequestParams; end
|
5125
4999
|
|
5126
5000
|
class SepaDebit < Stripe::RequestParams
|
5127
5001
|
# IBAN of the bank account.
|
@@ -5141,11 +5015,8 @@ module Stripe
|
|
5141
5015
|
end
|
5142
5016
|
end
|
5143
5017
|
|
5144
|
-
class Swish < Stripe::RequestParams
|
5145
|
-
end
|
5146
|
-
|
5147
|
-
class Twint < Stripe::RequestParams
|
5148
|
-
end
|
5018
|
+
class Swish < Stripe::RequestParams; end
|
5019
|
+
class Twint < Stripe::RequestParams; end
|
5149
5020
|
|
5150
5021
|
class UsBankAccount < Stripe::RequestParams
|
5151
5022
|
# Account holder type: individual or company.
|
@@ -5174,11 +5045,8 @@ module Stripe
|
|
5174
5045
|
end
|
5175
5046
|
end
|
5176
5047
|
|
5177
|
-
class WechatPay < Stripe::RequestParams
|
5178
|
-
end
|
5179
|
-
|
5180
|
-
class Zip < Stripe::RequestParams
|
5181
|
-
end
|
5048
|
+
class WechatPay < Stripe::RequestParams; end
|
5049
|
+
class Zip < Stripe::RequestParams; end
|
5182
5050
|
# If this is an `acss_debit` PaymentMethod, this hash contains details about the ACSS Debit payment method.
|
5183
5051
|
attr_accessor :acss_debit
|
5184
5052
|
# If this is an `affirm` PaymentMethod, this hash contains details about the Affirm payment method.
|
@@ -6098,8 +5966,7 @@ module Stripe
|
|
6098
5966
|
end
|
6099
5967
|
end
|
6100
5968
|
|
6101
|
-
class InteracPresent < Stripe::RequestParams
|
6102
|
-
end
|
5969
|
+
class InteracPresent < Stripe::RequestParams; end
|
6103
5970
|
|
6104
5971
|
class KakaoPay < Stripe::RequestParams
|
6105
5972
|
# Controls when the funds are captured from the customer's account.
|
@@ -6357,8 +6224,7 @@ module Stripe
|
|
6357
6224
|
end
|
6358
6225
|
end
|
6359
6226
|
|
6360
|
-
class PayByBank < Stripe::RequestParams
|
6361
|
-
end
|
6227
|
+
class PayByBank < Stripe::RequestParams; end
|
6362
6228
|
|
6363
6229
|
class Payco < Stripe::RequestParams
|
6364
6230
|
# Controls when the funds are captured from the customer's account.
|
@@ -6500,6 +6366,19 @@ module Stripe
|
|
6500
6366
|
end
|
6501
6367
|
end
|
6502
6368
|
|
6369
|
+
class Satispay < Stripe::RequestParams
|
6370
|
+
# Controls when the funds are captured from the customer's account.
|
6371
|
+
#
|
6372
|
+
# 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.
|
6373
|
+
#
|
6374
|
+
# 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.
|
6375
|
+
attr_accessor :capture_method
|
6376
|
+
|
6377
|
+
def initialize(capture_method: nil)
|
6378
|
+
@capture_method = capture_method
|
6379
|
+
end
|
6380
|
+
end
|
6381
|
+
|
6503
6382
|
class SepaDebit < Stripe::RequestParams
|
6504
6383
|
class MandateOptions < Stripe::RequestParams
|
6505
6384
|
# 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'.
|
@@ -6795,6 +6674,8 @@ module Stripe
|
|
6795
6674
|
attr_accessor :revolut_pay
|
6796
6675
|
# If this is a `samsung_pay` PaymentMethod, this sub-hash contains details about the Samsung Pay payment method options.
|
6797
6676
|
attr_accessor :samsung_pay
|
6677
|
+
# If this is a `satispay` PaymentMethod, this sub-hash contains details about the Satispay payment method options.
|
6678
|
+
attr_accessor :satispay
|
6798
6679
|
# If this is a `sepa_debit` PaymentIntent, this sub-hash contains details about the SEPA Debit payment method options.
|
6799
6680
|
attr_accessor :sepa_debit
|
6800
6681
|
# If this is a `sofort` PaymentMethod, this sub-hash contains details about the SOFORT payment method options.
|
@@ -6852,6 +6733,7 @@ module Stripe
|
|
6852
6733
|
promptpay: nil,
|
6853
6734
|
revolut_pay: nil,
|
6854
6735
|
samsung_pay: nil,
|
6736
|
+
satispay: nil,
|
6855
6737
|
sepa_debit: nil,
|
6856
6738
|
sofort: nil,
|
6857
6739
|
swish: nil,
|
@@ -6901,6 +6783,7 @@ module Stripe
|
|
6901
6783
|
@promptpay = promptpay
|
6902
6784
|
@revolut_pay = revolut_pay
|
6903
6785
|
@samsung_pay = samsung_pay
|
6786
|
+
@satispay = satispay
|
6904
6787
|
@sepa_debit = sepa_debit
|
6905
6788
|
@sofort = sofort
|
6906
6789
|
@swish = swish
|
@@ -6987,6 +6870,7 @@ module Stripe
|
|
6987
6870
|
# Set to `true` to indicate that the customer isn't in your checkout flow during this payment attempt and can't authenticate. Use this parameter in scenarios where you collect card details and [charge them later](https://stripe.com/docs/payments/cards/charging-saved-cards).
|
6988
6871
|
attr_accessor :off_session
|
6989
6872
|
# 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.
|
6873
|
+
# 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.
|
6990
6874
|
attr_accessor :payment_method
|
6991
6875
|
# If provided, this hash will be used to create a PaymentMethod. The new PaymentMethod will appear
|
6992
6876
|
# in the [payment_method](https://stripe.com/docs/api/payment_intents/object#payment_intent_object-payment_method)
|
@@ -7128,11 +7012,11 @@ module Stripe
|
|
7128
7012
|
)
|
7129
7013
|
end
|
7130
7014
|
|
7131
|
-
# 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.
|
7015
|
+
# 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.
|
7132
7016
|
#
|
7133
7017
|
# 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.
|
7134
7018
|
#
|
7135
|
-
# You can't cancel the PaymentIntent for a Checkout Session. [Expire the Checkout Session](https://stripe.com/docs/api/checkout/sessions/expire) instead.
|
7019
|
+
# You can't cancel the PaymentIntent for a Checkout Session. [Expire the Checkout Session](https://docs.stripe.com/docs/api/checkout/sessions/expire) instead.
|
7136
7020
|
def cancel(intent, params = {}, opts = {})
|
7137
7021
|
request(
|
7138
7022
|
method: :post,
|
@@ -7147,7 +7031,7 @@ module Stripe
|
|
7147
7031
|
#
|
7148
7032
|
# Uncaptured PaymentIntents are cancelled a set number of days (7 by default) after their creation.
|
7149
7033
|
#
|
7150
|
-
# Learn more about [separate authorization and capture](https://stripe.com/docs/payments/capture-later).
|
7034
|
+
# Learn more about [separate authorization and capture](https://docs.stripe.com/docs/payments/capture-later).
|
7151
7035
|
def capture(intent, params = {}, opts = {})
|
7152
7036
|
request(
|
7153
7037
|
method: :post,
|
@@ -7169,8 +7053,8 @@ module Stripe
|
|
7169
7053
|
# payment succeeds, the PaymentIntent will transition to the succeeded
|
7170
7054
|
# status (or requires_capture, if capture_method is set to manual).
|
7171
7055
|
# If the confirmation_method is automatic, payment may be attempted
|
7172
|
-
# using our [client SDKs](https://stripe.com/docs/stripe-js/reference#stripe-handle-card-payment)
|
7173
|
-
# and the PaymentIntent's [client_secret](https://stripe.com/
|
7056
|
+
# using our [client SDKs](https://docs.stripe.com/docs/stripe-js/reference#stripe-handle-card-payment)
|
7057
|
+
# and the PaymentIntent's [client_secret](https://docs.stripe.com/api#payment_intent_object-client_secret).
|
7174
7058
|
# After next_actions are handled by the client, no additional
|
7175
7059
|
# confirmation is required to complete the payment.
|
7176
7060
|
# If the confirmation_method is manual, all payment attempts must be
|
@@ -7195,13 +7079,13 @@ module Stripe
|
|
7195
7079
|
|
7196
7080
|
# Creates a PaymentIntent object.
|
7197
7081
|
#
|
7198
|
-
# After the PaymentIntent is created, attach a payment method and [confirm](https://stripe.com/docs/api/payment_intents/confirm)
|
7082
|
+
# After the PaymentIntent is created, attach a payment method and [confirm](https://docs.stripe.com/docs/api/payment_intents/confirm)
|
7199
7083
|
# to continue the payment. Learn more about <a href="/docs/payments/payment-intents">the available payment flows
|
7200
7084
|
# with the Payment Intents API.
|
7201
7085
|
#
|
7202
7086
|
# When you use confirm=true during creation, it's equivalent to creating
|
7203
7087
|
# and confirming the PaymentIntent in the same call. You can use any parameters
|
7204
|
-
# available in the [confirm API](https://stripe.com/docs/api/payment_intents/confirm) when you supply
|
7088
|
+
# available in the [confirm API](https://docs.stripe.com/docs/api/payment_intents/confirm) when you supply
|
7205
7089
|
# confirm=true.
|
7206
7090
|
def create(params = {}, opts = {})
|
7207
7091
|
request(
|
@@ -7214,9 +7098,9 @@ module Stripe
|
|
7214
7098
|
end
|
7215
7099
|
|
7216
7100
|
# Perform an incremental authorization on an eligible
|
7217
|
-
# [PaymentIntent](https://stripe.com/docs/api/payment_intents/object). To be eligible, the
|
7101
|
+
# [PaymentIntent](https://docs.stripe.com/docs/api/payment_intents/object). To be eligible, the
|
7218
7102
|
# PaymentIntent's status must be requires_capture and
|
7219
|
-
# [incremental_authorization_supported](https://stripe.com/docs/api/charges/object#charge_object-payment_method_details-card_present-incremental_authorization_supported)
|
7103
|
+
# [incremental_authorization_supported](https://docs.stripe.com/docs/api/charges/object#charge_object-payment_method_details-card_present-incremental_authorization_supported)
|
7220
7104
|
# must be true.
|
7221
7105
|
#
|
7222
7106
|
# Incremental authorizations attempt to increase the authorized amount on
|
@@ -7227,16 +7111,16 @@ module Stripe
|
|
7227
7111
|
#
|
7228
7112
|
# If the incremental authorization succeeds, the PaymentIntent object
|
7229
7113
|
# returns with the updated
|
7230
|
-
# [amount](https://stripe.com/docs/api/payment_intents/object#payment_intent_object-amount).
|
7114
|
+
# [amount](https://docs.stripe.com/docs/api/payment_intents/object#payment_intent_object-amount).
|
7231
7115
|
# If the incremental authorization fails, a
|
7232
|
-
# [card_declined](https://stripe.com/docs/error-codes#card-declined) error returns, and no other
|
7116
|
+
# [card_declined](https://docs.stripe.com/docs/error-codes#card-declined) error returns, and no other
|
7233
7117
|
# fields on the PaymentIntent or Charge update. The PaymentIntent
|
7234
7118
|
# object remains capturable for the previously authorized amount.
|
7235
7119
|
#
|
7236
7120
|
# Each PaymentIntent can have a maximum of 10 incremental authorization attempts, including declines.
|
7237
7121
|
# After it's captured, a PaymentIntent can no longer be incremented.
|
7238
7122
|
#
|
7239
|
-
# Learn more about [incremental authorizations](https://stripe.com/docs/terminal/features/incremental-authorizations).
|
7123
|
+
# Learn more about [incremental authorizations](https://docs.stripe.com/docs/terminal/features/incremental-authorizations).
|
7240
7124
|
def increment_authorization(intent, params = {}, opts = {})
|
7241
7125
|
request(
|
7242
7126
|
method: :post,
|
@@ -7262,7 +7146,7 @@ module Stripe
|
|
7262
7146
|
#
|
7263
7147
|
# You can retrieve a PaymentIntent client-side using a publishable key when the client_secret is in the query string.
|
7264
7148
|
#
|
7265
|
-
# If you retrieve a PaymentIntent with a publishable key, it only returns a subset of properties. Refer to the [payment intent](https://stripe.com/
|
7149
|
+
# 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.
|
7266
7150
|
def retrieve(intent, params = {}, opts = {})
|
7267
7151
|
request(
|
7268
7152
|
method: :get,
|
@@ -7273,7 +7157,7 @@ module Stripe
|
|
7273
7157
|
)
|
7274
7158
|
end
|
7275
7159
|
|
7276
|
-
# Search for PaymentIntents you've previously created using Stripe's [Search Query Language](https://stripe.com/docs/search#search-query-language).
|
7160
|
+
# Search for PaymentIntents you've previously created using Stripe's [Search Query Language](https://docs.stripe.com/docs/search#search-query-language).
|
7277
7161
|
# Don't use search in read-after-write flows where strict consistency is necessary. Under normal operating
|
7278
7162
|
# conditions, data is searchable in less than a minute. Occasionally, propagation of new or updated data can be up
|
7279
7163
|
# to an hour behind during outages. Search functionality is not available to merchants in India.
|
@@ -7293,7 +7177,7 @@ module Stripe
|
|
7293
7177
|
# PaymentIntent again. For example, updating the payment_method
|
7294
7178
|
# always requires you to confirm the PaymentIntent again. If you prefer to
|
7295
7179
|
# update and confirm at the same time, we recommend updating properties through
|
7296
|
-
# the [confirm API](https://stripe.com/docs/api/payment_intents/confirm) instead.
|
7180
|
+
# the [confirm API](https://docs.stripe.com/docs/api/payment_intents/confirm) instead.
|
7297
7181
|
def update(intent, params = {}, opts = {})
|
7298
7182
|
request(
|
7299
7183
|
method: :post,
|