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.
Files changed (243) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +34 -6
  3. data/CONTRIBUTING.md +25 -0
  4. data/OPENAPI_VERSION +1 -1
  5. data/README.md +10 -7
  6. data/VERSION +1 -1
  7. data/lib/stripe/api_version.rb +1 -1
  8. data/lib/stripe/resources/account.rb +47 -20
  9. data/lib/stripe/resources/account_session.rb +111 -7
  10. data/lib/stripe/resources/apple_pay_domain.rb +1 -2
  11. data/lib/stripe/resources/balance.rb +42 -0
  12. data/lib/stripe/resources/balance_transaction.rb +2 -0
  13. data/lib/stripe/resources/bank_account.rb +2 -2
  14. data/lib/stripe/resources/billing_portal/session.rb +1 -1
  15. data/lib/stripe/resources/capability.rb +1 -1
  16. data/lib/stripe/resources/charge.rb +13 -5
  17. data/lib/stripe/resources/checkout/session.rb +20 -4
  18. data/lib/stripe/resources/confirmation_token.rb +33 -87
  19. data/lib/stripe/resources/country_spec.rb +1 -1
  20. data/lib/stripe/resources/coupon.rb +1 -2
  21. data/lib/stripe/resources/credit_note.rb +12 -9
  22. data/lib/stripe/resources/customer.rb +2 -4
  23. data/lib/stripe/resources/customer_session.rb +3 -3
  24. data/lib/stripe/resources/dispute.rb +2 -2
  25. data/lib/stripe/resources/event.rb +1 -1
  26. data/lib/stripe/resources/file.rb +1 -1
  27. data/lib/stripe/resources/identity/verification_report.rb +6 -0
  28. data/lib/stripe/resources/identity/verification_session.rb +17 -11
  29. data/lib/stripe/resources/invoice.rb +114 -27
  30. data/lib/stripe/resources/invoice_item.rb +2 -3
  31. data/lib/stripe/resources/invoice_line_item.rb +1 -1
  32. data/lib/stripe/resources/invoice_payment.rb +9 -2
  33. data/lib/stripe/resources/issuing/authorization.rb +8 -8
  34. data/lib/stripe/resources/issuing/card.rb +1 -1
  35. data/lib/stripe/resources/issuing/dispute.rb +3 -3
  36. data/lib/stripe/resources/payment_intent.rb +196 -302
  37. data/lib/stripe/resources/payment_method.rb +46 -103
  38. data/lib/stripe/resources/payment_method_configuration.rb +297 -2
  39. data/lib/stripe/resources/payment_method_domain.rb +2 -2
  40. data/lib/stripe/resources/payout.rb +4 -4
  41. data/lib/stripe/resources/person.rb +2 -2
  42. data/lib/stripe/resources/plan.rb +2 -3
  43. data/lib/stripe/resources/price.rb +1 -1
  44. data/lib/stripe/resources/product.rb +1 -2
  45. data/lib/stripe/resources/radar/value_list.rb +1 -2
  46. data/lib/stripe/resources/radar/value_list_item.rb +1 -2
  47. data/lib/stripe/resources/refund.rb +6 -1
  48. data/lib/stripe/resources/reversal.rb +1 -1
  49. data/lib/stripe/resources/review.rb +1 -1
  50. data/lib/stripe/resources/setup_intent.rb +111 -281
  51. data/lib/stripe/resources/source.rb +1 -1
  52. data/lib/stripe/resources/subscription.rb +89 -29
  53. data/lib/stripe/resources/subscription_item.rb +33 -0
  54. data/lib/stripe/resources/subscription_schedule.rb +119 -4
  55. data/lib/stripe/resources/tax/calculation.rb +4 -0
  56. data/lib/stripe/resources/tax/calculation_line_item.rb +2 -0
  57. data/lib/stripe/resources/tax/registration.rb +1 -1
  58. data/lib/stripe/resources/tax_id.rb +1 -2
  59. data/lib/stripe/resources/tax_rate.rb +2 -2
  60. data/lib/stripe/resources/terminal/configuration.rb +1 -2
  61. data/lib/stripe/resources/terminal/location.rb +2 -3
  62. data/lib/stripe/resources/terminal/reader.rb +275 -3
  63. data/lib/stripe/resources/test_helpers/test_clock.rb +1 -2
  64. data/lib/stripe/resources/token.rb +2 -2
  65. data/lib/stripe/resources/transfer.rb +1 -1
  66. data/lib/stripe/resources/webhook_endpoint.rb +1 -2
  67. data/lib/stripe/services/account_external_account_service.rb +2 -3
  68. data/lib/stripe/services/account_login_link_service.rb +1 -1
  69. data/lib/stripe/services/account_person_service.rb +1 -2
  70. data/lib/stripe/services/account_service.rb +38 -13
  71. data/lib/stripe/services/account_session_service.rb +75 -7
  72. data/lib/stripe/services/apple_pay_domain_service.rb +1 -2
  73. data/lib/stripe/services/balance_service.rb +1 -1
  74. data/lib/stripe/services/charge_service.rb +4 -4
  75. data/lib/stripe/services/checkout/session_service.rb +11 -3
  76. data/lib/stripe/services/coupon_service.rb +1 -2
  77. data/lib/stripe/services/credit_note_service.rb +7 -8
  78. data/lib/stripe/services/customer_balance_transaction_service.rb +3 -3
  79. data/lib/stripe/services/customer_cash_balance_transaction_service.rb +2 -2
  80. data/lib/stripe/services/customer_payment_source_service.rb +1 -1
  81. data/lib/stripe/services/customer_service.rb +3 -5
  82. data/lib/stripe/services/customer_tax_id_service.rb +1 -2
  83. data/lib/stripe/services/dispute_service.rb +1 -1
  84. data/lib/stripe/services/file_service.rb +1 -1
  85. data/lib/stripe/services/identity/verification_session_service.rb +5 -5
  86. data/lib/stripe/services/invoice_item_service.rb +1 -2
  87. data/lib/stripe/services/invoice_service.rb +92 -23
  88. data/lib/stripe/services/issuing/authorization_service.rb +4 -4
  89. data/lib/stripe/services/issuing/card_service.rb +1 -1
  90. data/lib/stripe/services/issuing/dispute_service.rb +2 -2
  91. data/lib/stripe/services/payment_intent_service.rb +176 -292
  92. data/lib/stripe/services/payment_method_configuration_service.rb +212 -2
  93. data/lib/stripe/services/payment_method_domain_service.rb +1 -1
  94. data/lib/stripe/services/payment_method_service.rb +43 -100
  95. data/lib/stripe/services/payout_service.rb +2 -2
  96. data/lib/stripe/services/plan_service.rb +2 -3
  97. data/lib/stripe/services/price_service.rb +2 -2
  98. data/lib/stripe/services/product_feature_service.rb +1 -2
  99. data/lib/stripe/services/product_service.rb +2 -3
  100. data/lib/stripe/services/promotion_code_service.rb +1 -1
  101. data/lib/stripe/services/radar/early_fraud_warning_service.rb +1 -1
  102. data/lib/stripe/services/radar/value_list_item_service.rb +1 -2
  103. data/lib/stripe/services/radar/value_list_service.rb +1 -2
  104. data/lib/stripe/services/setup_intent_service.rb +110 -280
  105. data/lib/stripe/services/source_service.rb +1 -1
  106. data/lib/stripe/services/subscription_item_service.rb +26 -0
  107. data/lib/stripe/services/subscription_schedule_service.rb +93 -3
  108. data/lib/stripe/services/subscription_service.rb +77 -26
  109. data/lib/stripe/services/tax/calculation_service.rb +4 -0
  110. data/lib/stripe/services/tax/registration_service.rb +1 -1
  111. data/lib/stripe/services/tax_id_service.rb +1 -2
  112. data/lib/stripe/services/terminal/configuration_service.rb +1 -2
  113. data/lib/stripe/services/terminal/location_service.rb +2 -3
  114. data/lib/stripe/services/terminal/reader_service.rb +106 -2
  115. data/lib/stripe/services/test_helpers/confirmation_token_service.rb +33 -87
  116. data/lib/stripe/services/test_helpers/terminal/reader_service.rb +43 -0
  117. data/lib/stripe/services/test_helpers/test_clock_service.rb +1 -2
  118. data/lib/stripe/services/token_service.rb +1 -1
  119. data/lib/stripe/services/transfer_service.rb +1 -1
  120. data/lib/stripe/services/v2/billing/meter_event_session_service.rb +1 -2
  121. data/lib/stripe/services/v2/core/event_destination_service.rb +4 -10
  122. data/lib/stripe/services/v2/core/event_service.rb +1 -2
  123. data/lib/stripe/services/webhook_endpoint_service.rb +1 -2
  124. data/lib/stripe/version.rb +1 -1
  125. data/rbi/stripe/resources/account.rbi +46 -23
  126. data/rbi/stripe/resources/account_session.rbi +131 -12
  127. data/rbi/stripe/resources/apple_pay_domain.rbi +1 -3
  128. data/rbi/stripe/resources/balance.rbi +55 -0
  129. data/rbi/stripe/resources/balance_transaction.rbi +3 -0
  130. data/rbi/stripe/resources/bank_account.rbi +2 -2
  131. data/rbi/stripe/resources/billing/alert.rbi +2 -2
  132. data/rbi/stripe/resources/billing_portal/session.rbi +1 -1
  133. data/rbi/stripe/resources/capability.rbi +1 -1
  134. data/rbi/stripe/resources/charge.rbi +17 -5
  135. data/rbi/stripe/resources/checkout/session.rbi +22 -6
  136. data/rbi/stripe/resources/confirmation_token.rbi +33 -99
  137. data/rbi/stripe/resources/country_spec.rbi +1 -1
  138. data/rbi/stripe/resources/coupon.rbi +1 -3
  139. data/rbi/stripe/resources/credit_note.rbi +14 -9
  140. data/rbi/stripe/resources/customer.rbi +2 -6
  141. data/rbi/stripe/resources/customer_session.rbi +3 -3
  142. data/rbi/stripe/resources/dispute.rbi +2 -2
  143. data/rbi/stripe/resources/event.rbi +1 -1
  144. data/rbi/stripe/resources/file.rbi +1 -1
  145. data/rbi/stripe/resources/identity/verification_report.rbi +9 -0
  146. data/rbi/stripe/resources/identity/verification_session.rbi +20 -11
  147. data/rbi/stripe/resources/invoice.rbi +109 -33
  148. data/rbi/stripe/resources/invoice_item.rbi +2 -4
  149. data/rbi/stripe/resources/invoice_line_item.rbi +1 -1
  150. data/rbi/stripe/resources/invoice_payment.rbi +9 -2
  151. data/rbi/stripe/resources/issuing/authorization.rbi +8 -8
  152. data/rbi/stripe/resources/issuing/card.rbi +1 -1
  153. data/rbi/stripe/resources/issuing/dispute.rbi +3 -3
  154. data/rbi/stripe/resources/payment_intent.rbi +201 -349
  155. data/rbi/stripe/resources/payment_method.rbi +46 -116
  156. data/rbi/stripe/resources/payment_method_configuration.rbi +334 -4
  157. data/rbi/stripe/resources/payment_method_domain.rbi +2 -2
  158. data/rbi/stripe/resources/payout.rbi +4 -4
  159. data/rbi/stripe/resources/person.rbi +2 -2
  160. data/rbi/stripe/resources/plan.rbi +2 -4
  161. data/rbi/stripe/resources/price.rbi +1 -1
  162. data/rbi/stripe/resources/product.rbi +1 -3
  163. data/rbi/stripe/resources/radar/value_list.rbi +1 -3
  164. data/rbi/stripe/resources/radar/value_list_item.rbi +1 -3
  165. data/rbi/stripe/resources/refund.rbi +5 -1
  166. data/rbi/stripe/resources/reversal.rbi +1 -1
  167. data/rbi/stripe/resources/review.rbi +1 -1
  168. data/rbi/stripe/resources/setup_intent.rbi +111 -325
  169. data/rbi/stripe/resources/source.rbi +1 -1
  170. data/rbi/stripe/resources/subscription.rbi +99 -36
  171. data/rbi/stripe/resources/subscription_item.rbi +36 -2
  172. data/rbi/stripe/resources/subscription_schedule.rbi +138 -10
  173. data/rbi/stripe/resources/tax/calculation.rbi +5 -1
  174. data/rbi/stripe/resources/tax/calculation_line_item.rbi +3 -0
  175. data/rbi/stripe/resources/tax/registration.rbi +1 -1
  176. data/rbi/stripe/resources/tax_id.rbi +1 -3
  177. data/rbi/stripe/resources/tax_rate.rbi +2 -2
  178. data/rbi/stripe/resources/terminal/configuration.rbi +1 -3
  179. data/rbi/stripe/resources/terminal/location.rbi +2 -4
  180. data/rbi/stripe/resources/terminal/reader.rbi +265 -5
  181. data/rbi/stripe/resources/test_helpers/test_clock.rbi +1 -3
  182. data/rbi/stripe/resources/token.rbi +2 -2
  183. data/rbi/stripe/resources/transfer.rbi +1 -1
  184. data/rbi/stripe/resources/webhook_endpoint.rbi +1 -3
  185. data/rbi/stripe/services/account_external_account_service.rbi +2 -4
  186. data/rbi/stripe/services/account_login_link_service.rbi +1 -1
  187. data/rbi/stripe/services/account_person_service.rbi +1 -3
  188. data/rbi/stripe/services/account_service.rbi +40 -16
  189. data/rbi/stripe/services/account_session_service.rbi +86 -12
  190. data/rbi/stripe/services/apple_pay_domain_service.rbi +1 -3
  191. data/rbi/stripe/services/balance_service.rbi +1 -1
  192. data/rbi/stripe/services/billing/alert_service.rbi +2 -2
  193. data/rbi/stripe/services/charge_service.rbi +4 -4
  194. data/rbi/stripe/services/checkout/session_service.rbi +12 -5
  195. data/rbi/stripe/services/coupon_service.rbi +1 -3
  196. data/rbi/stripe/services/credit_note_service.rbi +7 -8
  197. data/rbi/stripe/services/customer_balance_transaction_service.rbi +3 -3
  198. data/rbi/stripe/services/customer_cash_balance_transaction_service.rbi +2 -2
  199. data/rbi/stripe/services/customer_payment_source_service.rbi +1 -1
  200. data/rbi/stripe/services/customer_service.rbi +3 -7
  201. data/rbi/stripe/services/customer_tax_id_service.rbi +1 -3
  202. data/rbi/stripe/services/dispute_service.rbi +1 -1
  203. data/rbi/stripe/services/file_service.rbi +1 -1
  204. data/rbi/stripe/services/identity/verification_session_service.rbi +5 -5
  205. data/rbi/stripe/services/invoice_item_service.rbi +1 -3
  206. data/rbi/stripe/services/invoice_service.rbi +90 -29
  207. data/rbi/stripe/services/issuing/authorization_service.rbi +4 -4
  208. data/rbi/stripe/services/issuing/card_service.rbi +1 -1
  209. data/rbi/stripe/services/issuing/dispute_service.rbi +2 -2
  210. data/rbi/stripe/services/payment_intent_service.rbi +179 -339
  211. data/rbi/stripe/services/payment_method_configuration_service.rbi +236 -4
  212. data/rbi/stripe/services/payment_method_domain_service.rbi +1 -1
  213. data/rbi/stripe/services/payment_method_service.rbi +43 -113
  214. data/rbi/stripe/services/payout_service.rbi +2 -2
  215. data/rbi/stripe/services/plan_service.rbi +2 -4
  216. data/rbi/stripe/services/price_service.rbi +2 -2
  217. data/rbi/stripe/services/product_feature_service.rbi +1 -3
  218. data/rbi/stripe/services/product_service.rbi +2 -4
  219. data/rbi/stripe/services/promotion_code_service.rbi +1 -1
  220. data/rbi/stripe/services/radar/early_fraud_warning_service.rbi +1 -1
  221. data/rbi/stripe/services/radar/value_list_item_service.rbi +1 -3
  222. data/rbi/stripe/services/radar/value_list_service.rbi +1 -3
  223. data/rbi/stripe/services/setup_intent_service.rbi +110 -324
  224. data/rbi/stripe/services/source_service.rbi +1 -1
  225. data/rbi/stripe/services/subscription_item_service.rbi +28 -2
  226. data/rbi/stripe/services/subscription_schedule_service.rbi +107 -9
  227. data/rbi/stripe/services/subscription_service.rbi +85 -33
  228. data/rbi/stripe/services/tax/calculation_service.rbi +5 -1
  229. data/rbi/stripe/services/tax/registration_service.rbi +1 -1
  230. data/rbi/stripe/services/tax_id_service.rbi +1 -3
  231. data/rbi/stripe/services/terminal/configuration_service.rbi +1 -3
  232. data/rbi/stripe/services/terminal/location_service.rbi +2 -4
  233. data/rbi/stripe/services/terminal/reader_service.rbi +115 -4
  234. data/rbi/stripe/services/test_helpers/confirmation_token_service.rbi +33 -99
  235. data/rbi/stripe/services/test_helpers/terminal/reader_service.rbi +31 -0
  236. data/rbi/stripe/services/test_helpers/test_clock_service.rbi +1 -3
  237. data/rbi/stripe/services/token_service.rbi +1 -1
  238. data/rbi/stripe/services/transfer_service.rbi +1 -1
  239. data/rbi/stripe/services/v2/billing/meter_event_session_service.rbi +1 -3
  240. data/rbi/stripe/services/v2/core/event_destination_service.rbi +4 -12
  241. data/rbi/stripe/services/v2/core/event_service.rbi +1 -3
  242. data/rbi/stripe/services/webhook_endpoint_service.rbi +1 -3
  243. metadata +3 -2
@@ -848,7 +848,7 @@ module Stripe
848
848
  # Attribute for field swish_handle_redirect_or_display_qr_code
849
849
  sig { returns(SwishHandleRedirectOrDisplayQrCode) }
850
850
  attr_reader :swish_handle_redirect_or_display_qr_code
851
- # Type of the next action to perform, one of `redirect_to_url`, `use_stripe_sdk`, `alipay_handle_redirect`, `oxxo_display_details`, or `verify_with_microdeposits`.
851
+ # Type of the next action to perform. Refer to the other child attributes under `next_action` for available values. Examples include: `redirect_to_url`, `use_stripe_sdk`, `alipay_handle_redirect`, `oxxo_display_details`, or `verify_with_microdeposits`.
852
852
  sig { returns(String) }
853
853
  attr_reader :type
854
854
  # When confirming a PaymentIntent with Stripe.js, Stripe.js depends on the contents of this dictionary to invoke authentication flows. The shape of the contents is subject to change and is only intended to be used by Stripe.js.
@@ -1025,7 +1025,11 @@ module Stripe
1025
1025
  sig { returns(String) }
1026
1026
  attr_reader :setup_future_usage
1027
1027
  end
1028
- class Billie < Stripe::StripeObject; end
1028
+ class Billie < Stripe::StripeObject
1029
+ # Controls when the funds will be captured from the customer's account.
1030
+ sig { returns(String) }
1031
+ attr_reader :capture_method
1032
+ end
1029
1033
  class Blik < Stripe::StripeObject
1030
1034
  # Indicates that you intend to make future payments with this PaymentIntent's payment method.
1031
1035
  #
@@ -1532,6 +1536,11 @@ module Stripe
1532
1536
  sig { returns(String) }
1533
1537
  attr_reader :capture_method
1534
1538
  end
1539
+ class Satispay < Stripe::StripeObject
1540
+ # Controls when the funds will be captured from the customer's account.
1541
+ sig { returns(String) }
1542
+ attr_reader :capture_method
1543
+ end
1535
1544
  class SepaDebit < Stripe::StripeObject
1536
1545
  class MandateOptions < Stripe::StripeObject
1537
1546
  # 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'.
@@ -1794,6 +1803,9 @@ module Stripe
1794
1803
  # Attribute for field samsung_pay
1795
1804
  sig { returns(SamsungPay) }
1796
1805
  attr_reader :samsung_pay
1806
+ # Attribute for field satispay
1807
+ sig { returns(Satispay) }
1808
+ attr_reader :satispay
1797
1809
  # Attribute for field sepa_debit
1798
1810
  sig { returns(SepaDebit) }
1799
1811
  attr_reader :sepa_debit
@@ -2094,9 +2106,7 @@ module Stripe
2094
2106
  end
2095
2107
  class MandateData < Stripe::RequestParams
2096
2108
  class CustomerAcceptance < Stripe::RequestParams
2097
- class Offline < Stripe::RequestParams
2098
-
2099
- end
2109
+ class Offline < Stripe::RequestParams; end
2100
2110
  class Online < Stripe::RequestParams
2101
2111
  # The IP address from which the Mandate was accepted by the customer.
2102
2112
  sig { returns(String) }
@@ -2152,21 +2162,11 @@ module Stripe
2152
2162
  }
2153
2163
  def initialize(account_number: nil, institution_number: nil, transit_number: nil); end
2154
2164
  end
2155
- class Affirm < Stripe::RequestParams
2156
-
2157
- end
2158
- class AfterpayClearpay < Stripe::RequestParams
2159
-
2160
- end
2161
- class Alipay < Stripe::RequestParams
2162
-
2163
- end
2164
- class Alma < Stripe::RequestParams
2165
-
2166
- end
2167
- class AmazonPay < Stripe::RequestParams
2168
-
2169
- end
2165
+ class Affirm < Stripe::RequestParams; end
2166
+ class AfterpayClearpay < Stripe::RequestParams; end
2167
+ class Alipay < Stripe::RequestParams; end
2168
+ class Alma < Stripe::RequestParams; end
2169
+ class AmazonPay < Stripe::RequestParams; end
2170
2170
  class AuBecsDebit < Stripe::RequestParams
2171
2171
  # The account number for the bank account.
2172
2172
  sig { returns(String) }
@@ -2187,12 +2187,8 @@ module Stripe
2187
2187
  sig { params(account_number: T.nilable(String), sort_code: T.nilable(String)).void }
2188
2188
  def initialize(account_number: nil, sort_code: nil); end
2189
2189
  end
2190
- class Bancontact < Stripe::RequestParams
2191
-
2192
- end
2193
- class Billie < Stripe::RequestParams
2194
-
2195
- end
2190
+ class Bancontact < Stripe::RequestParams; end
2191
+ class Billie < Stripe::RequestParams; end
2196
2192
  class BillingDetails < Stripe::RequestParams
2197
2193
  class Address < Stripe::RequestParams
2198
2194
  # City, district, suburb, town, or village.
@@ -2247,9 +2243,7 @@ module Stripe
2247
2243
  }
2248
2244
  def initialize(address: nil, email: nil, name: nil, phone: nil, tax_id: nil); end
2249
2245
  end
2250
- class Blik < Stripe::RequestParams
2251
-
2252
- end
2246
+ class Blik < Stripe::RequestParams; end
2253
2247
  class Boleto < Stripe::RequestParams
2254
2248
  # The tax ID of the customer (CPF for individual consumers or CNPJ for businesses consumers)
2255
2249
  sig { returns(String) }
@@ -2257,12 +2251,8 @@ module Stripe
2257
2251
  sig { params(tax_id: String).void }
2258
2252
  def initialize(tax_id: nil); end
2259
2253
  end
2260
- class Cashapp < Stripe::RequestParams
2261
-
2262
- end
2263
- class CustomerBalance < Stripe::RequestParams
2264
-
2265
- end
2254
+ class Cashapp < Stripe::RequestParams; end
2255
+ class CustomerBalance < Stripe::RequestParams; end
2266
2256
  class Eps < Stripe::RequestParams
2267
2257
  # The customer's bank.
2268
2258
  sig { returns(T.nilable(String)) }
@@ -2280,12 +2270,8 @@ module Stripe
2280
2270
  sig { params(account_holder_type: T.nilable(String), bank: String).void }
2281
2271
  def initialize(account_holder_type: nil, bank: nil); end
2282
2272
  end
2283
- class Giropay < Stripe::RequestParams
2284
-
2285
- end
2286
- class Grabpay < Stripe::RequestParams
2287
-
2288
- end
2273
+ class Giropay < Stripe::RequestParams; end
2274
+ class Grabpay < Stripe::RequestParams; end
2289
2275
  class Ideal < Stripe::RequestParams
2290
2276
  # The customer's bank. Only use this parameter for existing customers. Don't use it for new customers.
2291
2277
  sig { returns(T.nilable(String)) }
@@ -2293,12 +2279,8 @@ module Stripe
2293
2279
  sig { params(bank: T.nilable(String)).void }
2294
2280
  def initialize(bank: nil); end
2295
2281
  end
2296
- class InteracPresent < Stripe::RequestParams
2297
-
2298
- end
2299
- class KakaoPay < Stripe::RequestParams
2300
-
2301
- end
2282
+ class InteracPresent < Stripe::RequestParams; end
2283
+ class KakaoPay < Stripe::RequestParams; end
2302
2284
  class Klarna < Stripe::RequestParams
2303
2285
  class Dob < Stripe::RequestParams
2304
2286
  # The day of birth, between 1 and 31.
@@ -2323,21 +2305,11 @@ module Stripe
2323
2305
  }
2324
2306
  def initialize(dob: nil); end
2325
2307
  end
2326
- class Konbini < Stripe::RequestParams
2327
-
2328
- end
2329
- class KrCard < Stripe::RequestParams
2330
-
2331
- end
2332
- class Link < Stripe::RequestParams
2333
-
2334
- end
2335
- class Mobilepay < Stripe::RequestParams
2336
-
2337
- end
2338
- class Multibanco < Stripe::RequestParams
2339
-
2340
- end
2308
+ class Konbini < Stripe::RequestParams; end
2309
+ class KrCard < Stripe::RequestParams; end
2310
+ class Link < Stripe::RequestParams; end
2311
+ class Mobilepay < Stripe::RequestParams; end
2312
+ class Multibanco < Stripe::RequestParams; end
2341
2313
  class NaverPay < Stripe::RequestParams
2342
2314
  # Whether to use Naver Pay points or a card to fund this transaction. If not provided, this defaults to `card`.
2343
2315
  sig { returns(T.nilable(String)) }
@@ -2376,9 +2348,7 @@ module Stripe
2376
2348
  suffix: nil
2377
2349
  ); end
2378
2350
  end
2379
- class Oxxo < Stripe::RequestParams
2380
-
2381
- end
2351
+ class Oxxo < Stripe::RequestParams; end
2382
2352
  class P24 < Stripe::RequestParams
2383
2353
  # The customer's bank.
2384
2354
  sig { returns(T.nilable(String)) }
@@ -2386,24 +2356,12 @@ module Stripe
2386
2356
  sig { params(bank: T.nilable(String)).void }
2387
2357
  def initialize(bank: nil); end
2388
2358
  end
2389
- class PayByBank < Stripe::RequestParams
2390
-
2391
- end
2392
- class Payco < Stripe::RequestParams
2393
-
2394
- end
2395
- class Paynow < Stripe::RequestParams
2396
-
2397
- end
2398
- class Paypal < Stripe::RequestParams
2399
-
2400
- end
2401
- class Pix < Stripe::RequestParams
2402
-
2403
- end
2404
- class Promptpay < Stripe::RequestParams
2405
-
2406
- end
2359
+ class PayByBank < Stripe::RequestParams; end
2360
+ class Payco < Stripe::RequestParams; end
2361
+ class Paynow < Stripe::RequestParams; end
2362
+ class Paypal < Stripe::RequestParams; end
2363
+ class Pix < Stripe::RequestParams; end
2364
+ class Promptpay < Stripe::RequestParams; end
2407
2365
  class RadarOptions < Stripe::RequestParams
2408
2366
  # 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.
2409
2367
  sig { returns(T.nilable(String)) }
@@ -2411,15 +2369,9 @@ module Stripe
2411
2369
  sig { params(session: T.nilable(String)).void }
2412
2370
  def initialize(session: nil); end
2413
2371
  end
2414
- class RevolutPay < Stripe::RequestParams
2415
-
2416
- end
2417
- class SamsungPay < Stripe::RequestParams
2418
-
2419
- end
2420
- class Satispay < Stripe::RequestParams
2421
-
2422
- end
2372
+ class RevolutPay < Stripe::RequestParams; end
2373
+ class SamsungPay < Stripe::RequestParams; end
2374
+ class Satispay < Stripe::RequestParams; end
2423
2375
  class SepaDebit < Stripe::RequestParams
2424
2376
  # IBAN of the bank account.
2425
2377
  sig { returns(String) }
@@ -2434,12 +2386,8 @@ module Stripe
2434
2386
  sig { params(country: String).void }
2435
2387
  def initialize(country: nil); end
2436
2388
  end
2437
- class Swish < Stripe::RequestParams
2438
-
2439
- end
2440
- class Twint < Stripe::RequestParams
2441
-
2442
- end
2389
+ class Swish < Stripe::RequestParams; end
2390
+ class Twint < Stripe::RequestParams; end
2443
2391
  class UsBankAccount < Stripe::RequestParams
2444
2392
  # Account holder type: individual or company.
2445
2393
  sig { returns(T.nilable(String)) }
@@ -2467,12 +2415,8 @@ module Stripe
2467
2415
  routing_number: nil
2468
2416
  ); end
2469
2417
  end
2470
- class WechatPay < Stripe::RequestParams
2471
-
2472
- end
2473
- class Zip < Stripe::RequestParams
2474
-
2475
- end
2418
+ class WechatPay < Stripe::RequestParams; end
2419
+ class Zip < Stripe::RequestParams; end
2476
2420
  # If this is an `acss_debit` PaymentMethod, this hash contains details about the ACSS Debit payment method.
2477
2421
  sig {
2478
2422
  returns(T.nilable(::Stripe::PaymentIntent::CreateParams::PaymentMethodData::AcssDebit))
@@ -3455,9 +3399,7 @@ module Stripe
3455
3399
  sig { params(setup_future_usage: T.nilable(T.nilable(T.any(String, String)))).void }
3456
3400
  def initialize(setup_future_usage: nil); end
3457
3401
  end
3458
- class InteracPresent < Stripe::RequestParams
3459
-
3460
- end
3402
+ class InteracPresent < Stripe::RequestParams; end
3461
3403
  class KakaoPay < Stripe::RequestParams
3462
3404
  # Controls when the funds are captured from the customer's account.
3463
3405
  #
@@ -3712,9 +3654,7 @@ module Stripe
3712
3654
  }
3713
3655
  def initialize(setup_future_usage: nil, tos_shown_and_accepted: nil); end
3714
3656
  end
3715
- class PayByBank < Stripe::RequestParams
3716
-
3717
- end
3657
+ class PayByBank < Stripe::RequestParams; end
3718
3658
  class Payco < Stripe::RequestParams
3719
3659
  # Controls when the funds are captured from the customer's account.
3720
3660
  #
@@ -3847,6 +3787,17 @@ module Stripe
3847
3787
  sig { params(capture_method: T.nilable(T.nilable(String))).void }
3848
3788
  def initialize(capture_method: nil); end
3849
3789
  end
3790
+ class Satispay < Stripe::RequestParams
3791
+ # Controls when the funds are captured from the customer's account.
3792
+ #
3793
+ # 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.
3794
+ #
3795
+ # 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.
3796
+ sig { returns(T.nilable(T.nilable(String))) }
3797
+ attr_accessor :capture_method
3798
+ sig { params(capture_method: T.nilable(T.nilable(String))).void }
3799
+ def initialize(capture_method: nil); end
3800
+ end
3850
3801
  class SepaDebit < Stripe::RequestParams
3851
3802
  class MandateOptions < Stripe::RequestParams
3852
3803
  # 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'.
@@ -4267,6 +4218,11 @@ module Stripe
4267
4218
  returns(T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntent::CreateParams::PaymentMethodOptions::SamsungPay))))
4268
4219
  }
4269
4220
  attr_accessor :samsung_pay
4221
+ # If this is a `satispay` PaymentMethod, this sub-hash contains details about the Satispay payment method options.
4222
+ sig {
4223
+ returns(T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntent::CreateParams::PaymentMethodOptions::Satispay))))
4224
+ }
4225
+ attr_accessor :satispay
4270
4226
  # If this is a `sepa_debit` PaymentIntent, this sub-hash contains details about the SEPA Debit payment method options.
4271
4227
  sig {
4272
4228
  returns(T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntent::CreateParams::PaymentMethodOptions::SepaDebit))))
@@ -4303,7 +4259,7 @@ module Stripe
4303
4259
  }
4304
4260
  attr_accessor :zip
4305
4261
  sig {
4306
- params(acss_debit: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntent::CreateParams::PaymentMethodOptions::AcssDebit))), affirm: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntent::CreateParams::PaymentMethodOptions::Affirm))), afterpay_clearpay: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntent::CreateParams::PaymentMethodOptions::AfterpayClearpay))), alipay: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntent::CreateParams::PaymentMethodOptions::Alipay))), alma: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntent::CreateParams::PaymentMethodOptions::Alma))), amazon_pay: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntent::CreateParams::PaymentMethodOptions::AmazonPay))), au_becs_debit: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntent::CreateParams::PaymentMethodOptions::AuBecsDebit))), bacs_debit: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntent::CreateParams::PaymentMethodOptions::BacsDebit))), bancontact: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntent::CreateParams::PaymentMethodOptions::Bancontact))), billie: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntent::CreateParams::PaymentMethodOptions::Billie))), blik: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntent::CreateParams::PaymentMethodOptions::Blik))), boleto: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntent::CreateParams::PaymentMethodOptions::Boleto))), card: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntent::CreateParams::PaymentMethodOptions::Card))), card_present: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntent::CreateParams::PaymentMethodOptions::CardPresent))), cashapp: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntent::CreateParams::PaymentMethodOptions::Cashapp))), customer_balance: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntent::CreateParams::PaymentMethodOptions::CustomerBalance))), eps: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntent::CreateParams::PaymentMethodOptions::Eps))), fpx: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntent::CreateParams::PaymentMethodOptions::Fpx))), giropay: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntent::CreateParams::PaymentMethodOptions::Giropay))), grabpay: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntent::CreateParams::PaymentMethodOptions::Grabpay))), ideal: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntent::CreateParams::PaymentMethodOptions::Ideal))), interac_present: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntent::CreateParams::PaymentMethodOptions::InteracPresent))), kakao_pay: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntent::CreateParams::PaymentMethodOptions::KakaoPay))), klarna: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntent::CreateParams::PaymentMethodOptions::Klarna))), konbini: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntent::CreateParams::PaymentMethodOptions::Konbini))), kr_card: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntent::CreateParams::PaymentMethodOptions::KrCard))), link: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntent::CreateParams::PaymentMethodOptions::Link))), mobilepay: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntent::CreateParams::PaymentMethodOptions::Mobilepay))), multibanco: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntent::CreateParams::PaymentMethodOptions::Multibanco))), naver_pay: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntent::CreateParams::PaymentMethodOptions::NaverPay))), nz_bank_account: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntent::CreateParams::PaymentMethodOptions::NzBankAccount))), oxxo: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntent::CreateParams::PaymentMethodOptions::Oxxo))), p24: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntent::CreateParams::PaymentMethodOptions::P24))), pay_by_bank: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntent::CreateParams::PaymentMethodOptions::PayByBank))), payco: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntent::CreateParams::PaymentMethodOptions::Payco))), paynow: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntent::CreateParams::PaymentMethodOptions::Paynow))), paypal: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntent::CreateParams::PaymentMethodOptions::Paypal))), pix: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntent::CreateParams::PaymentMethodOptions::Pix))), promptpay: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntent::CreateParams::PaymentMethodOptions::Promptpay))), revolut_pay: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntent::CreateParams::PaymentMethodOptions::RevolutPay))), samsung_pay: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntent::CreateParams::PaymentMethodOptions::SamsungPay))), sepa_debit: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntent::CreateParams::PaymentMethodOptions::SepaDebit))), sofort: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntent::CreateParams::PaymentMethodOptions::Sofort))), swish: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntent::CreateParams::PaymentMethodOptions::Swish))), twint: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntent::CreateParams::PaymentMethodOptions::Twint))), us_bank_account: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntent::CreateParams::PaymentMethodOptions::UsBankAccount))), wechat_pay: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntent::CreateParams::PaymentMethodOptions::WechatPay))), zip: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntent::CreateParams::PaymentMethodOptions::Zip)))).void
4262
+ params(acss_debit: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntent::CreateParams::PaymentMethodOptions::AcssDebit))), affirm: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntent::CreateParams::PaymentMethodOptions::Affirm))), afterpay_clearpay: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntent::CreateParams::PaymentMethodOptions::AfterpayClearpay))), alipay: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntent::CreateParams::PaymentMethodOptions::Alipay))), alma: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntent::CreateParams::PaymentMethodOptions::Alma))), amazon_pay: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntent::CreateParams::PaymentMethodOptions::AmazonPay))), au_becs_debit: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntent::CreateParams::PaymentMethodOptions::AuBecsDebit))), bacs_debit: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntent::CreateParams::PaymentMethodOptions::BacsDebit))), bancontact: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntent::CreateParams::PaymentMethodOptions::Bancontact))), billie: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntent::CreateParams::PaymentMethodOptions::Billie))), blik: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntent::CreateParams::PaymentMethodOptions::Blik))), boleto: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntent::CreateParams::PaymentMethodOptions::Boleto))), card: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntent::CreateParams::PaymentMethodOptions::Card))), card_present: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntent::CreateParams::PaymentMethodOptions::CardPresent))), cashapp: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntent::CreateParams::PaymentMethodOptions::Cashapp))), customer_balance: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntent::CreateParams::PaymentMethodOptions::CustomerBalance))), eps: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntent::CreateParams::PaymentMethodOptions::Eps))), fpx: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntent::CreateParams::PaymentMethodOptions::Fpx))), giropay: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntent::CreateParams::PaymentMethodOptions::Giropay))), grabpay: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntent::CreateParams::PaymentMethodOptions::Grabpay))), ideal: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntent::CreateParams::PaymentMethodOptions::Ideal))), interac_present: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntent::CreateParams::PaymentMethodOptions::InteracPresent))), kakao_pay: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntent::CreateParams::PaymentMethodOptions::KakaoPay))), klarna: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntent::CreateParams::PaymentMethodOptions::Klarna))), konbini: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntent::CreateParams::PaymentMethodOptions::Konbini))), kr_card: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntent::CreateParams::PaymentMethodOptions::KrCard))), link: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntent::CreateParams::PaymentMethodOptions::Link))), mobilepay: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntent::CreateParams::PaymentMethodOptions::Mobilepay))), multibanco: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntent::CreateParams::PaymentMethodOptions::Multibanco))), naver_pay: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntent::CreateParams::PaymentMethodOptions::NaverPay))), nz_bank_account: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntent::CreateParams::PaymentMethodOptions::NzBankAccount))), oxxo: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntent::CreateParams::PaymentMethodOptions::Oxxo))), p24: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntent::CreateParams::PaymentMethodOptions::P24))), pay_by_bank: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntent::CreateParams::PaymentMethodOptions::PayByBank))), payco: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntent::CreateParams::PaymentMethodOptions::Payco))), paynow: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntent::CreateParams::PaymentMethodOptions::Paynow))), paypal: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntent::CreateParams::PaymentMethodOptions::Paypal))), pix: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntent::CreateParams::PaymentMethodOptions::Pix))), promptpay: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntent::CreateParams::PaymentMethodOptions::Promptpay))), revolut_pay: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntent::CreateParams::PaymentMethodOptions::RevolutPay))), samsung_pay: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntent::CreateParams::PaymentMethodOptions::SamsungPay))), satispay: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntent::CreateParams::PaymentMethodOptions::Satispay))), sepa_debit: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntent::CreateParams::PaymentMethodOptions::SepaDebit))), sofort: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntent::CreateParams::PaymentMethodOptions::Sofort))), swish: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntent::CreateParams::PaymentMethodOptions::Swish))), twint: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntent::CreateParams::PaymentMethodOptions::Twint))), us_bank_account: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntent::CreateParams::PaymentMethodOptions::UsBankAccount))), wechat_pay: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntent::CreateParams::PaymentMethodOptions::WechatPay))), zip: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntent::CreateParams::PaymentMethodOptions::Zip)))).void
4307
4263
  }
4308
4264
  def initialize(
4309
4265
  acss_debit: nil,
@@ -4347,6 +4303,7 @@ module Stripe
4347
4303
  promptpay: nil,
4348
4304
  revolut_pay: nil,
4349
4305
  samsung_pay: nil,
4306
+ satispay: nil,
4350
4307
  sepa_debit: nil,
4351
4308
  sofort: nil,
4352
4309
  swish: nil,
@@ -4496,6 +4453,8 @@ module Stripe
4496
4453
  # 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.
4497
4454
  #
4498
4455
  # 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.
4456
+ # 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.
4457
+ # end
4499
4458
  sig { returns(T.nilable(String)) }
4500
4459
  attr_accessor :payment_method
4501
4460
  # The ID of the [payment method configuration](https://stripe.com/docs/api/payment_method_configurations) to use with this PaymentIntent.
@@ -4606,21 +4565,11 @@ module Stripe
4606
4565
  }
4607
4566
  def initialize(account_number: nil, institution_number: nil, transit_number: nil); end
4608
4567
  end
4609
- class Affirm < Stripe::RequestParams
4610
-
4611
- end
4612
- class AfterpayClearpay < Stripe::RequestParams
4613
-
4614
- end
4615
- class Alipay < Stripe::RequestParams
4616
-
4617
- end
4618
- class Alma < Stripe::RequestParams
4619
-
4620
- end
4621
- class AmazonPay < Stripe::RequestParams
4622
-
4623
- end
4568
+ class Affirm < Stripe::RequestParams; end
4569
+ class AfterpayClearpay < Stripe::RequestParams; end
4570
+ class Alipay < Stripe::RequestParams; end
4571
+ class Alma < Stripe::RequestParams; end
4572
+ class AmazonPay < Stripe::RequestParams; end
4624
4573
  class AuBecsDebit < Stripe::RequestParams
4625
4574
  # The account number for the bank account.
4626
4575
  sig { returns(String) }
@@ -4641,12 +4590,8 @@ module Stripe
4641
4590
  sig { params(account_number: T.nilable(String), sort_code: T.nilable(String)).void }
4642
4591
  def initialize(account_number: nil, sort_code: nil); end
4643
4592
  end
4644
- class Bancontact < Stripe::RequestParams
4645
-
4646
- end
4647
- class Billie < Stripe::RequestParams
4648
-
4649
- end
4593
+ class Bancontact < Stripe::RequestParams; end
4594
+ class Billie < Stripe::RequestParams; end
4650
4595
  class BillingDetails < Stripe::RequestParams
4651
4596
  class Address < Stripe::RequestParams
4652
4597
  # City, district, suburb, town, or village.
@@ -4701,9 +4646,7 @@ module Stripe
4701
4646
  }
4702
4647
  def initialize(address: nil, email: nil, name: nil, phone: nil, tax_id: nil); end
4703
4648
  end
4704
- class Blik < Stripe::RequestParams
4705
-
4706
- end
4649
+ class Blik < Stripe::RequestParams; end
4707
4650
  class Boleto < Stripe::RequestParams
4708
4651
  # The tax ID of the customer (CPF for individual consumers or CNPJ for businesses consumers)
4709
4652
  sig { returns(String) }
@@ -4711,12 +4654,8 @@ module Stripe
4711
4654
  sig { params(tax_id: String).void }
4712
4655
  def initialize(tax_id: nil); end
4713
4656
  end
4714
- class Cashapp < Stripe::RequestParams
4715
-
4716
- end
4717
- class CustomerBalance < Stripe::RequestParams
4718
-
4719
- end
4657
+ class Cashapp < Stripe::RequestParams; end
4658
+ class CustomerBalance < Stripe::RequestParams; end
4720
4659
  class Eps < Stripe::RequestParams
4721
4660
  # The customer's bank.
4722
4661
  sig { returns(T.nilable(String)) }
@@ -4734,12 +4673,8 @@ module Stripe
4734
4673
  sig { params(account_holder_type: T.nilable(String), bank: String).void }
4735
4674
  def initialize(account_holder_type: nil, bank: nil); end
4736
4675
  end
4737
- class Giropay < Stripe::RequestParams
4738
-
4739
- end
4740
- class Grabpay < Stripe::RequestParams
4741
-
4742
- end
4676
+ class Giropay < Stripe::RequestParams; end
4677
+ class Grabpay < Stripe::RequestParams; end
4743
4678
  class Ideal < Stripe::RequestParams
4744
4679
  # The customer's bank. Only use this parameter for existing customers. Don't use it for new customers.
4745
4680
  sig { returns(T.nilable(String)) }
@@ -4747,12 +4682,8 @@ module Stripe
4747
4682
  sig { params(bank: T.nilable(String)).void }
4748
4683
  def initialize(bank: nil); end
4749
4684
  end
4750
- class InteracPresent < Stripe::RequestParams
4751
-
4752
- end
4753
- class KakaoPay < Stripe::RequestParams
4754
-
4755
- end
4685
+ class InteracPresent < Stripe::RequestParams; end
4686
+ class KakaoPay < Stripe::RequestParams; end
4756
4687
  class Klarna < Stripe::RequestParams
4757
4688
  class Dob < Stripe::RequestParams
4758
4689
  # The day of birth, between 1 and 31.
@@ -4777,21 +4708,11 @@ module Stripe
4777
4708
  }
4778
4709
  def initialize(dob: nil); end
4779
4710
  end
4780
- class Konbini < Stripe::RequestParams
4781
-
4782
- end
4783
- class KrCard < Stripe::RequestParams
4784
-
4785
- end
4786
- class Link < Stripe::RequestParams
4787
-
4788
- end
4789
- class Mobilepay < Stripe::RequestParams
4790
-
4791
- end
4792
- class Multibanco < Stripe::RequestParams
4793
-
4794
- end
4711
+ class Konbini < Stripe::RequestParams; end
4712
+ class KrCard < Stripe::RequestParams; end
4713
+ class Link < Stripe::RequestParams; end
4714
+ class Mobilepay < Stripe::RequestParams; end
4715
+ class Multibanco < Stripe::RequestParams; end
4795
4716
  class NaverPay < Stripe::RequestParams
4796
4717
  # Whether to use Naver Pay points or a card to fund this transaction. If not provided, this defaults to `card`.
4797
4718
  sig { returns(T.nilable(String)) }
@@ -4830,9 +4751,7 @@ module Stripe
4830
4751
  suffix: nil
4831
4752
  ); end
4832
4753
  end
4833
- class Oxxo < Stripe::RequestParams
4834
-
4835
- end
4754
+ class Oxxo < Stripe::RequestParams; end
4836
4755
  class P24 < Stripe::RequestParams
4837
4756
  # The customer's bank.
4838
4757
  sig { returns(T.nilable(String)) }
@@ -4840,24 +4759,12 @@ module Stripe
4840
4759
  sig { params(bank: T.nilable(String)).void }
4841
4760
  def initialize(bank: nil); end
4842
4761
  end
4843
- class PayByBank < Stripe::RequestParams
4844
-
4845
- end
4846
- class Payco < Stripe::RequestParams
4847
-
4848
- end
4849
- class Paynow < Stripe::RequestParams
4850
-
4851
- end
4852
- class Paypal < Stripe::RequestParams
4853
-
4854
- end
4855
- class Pix < Stripe::RequestParams
4856
-
4857
- end
4858
- class Promptpay < Stripe::RequestParams
4859
-
4860
- end
4762
+ class PayByBank < Stripe::RequestParams; end
4763
+ class Payco < Stripe::RequestParams; end
4764
+ class Paynow < Stripe::RequestParams; end
4765
+ class Paypal < Stripe::RequestParams; end
4766
+ class Pix < Stripe::RequestParams; end
4767
+ class Promptpay < Stripe::RequestParams; end
4861
4768
  class RadarOptions < Stripe::RequestParams
4862
4769
  # 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.
4863
4770
  sig { returns(T.nilable(String)) }
@@ -4865,15 +4772,9 @@ module Stripe
4865
4772
  sig { params(session: T.nilable(String)).void }
4866
4773
  def initialize(session: nil); end
4867
4774
  end
4868
- class RevolutPay < Stripe::RequestParams
4869
-
4870
- end
4871
- class SamsungPay < Stripe::RequestParams
4872
-
4873
- end
4874
- class Satispay < Stripe::RequestParams
4875
-
4876
- end
4775
+ class RevolutPay < Stripe::RequestParams; end
4776
+ class SamsungPay < Stripe::RequestParams; end
4777
+ class Satispay < Stripe::RequestParams; end
4877
4778
  class SepaDebit < Stripe::RequestParams
4878
4779
  # IBAN of the bank account.
4879
4780
  sig { returns(String) }
@@ -4888,12 +4789,8 @@ module Stripe
4888
4789
  sig { params(country: String).void }
4889
4790
  def initialize(country: nil); end
4890
4791
  end
4891
- class Swish < Stripe::RequestParams
4892
-
4893
- end
4894
- class Twint < Stripe::RequestParams
4895
-
4896
- end
4792
+ class Swish < Stripe::RequestParams; end
4793
+ class Twint < Stripe::RequestParams; end
4897
4794
  class UsBankAccount < Stripe::RequestParams
4898
4795
  # Account holder type: individual or company.
4899
4796
  sig { returns(T.nilable(String)) }
@@ -4921,12 +4818,8 @@ module Stripe
4921
4818
  routing_number: nil
4922
4819
  ); end
4923
4820
  end
4924
- class WechatPay < Stripe::RequestParams
4925
-
4926
- end
4927
- class Zip < Stripe::RequestParams
4928
-
4929
- end
4821
+ class WechatPay < Stripe::RequestParams; end
4822
+ class Zip < Stripe::RequestParams; end
4930
4823
  # If this is an `acss_debit` PaymentMethod, this hash contains details about the ACSS Debit payment method.
4931
4824
  sig {
4932
4825
  returns(T.nilable(::Stripe::PaymentIntent::UpdateParams::PaymentMethodData::AcssDebit))
@@ -5909,9 +5802,7 @@ module Stripe
5909
5802
  sig { params(setup_future_usage: T.nilable(T.nilable(T.any(String, String)))).void }
5910
5803
  def initialize(setup_future_usage: nil); end
5911
5804
  end
5912
- class InteracPresent < Stripe::RequestParams
5913
-
5914
- end
5805
+ class InteracPresent < Stripe::RequestParams; end
5915
5806
  class KakaoPay < Stripe::RequestParams
5916
5807
  # Controls when the funds are captured from the customer's account.
5917
5808
  #
@@ -6166,9 +6057,7 @@ module Stripe
6166
6057
  }
6167
6058
  def initialize(setup_future_usage: nil, tos_shown_and_accepted: nil); end
6168
6059
  end
6169
- class PayByBank < Stripe::RequestParams
6170
-
6171
- end
6060
+ class PayByBank < Stripe::RequestParams; end
6172
6061
  class Payco < Stripe::RequestParams
6173
6062
  # Controls when the funds are captured from the customer's account.
6174
6063
  #
@@ -6301,6 +6190,17 @@ module Stripe
6301
6190
  sig { params(capture_method: T.nilable(T.nilable(String))).void }
6302
6191
  def initialize(capture_method: nil); end
6303
6192
  end
6193
+ class Satispay < Stripe::RequestParams
6194
+ # Controls when the funds are captured from the customer's account.
6195
+ #
6196
+ # 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.
6197
+ #
6198
+ # 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.
6199
+ sig { returns(T.nilable(T.nilable(String))) }
6200
+ attr_accessor :capture_method
6201
+ sig { params(capture_method: T.nilable(T.nilable(String))).void }
6202
+ def initialize(capture_method: nil); end
6203
+ end
6304
6204
  class SepaDebit < Stripe::RequestParams
6305
6205
  class MandateOptions < Stripe::RequestParams
6306
6206
  # 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'.
@@ -6721,6 +6621,11 @@ module Stripe
6721
6621
  returns(T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntent::UpdateParams::PaymentMethodOptions::SamsungPay))))
6722
6622
  }
6723
6623
  attr_accessor :samsung_pay
6624
+ # If this is a `satispay` PaymentMethod, this sub-hash contains details about the Satispay payment method options.
6625
+ sig {
6626
+ returns(T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntent::UpdateParams::PaymentMethodOptions::Satispay))))
6627
+ }
6628
+ attr_accessor :satispay
6724
6629
  # If this is a `sepa_debit` PaymentIntent, this sub-hash contains details about the SEPA Debit payment method options.
6725
6630
  sig {
6726
6631
  returns(T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntent::UpdateParams::PaymentMethodOptions::SepaDebit))))
@@ -6757,7 +6662,7 @@ module Stripe
6757
6662
  }
6758
6663
  attr_accessor :zip
6759
6664
  sig {
6760
- params(acss_debit: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntent::UpdateParams::PaymentMethodOptions::AcssDebit))), affirm: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntent::UpdateParams::PaymentMethodOptions::Affirm))), afterpay_clearpay: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntent::UpdateParams::PaymentMethodOptions::AfterpayClearpay))), alipay: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntent::UpdateParams::PaymentMethodOptions::Alipay))), alma: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntent::UpdateParams::PaymentMethodOptions::Alma))), amazon_pay: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntent::UpdateParams::PaymentMethodOptions::AmazonPay))), au_becs_debit: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntent::UpdateParams::PaymentMethodOptions::AuBecsDebit))), bacs_debit: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntent::UpdateParams::PaymentMethodOptions::BacsDebit))), bancontact: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntent::UpdateParams::PaymentMethodOptions::Bancontact))), billie: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntent::UpdateParams::PaymentMethodOptions::Billie))), blik: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntent::UpdateParams::PaymentMethodOptions::Blik))), boleto: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntent::UpdateParams::PaymentMethodOptions::Boleto))), card: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntent::UpdateParams::PaymentMethodOptions::Card))), card_present: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntent::UpdateParams::PaymentMethodOptions::CardPresent))), cashapp: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntent::UpdateParams::PaymentMethodOptions::Cashapp))), customer_balance: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntent::UpdateParams::PaymentMethodOptions::CustomerBalance))), eps: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntent::UpdateParams::PaymentMethodOptions::Eps))), fpx: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntent::UpdateParams::PaymentMethodOptions::Fpx))), giropay: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntent::UpdateParams::PaymentMethodOptions::Giropay))), grabpay: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntent::UpdateParams::PaymentMethodOptions::Grabpay))), ideal: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntent::UpdateParams::PaymentMethodOptions::Ideal))), interac_present: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntent::UpdateParams::PaymentMethodOptions::InteracPresent))), kakao_pay: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntent::UpdateParams::PaymentMethodOptions::KakaoPay))), klarna: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntent::UpdateParams::PaymentMethodOptions::Klarna))), konbini: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntent::UpdateParams::PaymentMethodOptions::Konbini))), kr_card: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntent::UpdateParams::PaymentMethodOptions::KrCard))), link: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntent::UpdateParams::PaymentMethodOptions::Link))), mobilepay: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntent::UpdateParams::PaymentMethodOptions::Mobilepay))), multibanco: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntent::UpdateParams::PaymentMethodOptions::Multibanco))), naver_pay: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntent::UpdateParams::PaymentMethodOptions::NaverPay))), nz_bank_account: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntent::UpdateParams::PaymentMethodOptions::NzBankAccount))), oxxo: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntent::UpdateParams::PaymentMethodOptions::Oxxo))), p24: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntent::UpdateParams::PaymentMethodOptions::P24))), pay_by_bank: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntent::UpdateParams::PaymentMethodOptions::PayByBank))), payco: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntent::UpdateParams::PaymentMethodOptions::Payco))), paynow: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntent::UpdateParams::PaymentMethodOptions::Paynow))), paypal: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntent::UpdateParams::PaymentMethodOptions::Paypal))), pix: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntent::UpdateParams::PaymentMethodOptions::Pix))), promptpay: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntent::UpdateParams::PaymentMethodOptions::Promptpay))), revolut_pay: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntent::UpdateParams::PaymentMethodOptions::RevolutPay))), samsung_pay: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntent::UpdateParams::PaymentMethodOptions::SamsungPay))), sepa_debit: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntent::UpdateParams::PaymentMethodOptions::SepaDebit))), sofort: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntent::UpdateParams::PaymentMethodOptions::Sofort))), swish: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntent::UpdateParams::PaymentMethodOptions::Swish))), twint: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntent::UpdateParams::PaymentMethodOptions::Twint))), us_bank_account: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntent::UpdateParams::PaymentMethodOptions::UsBankAccount))), wechat_pay: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntent::UpdateParams::PaymentMethodOptions::WechatPay))), zip: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntent::UpdateParams::PaymentMethodOptions::Zip)))).void
6665
+ params(acss_debit: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntent::UpdateParams::PaymentMethodOptions::AcssDebit))), affirm: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntent::UpdateParams::PaymentMethodOptions::Affirm))), afterpay_clearpay: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntent::UpdateParams::PaymentMethodOptions::AfterpayClearpay))), alipay: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntent::UpdateParams::PaymentMethodOptions::Alipay))), alma: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntent::UpdateParams::PaymentMethodOptions::Alma))), amazon_pay: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntent::UpdateParams::PaymentMethodOptions::AmazonPay))), au_becs_debit: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntent::UpdateParams::PaymentMethodOptions::AuBecsDebit))), bacs_debit: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntent::UpdateParams::PaymentMethodOptions::BacsDebit))), bancontact: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntent::UpdateParams::PaymentMethodOptions::Bancontact))), billie: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntent::UpdateParams::PaymentMethodOptions::Billie))), blik: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntent::UpdateParams::PaymentMethodOptions::Blik))), boleto: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntent::UpdateParams::PaymentMethodOptions::Boleto))), card: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntent::UpdateParams::PaymentMethodOptions::Card))), card_present: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntent::UpdateParams::PaymentMethodOptions::CardPresent))), cashapp: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntent::UpdateParams::PaymentMethodOptions::Cashapp))), customer_balance: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntent::UpdateParams::PaymentMethodOptions::CustomerBalance))), eps: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntent::UpdateParams::PaymentMethodOptions::Eps))), fpx: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntent::UpdateParams::PaymentMethodOptions::Fpx))), giropay: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntent::UpdateParams::PaymentMethodOptions::Giropay))), grabpay: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntent::UpdateParams::PaymentMethodOptions::Grabpay))), ideal: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntent::UpdateParams::PaymentMethodOptions::Ideal))), interac_present: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntent::UpdateParams::PaymentMethodOptions::InteracPresent))), kakao_pay: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntent::UpdateParams::PaymentMethodOptions::KakaoPay))), klarna: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntent::UpdateParams::PaymentMethodOptions::Klarna))), konbini: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntent::UpdateParams::PaymentMethodOptions::Konbini))), kr_card: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntent::UpdateParams::PaymentMethodOptions::KrCard))), link: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntent::UpdateParams::PaymentMethodOptions::Link))), mobilepay: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntent::UpdateParams::PaymentMethodOptions::Mobilepay))), multibanco: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntent::UpdateParams::PaymentMethodOptions::Multibanco))), naver_pay: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntent::UpdateParams::PaymentMethodOptions::NaverPay))), nz_bank_account: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntent::UpdateParams::PaymentMethodOptions::NzBankAccount))), oxxo: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntent::UpdateParams::PaymentMethodOptions::Oxxo))), p24: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntent::UpdateParams::PaymentMethodOptions::P24))), pay_by_bank: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntent::UpdateParams::PaymentMethodOptions::PayByBank))), payco: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntent::UpdateParams::PaymentMethodOptions::Payco))), paynow: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntent::UpdateParams::PaymentMethodOptions::Paynow))), paypal: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntent::UpdateParams::PaymentMethodOptions::Paypal))), pix: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntent::UpdateParams::PaymentMethodOptions::Pix))), promptpay: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntent::UpdateParams::PaymentMethodOptions::Promptpay))), revolut_pay: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntent::UpdateParams::PaymentMethodOptions::RevolutPay))), samsung_pay: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntent::UpdateParams::PaymentMethodOptions::SamsungPay))), satispay: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntent::UpdateParams::PaymentMethodOptions::Satispay))), sepa_debit: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntent::UpdateParams::PaymentMethodOptions::SepaDebit))), sofort: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntent::UpdateParams::PaymentMethodOptions::Sofort))), swish: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntent::UpdateParams::PaymentMethodOptions::Swish))), twint: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntent::UpdateParams::PaymentMethodOptions::Twint))), us_bank_account: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntent::UpdateParams::PaymentMethodOptions::UsBankAccount))), wechat_pay: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntent::UpdateParams::PaymentMethodOptions::WechatPay))), zip: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntent::UpdateParams::PaymentMethodOptions::Zip)))).void
6761
6666
  }
6762
6667
  def initialize(
6763
6668
  acss_debit: nil,
@@ -6801,6 +6706,7 @@ module Stripe
6801
6706
  promptpay: nil,
6802
6707
  revolut_pay: nil,
6803
6708
  samsung_pay: nil,
6709
+ satispay: nil,
6804
6710
  sepa_debit: nil,
6805
6711
  sofort: nil,
6806
6712
  swish: nil,
@@ -7074,9 +6980,7 @@ module Stripe
7074
6980
  class ConfirmParams < Stripe::RequestParams
7075
6981
  class MandateData < Stripe::RequestParams
7076
6982
  class CustomerAcceptance < Stripe::RequestParams
7077
- class Offline < Stripe::RequestParams
7078
-
7079
- end
6983
+ class Offline < Stripe::RequestParams; end
7080
6984
  class Online < Stripe::RequestParams
7081
6985
  # The IP address from which the Mandate was accepted by the customer.
7082
6986
  sig { returns(T.nilable(String)) }
@@ -7134,21 +7038,11 @@ module Stripe
7134
7038
  }
7135
7039
  def initialize(account_number: nil, institution_number: nil, transit_number: nil); end
7136
7040
  end
7137
- class Affirm < Stripe::RequestParams
7138
-
7139
- end
7140
- class AfterpayClearpay < Stripe::RequestParams
7141
-
7142
- end
7143
- class Alipay < Stripe::RequestParams
7144
-
7145
- end
7146
- class Alma < Stripe::RequestParams
7147
-
7148
- end
7149
- class AmazonPay < Stripe::RequestParams
7150
-
7151
- end
7041
+ class Affirm < Stripe::RequestParams; end
7042
+ class AfterpayClearpay < Stripe::RequestParams; end
7043
+ class Alipay < Stripe::RequestParams; end
7044
+ class Alma < Stripe::RequestParams; end
7045
+ class AmazonPay < Stripe::RequestParams; end
7152
7046
  class AuBecsDebit < Stripe::RequestParams
7153
7047
  # The account number for the bank account.
7154
7048
  sig { returns(String) }
@@ -7169,12 +7063,8 @@ module Stripe
7169
7063
  sig { params(account_number: T.nilable(String), sort_code: T.nilable(String)).void }
7170
7064
  def initialize(account_number: nil, sort_code: nil); end
7171
7065
  end
7172
- class Bancontact < Stripe::RequestParams
7173
-
7174
- end
7175
- class Billie < Stripe::RequestParams
7176
-
7177
- end
7066
+ class Bancontact < Stripe::RequestParams; end
7067
+ class Billie < Stripe::RequestParams; end
7178
7068
  class BillingDetails < Stripe::RequestParams
7179
7069
  class Address < Stripe::RequestParams
7180
7070
  # City, district, suburb, town, or village.
@@ -7229,9 +7119,7 @@ module Stripe
7229
7119
  }
7230
7120
  def initialize(address: nil, email: nil, name: nil, phone: nil, tax_id: nil); end
7231
7121
  end
7232
- class Blik < Stripe::RequestParams
7233
-
7234
- end
7122
+ class Blik < Stripe::RequestParams; end
7235
7123
  class Boleto < Stripe::RequestParams
7236
7124
  # The tax ID of the customer (CPF for individual consumers or CNPJ for businesses consumers)
7237
7125
  sig { returns(String) }
@@ -7239,12 +7127,8 @@ module Stripe
7239
7127
  sig { params(tax_id: String).void }
7240
7128
  def initialize(tax_id: nil); end
7241
7129
  end
7242
- class Cashapp < Stripe::RequestParams
7243
-
7244
- end
7245
- class CustomerBalance < Stripe::RequestParams
7246
-
7247
- end
7130
+ class Cashapp < Stripe::RequestParams; end
7131
+ class CustomerBalance < Stripe::RequestParams; end
7248
7132
  class Eps < Stripe::RequestParams
7249
7133
  # The customer's bank.
7250
7134
  sig { returns(T.nilable(String)) }
@@ -7262,12 +7146,8 @@ module Stripe
7262
7146
  sig { params(account_holder_type: T.nilable(String), bank: String).void }
7263
7147
  def initialize(account_holder_type: nil, bank: nil); end
7264
7148
  end
7265
- class Giropay < Stripe::RequestParams
7266
-
7267
- end
7268
- class Grabpay < Stripe::RequestParams
7269
-
7270
- end
7149
+ class Giropay < Stripe::RequestParams; end
7150
+ class Grabpay < Stripe::RequestParams; end
7271
7151
  class Ideal < Stripe::RequestParams
7272
7152
  # The customer's bank. Only use this parameter for existing customers. Don't use it for new customers.
7273
7153
  sig { returns(T.nilable(String)) }
@@ -7275,12 +7155,8 @@ module Stripe
7275
7155
  sig { params(bank: T.nilable(String)).void }
7276
7156
  def initialize(bank: nil); end
7277
7157
  end
7278
- class InteracPresent < Stripe::RequestParams
7279
-
7280
- end
7281
- class KakaoPay < Stripe::RequestParams
7282
-
7283
- end
7158
+ class InteracPresent < Stripe::RequestParams; end
7159
+ class KakaoPay < Stripe::RequestParams; end
7284
7160
  class Klarna < Stripe::RequestParams
7285
7161
  class Dob < Stripe::RequestParams
7286
7162
  # The day of birth, between 1 and 31.
@@ -7305,21 +7181,11 @@ module Stripe
7305
7181
  }
7306
7182
  def initialize(dob: nil); end
7307
7183
  end
7308
- class Konbini < Stripe::RequestParams
7309
-
7310
- end
7311
- class KrCard < Stripe::RequestParams
7312
-
7313
- end
7314
- class Link < Stripe::RequestParams
7315
-
7316
- end
7317
- class Mobilepay < Stripe::RequestParams
7318
-
7319
- end
7320
- class Multibanco < Stripe::RequestParams
7321
-
7322
- end
7184
+ class Konbini < Stripe::RequestParams; end
7185
+ class KrCard < Stripe::RequestParams; end
7186
+ class Link < Stripe::RequestParams; end
7187
+ class Mobilepay < Stripe::RequestParams; end
7188
+ class Multibanco < Stripe::RequestParams; end
7323
7189
  class NaverPay < Stripe::RequestParams
7324
7190
  # Whether to use Naver Pay points or a card to fund this transaction. If not provided, this defaults to `card`.
7325
7191
  sig { returns(T.nilable(String)) }
@@ -7358,9 +7224,7 @@ module Stripe
7358
7224
  suffix: nil
7359
7225
  ); end
7360
7226
  end
7361
- class Oxxo < Stripe::RequestParams
7362
-
7363
- end
7227
+ class Oxxo < Stripe::RequestParams; end
7364
7228
  class P24 < Stripe::RequestParams
7365
7229
  # The customer's bank.
7366
7230
  sig { returns(T.nilable(String)) }
@@ -7368,24 +7232,12 @@ module Stripe
7368
7232
  sig { params(bank: T.nilable(String)).void }
7369
7233
  def initialize(bank: nil); end
7370
7234
  end
7371
- class PayByBank < Stripe::RequestParams
7372
-
7373
- end
7374
- class Payco < Stripe::RequestParams
7375
-
7376
- end
7377
- class Paynow < Stripe::RequestParams
7378
-
7379
- end
7380
- class Paypal < Stripe::RequestParams
7381
-
7382
- end
7383
- class Pix < Stripe::RequestParams
7384
-
7385
- end
7386
- class Promptpay < Stripe::RequestParams
7387
-
7388
- end
7235
+ class PayByBank < Stripe::RequestParams; end
7236
+ class Payco < Stripe::RequestParams; end
7237
+ class Paynow < Stripe::RequestParams; end
7238
+ class Paypal < Stripe::RequestParams; end
7239
+ class Pix < Stripe::RequestParams; end
7240
+ class Promptpay < Stripe::RequestParams; end
7389
7241
  class RadarOptions < Stripe::RequestParams
7390
7242
  # 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.
7391
7243
  sig { returns(T.nilable(String)) }
@@ -7393,15 +7245,9 @@ module Stripe
7393
7245
  sig { params(session: T.nilable(String)).void }
7394
7246
  def initialize(session: nil); end
7395
7247
  end
7396
- class RevolutPay < Stripe::RequestParams
7397
-
7398
- end
7399
- class SamsungPay < Stripe::RequestParams
7400
-
7401
- end
7402
- class Satispay < Stripe::RequestParams
7403
-
7404
- end
7248
+ class RevolutPay < Stripe::RequestParams; end
7249
+ class SamsungPay < Stripe::RequestParams; end
7250
+ class Satispay < Stripe::RequestParams; end
7405
7251
  class SepaDebit < Stripe::RequestParams
7406
7252
  # IBAN of the bank account.
7407
7253
  sig { returns(String) }
@@ -7416,12 +7262,8 @@ module Stripe
7416
7262
  sig { params(country: String).void }
7417
7263
  def initialize(country: nil); end
7418
7264
  end
7419
- class Swish < Stripe::RequestParams
7420
-
7421
- end
7422
- class Twint < Stripe::RequestParams
7423
-
7424
- end
7265
+ class Swish < Stripe::RequestParams; end
7266
+ class Twint < Stripe::RequestParams; end
7425
7267
  class UsBankAccount < Stripe::RequestParams
7426
7268
  # Account holder type: individual or company.
7427
7269
  sig { returns(T.nilable(String)) }
@@ -7449,12 +7291,8 @@ module Stripe
7449
7291
  routing_number: nil
7450
7292
  ); end
7451
7293
  end
7452
- class WechatPay < Stripe::RequestParams
7453
-
7454
- end
7455
- class Zip < Stripe::RequestParams
7456
-
7457
- end
7294
+ class WechatPay < Stripe::RequestParams; end
7295
+ class Zip < Stripe::RequestParams; end
7458
7296
  # If this is an `acss_debit` PaymentMethod, this hash contains details about the ACSS Debit payment method.
7459
7297
  sig {
7460
7298
  returns(T.nilable(::Stripe::PaymentIntent::ConfirmParams::PaymentMethodData::AcssDebit))
@@ -8455,9 +8293,7 @@ module Stripe
8455
8293
  sig { params(setup_future_usage: T.nilable(T.nilable(T.any(String, String)))).void }
8456
8294
  def initialize(setup_future_usage: nil); end
8457
8295
  end
8458
- class InteracPresent < Stripe::RequestParams
8459
-
8460
- end
8296
+ class InteracPresent < Stripe::RequestParams; end
8461
8297
  class KakaoPay < Stripe::RequestParams
8462
8298
  # Controls when the funds are captured from the customer's account.
8463
8299
  #
@@ -8712,9 +8548,7 @@ module Stripe
8712
8548
  }
8713
8549
  def initialize(setup_future_usage: nil, tos_shown_and_accepted: nil); end
8714
8550
  end
8715
- class PayByBank < Stripe::RequestParams
8716
-
8717
- end
8551
+ class PayByBank < Stripe::RequestParams; end
8718
8552
  class Payco < Stripe::RequestParams
8719
8553
  # Controls when the funds are captured from the customer's account.
8720
8554
  #
@@ -8847,6 +8681,17 @@ module Stripe
8847
8681
  sig { params(capture_method: T.nilable(T.nilable(String))).void }
8848
8682
  def initialize(capture_method: nil); end
8849
8683
  end
8684
+ class Satispay < Stripe::RequestParams
8685
+ # Controls when the funds are captured from the customer's account.
8686
+ #
8687
+ # 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.
8688
+ #
8689
+ # 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.
8690
+ sig { returns(T.nilable(T.nilable(String))) }
8691
+ attr_accessor :capture_method
8692
+ sig { params(capture_method: T.nilable(T.nilable(String))).void }
8693
+ def initialize(capture_method: nil); end
8694
+ end
8850
8695
  class SepaDebit < Stripe::RequestParams
8851
8696
  class MandateOptions < Stripe::RequestParams
8852
8697
  # 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'.
@@ -9267,6 +9112,11 @@ module Stripe
9267
9112
  returns(T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntent::ConfirmParams::PaymentMethodOptions::SamsungPay))))
9268
9113
  }
9269
9114
  attr_accessor :samsung_pay
9115
+ # If this is a `satispay` PaymentMethod, this sub-hash contains details about the Satispay payment method options.
9116
+ sig {
9117
+ returns(T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntent::ConfirmParams::PaymentMethodOptions::Satispay))))
9118
+ }
9119
+ attr_accessor :satispay
9270
9120
  # If this is a `sepa_debit` PaymentIntent, this sub-hash contains details about the SEPA Debit payment method options.
9271
9121
  sig {
9272
9122
  returns(T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntent::ConfirmParams::PaymentMethodOptions::SepaDebit))))
@@ -9303,7 +9153,7 @@ module Stripe
9303
9153
  }
9304
9154
  attr_accessor :zip
9305
9155
  sig {
9306
- params(acss_debit: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntent::ConfirmParams::PaymentMethodOptions::AcssDebit))), affirm: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntent::ConfirmParams::PaymentMethodOptions::Affirm))), afterpay_clearpay: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntent::ConfirmParams::PaymentMethodOptions::AfterpayClearpay))), alipay: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntent::ConfirmParams::PaymentMethodOptions::Alipay))), alma: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntent::ConfirmParams::PaymentMethodOptions::Alma))), amazon_pay: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntent::ConfirmParams::PaymentMethodOptions::AmazonPay))), au_becs_debit: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntent::ConfirmParams::PaymentMethodOptions::AuBecsDebit))), bacs_debit: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntent::ConfirmParams::PaymentMethodOptions::BacsDebit))), bancontact: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntent::ConfirmParams::PaymentMethodOptions::Bancontact))), billie: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntent::ConfirmParams::PaymentMethodOptions::Billie))), blik: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntent::ConfirmParams::PaymentMethodOptions::Blik))), boleto: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntent::ConfirmParams::PaymentMethodOptions::Boleto))), card: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntent::ConfirmParams::PaymentMethodOptions::Card))), card_present: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntent::ConfirmParams::PaymentMethodOptions::CardPresent))), cashapp: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntent::ConfirmParams::PaymentMethodOptions::Cashapp))), customer_balance: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntent::ConfirmParams::PaymentMethodOptions::CustomerBalance))), eps: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntent::ConfirmParams::PaymentMethodOptions::Eps))), fpx: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntent::ConfirmParams::PaymentMethodOptions::Fpx))), giropay: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntent::ConfirmParams::PaymentMethodOptions::Giropay))), grabpay: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntent::ConfirmParams::PaymentMethodOptions::Grabpay))), ideal: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntent::ConfirmParams::PaymentMethodOptions::Ideal))), interac_present: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntent::ConfirmParams::PaymentMethodOptions::InteracPresent))), kakao_pay: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntent::ConfirmParams::PaymentMethodOptions::KakaoPay))), klarna: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntent::ConfirmParams::PaymentMethodOptions::Klarna))), konbini: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntent::ConfirmParams::PaymentMethodOptions::Konbini))), kr_card: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntent::ConfirmParams::PaymentMethodOptions::KrCard))), link: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntent::ConfirmParams::PaymentMethodOptions::Link))), mobilepay: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntent::ConfirmParams::PaymentMethodOptions::Mobilepay))), multibanco: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntent::ConfirmParams::PaymentMethodOptions::Multibanco))), naver_pay: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntent::ConfirmParams::PaymentMethodOptions::NaverPay))), nz_bank_account: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntent::ConfirmParams::PaymentMethodOptions::NzBankAccount))), oxxo: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntent::ConfirmParams::PaymentMethodOptions::Oxxo))), p24: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntent::ConfirmParams::PaymentMethodOptions::P24))), pay_by_bank: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntent::ConfirmParams::PaymentMethodOptions::PayByBank))), payco: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntent::ConfirmParams::PaymentMethodOptions::Payco))), paynow: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntent::ConfirmParams::PaymentMethodOptions::Paynow))), paypal: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntent::ConfirmParams::PaymentMethodOptions::Paypal))), pix: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntent::ConfirmParams::PaymentMethodOptions::Pix))), promptpay: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntent::ConfirmParams::PaymentMethodOptions::Promptpay))), revolut_pay: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntent::ConfirmParams::PaymentMethodOptions::RevolutPay))), samsung_pay: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntent::ConfirmParams::PaymentMethodOptions::SamsungPay))), sepa_debit: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntent::ConfirmParams::PaymentMethodOptions::SepaDebit))), sofort: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntent::ConfirmParams::PaymentMethodOptions::Sofort))), swish: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntent::ConfirmParams::PaymentMethodOptions::Swish))), twint: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntent::ConfirmParams::PaymentMethodOptions::Twint))), us_bank_account: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntent::ConfirmParams::PaymentMethodOptions::UsBankAccount))), wechat_pay: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntent::ConfirmParams::PaymentMethodOptions::WechatPay))), zip: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntent::ConfirmParams::PaymentMethodOptions::Zip)))).void
9156
+ params(acss_debit: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntent::ConfirmParams::PaymentMethodOptions::AcssDebit))), affirm: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntent::ConfirmParams::PaymentMethodOptions::Affirm))), afterpay_clearpay: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntent::ConfirmParams::PaymentMethodOptions::AfterpayClearpay))), alipay: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntent::ConfirmParams::PaymentMethodOptions::Alipay))), alma: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntent::ConfirmParams::PaymentMethodOptions::Alma))), amazon_pay: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntent::ConfirmParams::PaymentMethodOptions::AmazonPay))), au_becs_debit: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntent::ConfirmParams::PaymentMethodOptions::AuBecsDebit))), bacs_debit: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntent::ConfirmParams::PaymentMethodOptions::BacsDebit))), bancontact: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntent::ConfirmParams::PaymentMethodOptions::Bancontact))), billie: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntent::ConfirmParams::PaymentMethodOptions::Billie))), blik: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntent::ConfirmParams::PaymentMethodOptions::Blik))), boleto: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntent::ConfirmParams::PaymentMethodOptions::Boleto))), card: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntent::ConfirmParams::PaymentMethodOptions::Card))), card_present: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntent::ConfirmParams::PaymentMethodOptions::CardPresent))), cashapp: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntent::ConfirmParams::PaymentMethodOptions::Cashapp))), customer_balance: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntent::ConfirmParams::PaymentMethodOptions::CustomerBalance))), eps: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntent::ConfirmParams::PaymentMethodOptions::Eps))), fpx: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntent::ConfirmParams::PaymentMethodOptions::Fpx))), giropay: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntent::ConfirmParams::PaymentMethodOptions::Giropay))), grabpay: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntent::ConfirmParams::PaymentMethodOptions::Grabpay))), ideal: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntent::ConfirmParams::PaymentMethodOptions::Ideal))), interac_present: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntent::ConfirmParams::PaymentMethodOptions::InteracPresent))), kakao_pay: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntent::ConfirmParams::PaymentMethodOptions::KakaoPay))), klarna: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntent::ConfirmParams::PaymentMethodOptions::Klarna))), konbini: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntent::ConfirmParams::PaymentMethodOptions::Konbini))), kr_card: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntent::ConfirmParams::PaymentMethodOptions::KrCard))), link: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntent::ConfirmParams::PaymentMethodOptions::Link))), mobilepay: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntent::ConfirmParams::PaymentMethodOptions::Mobilepay))), multibanco: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntent::ConfirmParams::PaymentMethodOptions::Multibanco))), naver_pay: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntent::ConfirmParams::PaymentMethodOptions::NaverPay))), nz_bank_account: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntent::ConfirmParams::PaymentMethodOptions::NzBankAccount))), oxxo: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntent::ConfirmParams::PaymentMethodOptions::Oxxo))), p24: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntent::ConfirmParams::PaymentMethodOptions::P24))), pay_by_bank: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntent::ConfirmParams::PaymentMethodOptions::PayByBank))), payco: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntent::ConfirmParams::PaymentMethodOptions::Payco))), paynow: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntent::ConfirmParams::PaymentMethodOptions::Paynow))), paypal: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntent::ConfirmParams::PaymentMethodOptions::Paypal))), pix: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntent::ConfirmParams::PaymentMethodOptions::Pix))), promptpay: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntent::ConfirmParams::PaymentMethodOptions::Promptpay))), revolut_pay: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntent::ConfirmParams::PaymentMethodOptions::RevolutPay))), samsung_pay: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntent::ConfirmParams::PaymentMethodOptions::SamsungPay))), satispay: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntent::ConfirmParams::PaymentMethodOptions::Satispay))), sepa_debit: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntent::ConfirmParams::PaymentMethodOptions::SepaDebit))), sofort: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntent::ConfirmParams::PaymentMethodOptions::Sofort))), swish: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntent::ConfirmParams::PaymentMethodOptions::Swish))), twint: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntent::ConfirmParams::PaymentMethodOptions::Twint))), us_bank_account: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntent::ConfirmParams::PaymentMethodOptions::UsBankAccount))), wechat_pay: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntent::ConfirmParams::PaymentMethodOptions::WechatPay))), zip: T.nilable(T.nilable(T.any(String, ::Stripe::PaymentIntent::ConfirmParams::PaymentMethodOptions::Zip)))).void
9307
9157
  }
9308
9158
  def initialize(
9309
9159
  acss_debit: nil,
@@ -9347,6 +9197,7 @@ module Stripe
9347
9197
  promptpay: nil,
9348
9198
  revolut_pay: nil,
9349
9199
  samsung_pay: nil,
9200
+ satispay: nil,
9350
9201
  sepa_debit: nil,
9351
9202
  sofort: nil,
9352
9203
  swish: nil,
@@ -9441,6 +9292,7 @@ module Stripe
9441
9292
  sig { returns(T.nilable(T.any(T::Boolean, String))) }
9442
9293
  attr_accessor :off_session
9443
9294
  # 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.
9295
+ # 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.
9444
9296
  sig { returns(T.nilable(String)) }
9445
9297
  attr_accessor :payment_method
9446
9298
  # If provided, this hash will be used to create a PaymentMethod. The new PaymentMethod will appear
@@ -9579,21 +9431,21 @@ module Stripe
9579
9431
  }
9580
9432
  def self.apply_customer_balance(intent, params = {}, opts = {}); end
9581
9433
 
9582
- # 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.
9434
+ # 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.
9583
9435
  #
9584
9436
  # 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.
9585
9437
  #
9586
- # You can't cancel the PaymentIntent for a Checkout Session. [Expire the Checkout Session](https://stripe.com/docs/api/checkout/sessions/expire) instead.
9438
+ # You can't cancel the PaymentIntent for a Checkout Session. [Expire the Checkout Session](https://docs.stripe.com/docs/api/checkout/sessions/expire) instead.
9587
9439
  sig {
9588
9440
  params(params: T.any(::Stripe::PaymentIntent::CancelParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::PaymentIntent)
9589
9441
  }
9590
9442
  def cancel(params = {}, opts = {}); end
9591
9443
 
9592
- # 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.
9444
+ # 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.
9593
9445
  #
9594
9446
  # 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.
9595
9447
  #
9596
- # You can't cancel the PaymentIntent for a Checkout Session. [Expire the Checkout Session](https://stripe.com/docs/api/checkout/sessions/expire) instead.
9448
+ # You can't cancel the PaymentIntent for a Checkout Session. [Expire the Checkout Session](https://docs.stripe.com/docs/api/checkout/sessions/expire) instead.
9597
9449
  sig {
9598
9450
  params(intent: String, params: T.any(::Stripe::PaymentIntent::CancelParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::PaymentIntent)
9599
9451
  }
@@ -9603,7 +9455,7 @@ module Stripe
9603
9455
  #
9604
9456
  # Uncaptured PaymentIntents are cancelled a set number of days (7 by default) after their creation.
9605
9457
  #
9606
- # Learn more about [separate authorization and capture](https://stripe.com/docs/payments/capture-later).
9458
+ # Learn more about [separate authorization and capture](https://docs.stripe.com/docs/payments/capture-later).
9607
9459
  sig {
9608
9460
  params(params: T.any(::Stripe::PaymentIntent::CaptureParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::PaymentIntent)
9609
9461
  }
@@ -9613,7 +9465,7 @@ module Stripe
9613
9465
  #
9614
9466
  # Uncaptured PaymentIntents are cancelled a set number of days (7 by default) after their creation.
9615
9467
  #
9616
- # Learn more about [separate authorization and capture](https://stripe.com/docs/payments/capture-later).
9468
+ # Learn more about [separate authorization and capture](https://docs.stripe.com/docs/payments/capture-later).
9617
9469
  sig {
9618
9470
  params(intent: String, params: T.any(::Stripe::PaymentIntent::CaptureParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::PaymentIntent)
9619
9471
  }
@@ -9630,8 +9482,8 @@ module Stripe
9630
9482
  # payment succeeds, the PaymentIntent will transition to the succeeded
9631
9483
  # status (or requires_capture, if capture_method is set to manual).
9632
9484
  # If the confirmation_method is automatic, payment may be attempted
9633
- # using our [client SDKs](https://stripe.com/docs/stripe-js/reference#stripe-handle-card-payment)
9634
- # and the PaymentIntent's [client_secret](https://stripe.com/docs/api#payment_intent_object-client_secret).
9485
+ # using our [client SDKs](https://docs.stripe.com/docs/stripe-js/reference#stripe-handle-card-payment)
9486
+ # and the PaymentIntent's [client_secret](https://docs.stripe.com/api#payment_intent_object-client_secret).
9635
9487
  # After next_actions are handled by the client, no additional
9636
9488
  # confirmation is required to complete the payment.
9637
9489
  # If the confirmation_method is manual, all payment attempts must be
@@ -9660,8 +9512,8 @@ module Stripe
9660
9512
  # payment succeeds, the PaymentIntent will transition to the succeeded
9661
9513
  # status (or requires_capture, if capture_method is set to manual).
9662
9514
  # If the confirmation_method is automatic, payment may be attempted
9663
- # using our [client SDKs](https://stripe.com/docs/stripe-js/reference#stripe-handle-card-payment)
9664
- # and the PaymentIntent's [client_secret](https://stripe.com/docs/api#payment_intent_object-client_secret).
9515
+ # using our [client SDKs](https://docs.stripe.com/docs/stripe-js/reference#stripe-handle-card-payment)
9516
+ # and the PaymentIntent's [client_secret](https://docs.stripe.com/api#payment_intent_object-client_secret).
9665
9517
  # After next_actions are handled by the client, no additional
9666
9518
  # confirmation is required to complete the payment.
9667
9519
  # If the confirmation_method is manual, all payment attempts must be
@@ -9681,13 +9533,13 @@ module Stripe
9681
9533
 
9682
9534
  # Creates a PaymentIntent object.
9683
9535
  #
9684
- # After the PaymentIntent is created, attach a payment method and [confirm](https://stripe.com/docs/api/payment_intents/confirm)
9536
+ # After the PaymentIntent is created, attach a payment method and [confirm](https://docs.stripe.com/docs/api/payment_intents/confirm)
9685
9537
  # to continue the payment. Learn more about <a href="/docs/payments/payment-intents">the available payment flows
9686
9538
  # with the Payment Intents API.
9687
9539
  #
9688
9540
  # When you use confirm=true during creation, it's equivalent to creating
9689
9541
  # and confirming the PaymentIntent in the same call. You can use any parameters
9690
- # available in the [confirm API](https://stripe.com/docs/api/payment_intents/confirm) when you supply
9542
+ # available in the [confirm API](https://docs.stripe.com/docs/api/payment_intents/confirm) when you supply
9691
9543
  # confirm=true.
9692
9544
  sig {
9693
9545
  params(params: T.any(::Stripe::PaymentIntent::CreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::PaymentIntent)
@@ -9695,9 +9547,9 @@ module Stripe
9695
9547
  def self.create(params = {}, opts = {}); end
9696
9548
 
9697
9549
  # Perform an incremental authorization on an eligible
9698
- # [PaymentIntent](https://stripe.com/docs/api/payment_intents/object). To be eligible, the
9550
+ # [PaymentIntent](https://docs.stripe.com/docs/api/payment_intents/object). To be eligible, the
9699
9551
  # PaymentIntent's status must be requires_capture and
9700
- # [incremental_authorization_supported](https://stripe.com/docs/api/charges/object#charge_object-payment_method_details-card_present-incremental_authorization_supported)
9552
+ # [incremental_authorization_supported](https://docs.stripe.com/docs/api/charges/object#charge_object-payment_method_details-card_present-incremental_authorization_supported)
9701
9553
  # must be true.
9702
9554
  #
9703
9555
  # Incremental authorizations attempt to increase the authorized amount on
@@ -9708,25 +9560,25 @@ module Stripe
9708
9560
  #
9709
9561
  # If the incremental authorization succeeds, the PaymentIntent object
9710
9562
  # returns with the updated
9711
- # [amount](https://stripe.com/docs/api/payment_intents/object#payment_intent_object-amount).
9563
+ # [amount](https://docs.stripe.com/docs/api/payment_intents/object#payment_intent_object-amount).
9712
9564
  # If the incremental authorization fails, a
9713
- # [card_declined](https://stripe.com/docs/error-codes#card-declined) error returns, and no other
9565
+ # [card_declined](https://docs.stripe.com/docs/error-codes#card-declined) error returns, and no other
9714
9566
  # fields on the PaymentIntent or Charge update. The PaymentIntent
9715
9567
  # object remains capturable for the previously authorized amount.
9716
9568
  #
9717
9569
  # Each PaymentIntent can have a maximum of 10 incremental authorization attempts, including declines.
9718
9570
  # After it's captured, a PaymentIntent can no longer be incremented.
9719
9571
  #
9720
- # Learn more about [incremental authorizations](https://stripe.com/docs/terminal/features/incremental-authorizations).
9572
+ # Learn more about [incremental authorizations](https://docs.stripe.com/docs/terminal/features/incremental-authorizations).
9721
9573
  sig {
9722
9574
  params(params: T.any(::Stripe::PaymentIntent::IncrementAuthorizationParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::PaymentIntent)
9723
9575
  }
9724
9576
  def increment_authorization(params = {}, opts = {}); end
9725
9577
 
9726
9578
  # Perform an incremental authorization on an eligible
9727
- # [PaymentIntent](https://stripe.com/docs/api/payment_intents/object). To be eligible, the
9579
+ # [PaymentIntent](https://docs.stripe.com/docs/api/payment_intents/object). To be eligible, the
9728
9580
  # PaymentIntent's status must be requires_capture and
9729
- # [incremental_authorization_supported](https://stripe.com/docs/api/charges/object#charge_object-payment_method_details-card_present-incremental_authorization_supported)
9581
+ # [incremental_authorization_supported](https://docs.stripe.com/docs/api/charges/object#charge_object-payment_method_details-card_present-incremental_authorization_supported)
9730
9582
  # must be true.
9731
9583
  #
9732
9584
  # Incremental authorizations attempt to increase the authorized amount on
@@ -9737,16 +9589,16 @@ module Stripe
9737
9589
  #
9738
9590
  # If the incremental authorization succeeds, the PaymentIntent object
9739
9591
  # returns with the updated
9740
- # [amount](https://stripe.com/docs/api/payment_intents/object#payment_intent_object-amount).
9592
+ # [amount](https://docs.stripe.com/docs/api/payment_intents/object#payment_intent_object-amount).
9741
9593
  # If the incremental authorization fails, a
9742
- # [card_declined](https://stripe.com/docs/error-codes#card-declined) error returns, and no other
9594
+ # [card_declined](https://docs.stripe.com/docs/error-codes#card-declined) error returns, and no other
9743
9595
  # fields on the PaymentIntent or Charge update. The PaymentIntent
9744
9596
  # object remains capturable for the previously authorized amount.
9745
9597
  #
9746
9598
  # Each PaymentIntent can have a maximum of 10 incremental authorization attempts, including declines.
9747
9599
  # After it's captured, a PaymentIntent can no longer be incremented.
9748
9600
  #
9749
- # Learn more about [incremental authorizations](https://stripe.com/docs/terminal/features/incremental-authorizations).
9601
+ # Learn more about [incremental authorizations](https://docs.stripe.com/docs/terminal/features/incremental-authorizations).
9750
9602
  sig {
9751
9603
  params(intent: String, params: T.any(::Stripe::PaymentIntent::IncrementAuthorizationParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::PaymentIntent)
9752
9604
  }
@@ -9774,7 +9626,7 @@ module Stripe
9774
9626
  # PaymentIntent again. For example, updating the payment_method
9775
9627
  # always requires you to confirm the PaymentIntent again. If you prefer to
9776
9628
  # update and confirm at the same time, we recommend updating properties through
9777
- # the [confirm API](https://stripe.com/docs/api/payment_intents/confirm) instead.
9629
+ # the [confirm API](https://docs.stripe.com/docs/api/payment_intents/confirm) instead.
9778
9630
  sig {
9779
9631
  params(intent: String, params: T.any(::Stripe::PaymentIntent::UpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::PaymentIntent)
9780
9632
  }