stripe 13.4.0.pre.beta.1 → 13.4.0.pre.beta.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (697) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +24 -1
  3. data/CONTRIBUTING.md +25 -0
  4. data/Makefile +2 -0
  5. data/OPENAPI_VERSION +1 -1
  6. data/README.md +11 -6
  7. data/Rakefile +0 -5
  8. data/VERSION +1 -1
  9. data/justfile +43 -0
  10. data/lib/stripe/api_version.rb +1 -1
  11. data/lib/stripe/resources/account.rb +117 -747
  12. data/lib/stripe/resources/account_link.rb +0 -10
  13. data/lib/stripe/resources/account_notice.rb +0 -22
  14. data/lib/stripe/resources/account_session.rb +93 -128
  15. data/lib/stripe/resources/apple_pay_domain.rb +0 -10
  16. data/lib/stripe/resources/application.rb +0 -3
  17. data/lib/stripe/resources/application_fee.rb +0 -24
  18. data/lib/stripe/resources/application_fee_refund.rb +0 -7
  19. data/lib/stripe/resources/apps/secret.rb +0 -25
  20. data/lib/stripe/resources/balance.rb +0 -31
  21. data/lib/stripe/resources/balance_transaction.rb +0 -29
  22. data/lib/stripe/resources/bank_account.rb +0 -29
  23. data/lib/stripe/resources/billing/alert.rb +0 -22
  24. data/lib/stripe/resources/billing/alert_triggered.rb +0 -5
  25. data/lib/stripe/resources/billing/credit_balance_summary.rb +0 -12
  26. data/lib/stripe/resources/billing/credit_balance_transaction.rb +0 -24
  27. data/lib/stripe/resources/billing/credit_grant.rb +0 -32
  28. data/lib/stripe/resources/billing/meter.rb +0 -25
  29. data/lib/stripe/resources/billing/meter_error_report.rb +0 -11
  30. data/lib/stripe/resources/billing/meter_event.rb +0 -10
  31. data/lib/stripe/resources/billing/meter_event_adjustment.rb +0 -8
  32. data/lib/stripe/resources/billing/meter_event_summary.rb +0 -6
  33. data/lib/stripe/resources/billing_portal/configuration.rb +2 -79
  34. data/lib/stripe/resources/billing_portal/session.rb +0 -42
  35. data/lib/stripe/resources/capability.rb +2 -29
  36. data/lib/stripe/resources/capital/financing_offer.rb +0 -33
  37. data/lib/stripe/resources/capital/financing_summary.rb +0 -13
  38. data/lib/stripe/resources/capital/financing_transaction.rb +0 -24
  39. data/lib/stripe/resources/card.rb +2 -34
  40. data/lib/stripe/resources/cash_balance.rb +0 -5
  41. data/lib/stripe/resources/charge.rb +8 -665
  42. data/lib/stripe/resources/checkout/session.rb +21 -513
  43. data/lib/stripe/resources/climate/order.rb +0 -40
  44. data/lib/stripe/resources/climate/product.rb +0 -13
  45. data/lib/stripe/resources/climate/supplier.rb +0 -13
  46. data/lib/stripe/resources/confirmation_token.rb +12 -337
  47. data/lib/stripe/resources/connect_collection_transfer.rb +0 -5
  48. data/lib/stripe/resources/country_spec.rb +0 -13
  49. data/lib/stripe/resources/coupon.rb +0 -39
  50. data/lib/stripe/resources/credit_note.rb +0 -138
  51. data/lib/stripe/resources/credit_note_line_item.rb +0 -24
  52. data/lib/stripe/resources/customer.rb +1 -156
  53. data/lib/stripe/resources/customer_balance_transaction.rb +0 -12
  54. data/lib/stripe/resources/customer_cash_balance_transaction.rb +0 -27
  55. data/lib/stripe/resources/customer_session.rb +0 -24
  56. data/lib/stripe/resources/discount.rb +0 -12
  57. data/lib/stripe/resources/dispute.rb +4 -152
  58. data/lib/stripe/resources/entitlements/active_entitlement.rb +0 -8
  59. data/lib/stripe/resources/entitlements/active_entitlement_summary.rb +0 -3
  60. data/lib/stripe/resources/entitlements/feature.rb +0 -17
  61. data/lib/stripe/resources/ephemeral_key.rb +0 -5
  62. data/lib/stripe/resources/event.rb +0 -27
  63. data/lib/stripe/resources/exchange_rate.rb +0 -5
  64. data/lib/stripe/resources/file.rb +0 -23
  65. data/lib/stripe/resources/file_link.rb +0 -22
  66. data/lib/stripe/resources/financial_connections/account.rb +0 -47
  67. data/lib/stripe/resources/financial_connections/account_inferred_balance.rb +0 -3
  68. data/lib/stripe/resources/financial_connections/account_owner.rb +0 -7
  69. data/lib/stripe/resources/financial_connections/account_ownership.rb +0 -3
  70. data/lib/stripe/resources/financial_connections/institution.rb +0 -13
  71. data/lib/stripe/resources/financial_connections/session.rb +0 -28
  72. data/lib/stripe/resources/financial_connections/transaction.rb +1 -22
  73. data/lib/stripe/resources/forwarding/request.rb +0 -31
  74. data/lib/stripe/resources/funding_instructions.rb +0 -107
  75. data/lib/stripe/resources/gift_cards/card.rb +0 -28
  76. data/lib/stripe/resources/gift_cards/transaction.rb +0 -32
  77. data/lib/stripe/resources/identity/verification_report.rb +0 -69
  78. data/lib/stripe/resources/identity/verification_session.rb +0 -69
  79. data/lib/stripe/resources/invoice.rb +6 -1276
  80. data/lib/stripe/resources/invoice_item.rb +0 -91
  81. data/lib/stripe/resources/invoice_line_item.rb +0 -76
  82. data/lib/stripe/resources/invoice_payment.rb +0 -16
  83. data/lib/stripe/resources/invoice_rendering_template.rb +0 -12
  84. data/lib/stripe/resources/issuing/authorization.rb +0 -199
  85. data/lib/stripe/resources/issuing/card.rb +0 -128
  86. data/lib/stripe/resources/issuing/cardholder.rb +0 -110
  87. data/lib/stripe/resources/issuing/credit_underwriting_record.rb +0 -82
  88. data/lib/stripe/resources/issuing/dispute.rb +0 -151
  89. data/lib/stripe/resources/issuing/dispute_settlement_detail.rb +0 -14
  90. data/lib/stripe/resources/issuing/fraud_liability_debit.rb +0 -14
  91. data/lib/stripe/resources/issuing/personalization_design.rb +0 -48
  92. data/lib/stripe/resources/issuing/physical_bundle.rb +0 -13
  93. data/lib/stripe/resources/issuing/settlement.rb +0 -16
  94. data/lib/stripe/resources/issuing/token.rb +0 -46
  95. data/lib/stripe/resources/issuing/transaction.rb +0 -171
  96. data/lib/stripe/resources/line_item.rb +0 -23
  97. data/lib/stripe/resources/login_link.rb +0 -2
  98. data/lib/stripe/resources/mandate.rb +0 -45
  99. data/lib/stripe/resources/margin.rb +0 -19
  100. data/lib/stripe/resources/order.rb +3 -391
  101. data/lib/stripe/resources/payment_attempt_record.rb +0 -42
  102. data/lib/stripe/resources/payment_intent.rb +48 -1768
  103. data/lib/stripe/resources/payment_link.rb +15 -213
  104. data/lib/stripe/resources/payment_method.rb +19 -345
  105. data/lib/stripe/resources/payment_method_configuration.rb +58 -292
  106. data/lib/stripe/resources/payment_method_domain.rb +0 -23
  107. data/lib/stripe/resources/payment_record.rb +0 -109
  108. data/lib/stripe/resources/payout.rb +0 -49
  109. data/lib/stripe/resources/person.rb +2 -92
  110. data/lib/stripe/resources/plan.rb +0 -69
  111. data/lib/stripe/resources/price.rb +0 -133
  112. data/lib/stripe/resources/product.rb +0 -100
  113. data/lib/stripe/resources/product_feature.rb +0 -4
  114. data/lib/stripe/resources/promotion_code.rb +0 -40
  115. data/lib/stripe/resources/quote.rb +0 -458
  116. data/lib/stripe/resources/quote_line.rb +0 -66
  117. data/lib/stripe/resources/quote_preview_invoice.rb +3 -184
  118. data/lib/stripe/resources/quote_preview_subscription_schedule.rb +0 -101
  119. data/lib/stripe/resources/radar/early_fraud_warning.rb +0 -16
  120. data/lib/stripe/resources/radar/value_list.rb +0 -26
  121. data/lib/stripe/resources/radar/value_list_item.rb +0 -18
  122. data/lib/stripe/resources/refund.rb +0 -92
  123. data/lib/stripe/resources/reporting/report_run.rb +0 -32
  124. data/lib/stripe/resources/reporting/report_type.rb +0 -8
  125. data/lib/stripe/resources/reserve_transaction.rb +0 -4
  126. data/lib/stripe/resources/reversal.rb +0 -9
  127. data/lib/stripe/resources/review.rb +0 -27
  128. data/lib/stripe/resources/setup_attempt.rb +2 -103
  129. data/lib/stripe/resources/setup_intent.rb +23 -539
  130. data/lib/stripe/resources/shipping_rate.rb +0 -44
  131. data/lib/stripe/resources/sigma/scheduled_query_run.rb +0 -13
  132. data/lib/stripe/resources/source.rb +6 -338
  133. data/lib/stripe/resources/source_mandate_notification.rb +0 -13
  134. data/lib/stripe/resources/source_transaction.rb +0 -29
  135. data/lib/stripe/resources/subscription.rb +0 -338
  136. data/lib/stripe/resources/subscription_item.rb +0 -69
  137. data/lib/stripe/resources/subscription_schedule.rb +0 -388
  138. data/lib/stripe/resources/tax/association.rb +0 -11
  139. data/lib/stripe/resources/tax/calculation.rb +2 -89
  140. data/lib/stripe/resources/tax/calculation_line_item.rb +0 -20
  141. data/lib/stripe/resources/tax/form.rb +2 -35
  142. data/lib/stripe/resources/tax/registration.rb +421 -213
  143. data/lib/stripe/resources/tax/settings.rb +0 -20
  144. data/lib/stripe/resources/tax/transaction.rb +1 -66
  145. data/lib/stripe/resources/tax/transaction_line_item.rb +0 -12
  146. data/lib/stripe/resources/tax_code.rb +0 -6
  147. data/lib/stripe/resources/tax_deducted_at_source.rb +0 -4
  148. data/lib/stripe/resources/tax_id.rb +2 -28
  149. data/lib/stripe/resources/tax_rate.rb +0 -45
  150. data/lib/stripe/resources/terminal/configuration.rb +46 -161
  151. data/lib/stripe/resources/terminal/connection_token.rb +0 -3
  152. data/lib/stripe/resources/terminal/location.rb +0 -33
  153. data/lib/stripe/resources/terminal/reader.rb +0 -129
  154. data/lib/stripe/resources/terminal/reader_collected_data.rb +0 -5
  155. data/lib/stripe/resources/test_helpers/test_clock.rb +0 -15
  156. data/lib/stripe/resources/token.rb +23 -192
  157. data/lib/stripe/resources/topup.rb +0 -36
  158. data/lib/stripe/resources/transfer.rb +0 -35
  159. data/lib/stripe/resources/treasury/credit_reversal.rb +0 -21
  160. data/lib/stripe/resources/treasury/debit_reversal.rb +0 -23
  161. data/lib/stripe/resources/treasury/financial_account.rb +77 -71
  162. data/lib/stripe/resources/treasury/financial_account_features.rb +0 -46
  163. data/lib/stripe/resources/treasury/inbound_transfer.rb +0 -50
  164. data/lib/stripe/resources/treasury/outbound_payment.rb +0 -92
  165. data/lib/stripe/resources/treasury/outbound_transfer.rb +25 -66
  166. data/lib/stripe/resources/treasury/received_credit.rb +6 -58
  167. data/lib/stripe/resources/treasury/received_debit.rb +0 -54
  168. data/lib/stripe/resources/treasury/transaction.rb +0 -39
  169. data/lib/stripe/resources/treasury/transaction_entry.rb +0 -36
  170. data/lib/stripe/resources/usage_record.rb +0 -5
  171. data/lib/stripe/resources/usage_record_summary.rb +0 -7
  172. data/lib/stripe/resources/v2/billing/meter_event.rb +0 -6
  173. data/lib/stripe/resources/v2/billing/meter_event_adjustment.rb +0 -7
  174. data/lib/stripe/resources/v2/billing/meter_event_session.rb +0 -5
  175. data/lib/stripe/resources/v2/event.rb +0 -8
  176. data/lib/stripe/resources/v2/event_destination.rb +0 -19
  177. data/lib/stripe/resources/webhook_endpoint.rb +0 -26
  178. data/lib/stripe/services/account_capability_service.rb +0 -1
  179. data/lib/stripe/services/account_external_account_service.rb +0 -43
  180. data/lib/stripe/services/account_link_service.rb +0 -7
  181. data/lib/stripe/services/account_notice_service.rb +0 -9
  182. data/lib/stripe/services/account_person_service.rb +0 -139
  183. data/lib/stripe/services/account_service.rb +100 -521
  184. data/lib/stripe/services/account_session_service.rb +22 -80
  185. data/lib/stripe/services/apple_pay_domain_service.rb +0 -5
  186. data/lib/stripe/services/application_fee_refund_service.rb +0 -6
  187. data/lib/stripe/services/application_fee_service.rb +0 -8
  188. data/lib/stripe/services/apps/secret_service.rb +0 -16
  189. data/lib/stripe/services/balance_transaction_service.rb +0 -11
  190. data/lib/stripe/services/billing/alert_service.rb +0 -12
  191. data/lib/stripe/services/billing/credit_balance_summary_service.rb +0 -4
  192. data/lib/stripe/services/billing/credit_balance_transaction_service.rb +0 -5
  193. data/lib/stripe/services/billing/credit_grant_service.rb +0 -16
  194. data/lib/stripe/services/billing/meter_event_adjustment_service.rb +0 -3
  195. data/lib/stripe/services/billing/meter_event_service.rb +0 -4
  196. data/lib/stripe/services/billing/meter_event_summary_service.rb +0 -7
  197. data/lib/stripe/services/billing/meter_service.rb +0 -12
  198. data/lib/stripe/services/billing_portal/configuration_service.rb +2 -50
  199. data/lib/stripe/services/billing_portal/session_service.rb +0 -19
  200. data/lib/stripe/services/capital/financing_offer_service.rb +0 -9
  201. data/lib/stripe/services/capital/financing_transaction_service.rb +0 -7
  202. data/lib/stripe/services/charge_service.rb +0 -274
  203. data/lib/stripe/services/checkout/session_line_item_service.rb +0 -3
  204. data/lib/stripe/services/checkout/session_service.rb +9 -273
  205. data/lib/stripe/services/climate/order_service.rb +0 -11
  206. data/lib/stripe/services/climate/product_service.rb +0 -3
  207. data/lib/stripe/services/climate/supplier_service.rb +0 -3
  208. data/lib/stripe/services/country_spec_service.rb +0 -3
  209. data/lib/stripe/services/coupon_service.rb +0 -22
  210. data/lib/stripe/services/credit_note_line_item_service.rb +0 -3
  211. data/lib/stripe/services/credit_note_preview_lines_service.rb +0 -28
  212. data/lib/stripe/services/credit_note_service.rb +0 -61
  213. data/lib/stripe/services/customer_balance_transaction_service.rb +0 -9
  214. data/lib/stripe/services/customer_cash_balance_service.rb +0 -1
  215. data/lib/stripe/services/customer_cash_balance_transaction_service.rb +0 -3
  216. data/lib/stripe/services/customer_funding_instructions_service.rb +0 -5
  217. data/lib/stripe/services/customer_payment_method_service.rb +0 -5
  218. data/lib/stripe/services/customer_payment_source_service.rb +0 -29
  219. data/lib/stripe/services/customer_service.rb +1 -92
  220. data/lib/stripe/services/customer_session_service.rb +0 -10
  221. data/lib/stripe/services/customer_tax_id_service.rb +1 -6
  222. data/lib/stripe/services/dispute_service.rb +2 -67
  223. data/lib/stripe/services/entitlements/active_entitlement_service.rb +0 -4
  224. data/lib/stripe/services/entitlements/feature_service.rb +0 -11
  225. data/lib/stripe/services/ephemeral_key_service.rb +0 -4
  226. data/lib/stripe/services/event_service.rb +0 -10
  227. data/lib/stripe/services/exchange_rate_service.rb +0 -3
  228. data/lib/stripe/services/file_link_service.rb +0 -14
  229. data/lib/stripe/services/file_service.rb +0 -13
  230. data/lib/stripe/services/financial_connections/account_inferred_balance_service.rb +0 -3
  231. data/lib/stripe/services/financial_connections/account_owner_service.rb +0 -4
  232. data/lib/stripe/services/financial_connections/account_service.rb +0 -9
  233. data/lib/stripe/services/financial_connections/institution_service.rb +0 -3
  234. data/lib/stripe/services/financial_connections/session_service.rb +0 -11
  235. data/lib/stripe/services/financial_connections/transaction_service.rb +1 -10
  236. data/lib/stripe/services/forwarding/request_service.rb +0 -14
  237. data/lib/stripe/services/gift_cards/card_service.rb +0 -13
  238. data/lib/stripe/services/gift_cards/transaction_service.rb +0 -16
  239. data/lib/stripe/services/identity/verification_report_service.rb +0 -10
  240. data/lib/stripe/services/identity/verification_session_service.rb +0 -30
  241. data/lib/stripe/services/invoice_item_service.rb +0 -66
  242. data/lib/stripe/services/invoice_line_item_service.rb +0 -40
  243. data/lib/stripe/services/invoice_payment_service.rb +0 -3
  244. data/lib/stripe/services/invoice_rendering_template_service.rb +0 -5
  245. data/lib/stripe/services/invoice_service.rb +2 -810
  246. data/lib/stripe/services/invoice_upcoming_lines_service.rb +1 -279
  247. data/lib/stripe/services/issuing/authorization_service.rb +0 -14
  248. data/lib/stripe/services/issuing/card_service.rb +0 -70
  249. data/lib/stripe/services/issuing/cardholder_service.rb +0 -73
  250. data/lib/stripe/services/issuing/credit_underwriting_record_service.rb +0 -56
  251. data/lib/stripe/services/issuing/dispute_service.rb +0 -98
  252. data/lib/stripe/services/issuing/dispute_settlement_detail_service.rb +0 -4
  253. data/lib/stripe/services/issuing/fraud_liability_debit_service.rb +0 -7
  254. data/lib/stripe/services/issuing/personalization_design_service.rb +0 -29
  255. data/lib/stripe/services/issuing/physical_bundle_service.rb +0 -5
  256. data/lib/stripe/services/issuing/token_service.rb +0 -10
  257. data/lib/stripe/services/issuing/transaction_service.rb +0 -12
  258. data/lib/stripe/services/margin_service.rb +0 -11
  259. data/lib/stripe/services/order_line_item_service.rb +0 -3
  260. data/lib/stripe/services/order_service.rb +2 -266
  261. data/lib/stripe/services/payment_attempt_record_service.rb +0 -1
  262. data/lib/stripe/services/payment_intent_service.rb +42 -1309
  263. data/lib/stripe/services/payment_link_line_item_service.rb +0 -3
  264. data/lib/stripe/services/payment_link_service.rb +15 -135
  265. data/lib/stripe/services/payment_method_configuration_service.rb +42 -102
  266. data/lib/stripe/services/payment_method_domain_service.rb +0 -8
  267. data/lib/stripe/services/payment_method_service.rb +14 -113
  268. data/lib/stripe/services/payment_record_service.rb +0 -68
  269. data/lib/stripe/services/payout_service.rb +0 -23
  270. data/lib/stripe/services/plan_service.rb +0 -43
  271. data/lib/stripe/services/price_service.rb +0 -87
  272. data/lib/stripe/services/product_feature_service.rb +0 -4
  273. data/lib/stripe/services/product_service.rb +0 -74
  274. data/lib/stripe/services/promotion_code_service.rb +0 -25
  275. data/lib/stripe/services/quote_computed_upfront_line_items_service.rb +0 -3
  276. data/lib/stripe/services/quote_line_item_service.rb +0 -3
  277. data/lib/stripe/services/quote_line_service.rb +0 -3
  278. data/lib/stripe/services/quote_preview_invoice_service.rb +0 -3
  279. data/lib/stripe/services/quote_preview_subscription_schedule_service.rb +0 -3
  280. data/lib/stripe/services/quote_service.rb +0 -309
  281. data/lib/stripe/services/radar/early_fraud_warning_service.rb +0 -9
  282. data/lib/stripe/services/radar/value_list_item_service.rb +0 -11
  283. data/lib/stripe/services/radar/value_list_service.rb +0 -16
  284. data/lib/stripe/services/refund_service.rb +0 -21
  285. data/lib/stripe/services/reporting/report_run_service.rb +0 -16
  286. data/lib/stripe/services/review_service.rb +0 -7
  287. data/lib/stripe/services/setup_attempt_service.rb +0 -8
  288. data/lib/stripe/services/setup_intent_service.rb +21 -447
  289. data/lib/stripe/services/shipping_rate_service.rb +0 -27
  290. data/lib/stripe/services/sigma/scheduled_query_run_service.rb +0 -3
  291. data/lib/stripe/services/source_service.rb +0 -92
  292. data/lib/stripe/services/source_transaction_service.rb +0 -3
  293. data/lib/stripe/services/subscription_item_service.rb +0 -56
  294. data/lib/stripe/services/subscription_item_usage_record_service.rb +0 -3
  295. data/lib/stripe/services/subscription_item_usage_record_summary_service.rb +0 -3
  296. data/lib/stripe/services/subscription_schedule_service.rb +0 -290
  297. data/lib/stripe/services/subscription_service.rb +0 -245
  298. data/lib/stripe/services/tax/association_service.rb +0 -1
  299. data/lib/stripe/services/tax/calculation_line_item_service.rb +0 -3
  300. data/lib/stripe/services/tax/calculation_service.rb +1 -31
  301. data/lib/stripe/services/tax/form_service.rb +0 -7
  302. data/lib/stripe/services/tax/registration_service.rb +274 -108
  303. data/lib/stripe/services/tax/settings_service.rb +0 -8
  304. data/lib/stripe/services/tax/transaction_line_item_service.rb +0 -3
  305. data/lib/stripe/services/tax/transaction_service.rb +0 -17
  306. data/lib/stripe/services/tax_code_service.rb +0 -3
  307. data/lib/stripe/services/tax_id_service.rb +1 -12
  308. data/lib/stripe/services/tax_rate_service.rb +0 -27
  309. data/lib/stripe/services/terminal/configuration_service.rb +36 -106
  310. data/lib/stripe/services/terminal/connection_token_service.rb +0 -1
  311. data/lib/stripe/services/terminal/location_service.rb +0 -21
  312. data/lib/stripe/services/terminal/reader_service.rb +0 -53
  313. data/lib/stripe/services/test_helpers/confirmation_token_service.rb +7 -89
  314. data/lib/stripe/services/test_helpers/customer_service.rb +0 -3
  315. data/lib/stripe/services/test_helpers/issuing/authorization_service.rb +0 -99
  316. data/lib/stripe/services/test_helpers/issuing/personalization_design_service.rb +0 -2
  317. data/lib/stripe/services/test_helpers/issuing/transaction_service.rb +0 -91
  318. data/lib/stripe/services/test_helpers/terminal/reader_service.rb +0 -4
  319. data/lib/stripe/services/test_helpers/test_clock_service.rb +0 -6
  320. data/lib/stripe/services/test_helpers/treasury/inbound_transfer_service.rb +0 -1
  321. data/lib/stripe/services/test_helpers/treasury/outbound_payment_service.rb +0 -6
  322. data/lib/stripe/services/test_helpers/treasury/outbound_transfer_service.rb +0 -6
  323. data/lib/stripe/services/test_helpers/treasury/received_credit_service.rb +0 -11
  324. data/lib/stripe/services/test_helpers/treasury/received_debit_service.rb +0 -11
  325. data/lib/stripe/services/token_service.rb +23 -184
  326. data/lib/stripe/services/topup_service.rb +0 -21
  327. data/lib/stripe/services/transfer_reversal_service.rb +0 -8
  328. data/lib/stripe/services/transfer_service.rb +0 -19
  329. data/lib/stripe/services/treasury/credit_reversal_service.rb +0 -8
  330. data/lib/stripe/services/treasury/debit_reversal_service.rb +0 -9
  331. data/lib/stripe/services/treasury/financial_account_features_service.rb +0 -10
  332. data/lib/stripe/services/treasury/financial_account_service.rb +64 -36
  333. data/lib/stripe/services/treasury/inbound_transfer_service.rb +0 -12
  334. data/lib/stripe/services/treasury/outbound_payment_service.rb +0 -38
  335. data/lib/stripe/services/treasury/outbound_transfer_service.rb +16 -15
  336. data/lib/stripe/services/treasury/received_credit_service.rb +0 -6
  337. data/lib/stripe/services/treasury/received_debit_service.rb +0 -5
  338. data/lib/stripe/services/treasury/transaction_entry_service.rb +0 -14
  339. data/lib/stripe/services/treasury/transaction_service.rb +0 -14
  340. data/lib/stripe/services/v2/billing/meter_event_adjustment_service.rb +0 -2
  341. data/lib/stripe/services/v2/billing/meter_event_service.rb +0 -3
  342. data/lib/stripe/services/v2/billing/meter_event_stream_service.rb +0 -3
  343. data/lib/stripe/services/v2/core/event_destination_service.rb +0 -18
  344. data/lib/stripe/services/v2/core/event_service.rb +0 -2
  345. data/lib/stripe/services/webhook_endpoint_service.rb +0 -14
  346. data/lib/stripe/stripe_client.rb +7 -2
  347. data/lib/stripe/stripe_configuration.rb +21 -1
  348. data/lib/stripe/stripe_object.rb +3 -3
  349. data/lib/stripe/thin_event.rb +22 -2
  350. data/lib/stripe/util.rb +1 -1
  351. data/lib/stripe/version.rb +1 -1
  352. data/lib/stripe.rb +22 -0
  353. data/rbi/stripe/resources/account.rbi +120 -1007
  354. data/rbi/stripe/resources/account_link.rbi +0 -13
  355. data/rbi/stripe/resources/account_notice.rbi +0 -27
  356. data/rbi/stripe/resources/account_session.rbi +121 -172
  357. data/rbi/stripe/resources/apple_pay_domain.rbi +0 -14
  358. data/rbi/stripe/resources/application.rbi +0 -3
  359. data/rbi/stripe/resources/application_fee.rbi +0 -28
  360. data/rbi/stripe/resources/application_fee_refund.rbi +0 -7
  361. data/rbi/stripe/resources/apps/secret.rbi +0 -34
  362. data/rbi/stripe/resources/balance.rbi +0 -33
  363. data/rbi/stripe/resources/balance_transaction.rbi +0 -33
  364. data/rbi/stripe/resources/bank_account.rbi +0 -29
  365. data/rbi/stripe/resources/billing/alert.rbi +0 -31
  366. data/rbi/stripe/resources/billing/alert_triggered.rbi +0 -5
  367. data/rbi/stripe/resources/billing/credit_balance_summary.rbi +0 -16
  368. data/rbi/stripe/resources/billing/credit_balance_transaction.rbi +0 -27
  369. data/rbi/stripe/resources/billing/credit_grant.rbi +0 -43
  370. data/rbi/stripe/resources/billing/meter.rbi +0 -35
  371. data/rbi/stripe/resources/billing/meter_error_report.rbi +0 -11
  372. data/rbi/stripe/resources/billing/meter_event.rbi +0 -12
  373. data/rbi/stripe/resources/billing/meter_event_adjustment.rbi +0 -11
  374. data/rbi/stripe/resources/billing/meter_event_summary.rbi +0 -6
  375. data/rbi/stripe/resources/billing_portal/configuration.rbi +2 -108
  376. data/rbi/stripe/resources/billing_portal/session.rbi +0 -55
  377. data/rbi/stripe/resources/capability.rbi +2 -29
  378. data/rbi/stripe/resources/capital/financing_offer.rbi +0 -38
  379. data/rbi/stripe/resources/capital/financing_summary.rbi +0 -15
  380. data/rbi/stripe/resources/capital/financing_transaction.rbi +0 -27
  381. data/rbi/stripe/resources/card.rbi +3 -34
  382. data/rbi/stripe/resources/cash_balance.rbi +0 -5
  383. data/rbi/stripe/resources/charge.rbi +10 -738
  384. data/rbi/stripe/resources/checkout/session.rbi +26 -638
  385. data/rbi/stripe/resources/climate/order.rbi +0 -48
  386. data/rbi/stripe/resources/climate/product.rbi +0 -16
  387. data/rbi/stripe/resources/climate/supplier.rbi +0 -16
  388. data/rbi/stripe/resources/confirmation_token.rbi +15 -365
  389. data/rbi/stripe/resources/connect_collection_transfer.rbi +0 -5
  390. data/rbi/stripe/resources/country_spec.rbi +0 -16
  391. data/rbi/stripe/resources/coupon.rbi +0 -48
  392. data/rbi/stripe/resources/credit_note.rbi +0 -159
  393. data/rbi/stripe/resources/credit_note_line_item.rbi +0 -24
  394. data/rbi/stripe/resources/customer.rbi +1 -188
  395. data/rbi/stripe/resources/customer_balance_transaction.rbi +0 -12
  396. data/rbi/stripe/resources/customer_cash_balance_transaction.rbi +0 -27
  397. data/rbi/stripe/resources/customer_session.rbi +0 -31
  398. data/rbi/stripe/resources/discount.rbi +0 -12
  399. data/rbi/stripe/resources/dispute.rbi +4 -166
  400. data/rbi/stripe/resources/entitlements/active_entitlement.rbi +0 -11
  401. data/rbi/stripe/resources/entitlements/active_entitlement_summary.rbi +0 -3
  402. data/rbi/stripe/resources/entitlements/feature.rbi +0 -22
  403. data/rbi/stripe/resources/ephemeral_key.rbi +0 -7
  404. data/rbi/stripe/resources/event.rbi +0 -31
  405. data/rbi/stripe/resources/exchange_rate.rbi +0 -8
  406. data/rbi/stripe/resources/file.rbi +0 -29
  407. data/rbi/stripe/resources/file_link.rbi +0 -28
  408. data/rbi/stripe/resources/financial_connections/account.rbi +0 -56
  409. data/rbi/stripe/resources/financial_connections/account_inferred_balance.rbi +0 -3
  410. data/rbi/stripe/resources/financial_connections/account_owner.rbi +0 -7
  411. data/rbi/stripe/resources/financial_connections/account_ownership.rbi +0 -3
  412. data/rbi/stripe/resources/financial_connections/institution.rbi +0 -16
  413. data/rbi/stripe/resources/financial_connections/session.rbi +0 -35
  414. data/rbi/stripe/resources/financial_connections/transaction.rbi +1 -27
  415. data/rbi/stripe/resources/forwarding/request.rbi +0 -38
  416. data/rbi/stripe/resources/funding_instructions.rbi +0 -107
  417. data/rbi/stripe/resources/gift_cards/card.rbi +0 -36
  418. data/rbi/stripe/resources/gift_cards/transaction.rbi +0 -41
  419. data/rbi/stripe/resources/identity/verification_report.rbi +0 -73
  420. data/rbi/stripe/resources/identity/verification_session.rbi +0 -83
  421. data/rbi/stripe/resources/invoice.rbi +7 -1663
  422. data/rbi/stripe/resources/invoice_item.rbi +0 -107
  423. data/rbi/stripe/resources/invoice_line_item.rbi +0 -86
  424. data/rbi/stripe/resources/invoice_payment.rbi +0 -16
  425. data/rbi/stripe/resources/invoice_rendering_template.rbi +0 -17
  426. data/rbi/stripe/resources/issuing/authorization.rbi +0 -245
  427. data/rbi/stripe/resources/issuing/card.rbi +0 -153
  428. data/rbi/stripe/resources/issuing/cardholder.rbi +0 -138
  429. data/rbi/stripe/resources/issuing/credit_underwriting_record.rbi +0 -109
  430. data/rbi/stripe/resources/issuing/dispute.rbi +0 -177
  431. data/rbi/stripe/resources/issuing/dispute_settlement_detail.rbi +0 -17
  432. data/rbi/stripe/resources/issuing/fraud_liability_debit.rbi +0 -18
  433. data/rbi/stripe/resources/issuing/personalization_design.rbi +0 -62
  434. data/rbi/stripe/resources/issuing/physical_bundle.rbi +0 -16
  435. data/rbi/stripe/resources/issuing/settlement.rbi +0 -16
  436. data/rbi/stripe/resources/issuing/token.rbi +0 -51
  437. data/rbi/stripe/resources/issuing/transaction.rbi +0 -205
  438. data/rbi/stripe/resources/line_item.rbi +0 -23
  439. data/rbi/stripe/resources/login_link.rbi +0 -2
  440. data/rbi/stripe/resources/mandate.rbi +0 -47
  441. data/rbi/stripe/resources/margin.rbi +0 -24
  442. data/rbi/stripe/resources/order.rbi +3 -492
  443. data/rbi/stripe/resources/payment_attempt_record.rbi +0 -45
  444. data/rbi/stripe/resources/payment_intent.rbi +61 -2230
  445. data/rbi/stripe/resources/payment_link.rbi +14 -291
  446. data/rbi/stripe/resources/payment_method.rbi +23 -384
  447. data/rbi/stripe/resources/payment_method_configuration.rbi +75 -495
  448. data/rbi/stripe/resources/payment_method_domain.rbi +0 -29
  449. data/rbi/stripe/resources/payment_record.rbi +0 -134
  450. data/rbi/stripe/resources/payout.rbi +0 -58
  451. data/rbi/stripe/resources/person.rbi +2 -92
  452. data/rbi/stripe/resources/plan.rbi +0 -78
  453. data/rbi/stripe/resources/price.rbi +0 -153
  454. data/rbi/stripe/resources/product.rbi +0 -120
  455. data/rbi/stripe/resources/product_feature.rbi +0 -4
  456. data/rbi/stripe/resources/promotion_code.rbi +0 -50
  457. data/rbi/stripe/resources/quote.rbi +0 -593
  458. data/rbi/stripe/resources/quote_line.rbi +0 -66
  459. data/rbi/stripe/resources/quote_preview_invoice.rbi +4 -184
  460. data/rbi/stripe/resources/quote_preview_subscription_schedule.rbi +0 -101
  461. data/rbi/stripe/resources/radar/early_fraud_warning.rbi +0 -20
  462. data/rbi/stripe/resources/radar/value_list.rbi +0 -32
  463. data/rbi/stripe/resources/radar/value_list_item.rbi +0 -23
  464. data/rbi/stripe/resources/refund.rbi +0 -100
  465. data/rbi/stripe/resources/reporting/report_run.rbi +0 -38
  466. data/rbi/stripe/resources/reporting/report_type.rbi +0 -11
  467. data/rbi/stripe/resources/reserve_transaction.rbi +0 -4
  468. data/rbi/stripe/resources/reversal.rbi +0 -9
  469. data/rbi/stripe/resources/review.rbi +0 -32
  470. data/rbi/stripe/resources/setup_attempt.rbi +3 -106
  471. data/rbi/stripe/resources/setup_intent.rbi +27 -691
  472. data/rbi/stripe/resources/shipping_rate.rbi +0 -57
  473. data/rbi/stripe/resources/sigma/scheduled_query_run.rbi +0 -16
  474. data/rbi/stripe/resources/source.rbi +9 -365
  475. data/rbi/stripe/resources/source_mandate_notification.rbi +0 -13
  476. data/rbi/stripe/resources/source_transaction.rbi +0 -29
  477. data/rbi/stripe/resources/subscription.rbi +0 -431
  478. data/rbi/stripe/resources/subscription_item.rbi +0 -88
  479. data/rbi/stripe/resources/subscription_schedule.rbi +0 -504
  480. data/rbi/stripe/resources/tax/association.rbi +0 -13
  481. data/rbi/stripe/resources/tax/calculation.rbi +2 -100
  482. data/rbi/stripe/resources/tax/calculation_line_item.rbi +0 -20
  483. data/rbi/stripe/resources/tax/form.rbi +2 -40
  484. data/rbi/stripe/resources/tax/registration.rbi +401 -317
  485. data/rbi/stripe/resources/tax/settings.rbi +0 -26
  486. data/rbi/stripe/resources/tax/transaction.rbi +1 -73
  487. data/rbi/stripe/resources/tax/transaction_line_item.rbi +0 -12
  488. data/rbi/stripe/resources/tax_code.rbi +0 -9
  489. data/rbi/stripe/resources/tax_deducted_at_source.rbi +0 -4
  490. data/rbi/stripe/resources/tax_id.rbi +2 -34
  491. data/rbi/stripe/resources/tax_rate.rbi +0 -51
  492. data/rbi/stripe/resources/terminal/configuration.rbi +54 -213
  493. data/rbi/stripe/resources/terminal/connection_token.rbi +0 -5
  494. data/rbi/stripe/resources/terminal/location.rbi +0 -40
  495. data/rbi/stripe/resources/terminal/reader.rbi +0 -158
  496. data/rbi/stripe/resources/terminal/reader_collected_data.rbi +0 -7
  497. data/rbi/stripe/resources/test_helpers/test_clock.rbi +0 -20
  498. data/rbi/stripe/resources/token.rbi +22 -235
  499. data/rbi/stripe/resources/topup.rbi +0 -44
  500. data/rbi/stripe/resources/transfer.rbi +0 -41
  501. data/rbi/stripe/resources/treasury/credit_reversal.rbi +0 -25
  502. data/rbi/stripe/resources/treasury/debit_reversal.rbi +0 -27
  503. data/rbi/stripe/resources/treasury/financial_account.rbi +70 -124
  504. data/rbi/stripe/resources/treasury/financial_account_features.rbi +0 -46
  505. data/rbi/stripe/resources/treasury/inbound_transfer.rbi +0 -59
  506. data/rbi/stripe/resources/treasury/outbound_payment.rbi +0 -113
  507. data/rbi/stripe/resources/treasury/outbound_transfer.rbi +28 -84
  508. data/rbi/stripe/resources/treasury/received_credit.rbi +7 -67
  509. data/rbi/stripe/resources/treasury/received_debit.rbi +0 -62
  510. data/rbi/stripe/resources/treasury/transaction.rbi +0 -45
  511. data/rbi/stripe/resources/treasury/transaction_entry.rbi +0 -41
  512. data/rbi/stripe/resources/usage_record.rbi +0 -5
  513. data/rbi/stripe/resources/usage_record_summary.rbi +0 -7
  514. data/rbi/stripe/resources/v2/billing/meter_event.rbi +0 -6
  515. data/rbi/stripe/resources/v2/billing/meter_event_adjustment.rbi +0 -7
  516. data/rbi/stripe/resources/v2/billing/meter_event_session.rbi +0 -5
  517. data/rbi/stripe/resources/v2/event.rbi +0 -8
  518. data/rbi/stripe/resources/v2/event_destination.rbi +0 -19
  519. data/rbi/stripe/resources/webhook_endpoint.rbi +0 -31
  520. data/rbi/stripe/services/account_capability_service.rbi +0 -4
  521. data/rbi/stripe/services/account_external_account_service.rbi +0 -52
  522. data/rbi/stripe/services/account_link_service.rbi +0 -9
  523. data/rbi/stripe/services/account_login_link_service.rbi +0 -1
  524. data/rbi/stripe/services/account_notice_service.rbi +0 -13
  525. data/rbi/stripe/services/account_person_service.rbi +0 -174
  526. data/rbi/stripe/services/account_service.rbi +98 -779
  527. data/rbi/stripe/services/account_session_service.rbi +29 -122
  528. data/rbi/stripe/services/apple_pay_domain_service.rbi +0 -8
  529. data/rbi/stripe/services/application_fee_refund_service.rbi +0 -10
  530. data/rbi/stripe/services/application_fee_service.rbi +0 -11
  531. data/rbi/stripe/services/apps/secret_service.rbi +0 -24
  532. data/rbi/stripe/services/balance_service.rbi +0 -1
  533. data/rbi/stripe/services/balance_transaction_service.rbi +0 -14
  534. data/rbi/stripe/services/billing/alert_service.rbi +0 -20
  535. data/rbi/stripe/services/billing/credit_balance_summary_service.rbi +0 -7
  536. data/rbi/stripe/services/billing/credit_balance_transaction_service.rbi +0 -7
  537. data/rbi/stripe/services/billing/credit_grant_service.rbi +0 -26
  538. data/rbi/stripe/services/billing/meter_event_adjustment_service.rbi +0 -5
  539. data/rbi/stripe/services/billing/meter_event_service.rbi +0 -5
  540. data/rbi/stripe/services/billing/meter_event_summary_service.rbi +0 -8
  541. data/rbi/stripe/services/billing/meter_service.rbi +0 -21
  542. data/rbi/stripe/services/billing_portal/configuration_service.rbi +2 -78
  543. data/rbi/stripe/services/billing_portal/session_service.rbi +0 -31
  544. data/rbi/stripe/services/capital/financing_offer_service.rbi +0 -13
  545. data/rbi/stripe/services/capital/financing_summary_service.rbi +0 -1
  546. data/rbi/stripe/services/capital/financing_transaction_service.rbi +0 -9
  547. data/rbi/stripe/services/charge_service.rbi +0 -346
  548. data/rbi/stripe/services/checkout/session_line_item_service.rbi +0 -4
  549. data/rbi/stripe/services/checkout/session_service.rbi +12 -396
  550. data/rbi/stripe/services/climate/order_service.rbi +0 -18
  551. data/rbi/stripe/services/climate/product_service.rbi +0 -5
  552. data/rbi/stripe/services/climate/supplier_service.rbi +0 -5
  553. data/rbi/stripe/services/confirmation_token_service.rbi +0 -1
  554. data/rbi/stripe/services/country_spec_service.rbi +0 -5
  555. data/rbi/stripe/services/coupon_service.rbi +0 -30
  556. data/rbi/stripe/services/credit_note_line_item_service.rbi +0 -4
  557. data/rbi/stripe/services/credit_note_preview_lines_service.rbi +0 -33
  558. data/rbi/stripe/services/credit_note_service.rbi +0 -76
  559. data/rbi/stripe/services/customer_balance_transaction_service.rbi +0 -13
  560. data/rbi/stripe/services/customer_cash_balance_service.rbi +0 -4
  561. data/rbi/stripe/services/customer_cash_balance_transaction_service.rbi +0 -5
  562. data/rbi/stripe/services/customer_funding_instructions_service.rbi +0 -8
  563. data/rbi/stripe/services/customer_payment_method_service.rbi +0 -7
  564. data/rbi/stripe/services/customer_payment_source_service.rbi +0 -37
  565. data/rbi/stripe/services/customer_service.rbi +1 -117
  566. data/rbi/stripe/services/customer_session_service.rbi +0 -16
  567. data/rbi/stripe/services/customer_tax_id_service.rbi +1 -9
  568. data/rbi/stripe/services/dispute_service.rbi +2 -80
  569. data/rbi/stripe/services/entitlements/active_entitlement_service.rbi +0 -6
  570. data/rbi/stripe/services/entitlements/feature_service.rbi +0 -15
  571. data/rbi/stripe/services/ephemeral_key_service.rbi +0 -6
  572. data/rbi/stripe/services/event_service.rbi +0 -13
  573. data/rbi/stripe/services/exchange_rate_service.rbi +0 -5
  574. data/rbi/stripe/services/file_link_service.rbi +0 -19
  575. data/rbi/stripe/services/file_service.rbi +0 -18
  576. data/rbi/stripe/services/financial_connections/account_inferred_balance_service.rbi +0 -4
  577. data/rbi/stripe/services/financial_connections/account_owner_service.rbi +0 -5
  578. data/rbi/stripe/services/financial_connections/account_service.rbi +0 -16
  579. data/rbi/stripe/services/financial_connections/institution_service.rbi +0 -5
  580. data/rbi/stripe/services/financial_connections/session_service.rbi +0 -17
  581. data/rbi/stripe/services/financial_connections/transaction_service.rbi +1 -14
  582. data/rbi/stripe/services/forwarding/request_service.rbi +0 -20
  583. data/rbi/stripe/services/gift_cards/card_service.rbi +0 -20
  584. data/rbi/stripe/services/gift_cards/transaction_service.rbi +0 -24
  585. data/rbi/stripe/services/identity/verification_report_service.rbi +0 -13
  586. data/rbi/stripe/services/identity/verification_session_service.rbi +0 -43
  587. data/rbi/stripe/services/invoice_item_service.rbi +0 -81
  588. data/rbi/stripe/services/invoice_line_item_service.rbi +0 -50
  589. data/rbi/stripe/services/invoice_payment_service.rbi +0 -5
  590. data/rbi/stripe/services/invoice_rendering_template_service.rbi +0 -9
  591. data/rbi/stripe/services/invoice_service.rbi +2 -1100
  592. data/rbi/stripe/services/invoice_upcoming_lines_service.rbi +1 -375
  593. data/rbi/stripe/services/issuing/authorization_service.rbi +0 -20
  594. data/rbi/stripe/services/issuing/card_service.rbi +0 -89
  595. data/rbi/stripe/services/issuing/cardholder_service.rbi +0 -100
  596. data/rbi/stripe/services/issuing/credit_underwriting_record_service.rbi +0 -82
  597. data/rbi/stripe/services/issuing/dispute_service.rbi +0 -123
  598. data/rbi/stripe/services/issuing/dispute_settlement_detail_service.rbi +0 -6
  599. data/rbi/stripe/services/issuing/fraud_liability_debit_service.rbi +0 -10
  600. data/rbi/stripe/services/issuing/personalization_design_service.rbi +0 -38
  601. data/rbi/stripe/services/issuing/physical_bundle_service.rbi +0 -7
  602. data/rbi/stripe/services/issuing/token_service.rbi +0 -14
  603. data/rbi/stripe/services/issuing/transaction_service.rbi +0 -16
  604. data/rbi/stripe/services/mandate_service.rbi +0 -1
  605. data/rbi/stripe/services/margin_service.rbi +0 -15
  606. data/rbi/stripe/services/order_line_item_service.rbi +0 -4
  607. data/rbi/stripe/services/order_service.rbi +2 -365
  608. data/rbi/stripe/services/payment_attempt_record_service.rbi +0 -3
  609. data/rbi/stripe/services/payment_intent_service.rbi +54 -1770
  610. data/rbi/stripe/services/payment_link_line_item_service.rbi +0 -4
  611. data/rbi/stripe/services/payment_link_service.rbi +14 -211
  612. data/rbi/stripe/services/payment_method_configuration_service.rbi +46 -296
  613. data/rbi/stripe/services/payment_method_domain_service.rbi +0 -13
  614. data/rbi/stripe/services/payment_method_service.rbi +16 -151
  615. data/rbi/stripe/services/payment_record_service.rbi +0 -92
  616. data/rbi/stripe/services/payout_service.rbi +0 -31
  617. data/rbi/stripe/services/plan_service.rbi +0 -51
  618. data/rbi/stripe/services/price_service.rbi +0 -106
  619. data/rbi/stripe/services/product_feature_service.rbi +0 -7
  620. data/rbi/stripe/services/product_service.rbi +0 -93
  621. data/rbi/stripe/services/promotion_code_service.rbi +0 -34
  622. data/rbi/stripe/services/quote_computed_upfront_line_items_service.rbi +0 -4
  623. data/rbi/stripe/services/quote_line_item_service.rbi +0 -4
  624. data/rbi/stripe/services/quote_line_service.rbi +0 -4
  625. data/rbi/stripe/services/quote_preview_invoice_service.rbi +0 -4
  626. data/rbi/stripe/services/quote_preview_subscription_schedule_service.rbi +0 -4
  627. data/rbi/stripe/services/quote_service.rbi +0 -440
  628. data/rbi/stripe/services/radar/early_fraud_warning_service.rbi +0 -12
  629. data/rbi/stripe/services/radar/value_list_item_service.rbi +0 -15
  630. data/rbi/stripe/services/radar/value_list_service.rbi +0 -21
  631. data/rbi/stripe/services/refund_service.rbi +0 -27
  632. data/rbi/stripe/services/reporting/report_run_service.rbi +0 -21
  633. data/rbi/stripe/services/reporting/report_type_service.rbi +0 -2
  634. data/rbi/stripe/services/review_service.rbi +0 -11
  635. data/rbi/stripe/services/setup_attempt_service.rbi +0 -10
  636. data/rbi/stripe/services/setup_intent_service.rbi +24 -598
  637. data/rbi/stripe/services/shipping_rate_service.rbi +0 -39
  638. data/rbi/stripe/services/sigma/scheduled_query_run_service.rbi +0 -5
  639. data/rbi/stripe/services/source_service.rbi +0 -119
  640. data/rbi/stripe/services/source_transaction_service.rbi +0 -4
  641. data/rbi/stripe/services/subscription_item_service.rbi +0 -74
  642. data/rbi/stripe/services/subscription_item_usage_record_service.rbi +0 -4
  643. data/rbi/stripe/services/subscription_item_usage_record_summary_service.rbi +0 -4
  644. data/rbi/stripe/services/subscription_schedule_service.rbi +0 -405
  645. data/rbi/stripe/services/subscription_service.rbi +0 -337
  646. data/rbi/stripe/services/tax/association_service.rbi +0 -2
  647. data/rbi/stripe/services/tax/calculation_line_item_service.rbi +0 -4
  648. data/rbi/stripe/services/tax/calculation_service.rbi +1 -40
  649. data/rbi/stripe/services/tax/form_service.rbi +0 -11
  650. data/rbi/stripe/services/tax/registration_service.rbi +233 -211
  651. data/rbi/stripe/services/tax/settings_service.rbi +0 -13
  652. data/rbi/stripe/services/tax/transaction_line_item_service.rbi +0 -4
  653. data/rbi/stripe/services/tax/transaction_service.rbi +0 -22
  654. data/rbi/stripe/services/tax_code_service.rbi +0 -5
  655. data/rbi/stripe/services/tax_id_service.rbi +1 -17
  656. data/rbi/stripe/services/tax_rate_service.rbi +0 -32
  657. data/rbi/stripe/services/terminal/configuration_service.rbi +40 -156
  658. data/rbi/stripe/services/terminal/connection_token_service.rbi +0 -2
  659. data/rbi/stripe/services/terminal/location_service.rbi +0 -27
  660. data/rbi/stripe/services/terminal/reader_collected_data_service.rbi +0 -1
  661. data/rbi/stripe/services/terminal/reader_service.rbi +0 -78
  662. data/rbi/stripe/services/test_helpers/confirmation_token_service.rbi +10 -115
  663. data/rbi/stripe/services/test_helpers/customer_service.rbi +0 -4
  664. data/rbi/stripe/services/test_helpers/issuing/authorization_service.rbi +0 -138
  665. data/rbi/stripe/services/test_helpers/issuing/card_service.rbi +0 -5
  666. data/rbi/stripe/services/test_helpers/issuing/personalization_design_service.rbi +0 -6
  667. data/rbi/stripe/services/test_helpers/issuing/transaction_service.rbi +0 -120
  668. data/rbi/stripe/services/test_helpers/refund_service.rbi +0 -1
  669. data/rbi/stripe/services/test_helpers/terminal/reader_service.rbi +0 -7
  670. data/rbi/stripe/services/test_helpers/test_clock_service.rbi +0 -10
  671. data/rbi/stripe/services/test_helpers/treasury/inbound_transfer_service.rbi +0 -5
  672. data/rbi/stripe/services/test_helpers/treasury/outbound_payment_service.rbi +0 -14
  673. data/rbi/stripe/services/test_helpers/treasury/outbound_transfer_service.rbi +0 -14
  674. data/rbi/stripe/services/test_helpers/treasury/received_credit_service.rbi +0 -16
  675. data/rbi/stripe/services/test_helpers/treasury/received_debit_service.rbi +0 -16
  676. data/rbi/stripe/services/token_service.rbi +24 -226
  677. data/rbi/stripe/services/topup_service.rbi +0 -28
  678. data/rbi/stripe/services/transfer_reversal_service.rbi +0 -12
  679. data/rbi/stripe/services/transfer_service.rbi +0 -24
  680. data/rbi/stripe/services/treasury/credit_reversal_service.rbi +0 -11
  681. data/rbi/stripe/services/treasury/debit_reversal_service.rbi +0 -12
  682. data/rbi/stripe/services/treasury/financial_account_features_service.rbi +0 -25
  683. data/rbi/stripe/services/treasury/financial_account_service.rbi +62 -73
  684. data/rbi/stripe/services/treasury/inbound_transfer_service.rbi +0 -16
  685. data/rbi/stripe/services/treasury/outbound_payment_service.rbi +0 -50
  686. data/rbi/stripe/services/treasury/outbound_transfer_service.rbi +17 -24
  687. data/rbi/stripe/services/treasury/received_credit_service.rbi +0 -9
  688. data/rbi/stripe/services/treasury/received_debit_service.rbi +0 -7
  689. data/rbi/stripe/services/treasury/transaction_entry_service.rbi +0 -18
  690. data/rbi/stripe/services/treasury/transaction_service.rbi +0 -19
  691. data/rbi/stripe/services/v2/billing/meter_event_adjustment_service.rbi +0 -4
  692. data/rbi/stripe/services/v2/billing/meter_event_service.rbi +0 -4
  693. data/rbi/stripe/services/v2/billing/meter_event_stream_service.rbi +0 -5
  694. data/rbi/stripe/services/v2/core/event_destination_service.rbi +0 -25
  695. data/rbi/stripe/services/v2/core/event_service.rbi +0 -3
  696. data/rbi/stripe/services/webhook_endpoint_service.rbi +0 -18
  697. metadata +4 -2
@@ -9,19 +9,15 @@ module Stripe
9
9
  # Minimum value to filter by (exclusive)
10
10
  sig { returns(Integer) }
11
11
  attr_accessor :gt
12
-
13
12
  # Minimum value to filter by (inclusive)
14
13
  sig { returns(Integer) }
15
14
  attr_accessor :gte
16
-
17
15
  # Maximum value to filter by (exclusive)
18
16
  sig { returns(Integer) }
19
17
  attr_accessor :lt
20
-
21
18
  # Maximum value to filter by (inclusive)
22
19
  sig { returns(Integer) }
23
20
  attr_accessor :lte
24
-
25
21
  sig { params(gt: Integer, gte: Integer, lt: Integer, lte: Integer).void }
26
22
  def initialize(gt: nil, gte: nil, lt: nil, lte: nil); end
27
23
  end
@@ -30,35 +26,27 @@ module Stripe
30
26
  # It can only be used for this Stripe Account’s own money movement flows like InboundTransfer and OutboundTransfers. It cannot be set to true when setting up a PaymentMethod for a Customer, and defaults to false when attaching a PaymentMethod to a Customer.
31
27
  sig { returns(T::Boolean) }
32
28
  attr_accessor :attach_to_self
33
-
34
29
  # A filter on the list, based on the object `created` field. The value can be a string with an integer Unix timestamp, or it can be a dictionary with a number of different query options.
35
30
  sig { returns(T.any(::Stripe::SetupIntentService::ListParams::Created, Integer)) }
36
31
  attr_accessor :created
37
-
38
32
  # Only return SetupIntents for the customer specified by this customer ID.
39
33
  sig { returns(String) }
40
34
  attr_accessor :customer
41
-
42
35
  # A cursor for use in pagination. `ending_before` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with `obj_bar`, your subsequent call can include `ending_before=obj_bar` in order to fetch the previous page of the list.
43
36
  sig { returns(String) }
44
37
  attr_accessor :ending_before
45
-
46
38
  # Specifies which fields in the response should be expanded.
47
39
  sig { returns(T::Array[String]) }
48
40
  attr_accessor :expand
49
-
50
41
  # A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.
51
42
  sig { returns(Integer) }
52
43
  attr_accessor :limit
53
-
54
44
  # Only return SetupIntents that associate with the specified payment method.
55
45
  sig { returns(String) }
56
46
  attr_accessor :payment_method
57
-
58
47
  # A cursor for use in pagination. `starting_after` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending with `obj_foo`, your subsequent call can include `starting_after=obj_foo` in order to fetch the next page of the list.
59
48
  sig { returns(String) }
60
49
  attr_accessor :starting_after
61
-
62
50
  sig {
63
51
  params(attach_to_self: T::Boolean, created: T.any(::Stripe::SetupIntentService::ListParams::Created, Integer), customer: String, ending_before: String, expand: T::Array[String], limit: Integer, payment_method: String, starting_after: String).void
64
52
  }
@@ -80,11 +68,9 @@ module Stripe
80
68
  # Redirect-based payment methods may require your customer to be redirected to a payment method's app or site for authentication or additional steps. To [confirm](https://stripe.com/docs/api/setup_intents/confirm) this SetupIntent, you may be required to provide a `return_url` to redirect customers back to your site after they authenticate or complete the setup.
81
69
  sig { returns(String) }
82
70
  attr_accessor :allow_redirects
83
-
84
71
  # Whether this feature is enabled.
85
72
  sig { returns(T::Boolean) }
86
73
  attr_accessor :enabled
87
-
88
74
  sig { params(allow_redirects: String, enabled: T::Boolean).void }
89
75
  def initialize(allow_redirects: nil, enabled: nil); end
90
76
  end
@@ -97,34 +83,28 @@ module Stripe
97
83
  # The IP address from which the Mandate was accepted by the customer.
98
84
  sig { returns(String) }
99
85
  attr_accessor :ip_address
100
-
101
86
  # The user agent of the browser from which the Mandate was accepted by the customer.
102
87
  sig { returns(String) }
103
88
  attr_accessor :user_agent
104
-
105
89
  sig { params(ip_address: String, user_agent: String).void }
106
90
  def initialize(ip_address: nil, user_agent: nil); end
107
91
  end
108
92
  # The time at which the customer accepted the Mandate.
109
93
  sig { returns(Integer) }
110
94
  attr_accessor :accepted_at
111
-
112
95
  # If this is a Mandate accepted offline, this hash contains details about the offline acceptance.
113
96
  sig {
114
97
  returns(::Stripe::SetupIntentService::CreateParams::MandateData::CustomerAcceptance::Offline)
115
98
  }
116
99
  attr_accessor :offline
117
-
118
100
  # If this is a Mandate accepted online, this hash contains details about the online acceptance.
119
101
  sig {
120
102
  returns(::Stripe::SetupIntentService::CreateParams::MandateData::CustomerAcceptance::Online)
121
103
  }
122
104
  attr_accessor :online
123
-
124
105
  # The type of customer acceptance information included with the Mandate. One of `online` or `offline`.
125
106
  sig { returns(String) }
126
107
  attr_accessor :type
127
-
128
108
  sig {
129
109
  params(accepted_at: Integer, offline: ::Stripe::SetupIntentService::CreateParams::MandateData::CustomerAcceptance::Offline, online: ::Stripe::SetupIntentService::CreateParams::MandateData::CustomerAcceptance::Online, type: String).void
130
110
  }
@@ -133,7 +113,6 @@ module Stripe
133
113
  # This hash contains details about the customer acceptance of the Mandate.
134
114
  sig { returns(::Stripe::SetupIntentService::CreateParams::MandateData::CustomerAcceptance) }
135
115
  attr_accessor :customer_acceptance
136
-
137
116
  sig {
138
117
  params(customer_acceptance: ::Stripe::SetupIntentService::CreateParams::MandateData::CustomerAcceptance).void
139
118
  }
@@ -144,15 +123,12 @@ module Stripe
144
123
  # Customer's bank account number.
145
124
  sig { returns(String) }
146
125
  attr_accessor :account_number
147
-
148
126
  # Institution number of the customer's bank.
149
127
  sig { returns(String) }
150
128
  attr_accessor :institution_number
151
-
152
129
  # Transit number of the customer's bank.
153
130
  sig { returns(String) }
154
131
  attr_accessor :transit_number
155
-
156
132
  sig {
157
133
  params(account_number: String, institution_number: String, transit_number: String).void
158
134
  }
@@ -177,11 +153,9 @@ module Stripe
177
153
  # The account number for the bank account.
178
154
  sig { returns(String) }
179
155
  attr_accessor :account_number
180
-
181
156
  # Bank-State-Branch number of the bank account.
182
157
  sig { returns(String) }
183
158
  attr_accessor :bsb_number
184
-
185
159
  sig { params(account_number: String, bsb_number: String).void }
186
160
  def initialize(account_number: nil, bsb_number: nil); end
187
161
  end
@@ -189,11 +163,9 @@ module Stripe
189
163
  # Account number of the bank account that the funds will be debited from.
190
164
  sig { returns(String) }
191
165
  attr_accessor :account_number
192
-
193
166
  # Sort code of the bank account. (e.g., `10-20-30`)
194
167
  sig { returns(String) }
195
168
  attr_accessor :sort_code
196
-
197
169
  sig { params(account_number: String, sort_code: String).void }
198
170
  def initialize(account_number: nil, sort_code: nil); end
199
171
  end
@@ -205,27 +177,21 @@ module Stripe
205
177
  # City, district, suburb, town, or village.
206
178
  sig { returns(String) }
207
179
  attr_accessor :city
208
-
209
180
  # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
210
181
  sig { returns(String) }
211
182
  attr_accessor :country
212
-
213
183
  # Address line 1 (e.g., street, PO Box, or company name).
214
184
  sig { returns(String) }
215
185
  attr_accessor :line1
216
-
217
186
  # Address line 2 (e.g., apartment, suite, unit, or building).
218
187
  sig { returns(String) }
219
188
  attr_accessor :line2
220
-
221
189
  # ZIP or postal code.
222
190
  sig { returns(String) }
223
191
  attr_accessor :postal_code
224
-
225
192
  # State, county, province, or region.
226
193
  sig { returns(String) }
227
194
  attr_accessor :state
228
-
229
195
  sig {
230
196
  params(city: String, country: String, line1: String, line2: String, postal_code: String, state: String).void
231
197
  }
@@ -243,19 +209,15 @@ module Stripe
243
209
  returns(T.nilable(::Stripe::SetupIntentService::CreateParams::PaymentMethodData::BillingDetails::Address))
244
210
  }
245
211
  attr_accessor :address
246
-
247
212
  # Email address.
248
213
  sig { returns(T.nilable(String)) }
249
214
  attr_accessor :email
250
-
251
215
  # Full name.
252
216
  sig { returns(T.nilable(String)) }
253
217
  attr_accessor :name
254
-
255
218
  # Billing phone number (including extension).
256
219
  sig { returns(T.nilable(String)) }
257
220
  attr_accessor :phone
258
-
259
221
  sig {
260
222
  params(address: T.nilable(::Stripe::SetupIntentService::CreateParams::PaymentMethodData::BillingDetails::Address), email: T.nilable(String), name: T.nilable(String), phone: T.nilable(String)).void
261
223
  }
@@ -268,7 +230,6 @@ module Stripe
268
230
  # The tax ID of the customer (CPF for individual consumers or CNPJ for businesses consumers)
269
231
  sig { returns(String) }
270
232
  attr_accessor :tax_id
271
-
272
233
  sig { params(tax_id: String).void }
273
234
  def initialize(tax_id: nil); end
274
235
  end
@@ -282,7 +243,6 @@ module Stripe
282
243
  # The customer's bank.
283
244
  sig { returns(String) }
284
245
  attr_accessor :bank
285
-
286
246
  sig { params(bank: String).void }
287
247
  def initialize(bank: nil); end
288
248
  end
@@ -290,11 +250,9 @@ module Stripe
290
250
  # Account holder type for FPX transaction
291
251
  sig { returns(String) }
292
252
  attr_accessor :account_holder_type
293
-
294
253
  # The customer's bank.
295
254
  sig { returns(String) }
296
255
  attr_accessor :bank
297
-
298
256
  sig { params(account_holder_type: String, bank: String).void }
299
257
  def initialize(account_holder_type: nil, bank: nil); end
300
258
  end
@@ -311,7 +269,6 @@ module Stripe
311
269
  # Bank where the account is held.
312
270
  sig { returns(String) }
313
271
  attr_accessor :bank
314
-
315
272
  sig { params(bank: String).void }
316
273
  def initialize(bank: nil); end
317
274
  end
@@ -319,7 +276,6 @@ module Stripe
319
276
  # The customer's bank. Only use this parameter for existing customers. Don't use it for new customers.
320
277
  sig { returns(String) }
321
278
  attr_accessor :bank
322
-
323
279
  sig { params(bank: String).void }
324
280
  def initialize(bank: nil); end
325
281
  end
@@ -334,15 +290,12 @@ module Stripe
334
290
  # The day of birth, between 1 and 31.
335
291
  sig { returns(Integer) }
336
292
  attr_accessor :day
337
-
338
293
  # The month of birth, between 1 and 12.
339
294
  sig { returns(Integer) }
340
295
  attr_accessor :month
341
-
342
296
  # The four-digit year of birth.
343
297
  sig { returns(Integer) }
344
298
  attr_accessor :year
345
-
346
299
  sig { params(day: Integer, month: Integer, year: Integer).void }
347
300
  def initialize(day: nil, month: nil, year: nil); end
348
301
  end
@@ -351,7 +304,6 @@ module Stripe
351
304
  returns(::Stripe::SetupIntentService::CreateParams::PaymentMethodData::Klarna::Dob)
352
305
  }
353
306
  attr_accessor :dob
354
-
355
307
  sig {
356
308
  params(dob: ::Stripe::SetupIntentService::CreateParams::PaymentMethodData::Klarna::Dob).void
357
309
  }
@@ -379,7 +331,6 @@ module Stripe
379
331
  # Whether to use Naver Pay points or a card to fund this transaction. If not provided, this defaults to `card`.
380
332
  sig { returns(String) }
381
333
  attr_accessor :funding
382
-
383
334
  sig { params(funding: String).void }
384
335
  def initialize(funding: nil); end
385
336
  end
@@ -390,9 +341,11 @@ module Stripe
390
341
  # The customer's bank.
391
342
  sig { returns(String) }
392
343
  attr_accessor :bank
393
-
394
344
  sig { params(bank: String).void }
395
345
  def initialize(bank: nil); end
346
+ end
347
+ class PayByBank < Stripe::RequestParams
348
+
396
349
  end
397
350
  class Payco < Stripe::RequestParams
398
351
 
@@ -407,15 +360,12 @@ module Stripe
407
360
  # The account number for the bank account.
408
361
  sig { returns(String) }
409
362
  attr_accessor :account_number
410
-
411
363
  # Bank-State-Branch number of the bank account.
412
364
  sig { returns(String) }
413
365
  attr_accessor :bsb_number
414
-
415
366
  # The PayID alias for the bank account.
416
367
  sig { returns(String) }
417
368
  attr_accessor :pay_id
418
-
419
369
  sig { params(account_number: String, bsb_number: String, pay_id: String).void }
420
370
  def initialize(account_number: nil, bsb_number: nil, pay_id: nil); end
421
371
  end
@@ -432,7 +382,6 @@ module Stripe
432
382
  # 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.
433
383
  sig { returns(String) }
434
384
  attr_accessor :session
435
-
436
385
  sig { params(session: String).void }
437
386
  def initialize(session: nil); end
438
387
  end
@@ -441,15 +390,12 @@ module Stripe
441
390
  # The day of birth, between 1 and 31.
442
391
  sig { returns(Integer) }
443
392
  attr_accessor :day
444
-
445
393
  # The month of birth, between 1 and 12.
446
394
  sig { returns(Integer) }
447
395
  attr_accessor :month
448
-
449
396
  # The four-digit year of birth.
450
397
  sig { returns(Integer) }
451
398
  attr_accessor :year
452
-
453
399
  sig { params(day: Integer, month: Integer, year: Integer).void }
454
400
  def initialize(day: nil, month: nil, year: nil); end
455
401
  end
@@ -458,7 +404,6 @@ module Stripe
458
404
  returns(::Stripe::SetupIntentService::CreateParams::PaymentMethodData::Rechnung::Dob)
459
405
  }
460
406
  attr_accessor :dob
461
-
462
407
  sig {
463
408
  params(dob: ::Stripe::SetupIntentService::CreateParams::PaymentMethodData::Rechnung::Dob).void
464
409
  }
@@ -474,7 +419,6 @@ module Stripe
474
419
  # IBAN of the bank account.
475
420
  sig { returns(String) }
476
421
  attr_accessor :iban
477
-
478
422
  sig { params(iban: String).void }
479
423
  def initialize(iban: nil); end
480
424
  end
@@ -485,7 +429,6 @@ module Stripe
485
429
  # Two-letter ISO code representing the country the bank account is located in.
486
430
  sig { returns(String) }
487
431
  attr_accessor :country
488
-
489
432
  sig { params(country: String).void }
490
433
  def initialize(country: nil); end
491
434
  end
@@ -499,23 +442,18 @@ module Stripe
499
442
  # Account holder type: individual or company.
500
443
  sig { returns(String) }
501
444
  attr_accessor :account_holder_type
502
-
503
445
  # Account number of the bank account.
504
446
  sig { returns(String) }
505
447
  attr_accessor :account_number
506
-
507
448
  # Account type: checkings or savings. Defaults to checking if omitted.
508
449
  sig { returns(String) }
509
450
  attr_accessor :account_type
510
-
511
451
  # The ID of a Financial Connections Account to use as a payment method.
512
452
  sig { returns(String) }
513
453
  attr_accessor :financial_connections_account
514
-
515
454
  # Routing number of the bank account.
516
455
  sig { returns(String) }
517
456
  attr_accessor :routing_number
518
-
519
457
  sig {
520
458
  params(account_holder_type: String, account_number: String, account_type: String, financial_connections_account: String, routing_number: String).void
521
459
  }
@@ -536,237 +474,185 @@ module Stripe
536
474
  # If this is an `acss_debit` PaymentMethod, this hash contains details about the ACSS Debit payment method.
537
475
  sig { returns(::Stripe::SetupIntentService::CreateParams::PaymentMethodData::AcssDebit) }
538
476
  attr_accessor :acss_debit
539
-
540
477
  # If this is an `affirm` PaymentMethod, this hash contains details about the Affirm payment method.
541
478
  sig { returns(::Stripe::SetupIntentService::CreateParams::PaymentMethodData::Affirm) }
542
479
  attr_accessor :affirm
543
-
544
480
  # If this is an `AfterpayClearpay` PaymentMethod, this hash contains details about the AfterpayClearpay payment method.
545
481
  sig {
546
482
  returns(::Stripe::SetupIntentService::CreateParams::PaymentMethodData::AfterpayClearpay)
547
483
  }
548
484
  attr_accessor :afterpay_clearpay
549
-
550
485
  # If this is an `Alipay` PaymentMethod, this hash contains details about the Alipay payment method.
551
486
  sig { returns(::Stripe::SetupIntentService::CreateParams::PaymentMethodData::Alipay) }
552
487
  attr_accessor :alipay
553
-
554
488
  # This field indicates whether this payment method can be shown again to its customer in a checkout flow. Stripe products such as Checkout and Elements use this field to determine whether a payment method can be shown as a saved payment method in a checkout flow. The field defaults to `unspecified`.
555
489
  sig { returns(String) }
556
490
  attr_accessor :allow_redisplay
557
-
558
491
  # If this is a Alma PaymentMethod, this hash contains details about the Alma payment method.
559
492
  sig { returns(::Stripe::SetupIntentService::CreateParams::PaymentMethodData::Alma) }
560
493
  attr_accessor :alma
561
-
562
494
  # If this is a AmazonPay PaymentMethod, this hash contains details about the AmazonPay payment method.
563
495
  sig { returns(::Stripe::SetupIntentService::CreateParams::PaymentMethodData::AmazonPay) }
564
496
  attr_accessor :amazon_pay
565
-
566
497
  # If this is an `au_becs_debit` PaymentMethod, this hash contains details about the bank account.
567
498
  sig { returns(::Stripe::SetupIntentService::CreateParams::PaymentMethodData::AuBecsDebit) }
568
499
  attr_accessor :au_becs_debit
569
-
570
500
  # If this is a `bacs_debit` PaymentMethod, this hash contains details about the Bacs Direct Debit bank account.
571
501
  sig { returns(::Stripe::SetupIntentService::CreateParams::PaymentMethodData::BacsDebit) }
572
502
  attr_accessor :bacs_debit
573
-
574
503
  # If this is a `bancontact` PaymentMethod, this hash contains details about the Bancontact payment method.
575
504
  sig { returns(::Stripe::SetupIntentService::CreateParams::PaymentMethodData::Bancontact) }
576
505
  attr_accessor :bancontact
577
-
578
506
  # Billing information associated with the PaymentMethod that may be used or required by particular types of payment methods.
579
507
  sig {
580
508
  returns(::Stripe::SetupIntentService::CreateParams::PaymentMethodData::BillingDetails)
581
509
  }
582
510
  attr_accessor :billing_details
583
-
584
511
  # If this is a `blik` PaymentMethod, this hash contains details about the BLIK payment method.
585
512
  sig { returns(::Stripe::SetupIntentService::CreateParams::PaymentMethodData::Blik) }
586
513
  attr_accessor :blik
587
-
588
514
  # If this is a `boleto` PaymentMethod, this hash contains details about the Boleto payment method.
589
515
  sig { returns(::Stripe::SetupIntentService::CreateParams::PaymentMethodData::Boleto) }
590
516
  attr_accessor :boleto
591
-
592
517
  # If this is a `cashapp` PaymentMethod, this hash contains details about the Cash App Pay payment method.
593
518
  sig { returns(::Stripe::SetupIntentService::CreateParams::PaymentMethodData::Cashapp) }
594
519
  attr_accessor :cashapp
595
-
596
520
  # If this is a `customer_balance` PaymentMethod, this hash contains details about the CustomerBalance payment method.
597
521
  sig {
598
522
  returns(::Stripe::SetupIntentService::CreateParams::PaymentMethodData::CustomerBalance)
599
523
  }
600
524
  attr_accessor :customer_balance
601
-
602
525
  # If this is an `eps` PaymentMethod, this hash contains details about the EPS payment method.
603
526
  sig { returns(::Stripe::SetupIntentService::CreateParams::PaymentMethodData::Eps) }
604
527
  attr_accessor :eps
605
-
606
528
  # If this is an `fpx` PaymentMethod, this hash contains details about the FPX payment method.
607
529
  sig { returns(::Stripe::SetupIntentService::CreateParams::PaymentMethodData::Fpx) }
608
530
  attr_accessor :fpx
609
-
610
531
  # If this is a `giropay` PaymentMethod, this hash contains details about the Giropay payment method.
611
532
  sig { returns(::Stripe::SetupIntentService::CreateParams::PaymentMethodData::Giropay) }
612
533
  attr_accessor :giropay
613
-
614
534
  # If this is a Gopay PaymentMethod, this hash contains details about the Gopay payment method.
615
535
  sig { returns(::Stripe::SetupIntentService::CreateParams::PaymentMethodData::Gopay) }
616
536
  attr_accessor :gopay
617
-
618
537
  # If this is a `grabpay` PaymentMethod, this hash contains details about the GrabPay payment method.
619
538
  sig { returns(::Stripe::SetupIntentService::CreateParams::PaymentMethodData::Grabpay) }
620
539
  attr_accessor :grabpay
621
-
622
540
  # If this is an `IdBankTransfer` PaymentMethod, this hash contains details about the IdBankTransfer payment method.
623
541
  sig {
624
542
  returns(::Stripe::SetupIntentService::CreateParams::PaymentMethodData::IdBankTransfer)
625
543
  }
626
544
  attr_accessor :id_bank_transfer
627
-
628
545
  # If this is an `ideal` PaymentMethod, this hash contains details about the iDEAL payment method.
629
546
  sig { returns(::Stripe::SetupIntentService::CreateParams::PaymentMethodData::Ideal) }
630
547
  attr_accessor :ideal
631
-
632
548
  # If this is an `interac_present` PaymentMethod, this hash contains details about the Interac Present payment method.
633
549
  sig {
634
550
  returns(::Stripe::SetupIntentService::CreateParams::PaymentMethodData::InteracPresent)
635
551
  }
636
552
  attr_accessor :interac_present
637
-
638
553
  # If this is a `kakao_pay` PaymentMethod, this hash contains details about the Kakao Pay payment method.
639
554
  sig { returns(::Stripe::SetupIntentService::CreateParams::PaymentMethodData::KakaoPay) }
640
555
  attr_accessor :kakao_pay
641
-
642
556
  # If this is a `klarna` PaymentMethod, this hash contains details about the Klarna payment method.
643
557
  sig { returns(::Stripe::SetupIntentService::CreateParams::PaymentMethodData::Klarna) }
644
558
  attr_accessor :klarna
645
-
646
559
  # If this is a `konbini` PaymentMethod, this hash contains details about the Konbini payment method.
647
560
  sig { returns(::Stripe::SetupIntentService::CreateParams::PaymentMethodData::Konbini) }
648
561
  attr_accessor :konbini
649
-
650
562
  # If this is a `kr_card` PaymentMethod, this hash contains details about the Korean Card payment method.
651
563
  sig { returns(::Stripe::SetupIntentService::CreateParams::PaymentMethodData::KrCard) }
652
564
  attr_accessor :kr_card
653
-
654
565
  # If this is an `Link` PaymentMethod, this hash contains details about the Link payment method.
655
566
  sig { returns(::Stripe::SetupIntentService::CreateParams::PaymentMethodData::Link) }
656
567
  attr_accessor :link
657
-
658
568
  # If this is a MB WAY PaymentMethod, this hash contains details about the MB WAY payment method.
659
569
  sig { returns(::Stripe::SetupIntentService::CreateParams::PaymentMethodData::MbWay) }
660
570
  attr_accessor :mb_way
661
-
662
571
  # Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.
663
572
  sig { returns(T::Hash[String, String]) }
664
573
  attr_accessor :metadata
665
-
666
574
  # If this is a `mobilepay` PaymentMethod, this hash contains details about the MobilePay payment method.
667
575
  sig { returns(::Stripe::SetupIntentService::CreateParams::PaymentMethodData::Mobilepay) }
668
576
  attr_accessor :mobilepay
669
-
670
577
  # If this is a `multibanco` PaymentMethod, this hash contains details about the Multibanco payment method.
671
578
  sig { returns(::Stripe::SetupIntentService::CreateParams::PaymentMethodData::Multibanco) }
672
579
  attr_accessor :multibanco
673
-
674
580
  # If this is a `naver_pay` PaymentMethod, this hash contains details about the Naver Pay payment method.
675
581
  sig { returns(::Stripe::SetupIntentService::CreateParams::PaymentMethodData::NaverPay) }
676
582
  attr_accessor :naver_pay
677
-
678
583
  # If this is an `oxxo` PaymentMethod, this hash contains details about the OXXO payment method.
679
584
  sig { returns(::Stripe::SetupIntentService::CreateParams::PaymentMethodData::Oxxo) }
680
585
  attr_accessor :oxxo
681
-
682
586
  # If this is a `p24` PaymentMethod, this hash contains details about the P24 payment method.
683
587
  sig { returns(::Stripe::SetupIntentService::CreateParams::PaymentMethodData::P24) }
684
588
  attr_accessor :p24
685
-
589
+ # If this is a `pay_by_bank` PaymentMethod, this hash contains details about the PayByBank payment method.
590
+ sig { returns(::Stripe::SetupIntentService::CreateParams::PaymentMethodData::PayByBank) }
591
+ attr_accessor :pay_by_bank
686
592
  # If this is a `payco` PaymentMethod, this hash contains details about the PAYCO payment method.
687
593
  sig { returns(::Stripe::SetupIntentService::CreateParams::PaymentMethodData::Payco) }
688
594
  attr_accessor :payco
689
-
690
595
  # If this is a `paynow` PaymentMethod, this hash contains details about the PayNow payment method.
691
596
  sig { returns(::Stripe::SetupIntentService::CreateParams::PaymentMethodData::Paynow) }
692
597
  attr_accessor :paynow
693
-
694
598
  # If this is a `paypal` PaymentMethod, this hash contains details about the PayPal payment method.
695
599
  sig { returns(::Stripe::SetupIntentService::CreateParams::PaymentMethodData::Paypal) }
696
600
  attr_accessor :paypal
697
-
698
601
  # If this is a `payto` PaymentMethod, this hash contains details about the PayTo payment method.
699
602
  sig { returns(::Stripe::SetupIntentService::CreateParams::PaymentMethodData::Payto) }
700
603
  attr_accessor :payto
701
-
702
604
  # If this is a `pix` PaymentMethod, this hash contains details about the Pix payment method.
703
605
  sig { returns(::Stripe::SetupIntentService::CreateParams::PaymentMethodData::Pix) }
704
606
  attr_accessor :pix
705
-
706
607
  # If this is a `promptpay` PaymentMethod, this hash contains details about the PromptPay payment method.
707
608
  sig { returns(::Stripe::SetupIntentService::CreateParams::PaymentMethodData::Promptpay) }
708
609
  attr_accessor :promptpay
709
-
710
610
  # If this is a `qris` PaymentMethod, this hash contains details about the QRIS payment method.
711
611
  sig { returns(::Stripe::SetupIntentService::CreateParams::PaymentMethodData::Qris) }
712
612
  attr_accessor :qris
713
-
714
613
  # Options to configure Radar. See [Radar Session](https://stripe.com/docs/radar/radar-session) for more information.
715
614
  sig { returns(::Stripe::SetupIntentService::CreateParams::PaymentMethodData::RadarOptions) }
716
615
  attr_accessor :radar_options
717
-
718
616
  # If this is a `rechnung` PaymentMethod, this hash contains details about the Rechnung payment method.
719
617
  sig { returns(::Stripe::SetupIntentService::CreateParams::PaymentMethodData::Rechnung) }
720
618
  attr_accessor :rechnung
721
-
722
619
  # If this is a `Revolut Pay` PaymentMethod, this hash contains details about the Revolut Pay payment method.
723
620
  sig { returns(::Stripe::SetupIntentService::CreateParams::PaymentMethodData::RevolutPay) }
724
621
  attr_accessor :revolut_pay
725
-
726
622
  # If this is a `samsung_pay` PaymentMethod, this hash contains details about the SamsungPay payment method.
727
623
  sig { returns(::Stripe::SetupIntentService::CreateParams::PaymentMethodData::SamsungPay) }
728
624
  attr_accessor :samsung_pay
729
-
730
625
  # If this is a `sepa_debit` PaymentMethod, this hash contains details about the SEPA debit bank account.
731
626
  sig { returns(::Stripe::SetupIntentService::CreateParams::PaymentMethodData::SepaDebit) }
732
627
  attr_accessor :sepa_debit
733
-
734
628
  # If this is a Shopeepay PaymentMethod, this hash contains details about the Shopeepay payment method.
735
629
  sig { returns(::Stripe::SetupIntentService::CreateParams::PaymentMethodData::Shopeepay) }
736
630
  attr_accessor :shopeepay
737
-
738
631
  # If this is a `sofort` PaymentMethod, this hash contains details about the SOFORT payment method.
739
632
  sig { returns(::Stripe::SetupIntentService::CreateParams::PaymentMethodData::Sofort) }
740
633
  attr_accessor :sofort
741
-
742
634
  # If this is a `swish` PaymentMethod, this hash contains details about the Swish payment method.
743
635
  sig { returns(::Stripe::SetupIntentService::CreateParams::PaymentMethodData::Swish) }
744
636
  attr_accessor :swish
745
-
746
637
  # If this is a TWINT PaymentMethod, this hash contains details about the TWINT payment method.
747
638
  sig { returns(::Stripe::SetupIntentService::CreateParams::PaymentMethodData::Twint) }
748
639
  attr_accessor :twint
749
-
750
640
  # The type of the PaymentMethod. An additional hash is included on the PaymentMethod with a name matching this value. It contains additional information specific to the PaymentMethod type.
751
641
  sig { returns(String) }
752
642
  attr_accessor :type
753
-
754
643
  # If this is an `us_bank_account` PaymentMethod, this hash contains details about the US bank account payment method.
755
644
  sig {
756
645
  returns(::Stripe::SetupIntentService::CreateParams::PaymentMethodData::UsBankAccount)
757
646
  }
758
647
  attr_accessor :us_bank_account
759
-
760
648
  # If this is an `wechat_pay` PaymentMethod, this hash contains details about the wechat_pay payment method.
761
649
  sig { returns(::Stripe::SetupIntentService::CreateParams::PaymentMethodData::WechatPay) }
762
650
  attr_accessor :wechat_pay
763
-
764
651
  # If this is a `zip` PaymentMethod, this hash contains details about the Zip payment method.
765
652
  sig { returns(::Stripe::SetupIntentService::CreateParams::PaymentMethodData::Zip) }
766
653
  attr_accessor :zip
767
-
768
654
  sig {
769
- params(acss_debit: ::Stripe::SetupIntentService::CreateParams::PaymentMethodData::AcssDebit, affirm: ::Stripe::SetupIntentService::CreateParams::PaymentMethodData::Affirm, afterpay_clearpay: ::Stripe::SetupIntentService::CreateParams::PaymentMethodData::AfterpayClearpay, alipay: ::Stripe::SetupIntentService::CreateParams::PaymentMethodData::Alipay, allow_redisplay: String, alma: ::Stripe::SetupIntentService::CreateParams::PaymentMethodData::Alma, amazon_pay: ::Stripe::SetupIntentService::CreateParams::PaymentMethodData::AmazonPay, au_becs_debit: ::Stripe::SetupIntentService::CreateParams::PaymentMethodData::AuBecsDebit, bacs_debit: ::Stripe::SetupIntentService::CreateParams::PaymentMethodData::BacsDebit, bancontact: ::Stripe::SetupIntentService::CreateParams::PaymentMethodData::Bancontact, billing_details: ::Stripe::SetupIntentService::CreateParams::PaymentMethodData::BillingDetails, blik: ::Stripe::SetupIntentService::CreateParams::PaymentMethodData::Blik, boleto: ::Stripe::SetupIntentService::CreateParams::PaymentMethodData::Boleto, cashapp: ::Stripe::SetupIntentService::CreateParams::PaymentMethodData::Cashapp, customer_balance: ::Stripe::SetupIntentService::CreateParams::PaymentMethodData::CustomerBalance, eps: ::Stripe::SetupIntentService::CreateParams::PaymentMethodData::Eps, fpx: ::Stripe::SetupIntentService::CreateParams::PaymentMethodData::Fpx, giropay: ::Stripe::SetupIntentService::CreateParams::PaymentMethodData::Giropay, gopay: ::Stripe::SetupIntentService::CreateParams::PaymentMethodData::Gopay, grabpay: ::Stripe::SetupIntentService::CreateParams::PaymentMethodData::Grabpay, id_bank_transfer: ::Stripe::SetupIntentService::CreateParams::PaymentMethodData::IdBankTransfer, ideal: ::Stripe::SetupIntentService::CreateParams::PaymentMethodData::Ideal, interac_present: ::Stripe::SetupIntentService::CreateParams::PaymentMethodData::InteracPresent, kakao_pay: ::Stripe::SetupIntentService::CreateParams::PaymentMethodData::KakaoPay, klarna: ::Stripe::SetupIntentService::CreateParams::PaymentMethodData::Klarna, konbini: ::Stripe::SetupIntentService::CreateParams::PaymentMethodData::Konbini, kr_card: ::Stripe::SetupIntentService::CreateParams::PaymentMethodData::KrCard, link: ::Stripe::SetupIntentService::CreateParams::PaymentMethodData::Link, mb_way: ::Stripe::SetupIntentService::CreateParams::PaymentMethodData::MbWay, metadata: T::Hash[String, String], mobilepay: ::Stripe::SetupIntentService::CreateParams::PaymentMethodData::Mobilepay, multibanco: ::Stripe::SetupIntentService::CreateParams::PaymentMethodData::Multibanco, naver_pay: ::Stripe::SetupIntentService::CreateParams::PaymentMethodData::NaverPay, oxxo: ::Stripe::SetupIntentService::CreateParams::PaymentMethodData::Oxxo, p24: ::Stripe::SetupIntentService::CreateParams::PaymentMethodData::P24, payco: ::Stripe::SetupIntentService::CreateParams::PaymentMethodData::Payco, paynow: ::Stripe::SetupIntentService::CreateParams::PaymentMethodData::Paynow, paypal: ::Stripe::SetupIntentService::CreateParams::PaymentMethodData::Paypal, payto: ::Stripe::SetupIntentService::CreateParams::PaymentMethodData::Payto, pix: ::Stripe::SetupIntentService::CreateParams::PaymentMethodData::Pix, promptpay: ::Stripe::SetupIntentService::CreateParams::PaymentMethodData::Promptpay, qris: ::Stripe::SetupIntentService::CreateParams::PaymentMethodData::Qris, radar_options: ::Stripe::SetupIntentService::CreateParams::PaymentMethodData::RadarOptions, rechnung: ::Stripe::SetupIntentService::CreateParams::PaymentMethodData::Rechnung, revolut_pay: ::Stripe::SetupIntentService::CreateParams::PaymentMethodData::RevolutPay, samsung_pay: ::Stripe::SetupIntentService::CreateParams::PaymentMethodData::SamsungPay, sepa_debit: ::Stripe::SetupIntentService::CreateParams::PaymentMethodData::SepaDebit, shopeepay: ::Stripe::SetupIntentService::CreateParams::PaymentMethodData::Shopeepay, sofort: ::Stripe::SetupIntentService::CreateParams::PaymentMethodData::Sofort, swish: ::Stripe::SetupIntentService::CreateParams::PaymentMethodData::Swish, twint: ::Stripe::SetupIntentService::CreateParams::PaymentMethodData::Twint, type: String, us_bank_account: ::Stripe::SetupIntentService::CreateParams::PaymentMethodData::UsBankAccount, wechat_pay: ::Stripe::SetupIntentService::CreateParams::PaymentMethodData::WechatPay, zip: ::Stripe::SetupIntentService::CreateParams::PaymentMethodData::Zip).void
655
+ params(acss_debit: ::Stripe::SetupIntentService::CreateParams::PaymentMethodData::AcssDebit, affirm: ::Stripe::SetupIntentService::CreateParams::PaymentMethodData::Affirm, afterpay_clearpay: ::Stripe::SetupIntentService::CreateParams::PaymentMethodData::AfterpayClearpay, alipay: ::Stripe::SetupIntentService::CreateParams::PaymentMethodData::Alipay, allow_redisplay: String, alma: ::Stripe::SetupIntentService::CreateParams::PaymentMethodData::Alma, amazon_pay: ::Stripe::SetupIntentService::CreateParams::PaymentMethodData::AmazonPay, au_becs_debit: ::Stripe::SetupIntentService::CreateParams::PaymentMethodData::AuBecsDebit, bacs_debit: ::Stripe::SetupIntentService::CreateParams::PaymentMethodData::BacsDebit, bancontact: ::Stripe::SetupIntentService::CreateParams::PaymentMethodData::Bancontact, billing_details: ::Stripe::SetupIntentService::CreateParams::PaymentMethodData::BillingDetails, blik: ::Stripe::SetupIntentService::CreateParams::PaymentMethodData::Blik, boleto: ::Stripe::SetupIntentService::CreateParams::PaymentMethodData::Boleto, cashapp: ::Stripe::SetupIntentService::CreateParams::PaymentMethodData::Cashapp, customer_balance: ::Stripe::SetupIntentService::CreateParams::PaymentMethodData::CustomerBalance, eps: ::Stripe::SetupIntentService::CreateParams::PaymentMethodData::Eps, fpx: ::Stripe::SetupIntentService::CreateParams::PaymentMethodData::Fpx, giropay: ::Stripe::SetupIntentService::CreateParams::PaymentMethodData::Giropay, gopay: ::Stripe::SetupIntentService::CreateParams::PaymentMethodData::Gopay, grabpay: ::Stripe::SetupIntentService::CreateParams::PaymentMethodData::Grabpay, id_bank_transfer: ::Stripe::SetupIntentService::CreateParams::PaymentMethodData::IdBankTransfer, ideal: ::Stripe::SetupIntentService::CreateParams::PaymentMethodData::Ideal, interac_present: ::Stripe::SetupIntentService::CreateParams::PaymentMethodData::InteracPresent, kakao_pay: ::Stripe::SetupIntentService::CreateParams::PaymentMethodData::KakaoPay, klarna: ::Stripe::SetupIntentService::CreateParams::PaymentMethodData::Klarna, konbini: ::Stripe::SetupIntentService::CreateParams::PaymentMethodData::Konbini, kr_card: ::Stripe::SetupIntentService::CreateParams::PaymentMethodData::KrCard, link: ::Stripe::SetupIntentService::CreateParams::PaymentMethodData::Link, mb_way: ::Stripe::SetupIntentService::CreateParams::PaymentMethodData::MbWay, metadata: T::Hash[String, String], mobilepay: ::Stripe::SetupIntentService::CreateParams::PaymentMethodData::Mobilepay, multibanco: ::Stripe::SetupIntentService::CreateParams::PaymentMethodData::Multibanco, naver_pay: ::Stripe::SetupIntentService::CreateParams::PaymentMethodData::NaverPay, oxxo: ::Stripe::SetupIntentService::CreateParams::PaymentMethodData::Oxxo, p24: ::Stripe::SetupIntentService::CreateParams::PaymentMethodData::P24, pay_by_bank: ::Stripe::SetupIntentService::CreateParams::PaymentMethodData::PayByBank, payco: ::Stripe::SetupIntentService::CreateParams::PaymentMethodData::Payco, paynow: ::Stripe::SetupIntentService::CreateParams::PaymentMethodData::Paynow, paypal: ::Stripe::SetupIntentService::CreateParams::PaymentMethodData::Paypal, payto: ::Stripe::SetupIntentService::CreateParams::PaymentMethodData::Payto, pix: ::Stripe::SetupIntentService::CreateParams::PaymentMethodData::Pix, promptpay: ::Stripe::SetupIntentService::CreateParams::PaymentMethodData::Promptpay, qris: ::Stripe::SetupIntentService::CreateParams::PaymentMethodData::Qris, radar_options: ::Stripe::SetupIntentService::CreateParams::PaymentMethodData::RadarOptions, rechnung: ::Stripe::SetupIntentService::CreateParams::PaymentMethodData::Rechnung, revolut_pay: ::Stripe::SetupIntentService::CreateParams::PaymentMethodData::RevolutPay, samsung_pay: ::Stripe::SetupIntentService::CreateParams::PaymentMethodData::SamsungPay, sepa_debit: ::Stripe::SetupIntentService::CreateParams::PaymentMethodData::SepaDebit, shopeepay: ::Stripe::SetupIntentService::CreateParams::PaymentMethodData::Shopeepay, sofort: ::Stripe::SetupIntentService::CreateParams::PaymentMethodData::Sofort, swish: ::Stripe::SetupIntentService::CreateParams::PaymentMethodData::Swish, twint: ::Stripe::SetupIntentService::CreateParams::PaymentMethodData::Twint, type: String, us_bank_account: ::Stripe::SetupIntentService::CreateParams::PaymentMethodData::UsBankAccount, wechat_pay: ::Stripe::SetupIntentService::CreateParams::PaymentMethodData::WechatPay, zip: ::Stripe::SetupIntentService::CreateParams::PaymentMethodData::Zip).void
770
656
  }
771
657
  def initialize(
772
658
  acss_debit: nil,
@@ -804,6 +690,7 @@ module Stripe
804
690
  naver_pay: nil,
805
691
  oxxo: nil,
806
692
  p24: nil,
693
+ pay_by_bank: nil,
807
694
  payco: nil,
808
695
  paynow: nil,
809
696
  paypal: nil,
@@ -834,23 +721,18 @@ module Stripe
834
721
  # or `setup_intent` and `setup_intent_client_secret` when confirming a Setup Intent.
835
722
  sig { returns(T.nilable(String)) }
836
723
  attr_accessor :custom_mandate_url
837
-
838
724
  # List of Stripe products where this mandate can be selected automatically.
839
725
  sig { returns(T::Array[String]) }
840
726
  attr_accessor :default_for
841
-
842
727
  # Description of the mandate interval. Only required if 'payment_schedule' parameter is 'interval' or 'combined'.
843
728
  sig { returns(String) }
844
729
  attr_accessor :interval_description
845
-
846
730
  # Payment schedule for the mandate.
847
731
  sig { returns(String) }
848
732
  attr_accessor :payment_schedule
849
-
850
733
  # Transaction type of the mandate.
851
734
  sig { returns(String) }
852
735
  attr_accessor :transaction_type
853
-
854
736
  sig {
855
737
  params(custom_mandate_url: T.nilable(String), default_for: T::Array[String], interval_description: String, payment_schedule: String, transaction_type: String).void
856
738
  }
@@ -865,17 +747,14 @@ module Stripe
865
747
  # Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).
866
748
  sig { returns(String) }
867
749
  attr_accessor :currency
868
-
869
750
  # Additional fields for Mandate creation
870
751
  sig {
871
752
  returns(::Stripe::SetupIntentService::CreateParams::PaymentMethodOptions::AcssDebit::MandateOptions)
872
753
  }
873
754
  attr_accessor :mandate_options
874
-
875
755
  # Bank account verification method.
876
756
  sig { returns(String) }
877
757
  attr_accessor :verification_method
878
-
879
758
  sig {
880
759
  params(currency: String, mandate_options: ::Stripe::SetupIntentService::CreateParams::PaymentMethodOptions::AcssDebit::MandateOptions, verification_method: String).void
881
760
  }
@@ -889,7 +768,6 @@ module Stripe
889
768
  # 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 'DDIC' or 'STRIPE'.
890
769
  sig { returns(T.nilable(String)) }
891
770
  attr_accessor :reference_prefix
892
-
893
771
  sig { params(reference_prefix: T.nilable(String)).void }
894
772
  def initialize(reference_prefix: nil); end
895
773
  end
@@ -898,7 +776,6 @@ module Stripe
898
776
  returns(::Stripe::SetupIntentService::CreateParams::PaymentMethodOptions::BacsDebit::MandateOptions)
899
777
  }
900
778
  attr_accessor :mandate_options
901
-
902
779
  sig {
903
780
  params(mandate_options: ::Stripe::SetupIntentService::CreateParams::PaymentMethodOptions::BacsDebit::MandateOptions).void
904
781
  }
@@ -909,43 +786,33 @@ module Stripe
909
786
  # Amount to be charged for future payments.
910
787
  sig { returns(Integer) }
911
788
  attr_accessor :amount
912
-
913
789
  # One of `fixed` or `maximum`. If `fixed`, the `amount` param refers to the exact amount to be charged in future payments. If `maximum`, the amount charged can be up to the value passed for the `amount` param.
914
790
  sig { returns(String) }
915
791
  attr_accessor :amount_type
916
-
917
792
  # Currency in which future payments will be charged. Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).
918
793
  sig { returns(String) }
919
794
  attr_accessor :currency
920
-
921
795
  # A description of the mandate or subscription that is meant to be displayed to the customer.
922
796
  sig { returns(String) }
923
797
  attr_accessor :description
924
-
925
798
  # End date of the mandate or subscription. If not provided, the mandate will be active until canceled. If provided, end date should be after start date.
926
799
  sig { returns(Integer) }
927
800
  attr_accessor :end_date
928
-
929
801
  # Specifies payment frequency. One of `day`, `week`, `month`, `year`, or `sporadic`.
930
802
  sig { returns(String) }
931
803
  attr_accessor :interval
932
-
933
804
  # The number of intervals between payments. For example, `interval=month` and `interval_count=3` indicates one payment every three months. Maximum of one year interval allowed (1 year, 12 months, or 52 weeks). This parameter is optional when `interval=sporadic`.
934
805
  sig { returns(Integer) }
935
806
  attr_accessor :interval_count
936
-
937
807
  # Unique identifier for the mandate or subscription.
938
808
  sig { returns(String) }
939
809
  attr_accessor :reference
940
-
941
810
  # Start date of the mandate or subscription. Start date should not be lesser than yesterday.
942
811
  sig { returns(Integer) }
943
812
  attr_accessor :start_date
944
-
945
813
  # Specifies the type of mandates supported. Possible values are `india`.
946
814
  sig { returns(T::Array[String]) }
947
815
  attr_accessor :supported_types
948
-
949
816
  sig {
950
817
  params(amount: Integer, amount_type: String, currency: String, description: String, end_date: Integer, interval: String, interval_count: Integer, reference: String, start_date: Integer, supported_types: T::Array[String]).void
951
818
  }
@@ -970,19 +837,16 @@ module Stripe
970
837
  # messageExtension: CB-AVALGO
971
838
  sig { returns(String) }
972
839
  attr_accessor :cb_avalgo
973
-
974
840
  # The exemption indicator returned from Cartes Bancaires in the ARes.
975
841
  # message extension: CB-EXEMPTION; string (4 characters)
976
842
  # This is a 3 byte bitmap (low significant byte first and most significant
977
843
  # bit first) that has been Base64 encoded
978
844
  sig { returns(String) }
979
845
  attr_accessor :cb_exemption
980
-
981
846
  # The risk score returned from Cartes Bancaires in the ARes.
982
847
  # message extension: CB-SCORE; numeric value 0-99
983
848
  sig { returns(Integer) }
984
849
  attr_accessor :cb_score
985
-
986
850
  sig { params(cb_avalgo: String, cb_exemption: String, cb_score: Integer).void }
987
851
  def initialize(cb_avalgo: nil, cb_exemption: nil, cb_score: nil); end
988
852
  end
@@ -991,7 +855,6 @@ module Stripe
991
855
  returns(::Stripe::SetupIntentService::CreateParams::PaymentMethodOptions::Card::ThreeDSecure::NetworkOptions::CartesBancaires)
992
856
  }
993
857
  attr_accessor :cartes_bancaires
994
-
995
858
  sig {
996
859
  params(cartes_bancaires: ::Stripe::SetupIntentService::CreateParams::PaymentMethodOptions::Card::ThreeDSecure::NetworkOptions::CartesBancaires).void
997
860
  }
@@ -1000,19 +863,16 @@ module Stripe
1000
863
  # The `transStatus` returned from the card Issuer’s ACS in the ARes.
1001
864
  sig { returns(String) }
1002
865
  attr_accessor :ares_trans_status
1003
-
1004
866
  # The cryptogram, also known as the "authentication value" (AAV, CAVV or
1005
867
  # AEVV). This value is 20 bytes, base64-encoded into a 28-character string.
1006
868
  # (Most 3D Secure providers will return the base64-encoded version, which
1007
869
  # is what you should specify here.)
1008
870
  sig { returns(String) }
1009
871
  attr_accessor :cryptogram
1010
-
1011
872
  # The Electronic Commerce Indicator (ECI) is returned by your 3D Secure
1012
873
  # provider and indicates what degree of authentication was performed.
1013
874
  sig { returns(String) }
1014
875
  attr_accessor :electronic_commerce_indicator
1015
-
1016
876
  # Network specific 3DS fields. Network specific arguments require an
1017
877
  # explicit card brand choice. The parameter `payment_method_options.card.network``
1018
878
  # must be populated accordingly
@@ -1020,21 +880,17 @@ module Stripe
1020
880
  returns(::Stripe::SetupIntentService::CreateParams::PaymentMethodOptions::Card::ThreeDSecure::NetworkOptions)
1021
881
  }
1022
882
  attr_accessor :network_options
1023
-
1024
883
  # The challenge indicator (`threeDSRequestorChallengeInd`) which was requested in the
1025
884
  # AReq sent to the card Issuer's ACS. A string containing 2 digits from 01-99.
1026
885
  sig { returns(String) }
1027
886
  attr_accessor :requestor_challenge_indicator
1028
-
1029
887
  # For 3D Secure 1, the XID. For 3D Secure 2, the Directory Server
1030
888
  # Transaction ID (dsTransID).
1031
889
  sig { returns(String) }
1032
890
  attr_accessor :transaction_id
1033
-
1034
891
  # The version of 3D Secure that was performed.
1035
892
  sig { returns(String) }
1036
893
  attr_accessor :version
1037
-
1038
894
  sig {
1039
895
  params(ares_trans_status: String, cryptogram: String, electronic_commerce_indicator: String, network_options: ::Stripe::SetupIntentService::CreateParams::PaymentMethodOptions::Card::ThreeDSecure::NetworkOptions, requestor_challenge_indicator: String, transaction_id: String, version: String).void
1040
896
  }
@@ -1053,28 +909,23 @@ module Stripe
1053
909
  returns(::Stripe::SetupIntentService::CreateParams::PaymentMethodOptions::Card::MandateOptions)
1054
910
  }
1055
911
  attr_accessor :mandate_options
1056
-
1057
912
  # When specified, this parameter signals that a card has been collected
1058
913
  # as MOTO (Mail Order Telephone Order) and thus out of scope for SCA. This
1059
914
  # parameter can only be provided during confirmation.
1060
915
  sig { returns(T::Boolean) }
1061
916
  attr_accessor :moto
1062
-
1063
917
  # Selected network to process this SetupIntent on. Depends on the available networks of the card attached to the SetupIntent. Can be only set confirm-time.
1064
918
  sig { returns(String) }
1065
919
  attr_accessor :network
1066
-
1067
920
  # We strongly recommend that you rely on our SCA Engine to automatically prompt your customers for authentication based on risk level and [other requirements](https://stripe.com/docs/strong-customer-authentication). However, if you wish to request 3D Secure based on logic from your own fraud engine, provide this option. If not provided, this value defaults to `automatic`. Read our guide on [manually requesting 3D Secure](https://stripe.com/docs/payments/3d-secure/authentication-flow#manual-three-ds) for more information on how this configuration interacts with Radar and our SCA Engine.
1068
921
  sig { returns(String) }
1069
922
  attr_accessor :request_three_d_secure
1070
-
1071
923
  # If 3D Secure authentication was performed with a third-party provider,
1072
924
  # the authentication details to use for this setup.
1073
925
  sig {
1074
926
  returns(::Stripe::SetupIntentService::CreateParams::PaymentMethodOptions::Card::ThreeDSecure)
1075
927
  }
1076
928
  attr_accessor :three_d_secure
1077
-
1078
929
  sig {
1079
930
  params(mandate_options: ::Stripe::SetupIntentService::CreateParams::PaymentMethodOptions::Card::MandateOptions, moto: T::Boolean, network: String, request_three_d_secure: String, three_d_secure: ::Stripe::SetupIntentService::CreateParams::PaymentMethodOptions::Card::ThreeDSecure).void
1080
931
  }
@@ -1093,7 +944,6 @@ module Stripe
1093
944
  # [Deprecated] This is a legacy parameter that no longer has any function.
1094
945
  sig { returns(String) }
1095
946
  attr_accessor :persistent_token
1096
-
1097
947
  sig { params(persistent_token: String).void }
1098
948
  def initialize(persistent_token: nil); end
1099
949
  end
@@ -1101,15 +951,12 @@ module Stripe
1101
951
  # The PayPal Billing Agreement ID (BAID). This is an ID generated by PayPal which represents the mandate between the merchant and the customer.
1102
952
  sig { returns(String) }
1103
953
  attr_accessor :billing_agreement_id
1104
-
1105
954
  # Attribute for param field currency
1106
955
  sig { returns(String) }
1107
956
  attr_accessor :currency
1108
-
1109
957
  # The Stripe connected account IDs of the sellers on the platform for this transaction (optional). Only allowed when [separate charges and transfers](https://stripe.com/docs/connect/separate-charges-and-transfers) are used.
1110
958
  sig { returns(T::Array[String]) }
1111
959
  attr_accessor :subsellers
1112
-
1113
960
  sig {
1114
961
  params(billing_agreement_id: String, currency: String, subsellers: T::Array[String]).void
1115
962
  }
@@ -1120,31 +967,24 @@ module Stripe
1120
967
  # Amount that will be collected. It is required when `amount_type` is `fixed`.
1121
968
  sig { returns(Integer) }
1122
969
  attr_accessor :amount
1123
-
1124
970
  # The type of amount that will be collected. The amount charged must be exact or up to the value of `amount` param for `fixed` or `maximum` type respectively.
1125
971
  sig { returns(String) }
1126
972
  attr_accessor :amount_type
1127
-
1128
973
  # Date, in YYYY-MM-DD format, after which payments will not be collected. Defaults to no end date.
1129
974
  sig { returns(String) }
1130
975
  attr_accessor :end_date
1131
-
1132
976
  # The periodicity at which payments will be collected.
1133
977
  sig { returns(String) }
1134
978
  attr_accessor :payment_schedule
1135
-
1136
979
  # The number of payments that will be made during a payment period. Defaults to 1 except for when `payment_schedule` is `adhoc`. In that case, it defaults to no limit.
1137
980
  sig { returns(Integer) }
1138
981
  attr_accessor :payments_per_period
1139
-
1140
982
  # The purpose for which payments are made. Defaults to retail.
1141
983
  sig { returns(String) }
1142
984
  attr_accessor :purpose
1143
-
1144
985
  # Date, in YYYY-MM-DD format, from which payments will be collected. Defaults to confirmation time.
1145
986
  sig { returns(String) }
1146
987
  attr_accessor :start_date
1147
-
1148
988
  sig {
1149
989
  params(amount: Integer, amount_type: String, end_date: String, payment_schedule: String, payments_per_period: Integer, purpose: String, start_date: String).void
1150
990
  }
@@ -1163,7 +1003,6 @@ module Stripe
1163
1003
  returns(::Stripe::SetupIntentService::CreateParams::PaymentMethodOptions::Payto::MandateOptions)
1164
1004
  }
1165
1005
  attr_accessor :mandate_options
1166
-
1167
1006
  sig {
1168
1007
  params(mandate_options: ::Stripe::SetupIntentService::CreateParams::PaymentMethodOptions::Payto::MandateOptions).void
1169
1008
  }
@@ -1174,7 +1013,6 @@ module Stripe
1174
1013
  # 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'.
1175
1014
  sig { returns(T.nilable(String)) }
1176
1015
  attr_accessor :reference_prefix
1177
-
1178
1016
  sig { params(reference_prefix: T.nilable(String)).void }
1179
1017
  def initialize(reference_prefix: nil); end
1180
1018
  end
@@ -1183,7 +1021,6 @@ module Stripe
1183
1021
  returns(::Stripe::SetupIntentService::CreateParams::PaymentMethodOptions::SepaDebit::MandateOptions)
1184
1022
  }
1185
1023
  attr_accessor :mandate_options
1186
-
1187
1024
  sig {
1188
1025
  params(mandate_options: ::Stripe::SetupIntentService::CreateParams::PaymentMethodOptions::SepaDebit::MandateOptions).void
1189
1026
  }
@@ -1195,11 +1032,9 @@ module Stripe
1195
1032
  # The account subcategories to use to filter for selectable accounts. Valid subcategories are `checking` and `savings`.
1196
1033
  sig { returns(T::Array[String]) }
1197
1034
  attr_accessor :account_subcategories
1198
-
1199
1035
  # ID of the institution to use to filter for selectable accounts.
1200
1036
  sig { returns(String) }
1201
1037
  attr_accessor :institution
1202
-
1203
1038
  sig { params(account_subcategories: T::Array[String], institution: String).void }
1204
1039
  def initialize(account_subcategories: nil, institution: nil); end
1205
1040
  end
@@ -1207,7 +1042,6 @@ module Stripe
1207
1042
  # Settings for configuring manual entry of account details.
1208
1043
  sig { returns(String) }
1209
1044
  attr_accessor :mode
1210
-
1211
1045
  sig { params(mode: String).void }
1212
1046
  def initialize(mode: nil); end
1213
1047
  end
@@ -1216,25 +1050,20 @@ module Stripe
1216
1050
  returns(::Stripe::SetupIntentService::CreateParams::PaymentMethodOptions::UsBankAccount::FinancialConnections::Filters)
1217
1051
  }
1218
1052
  attr_accessor :filters
1219
-
1220
1053
  # Customize manual entry behavior
1221
1054
  sig {
1222
1055
  returns(::Stripe::SetupIntentService::CreateParams::PaymentMethodOptions::UsBankAccount::FinancialConnections::ManualEntry)
1223
1056
  }
1224
1057
  attr_accessor :manual_entry
1225
-
1226
1058
  # The list of permissions to request. If this parameter is passed, the `payment_method` permission must be included. Valid permissions include: `balances`, `ownership`, `payment_method`, and `transactions`.
1227
1059
  sig { returns(T::Array[String]) }
1228
1060
  attr_accessor :permissions
1229
-
1230
1061
  # List of data features that you would like to retrieve upon account creation.
1231
1062
  sig { returns(T::Array[String]) }
1232
1063
  attr_accessor :prefetch
1233
-
1234
1064
  # For webview integrations only. Upon completing OAuth login in the native browser, the user will be redirected to this URL to return to your app.
1235
1065
  sig { returns(String) }
1236
1066
  attr_accessor :return_url
1237
-
1238
1067
  sig {
1239
1068
  params(filters: ::Stripe::SetupIntentService::CreateParams::PaymentMethodOptions::UsBankAccount::FinancialConnections::Filters, manual_entry: ::Stripe::SetupIntentService::CreateParams::PaymentMethodOptions::UsBankAccount::FinancialConnections::ManualEntry, permissions: T::Array[String], prefetch: T::Array[String], return_url: String).void
1240
1069
  }
@@ -1250,7 +1079,6 @@ module Stripe
1250
1079
  # The method used to collect offline mandate customer acceptance.
1251
1080
  sig { returns(T.nilable(String)) }
1252
1081
  attr_accessor :collection_method
1253
-
1254
1082
  sig { params(collection_method: T.nilable(String)).void }
1255
1083
  def initialize(collection_method: nil); end
1256
1084
  end
@@ -1258,7 +1086,6 @@ module Stripe
1258
1086
  # Triggers validations to run across the selected networks
1259
1087
  sig { returns(T::Array[String]) }
1260
1088
  attr_accessor :requested
1261
-
1262
1089
  sig { params(requested: T::Array[String]).void }
1263
1090
  def initialize(requested: nil); end
1264
1091
  end
@@ -1267,23 +1094,19 @@ module Stripe
1267
1094
  returns(::Stripe::SetupIntentService::CreateParams::PaymentMethodOptions::UsBankAccount::FinancialConnections)
1268
1095
  }
1269
1096
  attr_accessor :financial_connections
1270
-
1271
1097
  # Additional fields for Mandate creation
1272
1098
  sig {
1273
1099
  returns(::Stripe::SetupIntentService::CreateParams::PaymentMethodOptions::UsBankAccount::MandateOptions)
1274
1100
  }
1275
1101
  attr_accessor :mandate_options
1276
-
1277
1102
  # Additional fields for network related functions
1278
1103
  sig {
1279
1104
  returns(::Stripe::SetupIntentService::CreateParams::PaymentMethodOptions::UsBankAccount::Networks)
1280
1105
  }
1281
1106
  attr_accessor :networks
1282
-
1283
1107
  # Bank account verification method.
1284
1108
  sig { returns(String) }
1285
1109
  attr_accessor :verification_method
1286
-
1287
1110
  sig {
1288
1111
  params(financial_connections: ::Stripe::SetupIntentService::CreateParams::PaymentMethodOptions::UsBankAccount::FinancialConnections, mandate_options: ::Stripe::SetupIntentService::CreateParams::PaymentMethodOptions::UsBankAccount::MandateOptions, networks: ::Stripe::SetupIntentService::CreateParams::PaymentMethodOptions::UsBankAccount::Networks, verification_method: String).void
1289
1112
  }
@@ -1297,47 +1120,37 @@ module Stripe
1297
1120
  # If this is a `acss_debit` SetupIntent, this sub-hash contains details about the ACSS Debit payment method options.
1298
1121
  sig { returns(::Stripe::SetupIntentService::CreateParams::PaymentMethodOptions::AcssDebit) }
1299
1122
  attr_accessor :acss_debit
1300
-
1301
1123
  # If this is a `amazon_pay` SetupIntent, this sub-hash contains details about the AmazonPay payment method options.
1302
1124
  sig { returns(::Stripe::SetupIntentService::CreateParams::PaymentMethodOptions::AmazonPay) }
1303
1125
  attr_accessor :amazon_pay
1304
-
1305
1126
  # If this is a `bacs_debit` SetupIntent, this sub-hash contains details about the Bacs Debit payment method options.
1306
1127
  sig { returns(::Stripe::SetupIntentService::CreateParams::PaymentMethodOptions::BacsDebit) }
1307
1128
  attr_accessor :bacs_debit
1308
-
1309
1129
  # Configuration for any card setup attempted on this SetupIntent.
1310
1130
  sig { returns(::Stripe::SetupIntentService::CreateParams::PaymentMethodOptions::Card) }
1311
1131
  attr_accessor :card
1312
-
1313
1132
  # If this is a `card_present` PaymentMethod, this sub-hash contains details about the card-present payment method options.
1314
1133
  sig {
1315
1134
  returns(::Stripe::SetupIntentService::CreateParams::PaymentMethodOptions::CardPresent)
1316
1135
  }
1317
1136
  attr_accessor :card_present
1318
-
1319
1137
  # If this is a `link` PaymentMethod, this sub-hash contains details about the Link payment method options.
1320
1138
  sig { returns(::Stripe::SetupIntentService::CreateParams::PaymentMethodOptions::Link) }
1321
1139
  attr_accessor :link
1322
-
1323
1140
  # If this is a `paypal` PaymentMethod, this sub-hash contains details about the PayPal payment method options.
1324
1141
  sig { returns(::Stripe::SetupIntentService::CreateParams::PaymentMethodOptions::Paypal) }
1325
1142
  attr_accessor :paypal
1326
-
1327
1143
  # If this is a `payto` SetupIntent, this sub-hash contains details about the PayTo payment method options.
1328
1144
  sig { returns(::Stripe::SetupIntentService::CreateParams::PaymentMethodOptions::Payto) }
1329
1145
  attr_accessor :payto
1330
-
1331
1146
  # If this is a `sepa_debit` SetupIntent, this sub-hash contains details about the SEPA Debit payment method options.
1332
1147
  sig { returns(::Stripe::SetupIntentService::CreateParams::PaymentMethodOptions::SepaDebit) }
1333
1148
  attr_accessor :sepa_debit
1334
-
1335
1149
  # If this is a `us_bank_account` SetupIntent, this sub-hash contains details about the US bank account payment method options.
1336
1150
  sig {
1337
1151
  returns(::Stripe::SetupIntentService::CreateParams::PaymentMethodOptions::UsBankAccount)
1338
1152
  }
1339
1153
  attr_accessor :us_bank_account
1340
-
1341
1154
  sig {
1342
1155
  params(acss_debit: ::Stripe::SetupIntentService::CreateParams::PaymentMethodOptions::AcssDebit, amazon_pay: ::Stripe::SetupIntentService::CreateParams::PaymentMethodOptions::AmazonPay, bacs_debit: ::Stripe::SetupIntentService::CreateParams::PaymentMethodOptions::BacsDebit, card: ::Stripe::SetupIntentService::CreateParams::PaymentMethodOptions::Card, card_present: ::Stripe::SetupIntentService::CreateParams::PaymentMethodOptions::CardPresent, link: ::Stripe::SetupIntentService::CreateParams::PaymentMethodOptions::Link, paypal: ::Stripe::SetupIntentService::CreateParams::PaymentMethodOptions::Paypal, payto: ::Stripe::SetupIntentService::CreateParams::PaymentMethodOptions::Payto, sepa_debit: ::Stripe::SetupIntentService::CreateParams::PaymentMethodOptions::SepaDebit, us_bank_account: ::Stripe::SetupIntentService::CreateParams::PaymentMethodOptions::UsBankAccount).void
1343
1156
  }
@@ -1358,11 +1171,9 @@ module Stripe
1358
1171
  # Amount the customer is granting permission to collect later. A positive integer representing how much to charge in the [smallest currency unit](https://stripe.com/docs/currencies#zero-decimal) (e.g., 100 cents to charge $1.00 or 100 to charge ¥100, a zero-decimal currency). The minimum amount is $0.50 US or [equivalent in charge currency](https://stripe.com/docs/currencies#minimum-and-maximum-charge-amounts). The amount value supports up to eight digits (e.g., a value of 99999999 for a USD charge of $999,999.99).
1359
1172
  sig { returns(Integer) }
1360
1173
  attr_accessor :amount
1361
-
1362
1174
  # Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).
1363
1175
  sig { returns(String) }
1364
1176
  attr_accessor :currency
1365
-
1366
1177
  sig { params(amount: Integer, currency: String).void }
1367
1178
  def initialize(amount: nil, currency: nil); end
1368
1179
  end
@@ -1371,90 +1182,70 @@ module Stripe
1371
1182
  # It can only be used for this Stripe Account’s own money movement flows like InboundTransfer and OutboundTransfers. It cannot be set to true when setting up a PaymentMethod for a Customer, and defaults to false when attaching a PaymentMethod to a Customer.
1372
1183
  sig { returns(T::Boolean) }
1373
1184
  attr_accessor :attach_to_self
1374
-
1375
1185
  # When you enable this parameter, this SetupIntent accepts payment methods that you enable in the Dashboard and that are compatible with its other parameters.
1376
1186
  sig { returns(::Stripe::SetupIntentService::CreateParams::AutomaticPaymentMethods) }
1377
1187
  attr_accessor :automatic_payment_methods
1378
-
1379
1188
  # Set to `true` to attempt to confirm this SetupIntent immediately. This parameter defaults to `false`. If a card is the attached payment method, you can provide a `return_url` in case further authentication is necessary.
1380
1189
  sig { returns(T::Boolean) }
1381
1190
  attr_accessor :confirm
1382
-
1383
1191
  # ID of the ConfirmationToken used to confirm this SetupIntent.
1384
1192
  #
1385
1193
  # If the provided ConfirmationToken contains properties that are also being provided in this request, such as `payment_method`, then the values in this request will take precedence.
1386
1194
  sig { returns(String) }
1387
1195
  attr_accessor :confirmation_token
1388
-
1389
1196
  # ID of the Customer this SetupIntent belongs to, if one exists.
1390
1197
  #
1391
1198
  # If present, the SetupIntent's payment method will be attached to the Customer on successful setup. Payment methods attached to other Customers cannot be used with this SetupIntent.
1392
1199
  sig { returns(String) }
1393
1200
  attr_accessor :customer
1394
-
1395
1201
  # An arbitrary string attached to the object. Often useful for displaying to users.
1396
1202
  sig { returns(String) }
1397
1203
  attr_accessor :description
1398
-
1399
1204
  # Specifies which fields in the response should be expanded.
1400
1205
  sig { returns(T::Array[String]) }
1401
1206
  attr_accessor :expand
1402
-
1403
1207
  # Indicates the directions of money movement for which this payment method is intended to be used.
1404
1208
  #
1405
1209
  # Include `inbound` if you intend to use the payment method as the origin to pull funds from. Include `outbound` if you intend to use the payment method as the destination to send funds to. You can include both if you intend to use the payment method for both purposes.
1406
1210
  sig { returns(T::Array[String]) }
1407
1211
  attr_accessor :flow_directions
1408
-
1409
1212
  # This hash contains details about the mandate to create. This parameter can only be used with [`confirm=true`](https://stripe.com/docs/api/setup_intents/create#create_setup_intent-confirm).
1410
1213
  sig { returns(T.nilable(::Stripe::SetupIntentService::CreateParams::MandateData)) }
1411
1214
  attr_accessor :mandate_data
1412
-
1413
1215
  # Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.
1414
1216
  sig { returns(T::Hash[String, String]) }
1415
1217
  attr_accessor :metadata
1416
-
1417
1218
  # The Stripe account ID created for this SetupIntent.
1418
1219
  sig { returns(String) }
1419
1220
  attr_accessor :on_behalf_of
1420
-
1421
1221
  # ID of the payment method (a PaymentMethod, Card, or saved Source object) to attach to this SetupIntent.
1422
1222
  sig { returns(String) }
1423
1223
  attr_accessor :payment_method
1424
-
1425
1224
  # The ID of the [payment method configuration](https://stripe.com/docs/api/payment_method_configurations) to use with this SetupIntent.
1426
1225
  sig { returns(String) }
1427
1226
  attr_accessor :payment_method_configuration
1428
-
1429
1227
  # When included, this hash creates a PaymentMethod that is set as the [`payment_method`](https://stripe.com/docs/api/setup_intents/object#setup_intent_object-payment_method)
1430
1228
  # value in the SetupIntent.
1431
1229
  sig { returns(::Stripe::SetupIntentService::CreateParams::PaymentMethodData) }
1432
1230
  attr_accessor :payment_method_data
1433
-
1434
1231
  # Payment method-specific configuration for this SetupIntent.
1435
1232
  sig { returns(::Stripe::SetupIntentService::CreateParams::PaymentMethodOptions) }
1436
1233
  attr_accessor :payment_method_options
1437
-
1438
1234
  # The list of payment method types (for example, card) that this SetupIntent can use. If you don't provide this, Stripe will dynamically show relevant payment methods from your [payment method settings](https://dashboard.stripe.com/settings/payment_methods).
1439
1235
  sig { returns(T::Array[String]) }
1440
1236
  attr_accessor :payment_method_types
1441
-
1442
1237
  # The URL to redirect your customer back to after they authenticate or cancel their payment on the payment method's app or site. To redirect to a mobile application, you can alternatively supply an application URI scheme. This parameter can only be used with [`confirm=true`](https://stripe.com/docs/api/setup_intents/create#create_setup_intent-confirm).
1443
1238
  sig { returns(String) }
1444
1239
  attr_accessor :return_url
1445
-
1446
1240
  # If you populate this hash, this SetupIntent generates a `single_use` mandate after successful completion.
1447
1241
  sig { returns(::Stripe::SetupIntentService::CreateParams::SingleUse) }
1448
1242
  attr_accessor :single_use
1449
-
1450
1243
  # Indicates how the payment method is intended to be used in the future. If not provided, this value defaults to `off_session`.
1451
1244
  sig { returns(String) }
1452
1245
  attr_accessor :usage
1453
-
1454
1246
  # Set to `true` when confirming server-side and using Stripe.js, iOS, or Android client-side SDKs to handle the next actions.
1455
1247
  sig { returns(T::Boolean) }
1456
1248
  attr_accessor :use_stripe_sdk
1457
-
1458
1249
  sig {
1459
1250
  params(attach_to_self: T::Boolean, automatic_payment_methods: ::Stripe::SetupIntentService::CreateParams::AutomaticPaymentMethods, confirm: T::Boolean, confirmation_token: String, customer: String, description: String, expand: T::Array[String], flow_directions: T::Array[String], mandate_data: T.nilable(::Stripe::SetupIntentService::CreateParams::MandateData), metadata: T::Hash[String, String], on_behalf_of: String, payment_method: String, payment_method_configuration: String, payment_method_data: ::Stripe::SetupIntentService::CreateParams::PaymentMethodData, payment_method_options: ::Stripe::SetupIntentService::CreateParams::PaymentMethodOptions, payment_method_types: T::Array[String], return_url: String, single_use: ::Stripe::SetupIntentService::CreateParams::SingleUse, usage: String, use_stripe_sdk: T::Boolean).void
1460
1251
  }
@@ -1485,11 +1276,9 @@ module Stripe
1485
1276
  # The client secret of the SetupIntent. We require this string if you use a publishable key to retrieve the SetupIntent.
1486
1277
  sig { returns(String) }
1487
1278
  attr_accessor :client_secret
1488
-
1489
1279
  # Specifies which fields in the response should be expanded.
1490
1280
  sig { returns(T::Array[String]) }
1491
1281
  attr_accessor :expand
1492
-
1493
1282
  sig { params(client_secret: String, expand: T::Array[String]).void }
1494
1283
  def initialize(client_secret: nil, expand: nil); end
1495
1284
  end
@@ -1499,15 +1288,12 @@ module Stripe
1499
1288
  # Customer's bank account number.
1500
1289
  sig { returns(String) }
1501
1290
  attr_accessor :account_number
1502
-
1503
1291
  # Institution number of the customer's bank.
1504
1292
  sig { returns(String) }
1505
1293
  attr_accessor :institution_number
1506
-
1507
1294
  # Transit number of the customer's bank.
1508
1295
  sig { returns(String) }
1509
1296
  attr_accessor :transit_number
1510
-
1511
1297
  sig {
1512
1298
  params(account_number: String, institution_number: String, transit_number: String).void
1513
1299
  }
@@ -1532,11 +1318,9 @@ module Stripe
1532
1318
  # The account number for the bank account.
1533
1319
  sig { returns(String) }
1534
1320
  attr_accessor :account_number
1535
-
1536
1321
  # Bank-State-Branch number of the bank account.
1537
1322
  sig { returns(String) }
1538
1323
  attr_accessor :bsb_number
1539
-
1540
1324
  sig { params(account_number: String, bsb_number: String).void }
1541
1325
  def initialize(account_number: nil, bsb_number: nil); end
1542
1326
  end
@@ -1544,11 +1328,9 @@ module Stripe
1544
1328
  # Account number of the bank account that the funds will be debited from.
1545
1329
  sig { returns(String) }
1546
1330
  attr_accessor :account_number
1547
-
1548
1331
  # Sort code of the bank account. (e.g., `10-20-30`)
1549
1332
  sig { returns(String) }
1550
1333
  attr_accessor :sort_code
1551
-
1552
1334
  sig { params(account_number: String, sort_code: String).void }
1553
1335
  def initialize(account_number: nil, sort_code: nil); end
1554
1336
  end
@@ -1560,27 +1342,21 @@ module Stripe
1560
1342
  # City, district, suburb, town, or village.
1561
1343
  sig { returns(String) }
1562
1344
  attr_accessor :city
1563
-
1564
1345
  # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
1565
1346
  sig { returns(String) }
1566
1347
  attr_accessor :country
1567
-
1568
1348
  # Address line 1 (e.g., street, PO Box, or company name).
1569
1349
  sig { returns(String) }
1570
1350
  attr_accessor :line1
1571
-
1572
1351
  # Address line 2 (e.g., apartment, suite, unit, or building).
1573
1352
  sig { returns(String) }
1574
1353
  attr_accessor :line2
1575
-
1576
1354
  # ZIP or postal code.
1577
1355
  sig { returns(String) }
1578
1356
  attr_accessor :postal_code
1579
-
1580
1357
  # State, county, province, or region.
1581
1358
  sig { returns(String) }
1582
1359
  attr_accessor :state
1583
-
1584
1360
  sig {
1585
1361
  params(city: String, country: String, line1: String, line2: String, postal_code: String, state: String).void
1586
1362
  }
@@ -1598,19 +1374,15 @@ module Stripe
1598
1374
  returns(T.nilable(::Stripe::SetupIntentService::UpdateParams::PaymentMethodData::BillingDetails::Address))
1599
1375
  }
1600
1376
  attr_accessor :address
1601
-
1602
1377
  # Email address.
1603
1378
  sig { returns(T.nilable(String)) }
1604
1379
  attr_accessor :email
1605
-
1606
1380
  # Full name.
1607
1381
  sig { returns(T.nilable(String)) }
1608
1382
  attr_accessor :name
1609
-
1610
1383
  # Billing phone number (including extension).
1611
1384
  sig { returns(T.nilable(String)) }
1612
1385
  attr_accessor :phone
1613
-
1614
1386
  sig {
1615
1387
  params(address: T.nilable(::Stripe::SetupIntentService::UpdateParams::PaymentMethodData::BillingDetails::Address), email: T.nilable(String), name: T.nilable(String), phone: T.nilable(String)).void
1616
1388
  }
@@ -1623,7 +1395,6 @@ module Stripe
1623
1395
  # The tax ID of the customer (CPF for individual consumers or CNPJ for businesses consumers)
1624
1396
  sig { returns(String) }
1625
1397
  attr_accessor :tax_id
1626
-
1627
1398
  sig { params(tax_id: String).void }
1628
1399
  def initialize(tax_id: nil); end
1629
1400
  end
@@ -1637,7 +1408,6 @@ module Stripe
1637
1408
  # The customer's bank.
1638
1409
  sig { returns(String) }
1639
1410
  attr_accessor :bank
1640
-
1641
1411
  sig { params(bank: String).void }
1642
1412
  def initialize(bank: nil); end
1643
1413
  end
@@ -1645,11 +1415,9 @@ module Stripe
1645
1415
  # Account holder type for FPX transaction
1646
1416
  sig { returns(String) }
1647
1417
  attr_accessor :account_holder_type
1648
-
1649
1418
  # The customer's bank.
1650
1419
  sig { returns(String) }
1651
1420
  attr_accessor :bank
1652
-
1653
1421
  sig { params(account_holder_type: String, bank: String).void }
1654
1422
  def initialize(account_holder_type: nil, bank: nil); end
1655
1423
  end
@@ -1666,7 +1434,6 @@ module Stripe
1666
1434
  # Bank where the account is held.
1667
1435
  sig { returns(String) }
1668
1436
  attr_accessor :bank
1669
-
1670
1437
  sig { params(bank: String).void }
1671
1438
  def initialize(bank: nil); end
1672
1439
  end
@@ -1674,7 +1441,6 @@ module Stripe
1674
1441
  # The customer's bank. Only use this parameter for existing customers. Don't use it for new customers.
1675
1442
  sig { returns(String) }
1676
1443
  attr_accessor :bank
1677
-
1678
1444
  sig { params(bank: String).void }
1679
1445
  def initialize(bank: nil); end
1680
1446
  end
@@ -1689,15 +1455,12 @@ module Stripe
1689
1455
  # The day of birth, between 1 and 31.
1690
1456
  sig { returns(Integer) }
1691
1457
  attr_accessor :day
1692
-
1693
1458
  # The month of birth, between 1 and 12.
1694
1459
  sig { returns(Integer) }
1695
1460
  attr_accessor :month
1696
-
1697
1461
  # The four-digit year of birth.
1698
1462
  sig { returns(Integer) }
1699
1463
  attr_accessor :year
1700
-
1701
1464
  sig { params(day: Integer, month: Integer, year: Integer).void }
1702
1465
  def initialize(day: nil, month: nil, year: nil); end
1703
1466
  end
@@ -1706,7 +1469,6 @@ module Stripe
1706
1469
  returns(::Stripe::SetupIntentService::UpdateParams::PaymentMethodData::Klarna::Dob)
1707
1470
  }
1708
1471
  attr_accessor :dob
1709
-
1710
1472
  sig {
1711
1473
  params(dob: ::Stripe::SetupIntentService::UpdateParams::PaymentMethodData::Klarna::Dob).void
1712
1474
  }
@@ -1734,7 +1496,6 @@ module Stripe
1734
1496
  # Whether to use Naver Pay points or a card to fund this transaction. If not provided, this defaults to `card`.
1735
1497
  sig { returns(String) }
1736
1498
  attr_accessor :funding
1737
-
1738
1499
  sig { params(funding: String).void }
1739
1500
  def initialize(funding: nil); end
1740
1501
  end
@@ -1745,9 +1506,11 @@ module Stripe
1745
1506
  # The customer's bank.
1746
1507
  sig { returns(String) }
1747
1508
  attr_accessor :bank
1748
-
1749
1509
  sig { params(bank: String).void }
1750
1510
  def initialize(bank: nil); end
1511
+ end
1512
+ class PayByBank < Stripe::RequestParams
1513
+
1751
1514
  end
1752
1515
  class Payco < Stripe::RequestParams
1753
1516
 
@@ -1762,15 +1525,12 @@ module Stripe
1762
1525
  # The account number for the bank account.
1763
1526
  sig { returns(String) }
1764
1527
  attr_accessor :account_number
1765
-
1766
1528
  # Bank-State-Branch number of the bank account.
1767
1529
  sig { returns(String) }
1768
1530
  attr_accessor :bsb_number
1769
-
1770
1531
  # The PayID alias for the bank account.
1771
1532
  sig { returns(String) }
1772
1533
  attr_accessor :pay_id
1773
-
1774
1534
  sig { params(account_number: String, bsb_number: String, pay_id: String).void }
1775
1535
  def initialize(account_number: nil, bsb_number: nil, pay_id: nil); end
1776
1536
  end
@@ -1787,7 +1547,6 @@ module Stripe
1787
1547
  # 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.
1788
1548
  sig { returns(String) }
1789
1549
  attr_accessor :session
1790
-
1791
1550
  sig { params(session: String).void }
1792
1551
  def initialize(session: nil); end
1793
1552
  end
@@ -1796,15 +1555,12 @@ module Stripe
1796
1555
  # The day of birth, between 1 and 31.
1797
1556
  sig { returns(Integer) }
1798
1557
  attr_accessor :day
1799
-
1800
1558
  # The month of birth, between 1 and 12.
1801
1559
  sig { returns(Integer) }
1802
1560
  attr_accessor :month
1803
-
1804
1561
  # The four-digit year of birth.
1805
1562
  sig { returns(Integer) }
1806
1563
  attr_accessor :year
1807
-
1808
1564
  sig { params(day: Integer, month: Integer, year: Integer).void }
1809
1565
  def initialize(day: nil, month: nil, year: nil); end
1810
1566
  end
@@ -1813,7 +1569,6 @@ module Stripe
1813
1569
  returns(::Stripe::SetupIntentService::UpdateParams::PaymentMethodData::Rechnung::Dob)
1814
1570
  }
1815
1571
  attr_accessor :dob
1816
-
1817
1572
  sig {
1818
1573
  params(dob: ::Stripe::SetupIntentService::UpdateParams::PaymentMethodData::Rechnung::Dob).void
1819
1574
  }
@@ -1829,7 +1584,6 @@ module Stripe
1829
1584
  # IBAN of the bank account.
1830
1585
  sig { returns(String) }
1831
1586
  attr_accessor :iban
1832
-
1833
1587
  sig { params(iban: String).void }
1834
1588
  def initialize(iban: nil); end
1835
1589
  end
@@ -1840,7 +1594,6 @@ module Stripe
1840
1594
  # Two-letter ISO code representing the country the bank account is located in.
1841
1595
  sig { returns(String) }
1842
1596
  attr_accessor :country
1843
-
1844
1597
  sig { params(country: String).void }
1845
1598
  def initialize(country: nil); end
1846
1599
  end
@@ -1854,23 +1607,18 @@ module Stripe
1854
1607
  # Account holder type: individual or company.
1855
1608
  sig { returns(String) }
1856
1609
  attr_accessor :account_holder_type
1857
-
1858
1610
  # Account number of the bank account.
1859
1611
  sig { returns(String) }
1860
1612
  attr_accessor :account_number
1861
-
1862
1613
  # Account type: checkings or savings. Defaults to checking if omitted.
1863
1614
  sig { returns(String) }
1864
1615
  attr_accessor :account_type
1865
-
1866
1616
  # The ID of a Financial Connections Account to use as a payment method.
1867
1617
  sig { returns(String) }
1868
1618
  attr_accessor :financial_connections_account
1869
-
1870
1619
  # Routing number of the bank account.
1871
1620
  sig { returns(String) }
1872
1621
  attr_accessor :routing_number
1873
-
1874
1622
  sig {
1875
1623
  params(account_holder_type: String, account_number: String, account_type: String, financial_connections_account: String, routing_number: String).void
1876
1624
  }
@@ -1891,237 +1639,185 @@ module Stripe
1891
1639
  # If this is an `acss_debit` PaymentMethod, this hash contains details about the ACSS Debit payment method.
1892
1640
  sig { returns(::Stripe::SetupIntentService::UpdateParams::PaymentMethodData::AcssDebit) }
1893
1641
  attr_accessor :acss_debit
1894
-
1895
1642
  # If this is an `affirm` PaymentMethod, this hash contains details about the Affirm payment method.
1896
1643
  sig { returns(::Stripe::SetupIntentService::UpdateParams::PaymentMethodData::Affirm) }
1897
1644
  attr_accessor :affirm
1898
-
1899
1645
  # If this is an `AfterpayClearpay` PaymentMethod, this hash contains details about the AfterpayClearpay payment method.
1900
1646
  sig {
1901
1647
  returns(::Stripe::SetupIntentService::UpdateParams::PaymentMethodData::AfterpayClearpay)
1902
1648
  }
1903
1649
  attr_accessor :afterpay_clearpay
1904
-
1905
1650
  # If this is an `Alipay` PaymentMethod, this hash contains details about the Alipay payment method.
1906
1651
  sig { returns(::Stripe::SetupIntentService::UpdateParams::PaymentMethodData::Alipay) }
1907
1652
  attr_accessor :alipay
1908
-
1909
1653
  # This field indicates whether this payment method can be shown again to its customer in a checkout flow. Stripe products such as Checkout and Elements use this field to determine whether a payment method can be shown as a saved payment method in a checkout flow. The field defaults to `unspecified`.
1910
1654
  sig { returns(String) }
1911
1655
  attr_accessor :allow_redisplay
1912
-
1913
1656
  # If this is a Alma PaymentMethod, this hash contains details about the Alma payment method.
1914
1657
  sig { returns(::Stripe::SetupIntentService::UpdateParams::PaymentMethodData::Alma) }
1915
1658
  attr_accessor :alma
1916
-
1917
1659
  # If this is a AmazonPay PaymentMethod, this hash contains details about the AmazonPay payment method.
1918
1660
  sig { returns(::Stripe::SetupIntentService::UpdateParams::PaymentMethodData::AmazonPay) }
1919
1661
  attr_accessor :amazon_pay
1920
-
1921
1662
  # If this is an `au_becs_debit` PaymentMethod, this hash contains details about the bank account.
1922
1663
  sig { returns(::Stripe::SetupIntentService::UpdateParams::PaymentMethodData::AuBecsDebit) }
1923
1664
  attr_accessor :au_becs_debit
1924
-
1925
1665
  # If this is a `bacs_debit` PaymentMethod, this hash contains details about the Bacs Direct Debit bank account.
1926
1666
  sig { returns(::Stripe::SetupIntentService::UpdateParams::PaymentMethodData::BacsDebit) }
1927
1667
  attr_accessor :bacs_debit
1928
-
1929
1668
  # If this is a `bancontact` PaymentMethod, this hash contains details about the Bancontact payment method.
1930
1669
  sig { returns(::Stripe::SetupIntentService::UpdateParams::PaymentMethodData::Bancontact) }
1931
1670
  attr_accessor :bancontact
1932
-
1933
1671
  # Billing information associated with the PaymentMethod that may be used or required by particular types of payment methods.
1934
1672
  sig {
1935
1673
  returns(::Stripe::SetupIntentService::UpdateParams::PaymentMethodData::BillingDetails)
1936
1674
  }
1937
1675
  attr_accessor :billing_details
1938
-
1939
1676
  # If this is a `blik` PaymentMethod, this hash contains details about the BLIK payment method.
1940
1677
  sig { returns(::Stripe::SetupIntentService::UpdateParams::PaymentMethodData::Blik) }
1941
1678
  attr_accessor :blik
1942
-
1943
1679
  # If this is a `boleto` PaymentMethod, this hash contains details about the Boleto payment method.
1944
1680
  sig { returns(::Stripe::SetupIntentService::UpdateParams::PaymentMethodData::Boleto) }
1945
1681
  attr_accessor :boleto
1946
-
1947
1682
  # If this is a `cashapp` PaymentMethod, this hash contains details about the Cash App Pay payment method.
1948
1683
  sig { returns(::Stripe::SetupIntentService::UpdateParams::PaymentMethodData::Cashapp) }
1949
1684
  attr_accessor :cashapp
1950
-
1951
1685
  # If this is a `customer_balance` PaymentMethod, this hash contains details about the CustomerBalance payment method.
1952
1686
  sig {
1953
1687
  returns(::Stripe::SetupIntentService::UpdateParams::PaymentMethodData::CustomerBalance)
1954
1688
  }
1955
1689
  attr_accessor :customer_balance
1956
-
1957
1690
  # If this is an `eps` PaymentMethod, this hash contains details about the EPS payment method.
1958
1691
  sig { returns(::Stripe::SetupIntentService::UpdateParams::PaymentMethodData::Eps) }
1959
1692
  attr_accessor :eps
1960
-
1961
1693
  # If this is an `fpx` PaymentMethod, this hash contains details about the FPX payment method.
1962
1694
  sig { returns(::Stripe::SetupIntentService::UpdateParams::PaymentMethodData::Fpx) }
1963
1695
  attr_accessor :fpx
1964
-
1965
1696
  # If this is a `giropay` PaymentMethod, this hash contains details about the Giropay payment method.
1966
1697
  sig { returns(::Stripe::SetupIntentService::UpdateParams::PaymentMethodData::Giropay) }
1967
1698
  attr_accessor :giropay
1968
-
1969
1699
  # If this is a Gopay PaymentMethod, this hash contains details about the Gopay payment method.
1970
1700
  sig { returns(::Stripe::SetupIntentService::UpdateParams::PaymentMethodData::Gopay) }
1971
1701
  attr_accessor :gopay
1972
-
1973
1702
  # If this is a `grabpay` PaymentMethod, this hash contains details about the GrabPay payment method.
1974
1703
  sig { returns(::Stripe::SetupIntentService::UpdateParams::PaymentMethodData::Grabpay) }
1975
1704
  attr_accessor :grabpay
1976
-
1977
1705
  # If this is an `IdBankTransfer` PaymentMethod, this hash contains details about the IdBankTransfer payment method.
1978
1706
  sig {
1979
1707
  returns(::Stripe::SetupIntentService::UpdateParams::PaymentMethodData::IdBankTransfer)
1980
1708
  }
1981
1709
  attr_accessor :id_bank_transfer
1982
-
1983
1710
  # If this is an `ideal` PaymentMethod, this hash contains details about the iDEAL payment method.
1984
1711
  sig { returns(::Stripe::SetupIntentService::UpdateParams::PaymentMethodData::Ideal) }
1985
1712
  attr_accessor :ideal
1986
-
1987
1713
  # If this is an `interac_present` PaymentMethod, this hash contains details about the Interac Present payment method.
1988
1714
  sig {
1989
1715
  returns(::Stripe::SetupIntentService::UpdateParams::PaymentMethodData::InteracPresent)
1990
1716
  }
1991
1717
  attr_accessor :interac_present
1992
-
1993
1718
  # If this is a `kakao_pay` PaymentMethod, this hash contains details about the Kakao Pay payment method.
1994
1719
  sig { returns(::Stripe::SetupIntentService::UpdateParams::PaymentMethodData::KakaoPay) }
1995
1720
  attr_accessor :kakao_pay
1996
-
1997
1721
  # If this is a `klarna` PaymentMethod, this hash contains details about the Klarna payment method.
1998
1722
  sig { returns(::Stripe::SetupIntentService::UpdateParams::PaymentMethodData::Klarna) }
1999
1723
  attr_accessor :klarna
2000
-
2001
1724
  # If this is a `konbini` PaymentMethod, this hash contains details about the Konbini payment method.
2002
1725
  sig { returns(::Stripe::SetupIntentService::UpdateParams::PaymentMethodData::Konbini) }
2003
1726
  attr_accessor :konbini
2004
-
2005
1727
  # If this is a `kr_card` PaymentMethod, this hash contains details about the Korean Card payment method.
2006
1728
  sig { returns(::Stripe::SetupIntentService::UpdateParams::PaymentMethodData::KrCard) }
2007
1729
  attr_accessor :kr_card
2008
-
2009
1730
  # If this is an `Link` PaymentMethod, this hash contains details about the Link payment method.
2010
1731
  sig { returns(::Stripe::SetupIntentService::UpdateParams::PaymentMethodData::Link) }
2011
1732
  attr_accessor :link
2012
-
2013
1733
  # If this is a MB WAY PaymentMethod, this hash contains details about the MB WAY payment method.
2014
1734
  sig { returns(::Stripe::SetupIntentService::UpdateParams::PaymentMethodData::MbWay) }
2015
1735
  attr_accessor :mb_way
2016
-
2017
1736
  # Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.
2018
1737
  sig { returns(T::Hash[String, String]) }
2019
1738
  attr_accessor :metadata
2020
-
2021
1739
  # If this is a `mobilepay` PaymentMethod, this hash contains details about the MobilePay payment method.
2022
1740
  sig { returns(::Stripe::SetupIntentService::UpdateParams::PaymentMethodData::Mobilepay) }
2023
1741
  attr_accessor :mobilepay
2024
-
2025
1742
  # If this is a `multibanco` PaymentMethod, this hash contains details about the Multibanco payment method.
2026
1743
  sig { returns(::Stripe::SetupIntentService::UpdateParams::PaymentMethodData::Multibanco) }
2027
1744
  attr_accessor :multibanco
2028
-
2029
1745
  # If this is a `naver_pay` PaymentMethod, this hash contains details about the Naver Pay payment method.
2030
1746
  sig { returns(::Stripe::SetupIntentService::UpdateParams::PaymentMethodData::NaverPay) }
2031
1747
  attr_accessor :naver_pay
2032
-
2033
1748
  # If this is an `oxxo` PaymentMethod, this hash contains details about the OXXO payment method.
2034
1749
  sig { returns(::Stripe::SetupIntentService::UpdateParams::PaymentMethodData::Oxxo) }
2035
1750
  attr_accessor :oxxo
2036
-
2037
1751
  # If this is a `p24` PaymentMethod, this hash contains details about the P24 payment method.
2038
1752
  sig { returns(::Stripe::SetupIntentService::UpdateParams::PaymentMethodData::P24) }
2039
1753
  attr_accessor :p24
2040
-
1754
+ # If this is a `pay_by_bank` PaymentMethod, this hash contains details about the PayByBank payment method.
1755
+ sig { returns(::Stripe::SetupIntentService::UpdateParams::PaymentMethodData::PayByBank) }
1756
+ attr_accessor :pay_by_bank
2041
1757
  # If this is a `payco` PaymentMethod, this hash contains details about the PAYCO payment method.
2042
1758
  sig { returns(::Stripe::SetupIntentService::UpdateParams::PaymentMethodData::Payco) }
2043
1759
  attr_accessor :payco
2044
-
2045
1760
  # If this is a `paynow` PaymentMethod, this hash contains details about the PayNow payment method.
2046
1761
  sig { returns(::Stripe::SetupIntentService::UpdateParams::PaymentMethodData::Paynow) }
2047
1762
  attr_accessor :paynow
2048
-
2049
1763
  # If this is a `paypal` PaymentMethod, this hash contains details about the PayPal payment method.
2050
1764
  sig { returns(::Stripe::SetupIntentService::UpdateParams::PaymentMethodData::Paypal) }
2051
1765
  attr_accessor :paypal
2052
-
2053
1766
  # If this is a `payto` PaymentMethod, this hash contains details about the PayTo payment method.
2054
1767
  sig { returns(::Stripe::SetupIntentService::UpdateParams::PaymentMethodData::Payto) }
2055
1768
  attr_accessor :payto
2056
-
2057
1769
  # If this is a `pix` PaymentMethod, this hash contains details about the Pix payment method.
2058
1770
  sig { returns(::Stripe::SetupIntentService::UpdateParams::PaymentMethodData::Pix) }
2059
1771
  attr_accessor :pix
2060
-
2061
1772
  # If this is a `promptpay` PaymentMethod, this hash contains details about the PromptPay payment method.
2062
1773
  sig { returns(::Stripe::SetupIntentService::UpdateParams::PaymentMethodData::Promptpay) }
2063
1774
  attr_accessor :promptpay
2064
-
2065
1775
  # If this is a `qris` PaymentMethod, this hash contains details about the QRIS payment method.
2066
1776
  sig { returns(::Stripe::SetupIntentService::UpdateParams::PaymentMethodData::Qris) }
2067
1777
  attr_accessor :qris
2068
-
2069
1778
  # Options to configure Radar. See [Radar Session](https://stripe.com/docs/radar/radar-session) for more information.
2070
1779
  sig { returns(::Stripe::SetupIntentService::UpdateParams::PaymentMethodData::RadarOptions) }
2071
1780
  attr_accessor :radar_options
2072
-
2073
1781
  # If this is a `rechnung` PaymentMethod, this hash contains details about the Rechnung payment method.
2074
1782
  sig { returns(::Stripe::SetupIntentService::UpdateParams::PaymentMethodData::Rechnung) }
2075
1783
  attr_accessor :rechnung
2076
-
2077
1784
  # If this is a `Revolut Pay` PaymentMethod, this hash contains details about the Revolut Pay payment method.
2078
1785
  sig { returns(::Stripe::SetupIntentService::UpdateParams::PaymentMethodData::RevolutPay) }
2079
1786
  attr_accessor :revolut_pay
2080
-
2081
1787
  # If this is a `samsung_pay` PaymentMethod, this hash contains details about the SamsungPay payment method.
2082
1788
  sig { returns(::Stripe::SetupIntentService::UpdateParams::PaymentMethodData::SamsungPay) }
2083
1789
  attr_accessor :samsung_pay
2084
-
2085
1790
  # If this is a `sepa_debit` PaymentMethod, this hash contains details about the SEPA debit bank account.
2086
1791
  sig { returns(::Stripe::SetupIntentService::UpdateParams::PaymentMethodData::SepaDebit) }
2087
1792
  attr_accessor :sepa_debit
2088
-
2089
1793
  # If this is a Shopeepay PaymentMethod, this hash contains details about the Shopeepay payment method.
2090
1794
  sig { returns(::Stripe::SetupIntentService::UpdateParams::PaymentMethodData::Shopeepay) }
2091
1795
  attr_accessor :shopeepay
2092
-
2093
1796
  # If this is a `sofort` PaymentMethod, this hash contains details about the SOFORT payment method.
2094
1797
  sig { returns(::Stripe::SetupIntentService::UpdateParams::PaymentMethodData::Sofort) }
2095
1798
  attr_accessor :sofort
2096
-
2097
1799
  # If this is a `swish` PaymentMethod, this hash contains details about the Swish payment method.
2098
1800
  sig { returns(::Stripe::SetupIntentService::UpdateParams::PaymentMethodData::Swish) }
2099
1801
  attr_accessor :swish
2100
-
2101
1802
  # If this is a TWINT PaymentMethod, this hash contains details about the TWINT payment method.
2102
1803
  sig { returns(::Stripe::SetupIntentService::UpdateParams::PaymentMethodData::Twint) }
2103
1804
  attr_accessor :twint
2104
-
2105
1805
  # The type of the PaymentMethod. An additional hash is included on the PaymentMethod with a name matching this value. It contains additional information specific to the PaymentMethod type.
2106
1806
  sig { returns(String) }
2107
1807
  attr_accessor :type
2108
-
2109
1808
  # If this is an `us_bank_account` PaymentMethod, this hash contains details about the US bank account payment method.
2110
1809
  sig {
2111
1810
  returns(::Stripe::SetupIntentService::UpdateParams::PaymentMethodData::UsBankAccount)
2112
1811
  }
2113
1812
  attr_accessor :us_bank_account
2114
-
2115
1813
  # If this is an `wechat_pay` PaymentMethod, this hash contains details about the wechat_pay payment method.
2116
1814
  sig { returns(::Stripe::SetupIntentService::UpdateParams::PaymentMethodData::WechatPay) }
2117
1815
  attr_accessor :wechat_pay
2118
-
2119
1816
  # If this is a `zip` PaymentMethod, this hash contains details about the Zip payment method.
2120
1817
  sig { returns(::Stripe::SetupIntentService::UpdateParams::PaymentMethodData::Zip) }
2121
1818
  attr_accessor :zip
2122
-
2123
1819
  sig {
2124
- params(acss_debit: ::Stripe::SetupIntentService::UpdateParams::PaymentMethodData::AcssDebit, affirm: ::Stripe::SetupIntentService::UpdateParams::PaymentMethodData::Affirm, afterpay_clearpay: ::Stripe::SetupIntentService::UpdateParams::PaymentMethodData::AfterpayClearpay, alipay: ::Stripe::SetupIntentService::UpdateParams::PaymentMethodData::Alipay, allow_redisplay: String, alma: ::Stripe::SetupIntentService::UpdateParams::PaymentMethodData::Alma, amazon_pay: ::Stripe::SetupIntentService::UpdateParams::PaymentMethodData::AmazonPay, au_becs_debit: ::Stripe::SetupIntentService::UpdateParams::PaymentMethodData::AuBecsDebit, bacs_debit: ::Stripe::SetupIntentService::UpdateParams::PaymentMethodData::BacsDebit, bancontact: ::Stripe::SetupIntentService::UpdateParams::PaymentMethodData::Bancontact, billing_details: ::Stripe::SetupIntentService::UpdateParams::PaymentMethodData::BillingDetails, blik: ::Stripe::SetupIntentService::UpdateParams::PaymentMethodData::Blik, boleto: ::Stripe::SetupIntentService::UpdateParams::PaymentMethodData::Boleto, cashapp: ::Stripe::SetupIntentService::UpdateParams::PaymentMethodData::Cashapp, customer_balance: ::Stripe::SetupIntentService::UpdateParams::PaymentMethodData::CustomerBalance, eps: ::Stripe::SetupIntentService::UpdateParams::PaymentMethodData::Eps, fpx: ::Stripe::SetupIntentService::UpdateParams::PaymentMethodData::Fpx, giropay: ::Stripe::SetupIntentService::UpdateParams::PaymentMethodData::Giropay, gopay: ::Stripe::SetupIntentService::UpdateParams::PaymentMethodData::Gopay, grabpay: ::Stripe::SetupIntentService::UpdateParams::PaymentMethodData::Grabpay, id_bank_transfer: ::Stripe::SetupIntentService::UpdateParams::PaymentMethodData::IdBankTransfer, ideal: ::Stripe::SetupIntentService::UpdateParams::PaymentMethodData::Ideal, interac_present: ::Stripe::SetupIntentService::UpdateParams::PaymentMethodData::InteracPresent, kakao_pay: ::Stripe::SetupIntentService::UpdateParams::PaymentMethodData::KakaoPay, klarna: ::Stripe::SetupIntentService::UpdateParams::PaymentMethodData::Klarna, konbini: ::Stripe::SetupIntentService::UpdateParams::PaymentMethodData::Konbini, kr_card: ::Stripe::SetupIntentService::UpdateParams::PaymentMethodData::KrCard, link: ::Stripe::SetupIntentService::UpdateParams::PaymentMethodData::Link, mb_way: ::Stripe::SetupIntentService::UpdateParams::PaymentMethodData::MbWay, metadata: T::Hash[String, String], mobilepay: ::Stripe::SetupIntentService::UpdateParams::PaymentMethodData::Mobilepay, multibanco: ::Stripe::SetupIntentService::UpdateParams::PaymentMethodData::Multibanco, naver_pay: ::Stripe::SetupIntentService::UpdateParams::PaymentMethodData::NaverPay, oxxo: ::Stripe::SetupIntentService::UpdateParams::PaymentMethodData::Oxxo, p24: ::Stripe::SetupIntentService::UpdateParams::PaymentMethodData::P24, payco: ::Stripe::SetupIntentService::UpdateParams::PaymentMethodData::Payco, paynow: ::Stripe::SetupIntentService::UpdateParams::PaymentMethodData::Paynow, paypal: ::Stripe::SetupIntentService::UpdateParams::PaymentMethodData::Paypal, payto: ::Stripe::SetupIntentService::UpdateParams::PaymentMethodData::Payto, pix: ::Stripe::SetupIntentService::UpdateParams::PaymentMethodData::Pix, promptpay: ::Stripe::SetupIntentService::UpdateParams::PaymentMethodData::Promptpay, qris: ::Stripe::SetupIntentService::UpdateParams::PaymentMethodData::Qris, radar_options: ::Stripe::SetupIntentService::UpdateParams::PaymentMethodData::RadarOptions, rechnung: ::Stripe::SetupIntentService::UpdateParams::PaymentMethodData::Rechnung, revolut_pay: ::Stripe::SetupIntentService::UpdateParams::PaymentMethodData::RevolutPay, samsung_pay: ::Stripe::SetupIntentService::UpdateParams::PaymentMethodData::SamsungPay, sepa_debit: ::Stripe::SetupIntentService::UpdateParams::PaymentMethodData::SepaDebit, shopeepay: ::Stripe::SetupIntentService::UpdateParams::PaymentMethodData::Shopeepay, sofort: ::Stripe::SetupIntentService::UpdateParams::PaymentMethodData::Sofort, swish: ::Stripe::SetupIntentService::UpdateParams::PaymentMethodData::Swish, twint: ::Stripe::SetupIntentService::UpdateParams::PaymentMethodData::Twint, type: String, us_bank_account: ::Stripe::SetupIntentService::UpdateParams::PaymentMethodData::UsBankAccount, wechat_pay: ::Stripe::SetupIntentService::UpdateParams::PaymentMethodData::WechatPay, zip: ::Stripe::SetupIntentService::UpdateParams::PaymentMethodData::Zip).void
1820
+ params(acss_debit: ::Stripe::SetupIntentService::UpdateParams::PaymentMethodData::AcssDebit, affirm: ::Stripe::SetupIntentService::UpdateParams::PaymentMethodData::Affirm, afterpay_clearpay: ::Stripe::SetupIntentService::UpdateParams::PaymentMethodData::AfterpayClearpay, alipay: ::Stripe::SetupIntentService::UpdateParams::PaymentMethodData::Alipay, allow_redisplay: String, alma: ::Stripe::SetupIntentService::UpdateParams::PaymentMethodData::Alma, amazon_pay: ::Stripe::SetupIntentService::UpdateParams::PaymentMethodData::AmazonPay, au_becs_debit: ::Stripe::SetupIntentService::UpdateParams::PaymentMethodData::AuBecsDebit, bacs_debit: ::Stripe::SetupIntentService::UpdateParams::PaymentMethodData::BacsDebit, bancontact: ::Stripe::SetupIntentService::UpdateParams::PaymentMethodData::Bancontact, billing_details: ::Stripe::SetupIntentService::UpdateParams::PaymentMethodData::BillingDetails, blik: ::Stripe::SetupIntentService::UpdateParams::PaymentMethodData::Blik, boleto: ::Stripe::SetupIntentService::UpdateParams::PaymentMethodData::Boleto, cashapp: ::Stripe::SetupIntentService::UpdateParams::PaymentMethodData::Cashapp, customer_balance: ::Stripe::SetupIntentService::UpdateParams::PaymentMethodData::CustomerBalance, eps: ::Stripe::SetupIntentService::UpdateParams::PaymentMethodData::Eps, fpx: ::Stripe::SetupIntentService::UpdateParams::PaymentMethodData::Fpx, giropay: ::Stripe::SetupIntentService::UpdateParams::PaymentMethodData::Giropay, gopay: ::Stripe::SetupIntentService::UpdateParams::PaymentMethodData::Gopay, grabpay: ::Stripe::SetupIntentService::UpdateParams::PaymentMethodData::Grabpay, id_bank_transfer: ::Stripe::SetupIntentService::UpdateParams::PaymentMethodData::IdBankTransfer, ideal: ::Stripe::SetupIntentService::UpdateParams::PaymentMethodData::Ideal, interac_present: ::Stripe::SetupIntentService::UpdateParams::PaymentMethodData::InteracPresent, kakao_pay: ::Stripe::SetupIntentService::UpdateParams::PaymentMethodData::KakaoPay, klarna: ::Stripe::SetupIntentService::UpdateParams::PaymentMethodData::Klarna, konbini: ::Stripe::SetupIntentService::UpdateParams::PaymentMethodData::Konbini, kr_card: ::Stripe::SetupIntentService::UpdateParams::PaymentMethodData::KrCard, link: ::Stripe::SetupIntentService::UpdateParams::PaymentMethodData::Link, mb_way: ::Stripe::SetupIntentService::UpdateParams::PaymentMethodData::MbWay, metadata: T::Hash[String, String], mobilepay: ::Stripe::SetupIntentService::UpdateParams::PaymentMethodData::Mobilepay, multibanco: ::Stripe::SetupIntentService::UpdateParams::PaymentMethodData::Multibanco, naver_pay: ::Stripe::SetupIntentService::UpdateParams::PaymentMethodData::NaverPay, oxxo: ::Stripe::SetupIntentService::UpdateParams::PaymentMethodData::Oxxo, p24: ::Stripe::SetupIntentService::UpdateParams::PaymentMethodData::P24, pay_by_bank: ::Stripe::SetupIntentService::UpdateParams::PaymentMethodData::PayByBank, payco: ::Stripe::SetupIntentService::UpdateParams::PaymentMethodData::Payco, paynow: ::Stripe::SetupIntentService::UpdateParams::PaymentMethodData::Paynow, paypal: ::Stripe::SetupIntentService::UpdateParams::PaymentMethodData::Paypal, payto: ::Stripe::SetupIntentService::UpdateParams::PaymentMethodData::Payto, pix: ::Stripe::SetupIntentService::UpdateParams::PaymentMethodData::Pix, promptpay: ::Stripe::SetupIntentService::UpdateParams::PaymentMethodData::Promptpay, qris: ::Stripe::SetupIntentService::UpdateParams::PaymentMethodData::Qris, radar_options: ::Stripe::SetupIntentService::UpdateParams::PaymentMethodData::RadarOptions, rechnung: ::Stripe::SetupIntentService::UpdateParams::PaymentMethodData::Rechnung, revolut_pay: ::Stripe::SetupIntentService::UpdateParams::PaymentMethodData::RevolutPay, samsung_pay: ::Stripe::SetupIntentService::UpdateParams::PaymentMethodData::SamsungPay, sepa_debit: ::Stripe::SetupIntentService::UpdateParams::PaymentMethodData::SepaDebit, shopeepay: ::Stripe::SetupIntentService::UpdateParams::PaymentMethodData::Shopeepay, sofort: ::Stripe::SetupIntentService::UpdateParams::PaymentMethodData::Sofort, swish: ::Stripe::SetupIntentService::UpdateParams::PaymentMethodData::Swish, twint: ::Stripe::SetupIntentService::UpdateParams::PaymentMethodData::Twint, type: String, us_bank_account: ::Stripe::SetupIntentService::UpdateParams::PaymentMethodData::UsBankAccount, wechat_pay: ::Stripe::SetupIntentService::UpdateParams::PaymentMethodData::WechatPay, zip: ::Stripe::SetupIntentService::UpdateParams::PaymentMethodData::Zip).void
2125
1821
  }
2126
1822
  def initialize(
2127
1823
  acss_debit: nil,
@@ -2159,6 +1855,7 @@ module Stripe
2159
1855
  naver_pay: nil,
2160
1856
  oxxo: nil,
2161
1857
  p24: nil,
1858
+ pay_by_bank: nil,
2162
1859
  payco: nil,
2163
1860
  paynow: nil,
2164
1861
  paypal: nil,
@@ -2189,23 +1886,18 @@ module Stripe
2189
1886
  # or `setup_intent` and `setup_intent_client_secret` when confirming a Setup Intent.
2190
1887
  sig { returns(T.nilable(String)) }
2191
1888
  attr_accessor :custom_mandate_url
2192
-
2193
1889
  # List of Stripe products where this mandate can be selected automatically.
2194
1890
  sig { returns(T::Array[String]) }
2195
1891
  attr_accessor :default_for
2196
-
2197
1892
  # Description of the mandate interval. Only required if 'payment_schedule' parameter is 'interval' or 'combined'.
2198
1893
  sig { returns(String) }
2199
1894
  attr_accessor :interval_description
2200
-
2201
1895
  # Payment schedule for the mandate.
2202
1896
  sig { returns(String) }
2203
1897
  attr_accessor :payment_schedule
2204
-
2205
1898
  # Transaction type of the mandate.
2206
1899
  sig { returns(String) }
2207
1900
  attr_accessor :transaction_type
2208
-
2209
1901
  sig {
2210
1902
  params(custom_mandate_url: T.nilable(String), default_for: T::Array[String], interval_description: String, payment_schedule: String, transaction_type: String).void
2211
1903
  }
@@ -2220,17 +1912,14 @@ module Stripe
2220
1912
  # Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).
2221
1913
  sig { returns(String) }
2222
1914
  attr_accessor :currency
2223
-
2224
1915
  # Additional fields for Mandate creation
2225
1916
  sig {
2226
1917
  returns(::Stripe::SetupIntentService::UpdateParams::PaymentMethodOptions::AcssDebit::MandateOptions)
2227
1918
  }
2228
1919
  attr_accessor :mandate_options
2229
-
2230
1920
  # Bank account verification method.
2231
1921
  sig { returns(String) }
2232
1922
  attr_accessor :verification_method
2233
-
2234
1923
  sig {
2235
1924
  params(currency: String, mandate_options: ::Stripe::SetupIntentService::UpdateParams::PaymentMethodOptions::AcssDebit::MandateOptions, verification_method: String).void
2236
1925
  }
@@ -2244,7 +1933,6 @@ module Stripe
2244
1933
  # 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 'DDIC' or 'STRIPE'.
2245
1934
  sig { returns(T.nilable(String)) }
2246
1935
  attr_accessor :reference_prefix
2247
-
2248
1936
  sig { params(reference_prefix: T.nilable(String)).void }
2249
1937
  def initialize(reference_prefix: nil); end
2250
1938
  end
@@ -2253,7 +1941,6 @@ module Stripe
2253
1941
  returns(::Stripe::SetupIntentService::UpdateParams::PaymentMethodOptions::BacsDebit::MandateOptions)
2254
1942
  }
2255
1943
  attr_accessor :mandate_options
2256
-
2257
1944
  sig {
2258
1945
  params(mandate_options: ::Stripe::SetupIntentService::UpdateParams::PaymentMethodOptions::BacsDebit::MandateOptions).void
2259
1946
  }
@@ -2264,43 +1951,33 @@ module Stripe
2264
1951
  # Amount to be charged for future payments.
2265
1952
  sig { returns(Integer) }
2266
1953
  attr_accessor :amount
2267
-
2268
1954
  # One of `fixed` or `maximum`. If `fixed`, the `amount` param refers to the exact amount to be charged in future payments. If `maximum`, the amount charged can be up to the value passed for the `amount` param.
2269
1955
  sig { returns(String) }
2270
1956
  attr_accessor :amount_type
2271
-
2272
1957
  # Currency in which future payments will be charged. Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).
2273
1958
  sig { returns(String) }
2274
1959
  attr_accessor :currency
2275
-
2276
1960
  # A description of the mandate or subscription that is meant to be displayed to the customer.
2277
1961
  sig { returns(String) }
2278
1962
  attr_accessor :description
2279
-
2280
1963
  # End date of the mandate or subscription. If not provided, the mandate will be active until canceled. If provided, end date should be after start date.
2281
1964
  sig { returns(Integer) }
2282
1965
  attr_accessor :end_date
2283
-
2284
1966
  # Specifies payment frequency. One of `day`, `week`, `month`, `year`, or `sporadic`.
2285
1967
  sig { returns(String) }
2286
1968
  attr_accessor :interval
2287
-
2288
1969
  # The number of intervals between payments. For example, `interval=month` and `interval_count=3` indicates one payment every three months. Maximum of one year interval allowed (1 year, 12 months, or 52 weeks). This parameter is optional when `interval=sporadic`.
2289
1970
  sig { returns(Integer) }
2290
1971
  attr_accessor :interval_count
2291
-
2292
1972
  # Unique identifier for the mandate or subscription.
2293
1973
  sig { returns(String) }
2294
1974
  attr_accessor :reference
2295
-
2296
1975
  # Start date of the mandate or subscription. Start date should not be lesser than yesterday.
2297
1976
  sig { returns(Integer) }
2298
1977
  attr_accessor :start_date
2299
-
2300
1978
  # Specifies the type of mandates supported. Possible values are `india`.
2301
1979
  sig { returns(T::Array[String]) }
2302
1980
  attr_accessor :supported_types
2303
-
2304
1981
  sig {
2305
1982
  params(amount: Integer, amount_type: String, currency: String, description: String, end_date: Integer, interval: String, interval_count: Integer, reference: String, start_date: Integer, supported_types: T::Array[String]).void
2306
1983
  }
@@ -2325,19 +2002,16 @@ module Stripe
2325
2002
  # messageExtension: CB-AVALGO
2326
2003
  sig { returns(String) }
2327
2004
  attr_accessor :cb_avalgo
2328
-
2329
2005
  # The exemption indicator returned from Cartes Bancaires in the ARes.
2330
2006
  # message extension: CB-EXEMPTION; string (4 characters)
2331
2007
  # This is a 3 byte bitmap (low significant byte first and most significant
2332
2008
  # bit first) that has been Base64 encoded
2333
2009
  sig { returns(String) }
2334
2010
  attr_accessor :cb_exemption
2335
-
2336
2011
  # The risk score returned from Cartes Bancaires in the ARes.
2337
2012
  # message extension: CB-SCORE; numeric value 0-99
2338
2013
  sig { returns(Integer) }
2339
2014
  attr_accessor :cb_score
2340
-
2341
2015
  sig { params(cb_avalgo: String, cb_exemption: String, cb_score: Integer).void }
2342
2016
  def initialize(cb_avalgo: nil, cb_exemption: nil, cb_score: nil); end
2343
2017
  end
@@ -2346,7 +2020,6 @@ module Stripe
2346
2020
  returns(::Stripe::SetupIntentService::UpdateParams::PaymentMethodOptions::Card::ThreeDSecure::NetworkOptions::CartesBancaires)
2347
2021
  }
2348
2022
  attr_accessor :cartes_bancaires
2349
-
2350
2023
  sig {
2351
2024
  params(cartes_bancaires: ::Stripe::SetupIntentService::UpdateParams::PaymentMethodOptions::Card::ThreeDSecure::NetworkOptions::CartesBancaires).void
2352
2025
  }
@@ -2355,19 +2028,16 @@ module Stripe
2355
2028
  # The `transStatus` returned from the card Issuer’s ACS in the ARes.
2356
2029
  sig { returns(String) }
2357
2030
  attr_accessor :ares_trans_status
2358
-
2359
2031
  # The cryptogram, also known as the "authentication value" (AAV, CAVV or
2360
2032
  # AEVV). This value is 20 bytes, base64-encoded into a 28-character string.
2361
2033
  # (Most 3D Secure providers will return the base64-encoded version, which
2362
2034
  # is what you should specify here.)
2363
2035
  sig { returns(String) }
2364
2036
  attr_accessor :cryptogram
2365
-
2366
2037
  # The Electronic Commerce Indicator (ECI) is returned by your 3D Secure
2367
2038
  # provider and indicates what degree of authentication was performed.
2368
2039
  sig { returns(String) }
2369
2040
  attr_accessor :electronic_commerce_indicator
2370
-
2371
2041
  # Network specific 3DS fields. Network specific arguments require an
2372
2042
  # explicit card brand choice. The parameter `payment_method_options.card.network``
2373
2043
  # must be populated accordingly
@@ -2375,21 +2045,17 @@ module Stripe
2375
2045
  returns(::Stripe::SetupIntentService::UpdateParams::PaymentMethodOptions::Card::ThreeDSecure::NetworkOptions)
2376
2046
  }
2377
2047
  attr_accessor :network_options
2378
-
2379
2048
  # The challenge indicator (`threeDSRequestorChallengeInd`) which was requested in the
2380
2049
  # AReq sent to the card Issuer's ACS. A string containing 2 digits from 01-99.
2381
2050
  sig { returns(String) }
2382
2051
  attr_accessor :requestor_challenge_indicator
2383
-
2384
2052
  # For 3D Secure 1, the XID. For 3D Secure 2, the Directory Server
2385
2053
  # Transaction ID (dsTransID).
2386
2054
  sig { returns(String) }
2387
2055
  attr_accessor :transaction_id
2388
-
2389
2056
  # The version of 3D Secure that was performed.
2390
2057
  sig { returns(String) }
2391
2058
  attr_accessor :version
2392
-
2393
2059
  sig {
2394
2060
  params(ares_trans_status: String, cryptogram: String, electronic_commerce_indicator: String, network_options: ::Stripe::SetupIntentService::UpdateParams::PaymentMethodOptions::Card::ThreeDSecure::NetworkOptions, requestor_challenge_indicator: String, transaction_id: String, version: String).void
2395
2061
  }
@@ -2408,28 +2074,23 @@ module Stripe
2408
2074
  returns(::Stripe::SetupIntentService::UpdateParams::PaymentMethodOptions::Card::MandateOptions)
2409
2075
  }
2410
2076
  attr_accessor :mandate_options
2411
-
2412
2077
  # When specified, this parameter signals that a card has been collected
2413
2078
  # as MOTO (Mail Order Telephone Order) and thus out of scope for SCA. This
2414
2079
  # parameter can only be provided during confirmation.
2415
2080
  sig { returns(T::Boolean) }
2416
2081
  attr_accessor :moto
2417
-
2418
2082
  # Selected network to process this SetupIntent on. Depends on the available networks of the card attached to the SetupIntent. Can be only set confirm-time.
2419
2083
  sig { returns(String) }
2420
2084
  attr_accessor :network
2421
-
2422
2085
  # We strongly recommend that you rely on our SCA Engine to automatically prompt your customers for authentication based on risk level and [other requirements](https://stripe.com/docs/strong-customer-authentication). However, if you wish to request 3D Secure based on logic from your own fraud engine, provide this option. If not provided, this value defaults to `automatic`. Read our guide on [manually requesting 3D Secure](https://stripe.com/docs/payments/3d-secure/authentication-flow#manual-three-ds) for more information on how this configuration interacts with Radar and our SCA Engine.
2423
2086
  sig { returns(String) }
2424
2087
  attr_accessor :request_three_d_secure
2425
-
2426
2088
  # If 3D Secure authentication was performed with a third-party provider,
2427
2089
  # the authentication details to use for this setup.
2428
2090
  sig {
2429
2091
  returns(::Stripe::SetupIntentService::UpdateParams::PaymentMethodOptions::Card::ThreeDSecure)
2430
2092
  }
2431
2093
  attr_accessor :three_d_secure
2432
-
2433
2094
  sig {
2434
2095
  params(mandate_options: ::Stripe::SetupIntentService::UpdateParams::PaymentMethodOptions::Card::MandateOptions, moto: T::Boolean, network: String, request_three_d_secure: String, three_d_secure: ::Stripe::SetupIntentService::UpdateParams::PaymentMethodOptions::Card::ThreeDSecure).void
2435
2096
  }
@@ -2448,7 +2109,6 @@ module Stripe
2448
2109
  # [Deprecated] This is a legacy parameter that no longer has any function.
2449
2110
  sig { returns(String) }
2450
2111
  attr_accessor :persistent_token
2451
-
2452
2112
  sig { params(persistent_token: String).void }
2453
2113
  def initialize(persistent_token: nil); end
2454
2114
  end
@@ -2456,15 +2116,12 @@ module Stripe
2456
2116
  # The PayPal Billing Agreement ID (BAID). This is an ID generated by PayPal which represents the mandate between the merchant and the customer.
2457
2117
  sig { returns(String) }
2458
2118
  attr_accessor :billing_agreement_id
2459
-
2460
2119
  # Attribute for param field currency
2461
2120
  sig { returns(String) }
2462
2121
  attr_accessor :currency
2463
-
2464
2122
  # The Stripe connected account IDs of the sellers on the platform for this transaction (optional). Only allowed when [separate charges and transfers](https://stripe.com/docs/connect/separate-charges-and-transfers) are used.
2465
2123
  sig { returns(T::Array[String]) }
2466
2124
  attr_accessor :subsellers
2467
-
2468
2125
  sig {
2469
2126
  params(billing_agreement_id: String, currency: String, subsellers: T::Array[String]).void
2470
2127
  }
@@ -2475,31 +2132,24 @@ module Stripe
2475
2132
  # Amount that will be collected. It is required when `amount_type` is `fixed`.
2476
2133
  sig { returns(Integer) }
2477
2134
  attr_accessor :amount
2478
-
2479
2135
  # The type of amount that will be collected. The amount charged must be exact or up to the value of `amount` param for `fixed` or `maximum` type respectively.
2480
2136
  sig { returns(String) }
2481
2137
  attr_accessor :amount_type
2482
-
2483
2138
  # Date, in YYYY-MM-DD format, after which payments will not be collected. Defaults to no end date.
2484
2139
  sig { returns(String) }
2485
2140
  attr_accessor :end_date
2486
-
2487
2141
  # The periodicity at which payments will be collected.
2488
2142
  sig { returns(String) }
2489
2143
  attr_accessor :payment_schedule
2490
-
2491
2144
  # The number of payments that will be made during a payment period. Defaults to 1 except for when `payment_schedule` is `adhoc`. In that case, it defaults to no limit.
2492
2145
  sig { returns(Integer) }
2493
2146
  attr_accessor :payments_per_period
2494
-
2495
2147
  # The purpose for which payments are made. Defaults to retail.
2496
2148
  sig { returns(String) }
2497
2149
  attr_accessor :purpose
2498
-
2499
2150
  # Date, in YYYY-MM-DD format, from which payments will be collected. Defaults to confirmation time.
2500
2151
  sig { returns(String) }
2501
2152
  attr_accessor :start_date
2502
-
2503
2153
  sig {
2504
2154
  params(amount: Integer, amount_type: String, end_date: String, payment_schedule: String, payments_per_period: Integer, purpose: String, start_date: String).void
2505
2155
  }
@@ -2518,7 +2168,6 @@ module Stripe
2518
2168
  returns(::Stripe::SetupIntentService::UpdateParams::PaymentMethodOptions::Payto::MandateOptions)
2519
2169
  }
2520
2170
  attr_accessor :mandate_options
2521
-
2522
2171
  sig {
2523
2172
  params(mandate_options: ::Stripe::SetupIntentService::UpdateParams::PaymentMethodOptions::Payto::MandateOptions).void
2524
2173
  }
@@ -2529,7 +2178,6 @@ module Stripe
2529
2178
  # 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'.
2530
2179
  sig { returns(T.nilable(String)) }
2531
2180
  attr_accessor :reference_prefix
2532
-
2533
2181
  sig { params(reference_prefix: T.nilable(String)).void }
2534
2182
  def initialize(reference_prefix: nil); end
2535
2183
  end
@@ -2538,7 +2186,6 @@ module Stripe
2538
2186
  returns(::Stripe::SetupIntentService::UpdateParams::PaymentMethodOptions::SepaDebit::MandateOptions)
2539
2187
  }
2540
2188
  attr_accessor :mandate_options
2541
-
2542
2189
  sig {
2543
2190
  params(mandate_options: ::Stripe::SetupIntentService::UpdateParams::PaymentMethodOptions::SepaDebit::MandateOptions).void
2544
2191
  }
@@ -2550,11 +2197,9 @@ module Stripe
2550
2197
  # The account subcategories to use to filter for selectable accounts. Valid subcategories are `checking` and `savings`.
2551
2198
  sig { returns(T::Array[String]) }
2552
2199
  attr_accessor :account_subcategories
2553
-
2554
2200
  # ID of the institution to use to filter for selectable accounts.
2555
2201
  sig { returns(String) }
2556
2202
  attr_accessor :institution
2557
-
2558
2203
  sig { params(account_subcategories: T::Array[String], institution: String).void }
2559
2204
  def initialize(account_subcategories: nil, institution: nil); end
2560
2205
  end
@@ -2562,7 +2207,6 @@ module Stripe
2562
2207
  # Settings for configuring manual entry of account details.
2563
2208
  sig { returns(String) }
2564
2209
  attr_accessor :mode
2565
-
2566
2210
  sig { params(mode: String).void }
2567
2211
  def initialize(mode: nil); end
2568
2212
  end
@@ -2571,25 +2215,20 @@ module Stripe
2571
2215
  returns(::Stripe::SetupIntentService::UpdateParams::PaymentMethodOptions::UsBankAccount::FinancialConnections::Filters)
2572
2216
  }
2573
2217
  attr_accessor :filters
2574
-
2575
2218
  # Customize manual entry behavior
2576
2219
  sig {
2577
2220
  returns(::Stripe::SetupIntentService::UpdateParams::PaymentMethodOptions::UsBankAccount::FinancialConnections::ManualEntry)
2578
2221
  }
2579
2222
  attr_accessor :manual_entry
2580
-
2581
2223
  # The list of permissions to request. If this parameter is passed, the `payment_method` permission must be included. Valid permissions include: `balances`, `ownership`, `payment_method`, and `transactions`.
2582
2224
  sig { returns(T::Array[String]) }
2583
2225
  attr_accessor :permissions
2584
-
2585
2226
  # List of data features that you would like to retrieve upon account creation.
2586
2227
  sig { returns(T::Array[String]) }
2587
2228
  attr_accessor :prefetch
2588
-
2589
2229
  # For webview integrations only. Upon completing OAuth login in the native browser, the user will be redirected to this URL to return to your app.
2590
2230
  sig { returns(String) }
2591
2231
  attr_accessor :return_url
2592
-
2593
2232
  sig {
2594
2233
  params(filters: ::Stripe::SetupIntentService::UpdateParams::PaymentMethodOptions::UsBankAccount::FinancialConnections::Filters, manual_entry: ::Stripe::SetupIntentService::UpdateParams::PaymentMethodOptions::UsBankAccount::FinancialConnections::ManualEntry, permissions: T::Array[String], prefetch: T::Array[String], return_url: String).void
2595
2234
  }
@@ -2605,7 +2244,6 @@ module Stripe
2605
2244
  # The method used to collect offline mandate customer acceptance.
2606
2245
  sig { returns(T.nilable(String)) }
2607
2246
  attr_accessor :collection_method
2608
-
2609
2247
  sig { params(collection_method: T.nilable(String)).void }
2610
2248
  def initialize(collection_method: nil); end
2611
2249
  end
@@ -2613,7 +2251,6 @@ module Stripe
2613
2251
  # Triggers validations to run across the selected networks
2614
2252
  sig { returns(T::Array[String]) }
2615
2253
  attr_accessor :requested
2616
-
2617
2254
  sig { params(requested: T::Array[String]).void }
2618
2255
  def initialize(requested: nil); end
2619
2256
  end
@@ -2622,23 +2259,19 @@ module Stripe
2622
2259
  returns(::Stripe::SetupIntentService::UpdateParams::PaymentMethodOptions::UsBankAccount::FinancialConnections)
2623
2260
  }
2624
2261
  attr_accessor :financial_connections
2625
-
2626
2262
  # Additional fields for Mandate creation
2627
2263
  sig {
2628
2264
  returns(::Stripe::SetupIntentService::UpdateParams::PaymentMethodOptions::UsBankAccount::MandateOptions)
2629
2265
  }
2630
2266
  attr_accessor :mandate_options
2631
-
2632
2267
  # Additional fields for network related functions
2633
2268
  sig {
2634
2269
  returns(::Stripe::SetupIntentService::UpdateParams::PaymentMethodOptions::UsBankAccount::Networks)
2635
2270
  }
2636
2271
  attr_accessor :networks
2637
-
2638
2272
  # Bank account verification method.
2639
2273
  sig { returns(String) }
2640
2274
  attr_accessor :verification_method
2641
-
2642
2275
  sig {
2643
2276
  params(financial_connections: ::Stripe::SetupIntentService::UpdateParams::PaymentMethodOptions::UsBankAccount::FinancialConnections, mandate_options: ::Stripe::SetupIntentService::UpdateParams::PaymentMethodOptions::UsBankAccount::MandateOptions, networks: ::Stripe::SetupIntentService::UpdateParams::PaymentMethodOptions::UsBankAccount::Networks, verification_method: String).void
2644
2277
  }
@@ -2652,47 +2285,37 @@ module Stripe
2652
2285
  # If this is a `acss_debit` SetupIntent, this sub-hash contains details about the ACSS Debit payment method options.
2653
2286
  sig { returns(::Stripe::SetupIntentService::UpdateParams::PaymentMethodOptions::AcssDebit) }
2654
2287
  attr_accessor :acss_debit
2655
-
2656
2288
  # If this is a `amazon_pay` SetupIntent, this sub-hash contains details about the AmazonPay payment method options.
2657
2289
  sig { returns(::Stripe::SetupIntentService::UpdateParams::PaymentMethodOptions::AmazonPay) }
2658
2290
  attr_accessor :amazon_pay
2659
-
2660
2291
  # If this is a `bacs_debit` SetupIntent, this sub-hash contains details about the Bacs Debit payment method options.
2661
2292
  sig { returns(::Stripe::SetupIntentService::UpdateParams::PaymentMethodOptions::BacsDebit) }
2662
2293
  attr_accessor :bacs_debit
2663
-
2664
2294
  # Configuration for any card setup attempted on this SetupIntent.
2665
2295
  sig { returns(::Stripe::SetupIntentService::UpdateParams::PaymentMethodOptions::Card) }
2666
2296
  attr_accessor :card
2667
-
2668
2297
  # If this is a `card_present` PaymentMethod, this sub-hash contains details about the card-present payment method options.
2669
2298
  sig {
2670
2299
  returns(::Stripe::SetupIntentService::UpdateParams::PaymentMethodOptions::CardPresent)
2671
2300
  }
2672
2301
  attr_accessor :card_present
2673
-
2674
2302
  # If this is a `link` PaymentMethod, this sub-hash contains details about the Link payment method options.
2675
2303
  sig { returns(::Stripe::SetupIntentService::UpdateParams::PaymentMethodOptions::Link) }
2676
2304
  attr_accessor :link
2677
-
2678
2305
  # If this is a `paypal` PaymentMethod, this sub-hash contains details about the PayPal payment method options.
2679
2306
  sig { returns(::Stripe::SetupIntentService::UpdateParams::PaymentMethodOptions::Paypal) }
2680
2307
  attr_accessor :paypal
2681
-
2682
2308
  # If this is a `payto` SetupIntent, this sub-hash contains details about the PayTo payment method options.
2683
2309
  sig { returns(::Stripe::SetupIntentService::UpdateParams::PaymentMethodOptions::Payto) }
2684
2310
  attr_accessor :payto
2685
-
2686
2311
  # If this is a `sepa_debit` SetupIntent, this sub-hash contains details about the SEPA Debit payment method options.
2687
2312
  sig { returns(::Stripe::SetupIntentService::UpdateParams::PaymentMethodOptions::SepaDebit) }
2688
2313
  attr_accessor :sepa_debit
2689
-
2690
2314
  # If this is a `us_bank_account` SetupIntent, this sub-hash contains details about the US bank account payment method options.
2691
2315
  sig {
2692
2316
  returns(::Stripe::SetupIntentService::UpdateParams::PaymentMethodOptions::UsBankAccount)
2693
2317
  }
2694
2318
  attr_accessor :us_bank_account
2695
-
2696
2319
  sig {
2697
2320
  params(acss_debit: ::Stripe::SetupIntentService::UpdateParams::PaymentMethodOptions::AcssDebit, amazon_pay: ::Stripe::SetupIntentService::UpdateParams::PaymentMethodOptions::AmazonPay, bacs_debit: ::Stripe::SetupIntentService::UpdateParams::PaymentMethodOptions::BacsDebit, card: ::Stripe::SetupIntentService::UpdateParams::PaymentMethodOptions::Card, card_present: ::Stripe::SetupIntentService::UpdateParams::PaymentMethodOptions::CardPresent, link: ::Stripe::SetupIntentService::UpdateParams::PaymentMethodOptions::Link, paypal: ::Stripe::SetupIntentService::UpdateParams::PaymentMethodOptions::Paypal, payto: ::Stripe::SetupIntentService::UpdateParams::PaymentMethodOptions::Payto, sepa_debit: ::Stripe::SetupIntentService::UpdateParams::PaymentMethodOptions::SepaDebit, us_bank_account: ::Stripe::SetupIntentService::UpdateParams::PaymentMethodOptions::UsBankAccount).void
2698
2321
  }
@@ -2714,52 +2337,41 @@ module Stripe
2714
2337
  # It can only be used for this Stripe Account’s own money movement flows like InboundTransfer and OutboundTransfers. It cannot be set to true when setting up a PaymentMethod for a Customer, and defaults to false when attaching a PaymentMethod to a Customer.
2715
2338
  sig { returns(T::Boolean) }
2716
2339
  attr_accessor :attach_to_self
2717
-
2718
2340
  # ID of the Customer this SetupIntent belongs to, if one exists.
2719
2341
  #
2720
2342
  # If present, the SetupIntent's payment method will be attached to the Customer on successful setup. Payment methods attached to other Customers cannot be used with this SetupIntent.
2721
2343
  sig { returns(String) }
2722
2344
  attr_accessor :customer
2723
-
2724
2345
  # An arbitrary string attached to the object. Often useful for displaying to users.
2725
2346
  sig { returns(String) }
2726
2347
  attr_accessor :description
2727
-
2728
2348
  # Specifies which fields in the response should be expanded.
2729
2349
  sig { returns(T::Array[String]) }
2730
2350
  attr_accessor :expand
2731
-
2732
2351
  # Indicates the directions of money movement for which this payment method is intended to be used.
2733
2352
  #
2734
2353
  # Include `inbound` if you intend to use the payment method as the origin to pull funds from. Include `outbound` if you intend to use the payment method as the destination to send funds to. You can include both if you intend to use the payment method for both purposes.
2735
2354
  sig { returns(T::Array[String]) }
2736
2355
  attr_accessor :flow_directions
2737
-
2738
2356
  # Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.
2739
2357
  sig { returns(T.nilable(T::Hash[String, String])) }
2740
2358
  attr_accessor :metadata
2741
-
2742
2359
  # ID of the payment method (a PaymentMethod, Card, or saved Source object) to attach to this SetupIntent. To unset this field to null, pass in an empty string.
2743
2360
  sig { returns(String) }
2744
2361
  attr_accessor :payment_method
2745
-
2746
2362
  # The ID of the [payment method configuration](https://stripe.com/docs/api/payment_method_configurations) to use with this SetupIntent.
2747
2363
  sig { returns(String) }
2748
2364
  attr_accessor :payment_method_configuration
2749
-
2750
2365
  # When included, this hash creates a PaymentMethod that is set as the [`payment_method`](https://stripe.com/docs/api/setup_intents/object#setup_intent_object-payment_method)
2751
2366
  # value in the SetupIntent.
2752
2367
  sig { returns(::Stripe::SetupIntentService::UpdateParams::PaymentMethodData) }
2753
2368
  attr_accessor :payment_method_data
2754
-
2755
2369
  # Payment method-specific configuration for this SetupIntent.
2756
2370
  sig { returns(::Stripe::SetupIntentService::UpdateParams::PaymentMethodOptions) }
2757
2371
  attr_accessor :payment_method_options
2758
-
2759
2372
  # The list of payment method types (for example, card) that this SetupIntent can set up. If you don't provide this, Stripe will dynamically show relevant payment methods from your [payment method settings](https://dashboard.stripe.com/settings/payment_methods).
2760
2373
  sig { returns(T::Array[String]) }
2761
2374
  attr_accessor :payment_method_types
2762
-
2763
2375
  sig {
2764
2376
  params(attach_to_self: T::Boolean, customer: String, description: String, expand: T::Array[String], flow_directions: T::Array[String], metadata: T.nilable(T::Hash[String, String]), payment_method: String, payment_method_configuration: String, payment_method_data: ::Stripe::SetupIntentService::UpdateParams::PaymentMethodData, payment_method_options: ::Stripe::SetupIntentService::UpdateParams::PaymentMethodOptions, payment_method_types: T::Array[String]).void
2765
2377
  }
@@ -2781,11 +2393,9 @@ module Stripe
2781
2393
  # Reason for canceling this SetupIntent. Possible values are: `abandoned`, `requested_by_customer`, or `duplicate`
2782
2394
  sig { returns(String) }
2783
2395
  attr_accessor :cancellation_reason
2784
-
2785
2396
  # Specifies which fields in the response should be expanded.
2786
2397
  sig { returns(T::Array[String]) }
2787
2398
  attr_accessor :expand
2788
-
2789
2399
  sig { params(cancellation_reason: String, expand: T::Array[String]).void }
2790
2400
  def initialize(cancellation_reason: nil, expand: nil); end
2791
2401
  end
@@ -2799,34 +2409,28 @@ module Stripe
2799
2409
  # The IP address from which the Mandate was accepted by the customer.
2800
2410
  sig { returns(String) }
2801
2411
  attr_accessor :ip_address
2802
-
2803
2412
  # The user agent of the browser from which the Mandate was accepted by the customer.
2804
2413
  sig { returns(String) }
2805
2414
  attr_accessor :user_agent
2806
-
2807
2415
  sig { params(ip_address: String, user_agent: String).void }
2808
2416
  def initialize(ip_address: nil, user_agent: nil); end
2809
2417
  end
2810
2418
  # The time at which the customer accepted the Mandate.
2811
2419
  sig { returns(Integer) }
2812
2420
  attr_accessor :accepted_at
2813
-
2814
2421
  # If this is a Mandate accepted offline, this hash contains details about the offline acceptance.
2815
2422
  sig {
2816
2423
  returns(::Stripe::SetupIntentService::ConfirmParams::MandateData::CustomerAcceptance::Offline)
2817
2424
  }
2818
2425
  attr_accessor :offline
2819
-
2820
2426
  # If this is a Mandate accepted online, this hash contains details about the online acceptance.
2821
2427
  sig {
2822
2428
  returns(::Stripe::SetupIntentService::ConfirmParams::MandateData::CustomerAcceptance::Online)
2823
2429
  }
2824
2430
  attr_accessor :online
2825
-
2826
2431
  # The type of customer acceptance information included with the Mandate. One of `online` or `offline`.
2827
2432
  sig { returns(String) }
2828
2433
  attr_accessor :type
2829
-
2830
2434
  sig {
2831
2435
  params(accepted_at: Integer, offline: ::Stripe::SetupIntentService::ConfirmParams::MandateData::CustomerAcceptance::Offline, online: ::Stripe::SetupIntentService::ConfirmParams::MandateData::CustomerAcceptance::Online, type: String).void
2832
2436
  }
@@ -2837,7 +2441,6 @@ module Stripe
2837
2441
  returns(::Stripe::SetupIntentService::ConfirmParams::MandateData::CustomerAcceptance)
2838
2442
  }
2839
2443
  attr_accessor :customer_acceptance
2840
-
2841
2444
  sig {
2842
2445
  params(customer_acceptance: ::Stripe::SetupIntentService::ConfirmParams::MandateData::CustomerAcceptance).void
2843
2446
  }
@@ -2848,15 +2451,12 @@ module Stripe
2848
2451
  # Customer's bank account number.
2849
2452
  sig { returns(String) }
2850
2453
  attr_accessor :account_number
2851
-
2852
2454
  # Institution number of the customer's bank.
2853
2455
  sig { returns(String) }
2854
2456
  attr_accessor :institution_number
2855
-
2856
2457
  # Transit number of the customer's bank.
2857
2458
  sig { returns(String) }
2858
2459
  attr_accessor :transit_number
2859
-
2860
2460
  sig {
2861
2461
  params(account_number: String, institution_number: String, transit_number: String).void
2862
2462
  }
@@ -2881,11 +2481,9 @@ module Stripe
2881
2481
  # The account number for the bank account.
2882
2482
  sig { returns(String) }
2883
2483
  attr_accessor :account_number
2884
-
2885
2484
  # Bank-State-Branch number of the bank account.
2886
2485
  sig { returns(String) }
2887
2486
  attr_accessor :bsb_number
2888
-
2889
2487
  sig { params(account_number: String, bsb_number: String).void }
2890
2488
  def initialize(account_number: nil, bsb_number: nil); end
2891
2489
  end
@@ -2893,11 +2491,9 @@ module Stripe
2893
2491
  # Account number of the bank account that the funds will be debited from.
2894
2492
  sig { returns(String) }
2895
2493
  attr_accessor :account_number
2896
-
2897
2494
  # Sort code of the bank account. (e.g., `10-20-30`)
2898
2495
  sig { returns(String) }
2899
2496
  attr_accessor :sort_code
2900
-
2901
2497
  sig { params(account_number: String, sort_code: String).void }
2902
2498
  def initialize(account_number: nil, sort_code: nil); end
2903
2499
  end
@@ -2909,27 +2505,21 @@ module Stripe
2909
2505
  # City, district, suburb, town, or village.
2910
2506
  sig { returns(String) }
2911
2507
  attr_accessor :city
2912
-
2913
2508
  # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
2914
2509
  sig { returns(String) }
2915
2510
  attr_accessor :country
2916
-
2917
2511
  # Address line 1 (e.g., street, PO Box, or company name).
2918
2512
  sig { returns(String) }
2919
2513
  attr_accessor :line1
2920
-
2921
2514
  # Address line 2 (e.g., apartment, suite, unit, or building).
2922
2515
  sig { returns(String) }
2923
2516
  attr_accessor :line2
2924
-
2925
2517
  # ZIP or postal code.
2926
2518
  sig { returns(String) }
2927
2519
  attr_accessor :postal_code
2928
-
2929
2520
  # State, county, province, or region.
2930
2521
  sig { returns(String) }
2931
2522
  attr_accessor :state
2932
-
2933
2523
  sig {
2934
2524
  params(city: String, country: String, line1: String, line2: String, postal_code: String, state: String).void
2935
2525
  }
@@ -2947,19 +2537,15 @@ module Stripe
2947
2537
  returns(T.nilable(::Stripe::SetupIntentService::ConfirmParams::PaymentMethodData::BillingDetails::Address))
2948
2538
  }
2949
2539
  attr_accessor :address
2950
-
2951
2540
  # Email address.
2952
2541
  sig { returns(T.nilable(String)) }
2953
2542
  attr_accessor :email
2954
-
2955
2543
  # Full name.
2956
2544
  sig { returns(T.nilable(String)) }
2957
2545
  attr_accessor :name
2958
-
2959
2546
  # Billing phone number (including extension).
2960
2547
  sig { returns(T.nilable(String)) }
2961
2548
  attr_accessor :phone
2962
-
2963
2549
  sig {
2964
2550
  params(address: T.nilable(::Stripe::SetupIntentService::ConfirmParams::PaymentMethodData::BillingDetails::Address), email: T.nilable(String), name: T.nilable(String), phone: T.nilable(String)).void
2965
2551
  }
@@ -2972,7 +2558,6 @@ module Stripe
2972
2558
  # The tax ID of the customer (CPF for individual consumers or CNPJ for businesses consumers)
2973
2559
  sig { returns(String) }
2974
2560
  attr_accessor :tax_id
2975
-
2976
2561
  sig { params(tax_id: String).void }
2977
2562
  def initialize(tax_id: nil); end
2978
2563
  end
@@ -2986,7 +2571,6 @@ module Stripe
2986
2571
  # The customer's bank.
2987
2572
  sig { returns(String) }
2988
2573
  attr_accessor :bank
2989
-
2990
2574
  sig { params(bank: String).void }
2991
2575
  def initialize(bank: nil); end
2992
2576
  end
@@ -2994,11 +2578,9 @@ module Stripe
2994
2578
  # Account holder type for FPX transaction
2995
2579
  sig { returns(String) }
2996
2580
  attr_accessor :account_holder_type
2997
-
2998
2581
  # The customer's bank.
2999
2582
  sig { returns(String) }
3000
2583
  attr_accessor :bank
3001
-
3002
2584
  sig { params(account_holder_type: String, bank: String).void }
3003
2585
  def initialize(account_holder_type: nil, bank: nil); end
3004
2586
  end
@@ -3015,7 +2597,6 @@ module Stripe
3015
2597
  # Bank where the account is held.
3016
2598
  sig { returns(String) }
3017
2599
  attr_accessor :bank
3018
-
3019
2600
  sig { params(bank: String).void }
3020
2601
  def initialize(bank: nil); end
3021
2602
  end
@@ -3023,7 +2604,6 @@ module Stripe
3023
2604
  # The customer's bank. Only use this parameter for existing customers. Don't use it for new customers.
3024
2605
  sig { returns(String) }
3025
2606
  attr_accessor :bank
3026
-
3027
2607
  sig { params(bank: String).void }
3028
2608
  def initialize(bank: nil); end
3029
2609
  end
@@ -3038,15 +2618,12 @@ module Stripe
3038
2618
  # The day of birth, between 1 and 31.
3039
2619
  sig { returns(Integer) }
3040
2620
  attr_accessor :day
3041
-
3042
2621
  # The month of birth, between 1 and 12.
3043
2622
  sig { returns(Integer) }
3044
2623
  attr_accessor :month
3045
-
3046
2624
  # The four-digit year of birth.
3047
2625
  sig { returns(Integer) }
3048
2626
  attr_accessor :year
3049
-
3050
2627
  sig { params(day: Integer, month: Integer, year: Integer).void }
3051
2628
  def initialize(day: nil, month: nil, year: nil); end
3052
2629
  end
@@ -3055,7 +2632,6 @@ module Stripe
3055
2632
  returns(::Stripe::SetupIntentService::ConfirmParams::PaymentMethodData::Klarna::Dob)
3056
2633
  }
3057
2634
  attr_accessor :dob
3058
-
3059
2635
  sig {
3060
2636
  params(dob: ::Stripe::SetupIntentService::ConfirmParams::PaymentMethodData::Klarna::Dob).void
3061
2637
  }
@@ -3083,7 +2659,6 @@ module Stripe
3083
2659
  # Whether to use Naver Pay points or a card to fund this transaction. If not provided, this defaults to `card`.
3084
2660
  sig { returns(String) }
3085
2661
  attr_accessor :funding
3086
-
3087
2662
  sig { params(funding: String).void }
3088
2663
  def initialize(funding: nil); end
3089
2664
  end
@@ -3094,9 +2669,11 @@ module Stripe
3094
2669
  # The customer's bank.
3095
2670
  sig { returns(String) }
3096
2671
  attr_accessor :bank
3097
-
3098
2672
  sig { params(bank: String).void }
3099
2673
  def initialize(bank: nil); end
2674
+ end
2675
+ class PayByBank < Stripe::RequestParams
2676
+
3100
2677
  end
3101
2678
  class Payco < Stripe::RequestParams
3102
2679
 
@@ -3111,15 +2688,12 @@ module Stripe
3111
2688
  # The account number for the bank account.
3112
2689
  sig { returns(String) }
3113
2690
  attr_accessor :account_number
3114
-
3115
2691
  # Bank-State-Branch number of the bank account.
3116
2692
  sig { returns(String) }
3117
2693
  attr_accessor :bsb_number
3118
-
3119
2694
  # The PayID alias for the bank account.
3120
2695
  sig { returns(String) }
3121
2696
  attr_accessor :pay_id
3122
-
3123
2697
  sig { params(account_number: String, bsb_number: String, pay_id: String).void }
3124
2698
  def initialize(account_number: nil, bsb_number: nil, pay_id: nil); end
3125
2699
  end
@@ -3136,7 +2710,6 @@ module Stripe
3136
2710
  # 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.
3137
2711
  sig { returns(String) }
3138
2712
  attr_accessor :session
3139
-
3140
2713
  sig { params(session: String).void }
3141
2714
  def initialize(session: nil); end
3142
2715
  end
@@ -3145,15 +2718,12 @@ module Stripe
3145
2718
  # The day of birth, between 1 and 31.
3146
2719
  sig { returns(Integer) }
3147
2720
  attr_accessor :day
3148
-
3149
2721
  # The month of birth, between 1 and 12.
3150
2722
  sig { returns(Integer) }
3151
2723
  attr_accessor :month
3152
-
3153
2724
  # The four-digit year of birth.
3154
2725
  sig { returns(Integer) }
3155
2726
  attr_accessor :year
3156
-
3157
2727
  sig { params(day: Integer, month: Integer, year: Integer).void }
3158
2728
  def initialize(day: nil, month: nil, year: nil); end
3159
2729
  end
@@ -3162,7 +2732,6 @@ module Stripe
3162
2732
  returns(::Stripe::SetupIntentService::ConfirmParams::PaymentMethodData::Rechnung::Dob)
3163
2733
  }
3164
2734
  attr_accessor :dob
3165
-
3166
2735
  sig {
3167
2736
  params(dob: ::Stripe::SetupIntentService::ConfirmParams::PaymentMethodData::Rechnung::Dob).void
3168
2737
  }
@@ -3178,7 +2747,6 @@ module Stripe
3178
2747
  # IBAN of the bank account.
3179
2748
  sig { returns(String) }
3180
2749
  attr_accessor :iban
3181
-
3182
2750
  sig { params(iban: String).void }
3183
2751
  def initialize(iban: nil); end
3184
2752
  end
@@ -3189,7 +2757,6 @@ module Stripe
3189
2757
  # Two-letter ISO code representing the country the bank account is located in.
3190
2758
  sig { returns(String) }
3191
2759
  attr_accessor :country
3192
-
3193
2760
  sig { params(country: String).void }
3194
2761
  def initialize(country: nil); end
3195
2762
  end
@@ -3203,23 +2770,18 @@ module Stripe
3203
2770
  # Account holder type: individual or company.
3204
2771
  sig { returns(String) }
3205
2772
  attr_accessor :account_holder_type
3206
-
3207
2773
  # Account number of the bank account.
3208
2774
  sig { returns(String) }
3209
2775
  attr_accessor :account_number
3210
-
3211
2776
  # Account type: checkings or savings. Defaults to checking if omitted.
3212
2777
  sig { returns(String) }
3213
2778
  attr_accessor :account_type
3214
-
3215
2779
  # The ID of a Financial Connections Account to use as a payment method.
3216
2780
  sig { returns(String) }
3217
2781
  attr_accessor :financial_connections_account
3218
-
3219
2782
  # Routing number of the bank account.
3220
2783
  sig { returns(String) }
3221
2784
  attr_accessor :routing_number
3222
-
3223
2785
  sig {
3224
2786
  params(account_holder_type: String, account_number: String, account_type: String, financial_connections_account: String, routing_number: String).void
3225
2787
  }
@@ -3240,239 +2802,187 @@ module Stripe
3240
2802
  # If this is an `acss_debit` PaymentMethod, this hash contains details about the ACSS Debit payment method.
3241
2803
  sig { returns(::Stripe::SetupIntentService::ConfirmParams::PaymentMethodData::AcssDebit) }
3242
2804
  attr_accessor :acss_debit
3243
-
3244
2805
  # If this is an `affirm` PaymentMethod, this hash contains details about the Affirm payment method.
3245
2806
  sig { returns(::Stripe::SetupIntentService::ConfirmParams::PaymentMethodData::Affirm) }
3246
2807
  attr_accessor :affirm
3247
-
3248
2808
  # If this is an `AfterpayClearpay` PaymentMethod, this hash contains details about the AfterpayClearpay payment method.
3249
2809
  sig {
3250
2810
  returns(::Stripe::SetupIntentService::ConfirmParams::PaymentMethodData::AfterpayClearpay)
3251
2811
  }
3252
2812
  attr_accessor :afterpay_clearpay
3253
-
3254
2813
  # If this is an `Alipay` PaymentMethod, this hash contains details about the Alipay payment method.
3255
2814
  sig { returns(::Stripe::SetupIntentService::ConfirmParams::PaymentMethodData::Alipay) }
3256
2815
  attr_accessor :alipay
3257
-
3258
2816
  # This field indicates whether this payment method can be shown again to its customer in a checkout flow. Stripe products such as Checkout and Elements use this field to determine whether a payment method can be shown as a saved payment method in a checkout flow. The field defaults to `unspecified`.
3259
2817
  sig { returns(String) }
3260
2818
  attr_accessor :allow_redisplay
3261
-
3262
2819
  # If this is a Alma PaymentMethod, this hash contains details about the Alma payment method.
3263
2820
  sig { returns(::Stripe::SetupIntentService::ConfirmParams::PaymentMethodData::Alma) }
3264
2821
  attr_accessor :alma
3265
-
3266
2822
  # If this is a AmazonPay PaymentMethod, this hash contains details about the AmazonPay payment method.
3267
2823
  sig { returns(::Stripe::SetupIntentService::ConfirmParams::PaymentMethodData::AmazonPay) }
3268
2824
  attr_accessor :amazon_pay
3269
-
3270
2825
  # If this is an `au_becs_debit` PaymentMethod, this hash contains details about the bank account.
3271
2826
  sig { returns(::Stripe::SetupIntentService::ConfirmParams::PaymentMethodData::AuBecsDebit) }
3272
2827
  attr_accessor :au_becs_debit
3273
-
3274
2828
  # If this is a `bacs_debit` PaymentMethod, this hash contains details about the Bacs Direct Debit bank account.
3275
2829
  sig { returns(::Stripe::SetupIntentService::ConfirmParams::PaymentMethodData::BacsDebit) }
3276
2830
  attr_accessor :bacs_debit
3277
-
3278
2831
  # If this is a `bancontact` PaymentMethod, this hash contains details about the Bancontact payment method.
3279
2832
  sig { returns(::Stripe::SetupIntentService::ConfirmParams::PaymentMethodData::Bancontact) }
3280
2833
  attr_accessor :bancontact
3281
-
3282
2834
  # Billing information associated with the PaymentMethod that may be used or required by particular types of payment methods.
3283
2835
  sig {
3284
2836
  returns(::Stripe::SetupIntentService::ConfirmParams::PaymentMethodData::BillingDetails)
3285
2837
  }
3286
2838
  attr_accessor :billing_details
3287
-
3288
2839
  # If this is a `blik` PaymentMethod, this hash contains details about the BLIK payment method.
3289
2840
  sig { returns(::Stripe::SetupIntentService::ConfirmParams::PaymentMethodData::Blik) }
3290
2841
  attr_accessor :blik
3291
-
3292
2842
  # If this is a `boleto` PaymentMethod, this hash contains details about the Boleto payment method.
3293
2843
  sig { returns(::Stripe::SetupIntentService::ConfirmParams::PaymentMethodData::Boleto) }
3294
2844
  attr_accessor :boleto
3295
-
3296
2845
  # If this is a `cashapp` PaymentMethod, this hash contains details about the Cash App Pay payment method.
3297
2846
  sig { returns(::Stripe::SetupIntentService::ConfirmParams::PaymentMethodData::Cashapp) }
3298
2847
  attr_accessor :cashapp
3299
-
3300
2848
  # If this is a `customer_balance` PaymentMethod, this hash contains details about the CustomerBalance payment method.
3301
2849
  sig {
3302
2850
  returns(::Stripe::SetupIntentService::ConfirmParams::PaymentMethodData::CustomerBalance)
3303
2851
  }
3304
2852
  attr_accessor :customer_balance
3305
-
3306
2853
  # If this is an `eps` PaymentMethod, this hash contains details about the EPS payment method.
3307
2854
  sig { returns(::Stripe::SetupIntentService::ConfirmParams::PaymentMethodData::Eps) }
3308
2855
  attr_accessor :eps
3309
-
3310
2856
  # If this is an `fpx` PaymentMethod, this hash contains details about the FPX payment method.
3311
2857
  sig { returns(::Stripe::SetupIntentService::ConfirmParams::PaymentMethodData::Fpx) }
3312
2858
  attr_accessor :fpx
3313
-
3314
2859
  # If this is a `giropay` PaymentMethod, this hash contains details about the Giropay payment method.
3315
2860
  sig { returns(::Stripe::SetupIntentService::ConfirmParams::PaymentMethodData::Giropay) }
3316
2861
  attr_accessor :giropay
3317
-
3318
2862
  # If this is a Gopay PaymentMethod, this hash contains details about the Gopay payment method.
3319
2863
  sig { returns(::Stripe::SetupIntentService::ConfirmParams::PaymentMethodData::Gopay) }
3320
2864
  attr_accessor :gopay
3321
-
3322
2865
  # If this is a `grabpay` PaymentMethod, this hash contains details about the GrabPay payment method.
3323
2866
  sig { returns(::Stripe::SetupIntentService::ConfirmParams::PaymentMethodData::Grabpay) }
3324
2867
  attr_accessor :grabpay
3325
-
3326
2868
  # If this is an `IdBankTransfer` PaymentMethod, this hash contains details about the IdBankTransfer payment method.
3327
2869
  sig {
3328
2870
  returns(::Stripe::SetupIntentService::ConfirmParams::PaymentMethodData::IdBankTransfer)
3329
2871
  }
3330
2872
  attr_accessor :id_bank_transfer
3331
-
3332
2873
  # If this is an `ideal` PaymentMethod, this hash contains details about the iDEAL payment method.
3333
2874
  sig { returns(::Stripe::SetupIntentService::ConfirmParams::PaymentMethodData::Ideal) }
3334
2875
  attr_accessor :ideal
3335
-
3336
2876
  # If this is an `interac_present` PaymentMethod, this hash contains details about the Interac Present payment method.
3337
2877
  sig {
3338
2878
  returns(::Stripe::SetupIntentService::ConfirmParams::PaymentMethodData::InteracPresent)
3339
2879
  }
3340
2880
  attr_accessor :interac_present
3341
-
3342
2881
  # If this is a `kakao_pay` PaymentMethod, this hash contains details about the Kakao Pay payment method.
3343
2882
  sig { returns(::Stripe::SetupIntentService::ConfirmParams::PaymentMethodData::KakaoPay) }
3344
2883
  attr_accessor :kakao_pay
3345
-
3346
2884
  # If this is a `klarna` PaymentMethod, this hash contains details about the Klarna payment method.
3347
2885
  sig { returns(::Stripe::SetupIntentService::ConfirmParams::PaymentMethodData::Klarna) }
3348
2886
  attr_accessor :klarna
3349
-
3350
2887
  # If this is a `konbini` PaymentMethod, this hash contains details about the Konbini payment method.
3351
2888
  sig { returns(::Stripe::SetupIntentService::ConfirmParams::PaymentMethodData::Konbini) }
3352
2889
  attr_accessor :konbini
3353
-
3354
2890
  # If this is a `kr_card` PaymentMethod, this hash contains details about the Korean Card payment method.
3355
2891
  sig { returns(::Stripe::SetupIntentService::ConfirmParams::PaymentMethodData::KrCard) }
3356
2892
  attr_accessor :kr_card
3357
-
3358
2893
  # If this is an `Link` PaymentMethod, this hash contains details about the Link payment method.
3359
2894
  sig { returns(::Stripe::SetupIntentService::ConfirmParams::PaymentMethodData::Link) }
3360
2895
  attr_accessor :link
3361
-
3362
2896
  # If this is a MB WAY PaymentMethod, this hash contains details about the MB WAY payment method.
3363
2897
  sig { returns(::Stripe::SetupIntentService::ConfirmParams::PaymentMethodData::MbWay) }
3364
2898
  attr_accessor :mb_way
3365
-
3366
2899
  # Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.
3367
2900
  sig { returns(T::Hash[String, String]) }
3368
2901
  attr_accessor :metadata
3369
-
3370
2902
  # If this is a `mobilepay` PaymentMethod, this hash contains details about the MobilePay payment method.
3371
2903
  sig { returns(::Stripe::SetupIntentService::ConfirmParams::PaymentMethodData::Mobilepay) }
3372
2904
  attr_accessor :mobilepay
3373
-
3374
2905
  # If this is a `multibanco` PaymentMethod, this hash contains details about the Multibanco payment method.
3375
2906
  sig { returns(::Stripe::SetupIntentService::ConfirmParams::PaymentMethodData::Multibanco) }
3376
2907
  attr_accessor :multibanco
3377
-
3378
2908
  # If this is a `naver_pay` PaymentMethod, this hash contains details about the Naver Pay payment method.
3379
2909
  sig { returns(::Stripe::SetupIntentService::ConfirmParams::PaymentMethodData::NaverPay) }
3380
2910
  attr_accessor :naver_pay
3381
-
3382
2911
  # If this is an `oxxo` PaymentMethod, this hash contains details about the OXXO payment method.
3383
2912
  sig { returns(::Stripe::SetupIntentService::ConfirmParams::PaymentMethodData::Oxxo) }
3384
2913
  attr_accessor :oxxo
3385
-
3386
2914
  # If this is a `p24` PaymentMethod, this hash contains details about the P24 payment method.
3387
2915
  sig { returns(::Stripe::SetupIntentService::ConfirmParams::PaymentMethodData::P24) }
3388
2916
  attr_accessor :p24
3389
-
2917
+ # If this is a `pay_by_bank` PaymentMethod, this hash contains details about the PayByBank payment method.
2918
+ sig { returns(::Stripe::SetupIntentService::ConfirmParams::PaymentMethodData::PayByBank) }
2919
+ attr_accessor :pay_by_bank
3390
2920
  # If this is a `payco` PaymentMethod, this hash contains details about the PAYCO payment method.
3391
2921
  sig { returns(::Stripe::SetupIntentService::ConfirmParams::PaymentMethodData::Payco) }
3392
2922
  attr_accessor :payco
3393
-
3394
2923
  # If this is a `paynow` PaymentMethod, this hash contains details about the PayNow payment method.
3395
2924
  sig { returns(::Stripe::SetupIntentService::ConfirmParams::PaymentMethodData::Paynow) }
3396
2925
  attr_accessor :paynow
3397
-
3398
2926
  # If this is a `paypal` PaymentMethod, this hash contains details about the PayPal payment method.
3399
2927
  sig { returns(::Stripe::SetupIntentService::ConfirmParams::PaymentMethodData::Paypal) }
3400
2928
  attr_accessor :paypal
3401
-
3402
2929
  # If this is a `payto` PaymentMethod, this hash contains details about the PayTo payment method.
3403
2930
  sig { returns(::Stripe::SetupIntentService::ConfirmParams::PaymentMethodData::Payto) }
3404
2931
  attr_accessor :payto
3405
-
3406
2932
  # If this is a `pix` PaymentMethod, this hash contains details about the Pix payment method.
3407
2933
  sig { returns(::Stripe::SetupIntentService::ConfirmParams::PaymentMethodData::Pix) }
3408
2934
  attr_accessor :pix
3409
-
3410
2935
  # If this is a `promptpay` PaymentMethod, this hash contains details about the PromptPay payment method.
3411
2936
  sig { returns(::Stripe::SetupIntentService::ConfirmParams::PaymentMethodData::Promptpay) }
3412
2937
  attr_accessor :promptpay
3413
-
3414
2938
  # If this is a `qris` PaymentMethod, this hash contains details about the QRIS payment method.
3415
2939
  sig { returns(::Stripe::SetupIntentService::ConfirmParams::PaymentMethodData::Qris) }
3416
2940
  attr_accessor :qris
3417
-
3418
2941
  # Options to configure Radar. See [Radar Session](https://stripe.com/docs/radar/radar-session) for more information.
3419
2942
  sig {
3420
2943
  returns(::Stripe::SetupIntentService::ConfirmParams::PaymentMethodData::RadarOptions)
3421
2944
  }
3422
2945
  attr_accessor :radar_options
3423
-
3424
2946
  # If this is a `rechnung` PaymentMethod, this hash contains details about the Rechnung payment method.
3425
2947
  sig { returns(::Stripe::SetupIntentService::ConfirmParams::PaymentMethodData::Rechnung) }
3426
2948
  attr_accessor :rechnung
3427
-
3428
2949
  # If this is a `Revolut Pay` PaymentMethod, this hash contains details about the Revolut Pay payment method.
3429
2950
  sig { returns(::Stripe::SetupIntentService::ConfirmParams::PaymentMethodData::RevolutPay) }
3430
2951
  attr_accessor :revolut_pay
3431
-
3432
2952
  # If this is a `samsung_pay` PaymentMethod, this hash contains details about the SamsungPay payment method.
3433
2953
  sig { returns(::Stripe::SetupIntentService::ConfirmParams::PaymentMethodData::SamsungPay) }
3434
2954
  attr_accessor :samsung_pay
3435
-
3436
2955
  # If this is a `sepa_debit` PaymentMethod, this hash contains details about the SEPA debit bank account.
3437
2956
  sig { returns(::Stripe::SetupIntentService::ConfirmParams::PaymentMethodData::SepaDebit) }
3438
2957
  attr_accessor :sepa_debit
3439
-
3440
2958
  # If this is a Shopeepay PaymentMethod, this hash contains details about the Shopeepay payment method.
3441
2959
  sig { returns(::Stripe::SetupIntentService::ConfirmParams::PaymentMethodData::Shopeepay) }
3442
2960
  attr_accessor :shopeepay
3443
-
3444
2961
  # If this is a `sofort` PaymentMethod, this hash contains details about the SOFORT payment method.
3445
2962
  sig { returns(::Stripe::SetupIntentService::ConfirmParams::PaymentMethodData::Sofort) }
3446
2963
  attr_accessor :sofort
3447
-
3448
2964
  # If this is a `swish` PaymentMethod, this hash contains details about the Swish payment method.
3449
2965
  sig { returns(::Stripe::SetupIntentService::ConfirmParams::PaymentMethodData::Swish) }
3450
2966
  attr_accessor :swish
3451
-
3452
2967
  # If this is a TWINT PaymentMethod, this hash contains details about the TWINT payment method.
3453
2968
  sig { returns(::Stripe::SetupIntentService::ConfirmParams::PaymentMethodData::Twint) }
3454
2969
  attr_accessor :twint
3455
-
3456
2970
  # The type of the PaymentMethod. An additional hash is included on the PaymentMethod with a name matching this value. It contains additional information specific to the PaymentMethod type.
3457
2971
  sig { returns(String) }
3458
2972
  attr_accessor :type
3459
-
3460
2973
  # If this is an `us_bank_account` PaymentMethod, this hash contains details about the US bank account payment method.
3461
2974
  sig {
3462
2975
  returns(::Stripe::SetupIntentService::ConfirmParams::PaymentMethodData::UsBankAccount)
3463
2976
  }
3464
2977
  attr_accessor :us_bank_account
3465
-
3466
2978
  # If this is an `wechat_pay` PaymentMethod, this hash contains details about the wechat_pay payment method.
3467
2979
  sig { returns(::Stripe::SetupIntentService::ConfirmParams::PaymentMethodData::WechatPay) }
3468
2980
  attr_accessor :wechat_pay
3469
-
3470
2981
  # If this is a `zip` PaymentMethod, this hash contains details about the Zip payment method.
3471
2982
  sig { returns(::Stripe::SetupIntentService::ConfirmParams::PaymentMethodData::Zip) }
3472
2983
  attr_accessor :zip
3473
-
3474
2984
  sig {
3475
- params(acss_debit: ::Stripe::SetupIntentService::ConfirmParams::PaymentMethodData::AcssDebit, affirm: ::Stripe::SetupIntentService::ConfirmParams::PaymentMethodData::Affirm, afterpay_clearpay: ::Stripe::SetupIntentService::ConfirmParams::PaymentMethodData::AfterpayClearpay, alipay: ::Stripe::SetupIntentService::ConfirmParams::PaymentMethodData::Alipay, allow_redisplay: String, alma: ::Stripe::SetupIntentService::ConfirmParams::PaymentMethodData::Alma, amazon_pay: ::Stripe::SetupIntentService::ConfirmParams::PaymentMethodData::AmazonPay, au_becs_debit: ::Stripe::SetupIntentService::ConfirmParams::PaymentMethodData::AuBecsDebit, bacs_debit: ::Stripe::SetupIntentService::ConfirmParams::PaymentMethodData::BacsDebit, bancontact: ::Stripe::SetupIntentService::ConfirmParams::PaymentMethodData::Bancontact, billing_details: ::Stripe::SetupIntentService::ConfirmParams::PaymentMethodData::BillingDetails, blik: ::Stripe::SetupIntentService::ConfirmParams::PaymentMethodData::Blik, boleto: ::Stripe::SetupIntentService::ConfirmParams::PaymentMethodData::Boleto, cashapp: ::Stripe::SetupIntentService::ConfirmParams::PaymentMethodData::Cashapp, customer_balance: ::Stripe::SetupIntentService::ConfirmParams::PaymentMethodData::CustomerBalance, eps: ::Stripe::SetupIntentService::ConfirmParams::PaymentMethodData::Eps, fpx: ::Stripe::SetupIntentService::ConfirmParams::PaymentMethodData::Fpx, giropay: ::Stripe::SetupIntentService::ConfirmParams::PaymentMethodData::Giropay, gopay: ::Stripe::SetupIntentService::ConfirmParams::PaymentMethodData::Gopay, grabpay: ::Stripe::SetupIntentService::ConfirmParams::PaymentMethodData::Grabpay, id_bank_transfer: ::Stripe::SetupIntentService::ConfirmParams::PaymentMethodData::IdBankTransfer, ideal: ::Stripe::SetupIntentService::ConfirmParams::PaymentMethodData::Ideal, interac_present: ::Stripe::SetupIntentService::ConfirmParams::PaymentMethodData::InteracPresent, kakao_pay: ::Stripe::SetupIntentService::ConfirmParams::PaymentMethodData::KakaoPay, klarna: ::Stripe::SetupIntentService::ConfirmParams::PaymentMethodData::Klarna, konbini: ::Stripe::SetupIntentService::ConfirmParams::PaymentMethodData::Konbini, kr_card: ::Stripe::SetupIntentService::ConfirmParams::PaymentMethodData::KrCard, link: ::Stripe::SetupIntentService::ConfirmParams::PaymentMethodData::Link, mb_way: ::Stripe::SetupIntentService::ConfirmParams::PaymentMethodData::MbWay, metadata: T::Hash[String, String], mobilepay: ::Stripe::SetupIntentService::ConfirmParams::PaymentMethodData::Mobilepay, multibanco: ::Stripe::SetupIntentService::ConfirmParams::PaymentMethodData::Multibanco, naver_pay: ::Stripe::SetupIntentService::ConfirmParams::PaymentMethodData::NaverPay, oxxo: ::Stripe::SetupIntentService::ConfirmParams::PaymentMethodData::Oxxo, p24: ::Stripe::SetupIntentService::ConfirmParams::PaymentMethodData::P24, payco: ::Stripe::SetupIntentService::ConfirmParams::PaymentMethodData::Payco, paynow: ::Stripe::SetupIntentService::ConfirmParams::PaymentMethodData::Paynow, paypal: ::Stripe::SetupIntentService::ConfirmParams::PaymentMethodData::Paypal, payto: ::Stripe::SetupIntentService::ConfirmParams::PaymentMethodData::Payto, pix: ::Stripe::SetupIntentService::ConfirmParams::PaymentMethodData::Pix, promptpay: ::Stripe::SetupIntentService::ConfirmParams::PaymentMethodData::Promptpay, qris: ::Stripe::SetupIntentService::ConfirmParams::PaymentMethodData::Qris, radar_options: ::Stripe::SetupIntentService::ConfirmParams::PaymentMethodData::RadarOptions, rechnung: ::Stripe::SetupIntentService::ConfirmParams::PaymentMethodData::Rechnung, revolut_pay: ::Stripe::SetupIntentService::ConfirmParams::PaymentMethodData::RevolutPay, samsung_pay: ::Stripe::SetupIntentService::ConfirmParams::PaymentMethodData::SamsungPay, sepa_debit: ::Stripe::SetupIntentService::ConfirmParams::PaymentMethodData::SepaDebit, shopeepay: ::Stripe::SetupIntentService::ConfirmParams::PaymentMethodData::Shopeepay, sofort: ::Stripe::SetupIntentService::ConfirmParams::PaymentMethodData::Sofort, swish: ::Stripe::SetupIntentService::ConfirmParams::PaymentMethodData::Swish, twint: ::Stripe::SetupIntentService::ConfirmParams::PaymentMethodData::Twint, type: String, us_bank_account: ::Stripe::SetupIntentService::ConfirmParams::PaymentMethodData::UsBankAccount, wechat_pay: ::Stripe::SetupIntentService::ConfirmParams::PaymentMethodData::WechatPay, zip: ::Stripe::SetupIntentService::ConfirmParams::PaymentMethodData::Zip).void
2985
+ params(acss_debit: ::Stripe::SetupIntentService::ConfirmParams::PaymentMethodData::AcssDebit, affirm: ::Stripe::SetupIntentService::ConfirmParams::PaymentMethodData::Affirm, afterpay_clearpay: ::Stripe::SetupIntentService::ConfirmParams::PaymentMethodData::AfterpayClearpay, alipay: ::Stripe::SetupIntentService::ConfirmParams::PaymentMethodData::Alipay, allow_redisplay: String, alma: ::Stripe::SetupIntentService::ConfirmParams::PaymentMethodData::Alma, amazon_pay: ::Stripe::SetupIntentService::ConfirmParams::PaymentMethodData::AmazonPay, au_becs_debit: ::Stripe::SetupIntentService::ConfirmParams::PaymentMethodData::AuBecsDebit, bacs_debit: ::Stripe::SetupIntentService::ConfirmParams::PaymentMethodData::BacsDebit, bancontact: ::Stripe::SetupIntentService::ConfirmParams::PaymentMethodData::Bancontact, billing_details: ::Stripe::SetupIntentService::ConfirmParams::PaymentMethodData::BillingDetails, blik: ::Stripe::SetupIntentService::ConfirmParams::PaymentMethodData::Blik, boleto: ::Stripe::SetupIntentService::ConfirmParams::PaymentMethodData::Boleto, cashapp: ::Stripe::SetupIntentService::ConfirmParams::PaymentMethodData::Cashapp, customer_balance: ::Stripe::SetupIntentService::ConfirmParams::PaymentMethodData::CustomerBalance, eps: ::Stripe::SetupIntentService::ConfirmParams::PaymentMethodData::Eps, fpx: ::Stripe::SetupIntentService::ConfirmParams::PaymentMethodData::Fpx, giropay: ::Stripe::SetupIntentService::ConfirmParams::PaymentMethodData::Giropay, gopay: ::Stripe::SetupIntentService::ConfirmParams::PaymentMethodData::Gopay, grabpay: ::Stripe::SetupIntentService::ConfirmParams::PaymentMethodData::Grabpay, id_bank_transfer: ::Stripe::SetupIntentService::ConfirmParams::PaymentMethodData::IdBankTransfer, ideal: ::Stripe::SetupIntentService::ConfirmParams::PaymentMethodData::Ideal, interac_present: ::Stripe::SetupIntentService::ConfirmParams::PaymentMethodData::InteracPresent, kakao_pay: ::Stripe::SetupIntentService::ConfirmParams::PaymentMethodData::KakaoPay, klarna: ::Stripe::SetupIntentService::ConfirmParams::PaymentMethodData::Klarna, konbini: ::Stripe::SetupIntentService::ConfirmParams::PaymentMethodData::Konbini, kr_card: ::Stripe::SetupIntentService::ConfirmParams::PaymentMethodData::KrCard, link: ::Stripe::SetupIntentService::ConfirmParams::PaymentMethodData::Link, mb_way: ::Stripe::SetupIntentService::ConfirmParams::PaymentMethodData::MbWay, metadata: T::Hash[String, String], mobilepay: ::Stripe::SetupIntentService::ConfirmParams::PaymentMethodData::Mobilepay, multibanco: ::Stripe::SetupIntentService::ConfirmParams::PaymentMethodData::Multibanco, naver_pay: ::Stripe::SetupIntentService::ConfirmParams::PaymentMethodData::NaverPay, oxxo: ::Stripe::SetupIntentService::ConfirmParams::PaymentMethodData::Oxxo, p24: ::Stripe::SetupIntentService::ConfirmParams::PaymentMethodData::P24, pay_by_bank: ::Stripe::SetupIntentService::ConfirmParams::PaymentMethodData::PayByBank, payco: ::Stripe::SetupIntentService::ConfirmParams::PaymentMethodData::Payco, paynow: ::Stripe::SetupIntentService::ConfirmParams::PaymentMethodData::Paynow, paypal: ::Stripe::SetupIntentService::ConfirmParams::PaymentMethodData::Paypal, payto: ::Stripe::SetupIntentService::ConfirmParams::PaymentMethodData::Payto, pix: ::Stripe::SetupIntentService::ConfirmParams::PaymentMethodData::Pix, promptpay: ::Stripe::SetupIntentService::ConfirmParams::PaymentMethodData::Promptpay, qris: ::Stripe::SetupIntentService::ConfirmParams::PaymentMethodData::Qris, radar_options: ::Stripe::SetupIntentService::ConfirmParams::PaymentMethodData::RadarOptions, rechnung: ::Stripe::SetupIntentService::ConfirmParams::PaymentMethodData::Rechnung, revolut_pay: ::Stripe::SetupIntentService::ConfirmParams::PaymentMethodData::RevolutPay, samsung_pay: ::Stripe::SetupIntentService::ConfirmParams::PaymentMethodData::SamsungPay, sepa_debit: ::Stripe::SetupIntentService::ConfirmParams::PaymentMethodData::SepaDebit, shopeepay: ::Stripe::SetupIntentService::ConfirmParams::PaymentMethodData::Shopeepay, sofort: ::Stripe::SetupIntentService::ConfirmParams::PaymentMethodData::Sofort, swish: ::Stripe::SetupIntentService::ConfirmParams::PaymentMethodData::Swish, twint: ::Stripe::SetupIntentService::ConfirmParams::PaymentMethodData::Twint, type: String, us_bank_account: ::Stripe::SetupIntentService::ConfirmParams::PaymentMethodData::UsBankAccount, wechat_pay: ::Stripe::SetupIntentService::ConfirmParams::PaymentMethodData::WechatPay, zip: ::Stripe::SetupIntentService::ConfirmParams::PaymentMethodData::Zip).void
3476
2986
  }
3477
2987
  def initialize(
3478
2988
  acss_debit: nil,
@@ -3510,6 +3020,7 @@ module Stripe
3510
3020
  naver_pay: nil,
3511
3021
  oxxo: nil,
3512
3022
  p24: nil,
3023
+ pay_by_bank: nil,
3513
3024
  payco: nil,
3514
3025
  paynow: nil,
3515
3026
  paypal: nil,
@@ -3540,23 +3051,18 @@ module Stripe
3540
3051
  # or `setup_intent` and `setup_intent_client_secret` when confirming a Setup Intent.
3541
3052
  sig { returns(T.nilable(String)) }
3542
3053
  attr_accessor :custom_mandate_url
3543
-
3544
3054
  # List of Stripe products where this mandate can be selected automatically.
3545
3055
  sig { returns(T::Array[String]) }
3546
3056
  attr_accessor :default_for
3547
-
3548
3057
  # Description of the mandate interval. Only required if 'payment_schedule' parameter is 'interval' or 'combined'.
3549
3058
  sig { returns(String) }
3550
3059
  attr_accessor :interval_description
3551
-
3552
3060
  # Payment schedule for the mandate.
3553
3061
  sig { returns(String) }
3554
3062
  attr_accessor :payment_schedule
3555
-
3556
3063
  # Transaction type of the mandate.
3557
3064
  sig { returns(String) }
3558
3065
  attr_accessor :transaction_type
3559
-
3560
3066
  sig {
3561
3067
  params(custom_mandate_url: T.nilable(String), default_for: T::Array[String], interval_description: String, payment_schedule: String, transaction_type: String).void
3562
3068
  }
@@ -3571,17 +3077,14 @@ module Stripe
3571
3077
  # Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).
3572
3078
  sig { returns(String) }
3573
3079
  attr_accessor :currency
3574
-
3575
3080
  # Additional fields for Mandate creation
3576
3081
  sig {
3577
3082
  returns(::Stripe::SetupIntentService::ConfirmParams::PaymentMethodOptions::AcssDebit::MandateOptions)
3578
3083
  }
3579
3084
  attr_accessor :mandate_options
3580
-
3581
3085
  # Bank account verification method.
3582
3086
  sig { returns(String) }
3583
3087
  attr_accessor :verification_method
3584
-
3585
3088
  sig {
3586
3089
  params(currency: String, mandate_options: ::Stripe::SetupIntentService::ConfirmParams::PaymentMethodOptions::AcssDebit::MandateOptions, verification_method: String).void
3587
3090
  }
@@ -3595,7 +3098,6 @@ module Stripe
3595
3098
  # 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 'DDIC' or 'STRIPE'.
3596
3099
  sig { returns(T.nilable(String)) }
3597
3100
  attr_accessor :reference_prefix
3598
-
3599
3101
  sig { params(reference_prefix: T.nilable(String)).void }
3600
3102
  def initialize(reference_prefix: nil); end
3601
3103
  end
@@ -3604,7 +3106,6 @@ module Stripe
3604
3106
  returns(::Stripe::SetupIntentService::ConfirmParams::PaymentMethodOptions::BacsDebit::MandateOptions)
3605
3107
  }
3606
3108
  attr_accessor :mandate_options
3607
-
3608
3109
  sig {
3609
3110
  params(mandate_options: ::Stripe::SetupIntentService::ConfirmParams::PaymentMethodOptions::BacsDebit::MandateOptions).void
3610
3111
  }
@@ -3615,43 +3116,33 @@ module Stripe
3615
3116
  # Amount to be charged for future payments.
3616
3117
  sig { returns(Integer) }
3617
3118
  attr_accessor :amount
3618
-
3619
3119
  # One of `fixed` or `maximum`. If `fixed`, the `amount` param refers to the exact amount to be charged in future payments. If `maximum`, the amount charged can be up to the value passed for the `amount` param.
3620
3120
  sig { returns(String) }
3621
3121
  attr_accessor :amount_type
3622
-
3623
3122
  # Currency in which future payments will be charged. Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).
3624
3123
  sig { returns(String) }
3625
3124
  attr_accessor :currency
3626
-
3627
3125
  # A description of the mandate or subscription that is meant to be displayed to the customer.
3628
3126
  sig { returns(String) }
3629
3127
  attr_accessor :description
3630
-
3631
3128
  # End date of the mandate or subscription. If not provided, the mandate will be active until canceled. If provided, end date should be after start date.
3632
3129
  sig { returns(Integer) }
3633
3130
  attr_accessor :end_date
3634
-
3635
3131
  # Specifies payment frequency. One of `day`, `week`, `month`, `year`, or `sporadic`.
3636
3132
  sig { returns(String) }
3637
3133
  attr_accessor :interval
3638
-
3639
3134
  # The number of intervals between payments. For example, `interval=month` and `interval_count=3` indicates one payment every three months. Maximum of one year interval allowed (1 year, 12 months, or 52 weeks). This parameter is optional when `interval=sporadic`.
3640
3135
  sig { returns(Integer) }
3641
3136
  attr_accessor :interval_count
3642
-
3643
3137
  # Unique identifier for the mandate or subscription.
3644
3138
  sig { returns(String) }
3645
3139
  attr_accessor :reference
3646
-
3647
3140
  # Start date of the mandate or subscription. Start date should not be lesser than yesterday.
3648
3141
  sig { returns(Integer) }
3649
3142
  attr_accessor :start_date
3650
-
3651
3143
  # Specifies the type of mandates supported. Possible values are `india`.
3652
3144
  sig { returns(T::Array[String]) }
3653
3145
  attr_accessor :supported_types
3654
-
3655
3146
  sig {
3656
3147
  params(amount: Integer, amount_type: String, currency: String, description: String, end_date: Integer, interval: String, interval_count: Integer, reference: String, start_date: Integer, supported_types: T::Array[String]).void
3657
3148
  }
@@ -3676,19 +3167,16 @@ module Stripe
3676
3167
  # messageExtension: CB-AVALGO
3677
3168
  sig { returns(String) }
3678
3169
  attr_accessor :cb_avalgo
3679
-
3680
3170
  # The exemption indicator returned from Cartes Bancaires in the ARes.
3681
3171
  # message extension: CB-EXEMPTION; string (4 characters)
3682
3172
  # This is a 3 byte bitmap (low significant byte first and most significant
3683
3173
  # bit first) that has been Base64 encoded
3684
3174
  sig { returns(String) }
3685
3175
  attr_accessor :cb_exemption
3686
-
3687
3176
  # The risk score returned from Cartes Bancaires in the ARes.
3688
3177
  # message extension: CB-SCORE; numeric value 0-99
3689
3178
  sig { returns(Integer) }
3690
3179
  attr_accessor :cb_score
3691
-
3692
3180
  sig { params(cb_avalgo: String, cb_exemption: String, cb_score: Integer).void }
3693
3181
  def initialize(cb_avalgo: nil, cb_exemption: nil, cb_score: nil); end
3694
3182
  end
@@ -3697,7 +3185,6 @@ module Stripe
3697
3185
  returns(::Stripe::SetupIntentService::ConfirmParams::PaymentMethodOptions::Card::ThreeDSecure::NetworkOptions::CartesBancaires)
3698
3186
  }
3699
3187
  attr_accessor :cartes_bancaires
3700
-
3701
3188
  sig {
3702
3189
  params(cartes_bancaires: ::Stripe::SetupIntentService::ConfirmParams::PaymentMethodOptions::Card::ThreeDSecure::NetworkOptions::CartesBancaires).void
3703
3190
  }
@@ -3706,19 +3193,16 @@ module Stripe
3706
3193
  # The `transStatus` returned from the card Issuer’s ACS in the ARes.
3707
3194
  sig { returns(String) }
3708
3195
  attr_accessor :ares_trans_status
3709
-
3710
3196
  # The cryptogram, also known as the "authentication value" (AAV, CAVV or
3711
3197
  # AEVV). This value is 20 bytes, base64-encoded into a 28-character string.
3712
3198
  # (Most 3D Secure providers will return the base64-encoded version, which
3713
3199
  # is what you should specify here.)
3714
3200
  sig { returns(String) }
3715
3201
  attr_accessor :cryptogram
3716
-
3717
3202
  # The Electronic Commerce Indicator (ECI) is returned by your 3D Secure
3718
3203
  # provider and indicates what degree of authentication was performed.
3719
3204
  sig { returns(String) }
3720
3205
  attr_accessor :electronic_commerce_indicator
3721
-
3722
3206
  # Network specific 3DS fields. Network specific arguments require an
3723
3207
  # explicit card brand choice. The parameter `payment_method_options.card.network``
3724
3208
  # must be populated accordingly
@@ -3726,21 +3210,17 @@ module Stripe
3726
3210
  returns(::Stripe::SetupIntentService::ConfirmParams::PaymentMethodOptions::Card::ThreeDSecure::NetworkOptions)
3727
3211
  }
3728
3212
  attr_accessor :network_options
3729
-
3730
3213
  # The challenge indicator (`threeDSRequestorChallengeInd`) which was requested in the
3731
3214
  # AReq sent to the card Issuer's ACS. A string containing 2 digits from 01-99.
3732
3215
  sig { returns(String) }
3733
3216
  attr_accessor :requestor_challenge_indicator
3734
-
3735
3217
  # For 3D Secure 1, the XID. For 3D Secure 2, the Directory Server
3736
3218
  # Transaction ID (dsTransID).
3737
3219
  sig { returns(String) }
3738
3220
  attr_accessor :transaction_id
3739
-
3740
3221
  # The version of 3D Secure that was performed.
3741
3222
  sig { returns(String) }
3742
3223
  attr_accessor :version
3743
-
3744
3224
  sig {
3745
3225
  params(ares_trans_status: String, cryptogram: String, electronic_commerce_indicator: String, network_options: ::Stripe::SetupIntentService::ConfirmParams::PaymentMethodOptions::Card::ThreeDSecure::NetworkOptions, requestor_challenge_indicator: String, transaction_id: String, version: String).void
3746
3226
  }
@@ -3759,28 +3239,23 @@ module Stripe
3759
3239
  returns(::Stripe::SetupIntentService::ConfirmParams::PaymentMethodOptions::Card::MandateOptions)
3760
3240
  }
3761
3241
  attr_accessor :mandate_options
3762
-
3763
3242
  # When specified, this parameter signals that a card has been collected
3764
3243
  # as MOTO (Mail Order Telephone Order) and thus out of scope for SCA. This
3765
3244
  # parameter can only be provided during confirmation.
3766
3245
  sig { returns(T::Boolean) }
3767
3246
  attr_accessor :moto
3768
-
3769
3247
  # Selected network to process this SetupIntent on. Depends on the available networks of the card attached to the SetupIntent. Can be only set confirm-time.
3770
3248
  sig { returns(String) }
3771
3249
  attr_accessor :network
3772
-
3773
3250
  # We strongly recommend that you rely on our SCA Engine to automatically prompt your customers for authentication based on risk level and [other requirements](https://stripe.com/docs/strong-customer-authentication). However, if you wish to request 3D Secure based on logic from your own fraud engine, provide this option. If not provided, this value defaults to `automatic`. Read our guide on [manually requesting 3D Secure](https://stripe.com/docs/payments/3d-secure/authentication-flow#manual-three-ds) for more information on how this configuration interacts with Radar and our SCA Engine.
3774
3251
  sig { returns(String) }
3775
3252
  attr_accessor :request_three_d_secure
3776
-
3777
3253
  # If 3D Secure authentication was performed with a third-party provider,
3778
3254
  # the authentication details to use for this setup.
3779
3255
  sig {
3780
3256
  returns(::Stripe::SetupIntentService::ConfirmParams::PaymentMethodOptions::Card::ThreeDSecure)
3781
3257
  }
3782
3258
  attr_accessor :three_d_secure
3783
-
3784
3259
  sig {
3785
3260
  params(mandate_options: ::Stripe::SetupIntentService::ConfirmParams::PaymentMethodOptions::Card::MandateOptions, moto: T::Boolean, network: String, request_three_d_secure: String, three_d_secure: ::Stripe::SetupIntentService::ConfirmParams::PaymentMethodOptions::Card::ThreeDSecure).void
3786
3261
  }
@@ -3799,7 +3274,6 @@ module Stripe
3799
3274
  # [Deprecated] This is a legacy parameter that no longer has any function.
3800
3275
  sig { returns(String) }
3801
3276
  attr_accessor :persistent_token
3802
-
3803
3277
  sig { params(persistent_token: String).void }
3804
3278
  def initialize(persistent_token: nil); end
3805
3279
  end
@@ -3807,15 +3281,12 @@ module Stripe
3807
3281
  # The PayPal Billing Agreement ID (BAID). This is an ID generated by PayPal which represents the mandate between the merchant and the customer.
3808
3282
  sig { returns(String) }
3809
3283
  attr_accessor :billing_agreement_id
3810
-
3811
3284
  # Attribute for param field currency
3812
3285
  sig { returns(String) }
3813
3286
  attr_accessor :currency
3814
-
3815
3287
  # The Stripe connected account IDs of the sellers on the platform for this transaction (optional). Only allowed when [separate charges and transfers](https://stripe.com/docs/connect/separate-charges-and-transfers) are used.
3816
3288
  sig { returns(T::Array[String]) }
3817
3289
  attr_accessor :subsellers
3818
-
3819
3290
  sig {
3820
3291
  params(billing_agreement_id: String, currency: String, subsellers: T::Array[String]).void
3821
3292
  }
@@ -3826,31 +3297,24 @@ module Stripe
3826
3297
  # Amount that will be collected. It is required when `amount_type` is `fixed`.
3827
3298
  sig { returns(Integer) }
3828
3299
  attr_accessor :amount
3829
-
3830
3300
  # The type of amount that will be collected. The amount charged must be exact or up to the value of `amount` param for `fixed` or `maximum` type respectively.
3831
3301
  sig { returns(String) }
3832
3302
  attr_accessor :amount_type
3833
-
3834
3303
  # Date, in YYYY-MM-DD format, after which payments will not be collected. Defaults to no end date.
3835
3304
  sig { returns(String) }
3836
3305
  attr_accessor :end_date
3837
-
3838
3306
  # The periodicity at which payments will be collected.
3839
3307
  sig { returns(String) }
3840
3308
  attr_accessor :payment_schedule
3841
-
3842
3309
  # The number of payments that will be made during a payment period. Defaults to 1 except for when `payment_schedule` is `adhoc`. In that case, it defaults to no limit.
3843
3310
  sig { returns(Integer) }
3844
3311
  attr_accessor :payments_per_period
3845
-
3846
3312
  # The purpose for which payments are made. Defaults to retail.
3847
3313
  sig { returns(String) }
3848
3314
  attr_accessor :purpose
3849
-
3850
3315
  # Date, in YYYY-MM-DD format, from which payments will be collected. Defaults to confirmation time.
3851
3316
  sig { returns(String) }
3852
3317
  attr_accessor :start_date
3853
-
3854
3318
  sig {
3855
3319
  params(amount: Integer, amount_type: String, end_date: String, payment_schedule: String, payments_per_period: Integer, purpose: String, start_date: String).void
3856
3320
  }
@@ -3869,7 +3333,6 @@ module Stripe
3869
3333
  returns(::Stripe::SetupIntentService::ConfirmParams::PaymentMethodOptions::Payto::MandateOptions)
3870
3334
  }
3871
3335
  attr_accessor :mandate_options
3872
-
3873
3336
  sig {
3874
3337
  params(mandate_options: ::Stripe::SetupIntentService::ConfirmParams::PaymentMethodOptions::Payto::MandateOptions).void
3875
3338
  }
@@ -3880,7 +3343,6 @@ module Stripe
3880
3343
  # 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'.
3881
3344
  sig { returns(T.nilable(String)) }
3882
3345
  attr_accessor :reference_prefix
3883
-
3884
3346
  sig { params(reference_prefix: T.nilable(String)).void }
3885
3347
  def initialize(reference_prefix: nil); end
3886
3348
  end
@@ -3889,7 +3351,6 @@ module Stripe
3889
3351
  returns(::Stripe::SetupIntentService::ConfirmParams::PaymentMethodOptions::SepaDebit::MandateOptions)
3890
3352
  }
3891
3353
  attr_accessor :mandate_options
3892
-
3893
3354
  sig {
3894
3355
  params(mandate_options: ::Stripe::SetupIntentService::ConfirmParams::PaymentMethodOptions::SepaDebit::MandateOptions).void
3895
3356
  }
@@ -3901,11 +3362,9 @@ module Stripe
3901
3362
  # The account subcategories to use to filter for selectable accounts. Valid subcategories are `checking` and `savings`.
3902
3363
  sig { returns(T::Array[String]) }
3903
3364
  attr_accessor :account_subcategories
3904
-
3905
3365
  # ID of the institution to use to filter for selectable accounts.
3906
3366
  sig { returns(String) }
3907
3367
  attr_accessor :institution
3908
-
3909
3368
  sig { params(account_subcategories: T::Array[String], institution: String).void }
3910
3369
  def initialize(account_subcategories: nil, institution: nil); end
3911
3370
  end
@@ -3913,7 +3372,6 @@ module Stripe
3913
3372
  # Settings for configuring manual entry of account details.
3914
3373
  sig { returns(String) }
3915
3374
  attr_accessor :mode
3916
-
3917
3375
  sig { params(mode: String).void }
3918
3376
  def initialize(mode: nil); end
3919
3377
  end
@@ -3922,25 +3380,20 @@ module Stripe
3922
3380
  returns(::Stripe::SetupIntentService::ConfirmParams::PaymentMethodOptions::UsBankAccount::FinancialConnections::Filters)
3923
3381
  }
3924
3382
  attr_accessor :filters
3925
-
3926
3383
  # Customize manual entry behavior
3927
3384
  sig {
3928
3385
  returns(::Stripe::SetupIntentService::ConfirmParams::PaymentMethodOptions::UsBankAccount::FinancialConnections::ManualEntry)
3929
3386
  }
3930
3387
  attr_accessor :manual_entry
3931
-
3932
3388
  # The list of permissions to request. If this parameter is passed, the `payment_method` permission must be included. Valid permissions include: `balances`, `ownership`, `payment_method`, and `transactions`.
3933
3389
  sig { returns(T::Array[String]) }
3934
3390
  attr_accessor :permissions
3935
-
3936
3391
  # List of data features that you would like to retrieve upon account creation.
3937
3392
  sig { returns(T::Array[String]) }
3938
3393
  attr_accessor :prefetch
3939
-
3940
3394
  # For webview integrations only. Upon completing OAuth login in the native browser, the user will be redirected to this URL to return to your app.
3941
3395
  sig { returns(String) }
3942
3396
  attr_accessor :return_url
3943
-
3944
3397
  sig {
3945
3398
  params(filters: ::Stripe::SetupIntentService::ConfirmParams::PaymentMethodOptions::UsBankAccount::FinancialConnections::Filters, manual_entry: ::Stripe::SetupIntentService::ConfirmParams::PaymentMethodOptions::UsBankAccount::FinancialConnections::ManualEntry, permissions: T::Array[String], prefetch: T::Array[String], return_url: String).void
3946
3399
  }
@@ -3956,7 +3409,6 @@ module Stripe
3956
3409
  # The method used to collect offline mandate customer acceptance.
3957
3410
  sig { returns(T.nilable(String)) }
3958
3411
  attr_accessor :collection_method
3959
-
3960
3412
  sig { params(collection_method: T.nilable(String)).void }
3961
3413
  def initialize(collection_method: nil); end
3962
3414
  end
@@ -3964,7 +3416,6 @@ module Stripe
3964
3416
  # Triggers validations to run across the selected networks
3965
3417
  sig { returns(T::Array[String]) }
3966
3418
  attr_accessor :requested
3967
-
3968
3419
  sig { params(requested: T::Array[String]).void }
3969
3420
  def initialize(requested: nil); end
3970
3421
  end
@@ -3973,23 +3424,19 @@ module Stripe
3973
3424
  returns(::Stripe::SetupIntentService::ConfirmParams::PaymentMethodOptions::UsBankAccount::FinancialConnections)
3974
3425
  }
3975
3426
  attr_accessor :financial_connections
3976
-
3977
3427
  # Additional fields for Mandate creation
3978
3428
  sig {
3979
3429
  returns(::Stripe::SetupIntentService::ConfirmParams::PaymentMethodOptions::UsBankAccount::MandateOptions)
3980
3430
  }
3981
3431
  attr_accessor :mandate_options
3982
-
3983
3432
  # Additional fields for network related functions
3984
3433
  sig {
3985
3434
  returns(::Stripe::SetupIntentService::ConfirmParams::PaymentMethodOptions::UsBankAccount::Networks)
3986
3435
  }
3987
3436
  attr_accessor :networks
3988
-
3989
3437
  # Bank account verification method.
3990
3438
  sig { returns(String) }
3991
3439
  attr_accessor :verification_method
3992
-
3993
3440
  sig {
3994
3441
  params(financial_connections: ::Stripe::SetupIntentService::ConfirmParams::PaymentMethodOptions::UsBankAccount::FinancialConnections, mandate_options: ::Stripe::SetupIntentService::ConfirmParams::PaymentMethodOptions::UsBankAccount::MandateOptions, networks: ::Stripe::SetupIntentService::ConfirmParams::PaymentMethodOptions::UsBankAccount::Networks, verification_method: String).void
3995
3442
  }
@@ -4005,53 +3452,43 @@ module Stripe
4005
3452
  returns(::Stripe::SetupIntentService::ConfirmParams::PaymentMethodOptions::AcssDebit)
4006
3453
  }
4007
3454
  attr_accessor :acss_debit
4008
-
4009
3455
  # If this is a `amazon_pay` SetupIntent, this sub-hash contains details about the AmazonPay payment method options.
4010
3456
  sig {
4011
3457
  returns(::Stripe::SetupIntentService::ConfirmParams::PaymentMethodOptions::AmazonPay)
4012
3458
  }
4013
3459
  attr_accessor :amazon_pay
4014
-
4015
3460
  # If this is a `bacs_debit` SetupIntent, this sub-hash contains details about the Bacs Debit payment method options.
4016
3461
  sig {
4017
3462
  returns(::Stripe::SetupIntentService::ConfirmParams::PaymentMethodOptions::BacsDebit)
4018
3463
  }
4019
3464
  attr_accessor :bacs_debit
4020
-
4021
3465
  # Configuration for any card setup attempted on this SetupIntent.
4022
3466
  sig { returns(::Stripe::SetupIntentService::ConfirmParams::PaymentMethodOptions::Card) }
4023
3467
  attr_accessor :card
4024
-
4025
3468
  # If this is a `card_present` PaymentMethod, this sub-hash contains details about the card-present payment method options.
4026
3469
  sig {
4027
3470
  returns(::Stripe::SetupIntentService::ConfirmParams::PaymentMethodOptions::CardPresent)
4028
3471
  }
4029
3472
  attr_accessor :card_present
4030
-
4031
3473
  # If this is a `link` PaymentMethod, this sub-hash contains details about the Link payment method options.
4032
3474
  sig { returns(::Stripe::SetupIntentService::ConfirmParams::PaymentMethodOptions::Link) }
4033
3475
  attr_accessor :link
4034
-
4035
3476
  # If this is a `paypal` PaymentMethod, this sub-hash contains details about the PayPal payment method options.
4036
3477
  sig { returns(::Stripe::SetupIntentService::ConfirmParams::PaymentMethodOptions::Paypal) }
4037
3478
  attr_accessor :paypal
4038
-
4039
3479
  # If this is a `payto` SetupIntent, this sub-hash contains details about the PayTo payment method options.
4040
3480
  sig { returns(::Stripe::SetupIntentService::ConfirmParams::PaymentMethodOptions::Payto) }
4041
3481
  attr_accessor :payto
4042
-
4043
3482
  # If this is a `sepa_debit` SetupIntent, this sub-hash contains details about the SEPA Debit payment method options.
4044
3483
  sig {
4045
3484
  returns(::Stripe::SetupIntentService::ConfirmParams::PaymentMethodOptions::SepaDebit)
4046
3485
  }
4047
3486
  attr_accessor :sepa_debit
4048
-
4049
3487
  # If this is a `us_bank_account` SetupIntent, this sub-hash contains details about the US bank account payment method options.
4050
3488
  sig {
4051
3489
  returns(::Stripe::SetupIntentService::ConfirmParams::PaymentMethodOptions::UsBankAccount)
4052
3490
  }
4053
3491
  attr_accessor :us_bank_account
4054
-
4055
3492
  sig {
4056
3493
  params(acss_debit: ::Stripe::SetupIntentService::ConfirmParams::PaymentMethodOptions::AcssDebit, amazon_pay: ::Stripe::SetupIntentService::ConfirmParams::PaymentMethodOptions::AmazonPay, bacs_debit: ::Stripe::SetupIntentService::ConfirmParams::PaymentMethodOptions::BacsDebit, card: ::Stripe::SetupIntentService::ConfirmParams::PaymentMethodOptions::Card, card_present: ::Stripe::SetupIntentService::ConfirmParams::PaymentMethodOptions::CardPresent, link: ::Stripe::SetupIntentService::ConfirmParams::PaymentMethodOptions::Link, paypal: ::Stripe::SetupIntentService::ConfirmParams::PaymentMethodOptions::Paypal, payto: ::Stripe::SetupIntentService::ConfirmParams::PaymentMethodOptions::Payto, sepa_debit: ::Stripe::SetupIntentService::ConfirmParams::PaymentMethodOptions::SepaDebit, us_bank_account: ::Stripe::SetupIntentService::ConfirmParams::PaymentMethodOptions::UsBankAccount).void
4057
3494
  }
@@ -4073,38 +3510,30 @@ module Stripe
4073
3510
  # If the provided ConfirmationToken contains properties that are also being provided in this request, such as `payment_method`, then the values in this request will take precedence.
4074
3511
  sig { returns(String) }
4075
3512
  attr_accessor :confirmation_token
4076
-
4077
3513
  # Specifies which fields in the response should be expanded.
4078
3514
  sig { returns(T::Array[String]) }
4079
3515
  attr_accessor :expand
4080
-
4081
3516
  # Attribute for param field mandate_data
4082
3517
  sig { returns(T.nilable(::Stripe::SetupIntentService::ConfirmParams::MandateData)) }
4083
3518
  attr_accessor :mandate_data
4084
-
4085
3519
  # ID of the payment method (a PaymentMethod, Card, or saved Source object) to attach to this SetupIntent.
4086
3520
  sig { returns(String) }
4087
3521
  attr_accessor :payment_method
4088
-
4089
3522
  # When included, this hash creates a PaymentMethod that is set as the [`payment_method`](https://stripe.com/docs/api/setup_intents/object#setup_intent_object-payment_method)
4090
3523
  # value in the SetupIntent.
4091
3524
  sig { returns(::Stripe::SetupIntentService::ConfirmParams::PaymentMethodData) }
4092
3525
  attr_accessor :payment_method_data
4093
-
4094
3526
  # Payment method-specific configuration for this SetupIntent.
4095
3527
  sig { returns(::Stripe::SetupIntentService::ConfirmParams::PaymentMethodOptions) }
4096
3528
  attr_accessor :payment_method_options
4097
-
4098
3529
  # The URL to redirect your customer back to after they authenticate on the payment method's app or site.
4099
3530
  # If you'd prefer to redirect to a mobile application, you can alternatively supply an application URI scheme.
4100
3531
  # This parameter is only used for cards and other redirect-based payment methods.
4101
3532
  sig { returns(String) }
4102
3533
  attr_accessor :return_url
4103
-
4104
3534
  # Set to `true` when confirming server-side and using Stripe.js, iOS, or Android client-side SDKs to handle the next actions.
4105
3535
  sig { returns(T::Boolean) }
4106
3536
  attr_accessor :use_stripe_sdk
4107
-
4108
3537
  sig {
4109
3538
  params(confirmation_token: String, expand: T::Array[String], mandate_data: T.nilable(::Stripe::SetupIntentService::ConfirmParams::MandateData), payment_method: String, payment_method_data: ::Stripe::SetupIntentService::ConfirmParams::PaymentMethodData, payment_method_options: ::Stripe::SetupIntentService::ConfirmParams::PaymentMethodOptions, return_url: String, use_stripe_sdk: T::Boolean).void
4110
3539
  }
@@ -4123,15 +3552,12 @@ module Stripe
4123
3552
  # Two positive integers, in *cents*, equal to the values of the microdeposits sent to the bank account.
4124
3553
  sig { returns(T::Array[Integer]) }
4125
3554
  attr_accessor :amounts
4126
-
4127
3555
  # A six-character code starting with SM present in the microdeposit sent to the bank account.
4128
3556
  sig { returns(String) }
4129
3557
  attr_accessor :descriptor_code
4130
-
4131
3558
  # Specifies which fields in the response should be expanded.
4132
3559
  sig { returns(T::Array[String]) }
4133
3560
  attr_accessor :expand
4134
-
4135
3561
  sig {
4136
3562
  params(amounts: T::Array[Integer], descriptor_code: String, expand: T::Array[String]).void
4137
3563
  }