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
@@ -7,13 +7,10 @@ module Stripe
7
7
  class Created < Stripe::RequestParams
8
8
  # Minimum value to filter by (exclusive)
9
9
  attr_accessor :gt
10
-
11
10
  # Minimum value to filter by (inclusive)
12
11
  attr_accessor :gte
13
-
14
12
  # Maximum value to filter by (exclusive)
15
13
  attr_accessor :lt
16
-
17
14
  # Maximum value to filter by (inclusive)
18
15
  attr_accessor :lte
19
16
 
@@ -28,25 +25,18 @@ module Stripe
28
25
  #
29
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.
30
27
  attr_accessor :attach_to_self
31
-
32
28
  # 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.
33
29
  attr_accessor :created
34
-
35
30
  # Only return SetupIntents for the customer specified by this customer ID.
36
31
  attr_accessor :customer
37
-
38
32
  # 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.
39
33
  attr_accessor :ending_before
40
-
41
34
  # Specifies which fields in the response should be expanded.
42
35
  attr_accessor :expand
43
-
44
36
  # A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.
45
37
  attr_accessor :limit
46
-
47
38
  # Only return SetupIntents that associate with the specified payment method.
48
39
  attr_accessor :payment_method
49
-
50
40
  # 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.
51
41
  attr_accessor :starting_after
52
42
 
@@ -77,7 +67,6 @@ module Stripe
77
67
  #
78
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.
79
69
  attr_accessor :allow_redirects
80
-
81
70
  # Whether this feature is enabled.
82
71
  attr_accessor :enabled
83
72
 
@@ -95,7 +84,6 @@ module Stripe
95
84
  class Online < Stripe::RequestParams
96
85
  # The IP address from which the Mandate was accepted by the customer.
97
86
  attr_accessor :ip_address
98
-
99
87
  # The user agent of the browser from which the Mandate was accepted by the customer.
100
88
  attr_accessor :user_agent
101
89
 
@@ -106,13 +94,10 @@ module Stripe
106
94
  end
107
95
  # The time at which the customer accepted the Mandate.
108
96
  attr_accessor :accepted_at
109
-
110
97
  # If this is a Mandate accepted offline, this hash contains details about the offline acceptance.
111
98
  attr_accessor :offline
112
-
113
99
  # If this is a Mandate accepted online, this hash contains details about the online acceptance.
114
100
  attr_accessor :online
115
-
116
101
  # The type of customer acceptance information included with the Mandate. One of `online` or `offline`.
117
102
  attr_accessor :type
118
103
 
@@ -135,10 +120,8 @@ module Stripe
135
120
  class AcssDebit < Stripe::RequestParams
136
121
  # Customer's bank account number.
137
122
  attr_accessor :account_number
138
-
139
123
  # Institution number of the customer's bank.
140
124
  attr_accessor :institution_number
141
-
142
125
  # Transit number of the customer's bank.
143
126
  attr_accessor :transit_number
144
127
 
@@ -167,7 +150,6 @@ module Stripe
167
150
  class AuBecsDebit < Stripe::RequestParams
168
151
  # The account number for the bank account.
169
152
  attr_accessor :account_number
170
-
171
153
  # Bank-State-Branch number of the bank account.
172
154
  attr_accessor :bsb_number
173
155
 
@@ -180,7 +162,6 @@ module Stripe
180
162
  class BacsDebit < Stripe::RequestParams
181
163
  # Account number of the bank account that the funds will be debited from.
182
164
  attr_accessor :account_number
183
-
184
165
  # Sort code of the bank account. (e.g., `10-20-30`)
185
166
  attr_accessor :sort_code
186
167
 
@@ -197,19 +178,14 @@ module Stripe
197
178
  class Address < Stripe::RequestParams
198
179
  # City, district, suburb, town, or village.
199
180
  attr_accessor :city
200
-
201
181
  # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
202
182
  attr_accessor :country
203
-
204
183
  # Address line 1 (e.g., street, PO Box, or company name).
205
184
  attr_accessor :line1
206
-
207
185
  # Address line 2 (e.g., apartment, suite, unit, or building).
208
186
  attr_accessor :line2
209
-
210
187
  # ZIP or postal code.
211
188
  attr_accessor :postal_code
212
-
213
189
  # State, county, province, or region.
214
190
  attr_accessor :state
215
191
 
@@ -231,13 +207,10 @@ module Stripe
231
207
  end
232
208
  # Billing address.
233
209
  attr_accessor :address
234
-
235
210
  # Email address.
236
211
  attr_accessor :email
237
-
238
212
  # Full name.
239
213
  attr_accessor :name
240
-
241
214
  # Billing phone number (including extension).
242
215
  attr_accessor :phone
243
216
 
@@ -279,7 +252,6 @@ module Stripe
279
252
  class Fpx < Stripe::RequestParams
280
253
  # Account holder type for FPX transaction
281
254
  attr_accessor :account_holder_type
282
-
283
255
  # The customer's bank.
284
256
  attr_accessor :bank
285
257
 
@@ -326,10 +298,8 @@ module Stripe
326
298
  class Dob < Stripe::RequestParams
327
299
  # The day of birth, between 1 and 31.
328
300
  attr_accessor :day
329
-
330
301
  # The month of birth, between 1 and 12.
331
302
  attr_accessor :month
332
-
333
303
  # The four-digit year of birth.
334
304
  attr_accessor :year
335
305
 
@@ -386,6 +356,9 @@ module Stripe
386
356
  end
387
357
  end
388
358
 
359
+ class PayByBank < Stripe::RequestParams
360
+ end
361
+
389
362
  class Payco < Stripe::RequestParams
390
363
  end
391
364
 
@@ -398,10 +371,8 @@ module Stripe
398
371
  class Payto < Stripe::RequestParams
399
372
  # The account number for the bank account.
400
373
  attr_accessor :account_number
401
-
402
374
  # Bank-State-Branch number of the bank account.
403
375
  attr_accessor :bsb_number
404
-
405
376
  # The PayID alias for the bank account.
406
377
  attr_accessor :pay_id
407
378
 
@@ -434,10 +405,8 @@ module Stripe
434
405
  class Dob < Stripe::RequestParams
435
406
  # The day of birth, between 1 and 31.
436
407
  attr_accessor :day
437
-
438
408
  # The month of birth, between 1 and 12.
439
409
  attr_accessor :month
440
-
441
410
  # The four-digit year of birth.
442
411
  attr_accessor :year
443
412
 
@@ -491,16 +460,12 @@ module Stripe
491
460
  class UsBankAccount < Stripe::RequestParams
492
461
  # Account holder type: individual or company.
493
462
  attr_accessor :account_holder_type
494
-
495
463
  # Account number of the bank account.
496
464
  attr_accessor :account_number
497
-
498
465
  # Account type: checkings or savings. Defaults to checking if omitted.
499
466
  attr_accessor :account_type
500
-
501
467
  # The ID of a Financial Connections Account to use as a payment method.
502
468
  attr_accessor :financial_connections_account
503
-
504
469
  # Routing number of the bank account.
505
470
  attr_accessor :routing_number
506
471
 
@@ -526,166 +491,114 @@ module Stripe
526
491
  end
527
492
  # If this is an `acss_debit` PaymentMethod, this hash contains details about the ACSS Debit payment method.
528
493
  attr_accessor :acss_debit
529
-
530
494
  # If this is an `affirm` PaymentMethod, this hash contains details about the Affirm payment method.
531
495
  attr_accessor :affirm
532
-
533
496
  # If this is an `AfterpayClearpay` PaymentMethod, this hash contains details about the AfterpayClearpay payment method.
534
497
  attr_accessor :afterpay_clearpay
535
-
536
498
  # If this is an `Alipay` PaymentMethod, this hash contains details about the Alipay payment method.
537
499
  attr_accessor :alipay
538
-
539
500
  # 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`.
540
501
  attr_accessor :allow_redisplay
541
-
542
502
  # If this is a Alma PaymentMethod, this hash contains details about the Alma payment method.
543
503
  attr_accessor :alma
544
-
545
504
  # If this is a AmazonPay PaymentMethod, this hash contains details about the AmazonPay payment method.
546
505
  attr_accessor :amazon_pay
547
-
548
506
  # If this is an `au_becs_debit` PaymentMethod, this hash contains details about the bank account.
549
507
  attr_accessor :au_becs_debit
550
-
551
508
  # If this is a `bacs_debit` PaymentMethod, this hash contains details about the Bacs Direct Debit bank account.
552
509
  attr_accessor :bacs_debit
553
-
554
510
  # If this is a `bancontact` PaymentMethod, this hash contains details about the Bancontact payment method.
555
511
  attr_accessor :bancontact
556
-
557
512
  # Billing information associated with the PaymentMethod that may be used or required by particular types of payment methods.
558
513
  attr_accessor :billing_details
559
-
560
514
  # If this is a `blik` PaymentMethod, this hash contains details about the BLIK payment method.
561
515
  attr_accessor :blik
562
-
563
516
  # If this is a `boleto` PaymentMethod, this hash contains details about the Boleto payment method.
564
517
  attr_accessor :boleto
565
-
566
518
  # If this is a `cashapp` PaymentMethod, this hash contains details about the Cash App Pay payment method.
567
519
  attr_accessor :cashapp
568
-
569
520
  # If this is a `customer_balance` PaymentMethod, this hash contains details about the CustomerBalance payment method.
570
521
  attr_accessor :customer_balance
571
-
572
522
  # If this is an `eps` PaymentMethod, this hash contains details about the EPS payment method.
573
523
  attr_accessor :eps
574
-
575
524
  # If this is an `fpx` PaymentMethod, this hash contains details about the FPX payment method.
576
525
  attr_accessor :fpx
577
-
578
526
  # If this is a `giropay` PaymentMethod, this hash contains details about the Giropay payment method.
579
527
  attr_accessor :giropay
580
-
581
528
  # If this is a Gopay PaymentMethod, this hash contains details about the Gopay payment method.
582
529
  attr_accessor :gopay
583
-
584
530
  # If this is a `grabpay` PaymentMethod, this hash contains details about the GrabPay payment method.
585
531
  attr_accessor :grabpay
586
-
587
532
  # If this is an `IdBankTransfer` PaymentMethod, this hash contains details about the IdBankTransfer payment method.
588
533
  attr_accessor :id_bank_transfer
589
-
590
534
  # If this is an `ideal` PaymentMethod, this hash contains details about the iDEAL payment method.
591
535
  attr_accessor :ideal
592
-
593
536
  # If this is an `interac_present` PaymentMethod, this hash contains details about the Interac Present payment method.
594
537
  attr_accessor :interac_present
595
-
596
538
  # If this is a `kakao_pay` PaymentMethod, this hash contains details about the Kakao Pay payment method.
597
539
  attr_accessor :kakao_pay
598
-
599
540
  # If this is a `klarna` PaymentMethod, this hash contains details about the Klarna payment method.
600
541
  attr_accessor :klarna
601
-
602
542
  # If this is a `konbini` PaymentMethod, this hash contains details about the Konbini payment method.
603
543
  attr_accessor :konbini
604
-
605
544
  # If this is a `kr_card` PaymentMethod, this hash contains details about the Korean Card payment method.
606
545
  attr_accessor :kr_card
607
-
608
546
  # If this is an `Link` PaymentMethod, this hash contains details about the Link payment method.
609
547
  attr_accessor :link
610
-
611
548
  # If this is a MB WAY PaymentMethod, this hash contains details about the MB WAY payment method.
612
549
  attr_accessor :mb_way
613
-
614
550
  # 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`.
615
551
  attr_accessor :metadata
616
-
617
552
  # If this is a `mobilepay` PaymentMethod, this hash contains details about the MobilePay payment method.
618
553
  attr_accessor :mobilepay
619
-
620
554
  # If this is a `multibanco` PaymentMethod, this hash contains details about the Multibanco payment method.
621
555
  attr_accessor :multibanco
622
-
623
556
  # If this is a `naver_pay` PaymentMethod, this hash contains details about the Naver Pay payment method.
624
557
  attr_accessor :naver_pay
625
-
626
558
  # If this is an `oxxo` PaymentMethod, this hash contains details about the OXXO payment method.
627
559
  attr_accessor :oxxo
628
-
629
560
  # If this is a `p24` PaymentMethod, this hash contains details about the P24 payment method.
630
561
  attr_accessor :p24
631
-
562
+ # If this is a `pay_by_bank` PaymentMethod, this hash contains details about the PayByBank payment method.
563
+ attr_accessor :pay_by_bank
632
564
  # If this is a `payco` PaymentMethod, this hash contains details about the PAYCO payment method.
633
565
  attr_accessor :payco
634
-
635
566
  # If this is a `paynow` PaymentMethod, this hash contains details about the PayNow payment method.
636
567
  attr_accessor :paynow
637
-
638
568
  # If this is a `paypal` PaymentMethod, this hash contains details about the PayPal payment method.
639
569
  attr_accessor :paypal
640
-
641
570
  # If this is a `payto` PaymentMethod, this hash contains details about the PayTo payment method.
642
571
  attr_accessor :payto
643
-
644
572
  # If this is a `pix` PaymentMethod, this hash contains details about the Pix payment method.
645
573
  attr_accessor :pix
646
-
647
574
  # If this is a `promptpay` PaymentMethod, this hash contains details about the PromptPay payment method.
648
575
  attr_accessor :promptpay
649
-
650
576
  # If this is a `qris` PaymentMethod, this hash contains details about the QRIS payment method.
651
577
  attr_accessor :qris
652
-
653
578
  # Options to configure Radar. See [Radar Session](https://stripe.com/docs/radar/radar-session) for more information.
654
579
  attr_accessor :radar_options
655
-
656
580
  # If this is a `rechnung` PaymentMethod, this hash contains details about the Rechnung payment method.
657
581
  attr_accessor :rechnung
658
-
659
582
  # If this is a `Revolut Pay` PaymentMethod, this hash contains details about the Revolut Pay payment method.
660
583
  attr_accessor :revolut_pay
661
-
662
584
  # If this is a `samsung_pay` PaymentMethod, this hash contains details about the SamsungPay payment method.
663
585
  attr_accessor :samsung_pay
664
-
665
586
  # If this is a `sepa_debit` PaymentMethod, this hash contains details about the SEPA debit bank account.
666
587
  attr_accessor :sepa_debit
667
-
668
588
  # If this is a Shopeepay PaymentMethod, this hash contains details about the Shopeepay payment method.
669
589
  attr_accessor :shopeepay
670
-
671
590
  # If this is a `sofort` PaymentMethod, this hash contains details about the SOFORT payment method.
672
591
  attr_accessor :sofort
673
-
674
592
  # If this is a `swish` PaymentMethod, this hash contains details about the Swish payment method.
675
593
  attr_accessor :swish
676
-
677
594
  # If this is a TWINT PaymentMethod, this hash contains details about the TWINT payment method.
678
595
  attr_accessor :twint
679
-
680
596
  # 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.
681
597
  attr_accessor :type
682
-
683
598
  # If this is an `us_bank_account` PaymentMethod, this hash contains details about the US bank account payment method.
684
599
  attr_accessor :us_bank_account
685
-
686
600
  # If this is an `wechat_pay` PaymentMethod, this hash contains details about the wechat_pay payment method.
687
601
  attr_accessor :wechat_pay
688
-
689
602
  # If this is a `zip` PaymentMethod, this hash contains details about the Zip payment method.
690
603
  attr_accessor :zip
691
604
 
@@ -725,6 +638,7 @@ module Stripe
725
638
  naver_pay: nil,
726
639
  oxxo: nil,
727
640
  p24: nil,
641
+ pay_by_bank: nil,
728
642
  payco: nil,
729
643
  paynow: nil,
730
644
  paypal: nil,
@@ -781,6 +695,7 @@ module Stripe
781
695
  @naver_pay = naver_pay
782
696
  @oxxo = oxxo
783
697
  @p24 = p24
698
+ @pay_by_bank = pay_by_bank
784
699
  @payco = payco
785
700
  @paynow = paynow
786
701
  @paypal = paypal
@@ -811,16 +726,12 @@ module Stripe
811
726
  # The URL will be rendered with additional GET parameters `payment_intent` and `payment_intent_client_secret` when confirming a Payment Intent,
812
727
  # or `setup_intent` and `setup_intent_client_secret` when confirming a Setup Intent.
813
728
  attr_accessor :custom_mandate_url
814
-
815
729
  # List of Stripe products where this mandate can be selected automatically.
816
730
  attr_accessor :default_for
817
-
818
731
  # Description of the mandate interval. Only required if 'payment_schedule' parameter is 'interval' or 'combined'.
819
732
  attr_accessor :interval_description
820
-
821
733
  # Payment schedule for the mandate.
822
734
  attr_accessor :payment_schedule
823
-
824
735
  # Transaction type of the mandate.
825
736
  attr_accessor :transaction_type
826
737
 
@@ -840,10 +751,8 @@ module Stripe
840
751
  end
841
752
  # 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).
842
753
  attr_accessor :currency
843
-
844
754
  # Additional fields for Mandate creation
845
755
  attr_accessor :mandate_options
846
-
847
756
  # Bank account verification method.
848
757
  attr_accessor :verification_method
849
758
 
@@ -878,31 +787,22 @@ module Stripe
878
787
  class MandateOptions < Stripe::RequestParams
879
788
  # Amount to be charged for future payments.
880
789
  attr_accessor :amount
881
-
882
790
  # 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.
883
791
  attr_accessor :amount_type
884
-
885
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).
886
793
  attr_accessor :currency
887
-
888
794
  # A description of the mandate or subscription that is meant to be displayed to the customer.
889
795
  attr_accessor :description
890
-
891
796
  # 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.
892
797
  attr_accessor :end_date
893
-
894
798
  # Specifies payment frequency. One of `day`, `week`, `month`, `year`, or `sporadic`.
895
799
  attr_accessor :interval
896
-
897
800
  # 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`.
898
801
  attr_accessor :interval_count
899
-
900
802
  # Unique identifier for the mandate or subscription.
901
803
  attr_accessor :reference
902
-
903
804
  # Start date of the mandate or subscription. Start date should not be lesser than yesterday.
904
805
  attr_accessor :start_date
905
-
906
806
  # Specifies the type of mandates supported. Possible values are `india`.
907
807
  attr_accessor :supported_types
908
808
 
@@ -938,13 +838,11 @@ module Stripe
938
838
  # to calculate the Authentication cryptogram. Also known as `cavvAlgorithm`.
939
839
  # messageExtension: CB-AVALGO
940
840
  attr_accessor :cb_avalgo
941
-
942
841
  # The exemption indicator returned from Cartes Bancaires in the ARes.
943
842
  # message extension: CB-EXEMPTION; string (4 characters)
944
843
  # This is a 3 byte bitmap (low significant byte first and most significant
945
844
  # bit first) that has been Base64 encoded
946
845
  attr_accessor :cb_exemption
947
-
948
846
  # The risk score returned from Cartes Bancaires in the ARes.
949
847
  # message extension: CB-SCORE; numeric value 0-99
950
848
  attr_accessor :cb_score
@@ -964,30 +862,24 @@ module Stripe
964
862
  end
965
863
  # The `transStatus` returned from the card Issuer’s ACS in the ARes.
966
864
  attr_accessor :ares_trans_status
967
-
968
865
  # The cryptogram, also known as the "authentication value" (AAV, CAVV or
969
866
  # AEVV). This value is 20 bytes, base64-encoded into a 28-character string.
970
867
  # (Most 3D Secure providers will return the base64-encoded version, which
971
868
  # is what you should specify here.)
972
869
  attr_accessor :cryptogram
973
-
974
870
  # The Electronic Commerce Indicator (ECI) is returned by your 3D Secure
975
871
  # provider and indicates what degree of authentication was performed.
976
872
  attr_accessor :electronic_commerce_indicator
977
-
978
873
  # Network specific 3DS fields. Network specific arguments require an
979
874
  # explicit card brand choice. The parameter `payment_method_options.card.network``
980
875
  # must be populated accordingly
981
876
  attr_accessor :network_options
982
-
983
877
  # The challenge indicator (`threeDSRequestorChallengeInd`) which was requested in the
984
878
  # AReq sent to the card Issuer's ACS. A string containing 2 digits from 01-99.
985
879
  attr_accessor :requestor_challenge_indicator
986
-
987
880
  # For 3D Secure 1, the XID. For 3D Secure 2, the Directory Server
988
881
  # Transaction ID (dsTransID).
989
882
  attr_accessor :transaction_id
990
-
991
883
  # The version of 3D Secure that was performed.
992
884
  attr_accessor :version
993
885
 
@@ -1011,18 +903,14 @@ module Stripe
1011
903
  end
1012
904
  # Configuration options for setting up an eMandate for cards issued in India.
1013
905
  attr_accessor :mandate_options
1014
-
1015
906
  # When specified, this parameter signals that a card has been collected
1016
907
  # as MOTO (Mail Order Telephone Order) and thus out of scope for SCA. This
1017
908
  # parameter can only be provided during confirmation.
1018
909
  attr_accessor :moto
1019
-
1020
910
  # 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.
1021
911
  attr_accessor :network
1022
-
1023
912
  # 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.
1024
913
  attr_accessor :request_three_d_secure
1025
-
1026
914
  # If 3D Secure authentication was performed with a third-party provider,
1027
915
  # the authentication details to use for this setup.
1028
916
  attr_accessor :three_d_secure
@@ -1057,10 +945,8 @@ module Stripe
1057
945
  class Paypal < Stripe::RequestParams
1058
946
  # The PayPal Billing Agreement ID (BAID). This is an ID generated by PayPal which represents the mandate between the merchant and the customer.
1059
947
  attr_accessor :billing_agreement_id
1060
-
1061
948
  # Attribute for param field currency
1062
949
  attr_accessor :currency
1063
-
1064
950
  # 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.
1065
951
  attr_accessor :subsellers
1066
952
 
@@ -1075,22 +961,16 @@ module Stripe
1075
961
  class MandateOptions < Stripe::RequestParams
1076
962
  # Amount that will be collected. It is required when `amount_type` is `fixed`.
1077
963
  attr_accessor :amount
1078
-
1079
964
  # 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.
1080
965
  attr_accessor :amount_type
1081
-
1082
966
  # Date, in YYYY-MM-DD format, after which payments will not be collected. Defaults to no end date.
1083
967
  attr_accessor :end_date
1084
-
1085
968
  # The periodicity at which payments will be collected.
1086
969
  attr_accessor :payment_schedule
1087
-
1088
970
  # 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.
1089
971
  attr_accessor :payments_per_period
1090
-
1091
972
  # The purpose for which payments are made. Defaults to retail.
1092
973
  attr_accessor :purpose
1093
-
1094
974
  # Date, in YYYY-MM-DD format, from which payments will be collected. Defaults to confirmation time.
1095
975
  attr_accessor :start_date
1096
976
 
@@ -1142,7 +1022,6 @@ module Stripe
1142
1022
  class Filters < Stripe::RequestParams
1143
1023
  # The account subcategories to use to filter for selectable accounts. Valid subcategories are `checking` and `savings`.
1144
1024
  attr_accessor :account_subcategories
1145
-
1146
1025
  # ID of the institution to use to filter for selectable accounts.
1147
1026
  attr_accessor :institution
1148
1027
 
@@ -1162,16 +1041,12 @@ module Stripe
1162
1041
  end
1163
1042
  # Provide filters for the linked accounts that the customer can select for the payment method
1164
1043
  attr_accessor :filters
1165
-
1166
1044
  # Customize manual entry behavior
1167
1045
  attr_accessor :manual_entry
1168
-
1169
1046
  # 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`.
1170
1047
  attr_accessor :permissions
1171
-
1172
1048
  # List of data features that you would like to retrieve upon account creation.
1173
1049
  attr_accessor :prefetch
1174
-
1175
1050
  # 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.
1176
1051
  attr_accessor :return_url
1177
1052
 
@@ -1209,13 +1084,10 @@ module Stripe
1209
1084
  end
1210
1085
  # Additional fields for Financial Connections Session creation
1211
1086
  attr_accessor :financial_connections
1212
-
1213
1087
  # Additional fields for Mandate creation
1214
1088
  attr_accessor :mandate_options
1215
-
1216
1089
  # Additional fields for network related functions
1217
1090
  attr_accessor :networks
1218
-
1219
1091
  # Bank account verification method.
1220
1092
  attr_accessor :verification_method
1221
1093
 
@@ -1233,31 +1105,22 @@ module Stripe
1233
1105
  end
1234
1106
  # If this is a `acss_debit` SetupIntent, this sub-hash contains details about the ACSS Debit payment method options.
1235
1107
  attr_accessor :acss_debit
1236
-
1237
1108
  # If this is a `amazon_pay` SetupIntent, this sub-hash contains details about the AmazonPay payment method options.
1238
1109
  attr_accessor :amazon_pay
1239
-
1240
1110
  # If this is a `bacs_debit` SetupIntent, this sub-hash contains details about the Bacs Debit payment method options.
1241
1111
  attr_accessor :bacs_debit
1242
-
1243
1112
  # Configuration for any card setup attempted on this SetupIntent.
1244
1113
  attr_accessor :card
1245
-
1246
1114
  # If this is a `card_present` PaymentMethod, this sub-hash contains details about the card-present payment method options.
1247
1115
  attr_accessor :card_present
1248
-
1249
1116
  # If this is a `link` PaymentMethod, this sub-hash contains details about the Link payment method options.
1250
1117
  attr_accessor :link
1251
-
1252
1118
  # If this is a `paypal` PaymentMethod, this sub-hash contains details about the PayPal payment method options.
1253
1119
  attr_accessor :paypal
1254
-
1255
1120
  # If this is a `payto` SetupIntent, this sub-hash contains details about the PayTo payment method options.
1256
1121
  attr_accessor :payto
1257
-
1258
1122
  # If this is a `sepa_debit` SetupIntent, this sub-hash contains details about the SEPA Debit payment method options.
1259
1123
  attr_accessor :sepa_debit
1260
-
1261
1124
  # If this is a `us_bank_account` SetupIntent, this sub-hash contains details about the US bank account payment method options.
1262
1125
  attr_accessor :us_bank_account
1263
1126
 
@@ -1289,7 +1152,6 @@ module Stripe
1289
1152
  class SingleUse < Stripe::RequestParams
1290
1153
  # 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).
1291
1154
  attr_accessor :amount
1292
-
1293
1155
  # 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).
1294
1156
  attr_accessor :currency
1295
1157
 
@@ -1302,68 +1164,49 @@ module Stripe
1302
1164
  #
1303
1165
  # 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.
1304
1166
  attr_accessor :attach_to_self
1305
-
1306
1167
  # When you enable this parameter, this SetupIntent accepts payment methods that you enable in the Dashboard and that are compatible with its other parameters.
1307
1168
  attr_accessor :automatic_payment_methods
1308
-
1309
1169
  # 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.
1310
1170
  attr_accessor :confirm
1311
-
1312
1171
  # ID of the ConfirmationToken used to confirm this SetupIntent.
1313
1172
  #
1314
1173
  # 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.
1315
1174
  attr_accessor :confirmation_token
1316
-
1317
1175
  # ID of the Customer this SetupIntent belongs to, if one exists.
1318
1176
  #
1319
1177
  # 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.
1320
1178
  attr_accessor :customer
1321
-
1322
1179
  # An arbitrary string attached to the object. Often useful for displaying to users.
1323
1180
  attr_accessor :description
1324
-
1325
1181
  # Specifies which fields in the response should be expanded.
1326
1182
  attr_accessor :expand
1327
-
1328
1183
  # Indicates the directions of money movement for which this payment method is intended to be used.
1329
1184
  #
1330
1185
  # 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.
1331
1186
  attr_accessor :flow_directions
1332
-
1333
1187
  # 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).
1334
1188
  attr_accessor :mandate_data
1335
-
1336
1189
  # 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`.
1337
1190
  attr_accessor :metadata
1338
-
1339
1191
  # The Stripe account ID created for this SetupIntent.
1340
1192
  attr_accessor :on_behalf_of
1341
-
1342
1193
  # ID of the payment method (a PaymentMethod, Card, or saved Source object) to attach to this SetupIntent.
1343
1194
  attr_accessor :payment_method
1344
-
1345
1195
  # The ID of the [payment method configuration](https://stripe.com/docs/api/payment_method_configurations) to use with this SetupIntent.
1346
1196
  attr_accessor :payment_method_configuration
1347
-
1348
1197
  # 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)
1349
1198
  # value in the SetupIntent.
1350
1199
  attr_accessor :payment_method_data
1351
-
1352
1200
  # Payment method-specific configuration for this SetupIntent.
1353
1201
  attr_accessor :payment_method_options
1354
-
1355
1202
  # 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).
1356
1203
  attr_accessor :payment_method_types
1357
-
1358
1204
  # 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).
1359
1205
  attr_accessor :return_url
1360
-
1361
1206
  # If you populate this hash, this SetupIntent generates a `single_use` mandate after successful completion.
1362
1207
  attr_accessor :single_use
1363
-
1364
1208
  # Indicates how the payment method is intended to be used in the future. If not provided, this value defaults to `off_session`.
1365
1209
  attr_accessor :usage
1366
-
1367
1210
  # Set to `true` when confirming server-side and using Stripe.js, iOS, or Android client-side SDKs to handle the next actions.
1368
1211
  attr_accessor :use_stripe_sdk
1369
1212
 
@@ -1415,7 +1258,6 @@ module Stripe
1415
1258
  class RetrieveParams < Stripe::RequestParams
1416
1259
  # The client secret of the SetupIntent. We require this string if you use a publishable key to retrieve the SetupIntent.
1417
1260
  attr_accessor :client_secret
1418
-
1419
1261
  # Specifies which fields in the response should be expanded.
1420
1262
  attr_accessor :expand
1421
1263
 
@@ -1430,10 +1272,8 @@ module Stripe
1430
1272
  class AcssDebit < Stripe::RequestParams
1431
1273
  # Customer's bank account number.
1432
1274
  attr_accessor :account_number
1433
-
1434
1275
  # Institution number of the customer's bank.
1435
1276
  attr_accessor :institution_number
1436
-
1437
1277
  # Transit number of the customer's bank.
1438
1278
  attr_accessor :transit_number
1439
1279
 
@@ -1462,7 +1302,6 @@ module Stripe
1462
1302
  class AuBecsDebit < Stripe::RequestParams
1463
1303
  # The account number for the bank account.
1464
1304
  attr_accessor :account_number
1465
-
1466
1305
  # Bank-State-Branch number of the bank account.
1467
1306
  attr_accessor :bsb_number
1468
1307
 
@@ -1475,7 +1314,6 @@ module Stripe
1475
1314
  class BacsDebit < Stripe::RequestParams
1476
1315
  # Account number of the bank account that the funds will be debited from.
1477
1316
  attr_accessor :account_number
1478
-
1479
1317
  # Sort code of the bank account. (e.g., `10-20-30`)
1480
1318
  attr_accessor :sort_code
1481
1319
 
@@ -1492,19 +1330,14 @@ module Stripe
1492
1330
  class Address < Stripe::RequestParams
1493
1331
  # City, district, suburb, town, or village.
1494
1332
  attr_accessor :city
1495
-
1496
1333
  # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
1497
1334
  attr_accessor :country
1498
-
1499
1335
  # Address line 1 (e.g., street, PO Box, or company name).
1500
1336
  attr_accessor :line1
1501
-
1502
1337
  # Address line 2 (e.g., apartment, suite, unit, or building).
1503
1338
  attr_accessor :line2
1504
-
1505
1339
  # ZIP or postal code.
1506
1340
  attr_accessor :postal_code
1507
-
1508
1341
  # State, county, province, or region.
1509
1342
  attr_accessor :state
1510
1343
 
@@ -1526,13 +1359,10 @@ module Stripe
1526
1359
  end
1527
1360
  # Billing address.
1528
1361
  attr_accessor :address
1529
-
1530
1362
  # Email address.
1531
1363
  attr_accessor :email
1532
-
1533
1364
  # Full name.
1534
1365
  attr_accessor :name
1535
-
1536
1366
  # Billing phone number (including extension).
1537
1367
  attr_accessor :phone
1538
1368
 
@@ -1574,7 +1404,6 @@ module Stripe
1574
1404
  class Fpx < Stripe::RequestParams
1575
1405
  # Account holder type for FPX transaction
1576
1406
  attr_accessor :account_holder_type
1577
-
1578
1407
  # The customer's bank.
1579
1408
  attr_accessor :bank
1580
1409
 
@@ -1621,10 +1450,8 @@ module Stripe
1621
1450
  class Dob < Stripe::RequestParams
1622
1451
  # The day of birth, between 1 and 31.
1623
1452
  attr_accessor :day
1624
-
1625
1453
  # The month of birth, between 1 and 12.
1626
1454
  attr_accessor :month
1627
-
1628
1455
  # The four-digit year of birth.
1629
1456
  attr_accessor :year
1630
1457
 
@@ -1681,6 +1508,9 @@ module Stripe
1681
1508
  end
1682
1509
  end
1683
1510
 
1511
+ class PayByBank < Stripe::RequestParams
1512
+ end
1513
+
1684
1514
  class Payco < Stripe::RequestParams
1685
1515
  end
1686
1516
 
@@ -1693,10 +1523,8 @@ module Stripe
1693
1523
  class Payto < Stripe::RequestParams
1694
1524
  # The account number for the bank account.
1695
1525
  attr_accessor :account_number
1696
-
1697
1526
  # Bank-State-Branch number of the bank account.
1698
1527
  attr_accessor :bsb_number
1699
-
1700
1528
  # The PayID alias for the bank account.
1701
1529
  attr_accessor :pay_id
1702
1530
 
@@ -1729,10 +1557,8 @@ module Stripe
1729
1557
  class Dob < Stripe::RequestParams
1730
1558
  # The day of birth, between 1 and 31.
1731
1559
  attr_accessor :day
1732
-
1733
1560
  # The month of birth, between 1 and 12.
1734
1561
  attr_accessor :month
1735
-
1736
1562
  # The four-digit year of birth.
1737
1563
  attr_accessor :year
1738
1564
 
@@ -1786,16 +1612,12 @@ module Stripe
1786
1612
  class UsBankAccount < Stripe::RequestParams
1787
1613
  # Account holder type: individual or company.
1788
1614
  attr_accessor :account_holder_type
1789
-
1790
1615
  # Account number of the bank account.
1791
1616
  attr_accessor :account_number
1792
-
1793
1617
  # Account type: checkings or savings. Defaults to checking if omitted.
1794
1618
  attr_accessor :account_type
1795
-
1796
1619
  # The ID of a Financial Connections Account to use as a payment method.
1797
1620
  attr_accessor :financial_connections_account
1798
-
1799
1621
  # Routing number of the bank account.
1800
1622
  attr_accessor :routing_number
1801
1623
 
@@ -1821,166 +1643,114 @@ module Stripe
1821
1643
  end
1822
1644
  # If this is an `acss_debit` PaymentMethod, this hash contains details about the ACSS Debit payment method.
1823
1645
  attr_accessor :acss_debit
1824
-
1825
1646
  # If this is an `affirm` PaymentMethod, this hash contains details about the Affirm payment method.
1826
1647
  attr_accessor :affirm
1827
-
1828
1648
  # If this is an `AfterpayClearpay` PaymentMethod, this hash contains details about the AfterpayClearpay payment method.
1829
1649
  attr_accessor :afterpay_clearpay
1830
-
1831
1650
  # If this is an `Alipay` PaymentMethod, this hash contains details about the Alipay payment method.
1832
1651
  attr_accessor :alipay
1833
-
1834
1652
  # 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`.
1835
1653
  attr_accessor :allow_redisplay
1836
-
1837
1654
  # If this is a Alma PaymentMethod, this hash contains details about the Alma payment method.
1838
1655
  attr_accessor :alma
1839
-
1840
1656
  # If this is a AmazonPay PaymentMethod, this hash contains details about the AmazonPay payment method.
1841
1657
  attr_accessor :amazon_pay
1842
-
1843
1658
  # If this is an `au_becs_debit` PaymentMethod, this hash contains details about the bank account.
1844
1659
  attr_accessor :au_becs_debit
1845
-
1846
1660
  # If this is a `bacs_debit` PaymentMethod, this hash contains details about the Bacs Direct Debit bank account.
1847
1661
  attr_accessor :bacs_debit
1848
-
1849
1662
  # If this is a `bancontact` PaymentMethod, this hash contains details about the Bancontact payment method.
1850
1663
  attr_accessor :bancontact
1851
-
1852
1664
  # Billing information associated with the PaymentMethod that may be used or required by particular types of payment methods.
1853
1665
  attr_accessor :billing_details
1854
-
1855
1666
  # If this is a `blik` PaymentMethod, this hash contains details about the BLIK payment method.
1856
1667
  attr_accessor :blik
1857
-
1858
1668
  # If this is a `boleto` PaymentMethod, this hash contains details about the Boleto payment method.
1859
1669
  attr_accessor :boleto
1860
-
1861
1670
  # If this is a `cashapp` PaymentMethod, this hash contains details about the Cash App Pay payment method.
1862
1671
  attr_accessor :cashapp
1863
-
1864
1672
  # If this is a `customer_balance` PaymentMethod, this hash contains details about the CustomerBalance payment method.
1865
1673
  attr_accessor :customer_balance
1866
-
1867
1674
  # If this is an `eps` PaymentMethod, this hash contains details about the EPS payment method.
1868
1675
  attr_accessor :eps
1869
-
1870
1676
  # If this is an `fpx` PaymentMethod, this hash contains details about the FPX payment method.
1871
1677
  attr_accessor :fpx
1872
-
1873
1678
  # If this is a `giropay` PaymentMethod, this hash contains details about the Giropay payment method.
1874
1679
  attr_accessor :giropay
1875
-
1876
1680
  # If this is a Gopay PaymentMethod, this hash contains details about the Gopay payment method.
1877
1681
  attr_accessor :gopay
1878
-
1879
1682
  # If this is a `grabpay` PaymentMethod, this hash contains details about the GrabPay payment method.
1880
1683
  attr_accessor :grabpay
1881
-
1882
1684
  # If this is an `IdBankTransfer` PaymentMethod, this hash contains details about the IdBankTransfer payment method.
1883
1685
  attr_accessor :id_bank_transfer
1884
-
1885
1686
  # If this is an `ideal` PaymentMethod, this hash contains details about the iDEAL payment method.
1886
1687
  attr_accessor :ideal
1887
-
1888
1688
  # If this is an `interac_present` PaymentMethod, this hash contains details about the Interac Present payment method.
1889
1689
  attr_accessor :interac_present
1890
-
1891
1690
  # If this is a `kakao_pay` PaymentMethod, this hash contains details about the Kakao Pay payment method.
1892
1691
  attr_accessor :kakao_pay
1893
-
1894
1692
  # If this is a `klarna` PaymentMethod, this hash contains details about the Klarna payment method.
1895
1693
  attr_accessor :klarna
1896
-
1897
1694
  # If this is a `konbini` PaymentMethod, this hash contains details about the Konbini payment method.
1898
1695
  attr_accessor :konbini
1899
-
1900
1696
  # If this is a `kr_card` PaymentMethod, this hash contains details about the Korean Card payment method.
1901
1697
  attr_accessor :kr_card
1902
-
1903
1698
  # If this is an `Link` PaymentMethod, this hash contains details about the Link payment method.
1904
1699
  attr_accessor :link
1905
-
1906
1700
  # If this is a MB WAY PaymentMethod, this hash contains details about the MB WAY payment method.
1907
1701
  attr_accessor :mb_way
1908
-
1909
1702
  # 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`.
1910
1703
  attr_accessor :metadata
1911
-
1912
1704
  # If this is a `mobilepay` PaymentMethod, this hash contains details about the MobilePay payment method.
1913
1705
  attr_accessor :mobilepay
1914
-
1915
1706
  # If this is a `multibanco` PaymentMethod, this hash contains details about the Multibanco payment method.
1916
1707
  attr_accessor :multibanco
1917
-
1918
1708
  # If this is a `naver_pay` PaymentMethod, this hash contains details about the Naver Pay payment method.
1919
1709
  attr_accessor :naver_pay
1920
-
1921
1710
  # If this is an `oxxo` PaymentMethod, this hash contains details about the OXXO payment method.
1922
1711
  attr_accessor :oxxo
1923
-
1924
1712
  # If this is a `p24` PaymentMethod, this hash contains details about the P24 payment method.
1925
1713
  attr_accessor :p24
1926
-
1714
+ # If this is a `pay_by_bank` PaymentMethod, this hash contains details about the PayByBank payment method.
1715
+ attr_accessor :pay_by_bank
1927
1716
  # If this is a `payco` PaymentMethod, this hash contains details about the PAYCO payment method.
1928
1717
  attr_accessor :payco
1929
-
1930
1718
  # If this is a `paynow` PaymentMethod, this hash contains details about the PayNow payment method.
1931
1719
  attr_accessor :paynow
1932
-
1933
1720
  # If this is a `paypal` PaymentMethod, this hash contains details about the PayPal payment method.
1934
1721
  attr_accessor :paypal
1935
-
1936
1722
  # If this is a `payto` PaymentMethod, this hash contains details about the PayTo payment method.
1937
1723
  attr_accessor :payto
1938
-
1939
1724
  # If this is a `pix` PaymentMethod, this hash contains details about the Pix payment method.
1940
1725
  attr_accessor :pix
1941
-
1942
1726
  # If this is a `promptpay` PaymentMethod, this hash contains details about the PromptPay payment method.
1943
1727
  attr_accessor :promptpay
1944
-
1945
1728
  # If this is a `qris` PaymentMethod, this hash contains details about the QRIS payment method.
1946
1729
  attr_accessor :qris
1947
-
1948
1730
  # Options to configure Radar. See [Radar Session](https://stripe.com/docs/radar/radar-session) for more information.
1949
1731
  attr_accessor :radar_options
1950
-
1951
1732
  # If this is a `rechnung` PaymentMethod, this hash contains details about the Rechnung payment method.
1952
1733
  attr_accessor :rechnung
1953
-
1954
1734
  # If this is a `Revolut Pay` PaymentMethod, this hash contains details about the Revolut Pay payment method.
1955
1735
  attr_accessor :revolut_pay
1956
-
1957
1736
  # If this is a `samsung_pay` PaymentMethod, this hash contains details about the SamsungPay payment method.
1958
1737
  attr_accessor :samsung_pay
1959
-
1960
1738
  # If this is a `sepa_debit` PaymentMethod, this hash contains details about the SEPA debit bank account.
1961
1739
  attr_accessor :sepa_debit
1962
-
1963
1740
  # If this is a Shopeepay PaymentMethod, this hash contains details about the Shopeepay payment method.
1964
1741
  attr_accessor :shopeepay
1965
-
1966
1742
  # If this is a `sofort` PaymentMethod, this hash contains details about the SOFORT payment method.
1967
1743
  attr_accessor :sofort
1968
-
1969
1744
  # If this is a `swish` PaymentMethod, this hash contains details about the Swish payment method.
1970
1745
  attr_accessor :swish
1971
-
1972
1746
  # If this is a TWINT PaymentMethod, this hash contains details about the TWINT payment method.
1973
1747
  attr_accessor :twint
1974
-
1975
1748
  # 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.
1976
1749
  attr_accessor :type
1977
-
1978
1750
  # If this is an `us_bank_account` PaymentMethod, this hash contains details about the US bank account payment method.
1979
1751
  attr_accessor :us_bank_account
1980
-
1981
1752
  # If this is an `wechat_pay` PaymentMethod, this hash contains details about the wechat_pay payment method.
1982
1753
  attr_accessor :wechat_pay
1983
-
1984
1754
  # If this is a `zip` PaymentMethod, this hash contains details about the Zip payment method.
1985
1755
  attr_accessor :zip
1986
1756
 
@@ -2020,6 +1790,7 @@ module Stripe
2020
1790
  naver_pay: nil,
2021
1791
  oxxo: nil,
2022
1792
  p24: nil,
1793
+ pay_by_bank: nil,
2023
1794
  payco: nil,
2024
1795
  paynow: nil,
2025
1796
  paypal: nil,
@@ -2076,6 +1847,7 @@ module Stripe
2076
1847
  @naver_pay = naver_pay
2077
1848
  @oxxo = oxxo
2078
1849
  @p24 = p24
1850
+ @pay_by_bank = pay_by_bank
2079
1851
  @payco = payco
2080
1852
  @paynow = paynow
2081
1853
  @paypal = paypal
@@ -2106,16 +1878,12 @@ module Stripe
2106
1878
  # The URL will be rendered with additional GET parameters `payment_intent` and `payment_intent_client_secret` when confirming a Payment Intent,
2107
1879
  # or `setup_intent` and `setup_intent_client_secret` when confirming a Setup Intent.
2108
1880
  attr_accessor :custom_mandate_url
2109
-
2110
1881
  # List of Stripe products where this mandate can be selected automatically.
2111
1882
  attr_accessor :default_for
2112
-
2113
1883
  # Description of the mandate interval. Only required if 'payment_schedule' parameter is 'interval' or 'combined'.
2114
1884
  attr_accessor :interval_description
2115
-
2116
1885
  # Payment schedule for the mandate.
2117
1886
  attr_accessor :payment_schedule
2118
-
2119
1887
  # Transaction type of the mandate.
2120
1888
  attr_accessor :transaction_type
2121
1889
 
@@ -2135,10 +1903,8 @@ module Stripe
2135
1903
  end
2136
1904
  # 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).
2137
1905
  attr_accessor :currency
2138
-
2139
1906
  # Additional fields for Mandate creation
2140
1907
  attr_accessor :mandate_options
2141
-
2142
1908
  # Bank account verification method.
2143
1909
  attr_accessor :verification_method
2144
1910
 
@@ -2173,31 +1939,22 @@ module Stripe
2173
1939
  class MandateOptions < Stripe::RequestParams
2174
1940
  # Amount to be charged for future payments.
2175
1941
  attr_accessor :amount
2176
-
2177
1942
  # 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.
2178
1943
  attr_accessor :amount_type
2179
-
2180
1944
  # 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).
2181
1945
  attr_accessor :currency
2182
-
2183
1946
  # A description of the mandate or subscription that is meant to be displayed to the customer.
2184
1947
  attr_accessor :description
2185
-
2186
1948
  # 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.
2187
1949
  attr_accessor :end_date
2188
-
2189
1950
  # Specifies payment frequency. One of `day`, `week`, `month`, `year`, or `sporadic`.
2190
1951
  attr_accessor :interval
2191
-
2192
1952
  # 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`.
2193
1953
  attr_accessor :interval_count
2194
-
2195
1954
  # Unique identifier for the mandate or subscription.
2196
1955
  attr_accessor :reference
2197
-
2198
1956
  # Start date of the mandate or subscription. Start date should not be lesser than yesterday.
2199
1957
  attr_accessor :start_date
2200
-
2201
1958
  # Specifies the type of mandates supported. Possible values are `india`.
2202
1959
  attr_accessor :supported_types
2203
1960
 
@@ -2233,13 +1990,11 @@ module Stripe
2233
1990
  # to calculate the Authentication cryptogram. Also known as `cavvAlgorithm`.
2234
1991
  # messageExtension: CB-AVALGO
2235
1992
  attr_accessor :cb_avalgo
2236
-
2237
1993
  # The exemption indicator returned from Cartes Bancaires in the ARes.
2238
1994
  # message extension: CB-EXEMPTION; string (4 characters)
2239
1995
  # This is a 3 byte bitmap (low significant byte first and most significant
2240
1996
  # bit first) that has been Base64 encoded
2241
1997
  attr_accessor :cb_exemption
2242
-
2243
1998
  # The risk score returned from Cartes Bancaires in the ARes.
2244
1999
  # message extension: CB-SCORE; numeric value 0-99
2245
2000
  attr_accessor :cb_score
@@ -2259,30 +2014,24 @@ module Stripe
2259
2014
  end
2260
2015
  # The `transStatus` returned from the card Issuer’s ACS in the ARes.
2261
2016
  attr_accessor :ares_trans_status
2262
-
2263
2017
  # The cryptogram, also known as the "authentication value" (AAV, CAVV or
2264
2018
  # AEVV). This value is 20 bytes, base64-encoded into a 28-character string.
2265
2019
  # (Most 3D Secure providers will return the base64-encoded version, which
2266
2020
  # is what you should specify here.)
2267
2021
  attr_accessor :cryptogram
2268
-
2269
2022
  # The Electronic Commerce Indicator (ECI) is returned by your 3D Secure
2270
2023
  # provider and indicates what degree of authentication was performed.
2271
2024
  attr_accessor :electronic_commerce_indicator
2272
-
2273
2025
  # Network specific 3DS fields. Network specific arguments require an
2274
2026
  # explicit card brand choice. The parameter `payment_method_options.card.network``
2275
2027
  # must be populated accordingly
2276
2028
  attr_accessor :network_options
2277
-
2278
2029
  # The challenge indicator (`threeDSRequestorChallengeInd`) which was requested in the
2279
2030
  # AReq sent to the card Issuer's ACS. A string containing 2 digits from 01-99.
2280
2031
  attr_accessor :requestor_challenge_indicator
2281
-
2282
2032
  # For 3D Secure 1, the XID. For 3D Secure 2, the Directory Server
2283
2033
  # Transaction ID (dsTransID).
2284
2034
  attr_accessor :transaction_id
2285
-
2286
2035
  # The version of 3D Secure that was performed.
2287
2036
  attr_accessor :version
2288
2037
 
@@ -2306,18 +2055,14 @@ module Stripe
2306
2055
  end
2307
2056
  # Configuration options for setting up an eMandate for cards issued in India.
2308
2057
  attr_accessor :mandate_options
2309
-
2310
2058
  # When specified, this parameter signals that a card has been collected
2311
2059
  # as MOTO (Mail Order Telephone Order) and thus out of scope for SCA. This
2312
2060
  # parameter can only be provided during confirmation.
2313
2061
  attr_accessor :moto
2314
-
2315
2062
  # 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.
2316
2063
  attr_accessor :network
2317
-
2318
2064
  # 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.
2319
2065
  attr_accessor :request_three_d_secure
2320
-
2321
2066
  # If 3D Secure authentication was performed with a third-party provider,
2322
2067
  # the authentication details to use for this setup.
2323
2068
  attr_accessor :three_d_secure
@@ -2352,10 +2097,8 @@ module Stripe
2352
2097
  class Paypal < Stripe::RequestParams
2353
2098
  # The PayPal Billing Agreement ID (BAID). This is an ID generated by PayPal which represents the mandate between the merchant and the customer.
2354
2099
  attr_accessor :billing_agreement_id
2355
-
2356
2100
  # Attribute for param field currency
2357
2101
  attr_accessor :currency
2358
-
2359
2102
  # 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.
2360
2103
  attr_accessor :subsellers
2361
2104
 
@@ -2370,22 +2113,16 @@ module Stripe
2370
2113
  class MandateOptions < Stripe::RequestParams
2371
2114
  # Amount that will be collected. It is required when `amount_type` is `fixed`.
2372
2115
  attr_accessor :amount
2373
-
2374
2116
  # 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.
2375
2117
  attr_accessor :amount_type
2376
-
2377
2118
  # Date, in YYYY-MM-DD format, after which payments will not be collected. Defaults to no end date.
2378
2119
  attr_accessor :end_date
2379
-
2380
2120
  # The periodicity at which payments will be collected.
2381
2121
  attr_accessor :payment_schedule
2382
-
2383
2122
  # 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.
2384
2123
  attr_accessor :payments_per_period
2385
-
2386
2124
  # The purpose for which payments are made. Defaults to retail.
2387
2125
  attr_accessor :purpose
2388
-
2389
2126
  # Date, in YYYY-MM-DD format, from which payments will be collected. Defaults to confirmation time.
2390
2127
  attr_accessor :start_date
2391
2128
 
@@ -2437,7 +2174,6 @@ module Stripe
2437
2174
  class Filters < Stripe::RequestParams
2438
2175
  # The account subcategories to use to filter for selectable accounts. Valid subcategories are `checking` and `savings`.
2439
2176
  attr_accessor :account_subcategories
2440
-
2441
2177
  # ID of the institution to use to filter for selectable accounts.
2442
2178
  attr_accessor :institution
2443
2179
 
@@ -2457,16 +2193,12 @@ module Stripe
2457
2193
  end
2458
2194
  # Provide filters for the linked accounts that the customer can select for the payment method
2459
2195
  attr_accessor :filters
2460
-
2461
2196
  # Customize manual entry behavior
2462
2197
  attr_accessor :manual_entry
2463
-
2464
2198
  # 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`.
2465
2199
  attr_accessor :permissions
2466
-
2467
2200
  # List of data features that you would like to retrieve upon account creation.
2468
2201
  attr_accessor :prefetch
2469
-
2470
2202
  # 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.
2471
2203
  attr_accessor :return_url
2472
2204
 
@@ -2504,13 +2236,10 @@ module Stripe
2504
2236
  end
2505
2237
  # Additional fields for Financial Connections Session creation
2506
2238
  attr_accessor :financial_connections
2507
-
2508
2239
  # Additional fields for Mandate creation
2509
2240
  attr_accessor :mandate_options
2510
-
2511
2241
  # Additional fields for network related functions
2512
2242
  attr_accessor :networks
2513
-
2514
2243
  # Bank account verification method.
2515
2244
  attr_accessor :verification_method
2516
2245
 
@@ -2528,31 +2257,22 @@ module Stripe
2528
2257
  end
2529
2258
  # If this is a `acss_debit` SetupIntent, this sub-hash contains details about the ACSS Debit payment method options.
2530
2259
  attr_accessor :acss_debit
2531
-
2532
2260
  # If this is a `amazon_pay` SetupIntent, this sub-hash contains details about the AmazonPay payment method options.
2533
2261
  attr_accessor :amazon_pay
2534
-
2535
2262
  # If this is a `bacs_debit` SetupIntent, this sub-hash contains details about the Bacs Debit payment method options.
2536
2263
  attr_accessor :bacs_debit
2537
-
2538
2264
  # Configuration for any card setup attempted on this SetupIntent.
2539
2265
  attr_accessor :card
2540
-
2541
2266
  # If this is a `card_present` PaymentMethod, this sub-hash contains details about the card-present payment method options.
2542
2267
  attr_accessor :card_present
2543
-
2544
2268
  # If this is a `link` PaymentMethod, this sub-hash contains details about the Link payment method options.
2545
2269
  attr_accessor :link
2546
-
2547
2270
  # If this is a `paypal` PaymentMethod, this sub-hash contains details about the PayPal payment method options.
2548
2271
  attr_accessor :paypal
2549
-
2550
2272
  # If this is a `payto` SetupIntent, this sub-hash contains details about the PayTo payment method options.
2551
2273
  attr_accessor :payto
2552
-
2553
2274
  # If this is a `sepa_debit` SetupIntent, this sub-hash contains details about the SEPA Debit payment method options.
2554
2275
  attr_accessor :sepa_debit
2555
-
2556
2276
  # If this is a `us_bank_account` SetupIntent, this sub-hash contains details about the US bank account payment method options.
2557
2277
  attr_accessor :us_bank_account
2558
2278
 
@@ -2584,39 +2304,29 @@ module Stripe
2584
2304
  #
2585
2305
  # 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.
2586
2306
  attr_accessor :attach_to_self
2587
-
2588
2307
  # ID of the Customer this SetupIntent belongs to, if one exists.
2589
2308
  #
2590
2309
  # 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.
2591
2310
  attr_accessor :customer
2592
-
2593
2311
  # An arbitrary string attached to the object. Often useful for displaying to users.
2594
2312
  attr_accessor :description
2595
-
2596
2313
  # Specifies which fields in the response should be expanded.
2597
2314
  attr_accessor :expand
2598
-
2599
2315
  # Indicates the directions of money movement for which this payment method is intended to be used.
2600
2316
  #
2601
2317
  # 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.
2602
2318
  attr_accessor :flow_directions
2603
-
2604
2319
  # 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`.
2605
2320
  attr_accessor :metadata
2606
-
2607
2321
  # 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.
2608
2322
  attr_accessor :payment_method
2609
-
2610
2323
  # The ID of the [payment method configuration](https://stripe.com/docs/api/payment_method_configurations) to use with this SetupIntent.
2611
2324
  attr_accessor :payment_method_configuration
2612
-
2613
2325
  # 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)
2614
2326
  # value in the SetupIntent.
2615
2327
  attr_accessor :payment_method_data
2616
-
2617
2328
  # Payment method-specific configuration for this SetupIntent.
2618
2329
  attr_accessor :payment_method_options
2619
-
2620
2330
  # 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).
2621
2331
  attr_accessor :payment_method_types
2622
2332
 
@@ -2650,7 +2360,6 @@ module Stripe
2650
2360
  class CancelParams < Stripe::RequestParams
2651
2361
  # Reason for canceling this SetupIntent. Possible values are: `abandoned`, `requested_by_customer`, or `duplicate`
2652
2362
  attr_accessor :cancellation_reason
2653
-
2654
2363
  # Specifies which fields in the response should be expanded.
2655
2364
  attr_accessor :expand
2656
2365
 
@@ -2669,7 +2378,6 @@ module Stripe
2669
2378
  class Online < Stripe::RequestParams
2670
2379
  # The IP address from which the Mandate was accepted by the customer.
2671
2380
  attr_accessor :ip_address
2672
-
2673
2381
  # The user agent of the browser from which the Mandate was accepted by the customer.
2674
2382
  attr_accessor :user_agent
2675
2383
 
@@ -2680,13 +2388,10 @@ module Stripe
2680
2388
  end
2681
2389
  # The time at which the customer accepted the Mandate.
2682
2390
  attr_accessor :accepted_at
2683
-
2684
2391
  # If this is a Mandate accepted offline, this hash contains details about the offline acceptance.
2685
2392
  attr_accessor :offline
2686
-
2687
2393
  # If this is a Mandate accepted online, this hash contains details about the online acceptance.
2688
2394
  attr_accessor :online
2689
-
2690
2395
  # The type of customer acceptance information included with the Mandate. One of `online` or `offline`.
2691
2396
  attr_accessor :type
2692
2397
 
@@ -2709,10 +2414,8 @@ module Stripe
2709
2414
  class AcssDebit < Stripe::RequestParams
2710
2415
  # Customer's bank account number.
2711
2416
  attr_accessor :account_number
2712
-
2713
2417
  # Institution number of the customer's bank.
2714
2418
  attr_accessor :institution_number
2715
-
2716
2419
  # Transit number of the customer's bank.
2717
2420
  attr_accessor :transit_number
2718
2421
 
@@ -2741,7 +2444,6 @@ module Stripe
2741
2444
  class AuBecsDebit < Stripe::RequestParams
2742
2445
  # The account number for the bank account.
2743
2446
  attr_accessor :account_number
2744
-
2745
2447
  # Bank-State-Branch number of the bank account.
2746
2448
  attr_accessor :bsb_number
2747
2449
 
@@ -2754,7 +2456,6 @@ module Stripe
2754
2456
  class BacsDebit < Stripe::RequestParams
2755
2457
  # Account number of the bank account that the funds will be debited from.
2756
2458
  attr_accessor :account_number
2757
-
2758
2459
  # Sort code of the bank account. (e.g., `10-20-30`)
2759
2460
  attr_accessor :sort_code
2760
2461
 
@@ -2771,19 +2472,14 @@ module Stripe
2771
2472
  class Address < Stripe::RequestParams
2772
2473
  # City, district, suburb, town, or village.
2773
2474
  attr_accessor :city
2774
-
2775
2475
  # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
2776
2476
  attr_accessor :country
2777
-
2778
2477
  # Address line 1 (e.g., street, PO Box, or company name).
2779
2478
  attr_accessor :line1
2780
-
2781
2479
  # Address line 2 (e.g., apartment, suite, unit, or building).
2782
2480
  attr_accessor :line2
2783
-
2784
2481
  # ZIP or postal code.
2785
2482
  attr_accessor :postal_code
2786
-
2787
2483
  # State, county, province, or region.
2788
2484
  attr_accessor :state
2789
2485
 
@@ -2805,13 +2501,10 @@ module Stripe
2805
2501
  end
2806
2502
  # Billing address.
2807
2503
  attr_accessor :address
2808
-
2809
2504
  # Email address.
2810
2505
  attr_accessor :email
2811
-
2812
2506
  # Full name.
2813
2507
  attr_accessor :name
2814
-
2815
2508
  # Billing phone number (including extension).
2816
2509
  attr_accessor :phone
2817
2510
 
@@ -2853,7 +2546,6 @@ module Stripe
2853
2546
  class Fpx < Stripe::RequestParams
2854
2547
  # Account holder type for FPX transaction
2855
2548
  attr_accessor :account_holder_type
2856
-
2857
2549
  # The customer's bank.
2858
2550
  attr_accessor :bank
2859
2551
 
@@ -2900,10 +2592,8 @@ module Stripe
2900
2592
  class Dob < Stripe::RequestParams
2901
2593
  # The day of birth, between 1 and 31.
2902
2594
  attr_accessor :day
2903
-
2904
2595
  # The month of birth, between 1 and 12.
2905
2596
  attr_accessor :month
2906
-
2907
2597
  # The four-digit year of birth.
2908
2598
  attr_accessor :year
2909
2599
 
@@ -2960,6 +2650,9 @@ module Stripe
2960
2650
  end
2961
2651
  end
2962
2652
 
2653
+ class PayByBank < Stripe::RequestParams
2654
+ end
2655
+
2963
2656
  class Payco < Stripe::RequestParams
2964
2657
  end
2965
2658
 
@@ -2972,10 +2665,8 @@ module Stripe
2972
2665
  class Payto < Stripe::RequestParams
2973
2666
  # The account number for the bank account.
2974
2667
  attr_accessor :account_number
2975
-
2976
2668
  # Bank-State-Branch number of the bank account.
2977
2669
  attr_accessor :bsb_number
2978
-
2979
2670
  # The PayID alias for the bank account.
2980
2671
  attr_accessor :pay_id
2981
2672
 
@@ -3008,10 +2699,8 @@ module Stripe
3008
2699
  class Dob < Stripe::RequestParams
3009
2700
  # The day of birth, between 1 and 31.
3010
2701
  attr_accessor :day
3011
-
3012
2702
  # The month of birth, between 1 and 12.
3013
2703
  attr_accessor :month
3014
-
3015
2704
  # The four-digit year of birth.
3016
2705
  attr_accessor :year
3017
2706
 
@@ -3065,16 +2754,12 @@ module Stripe
3065
2754
  class UsBankAccount < Stripe::RequestParams
3066
2755
  # Account holder type: individual or company.
3067
2756
  attr_accessor :account_holder_type
3068
-
3069
2757
  # Account number of the bank account.
3070
2758
  attr_accessor :account_number
3071
-
3072
2759
  # Account type: checkings or savings. Defaults to checking if omitted.
3073
2760
  attr_accessor :account_type
3074
-
3075
2761
  # The ID of a Financial Connections Account to use as a payment method.
3076
2762
  attr_accessor :financial_connections_account
3077
-
3078
2763
  # Routing number of the bank account.
3079
2764
  attr_accessor :routing_number
3080
2765
 
@@ -3100,166 +2785,114 @@ module Stripe
3100
2785
  end
3101
2786
  # If this is an `acss_debit` PaymentMethod, this hash contains details about the ACSS Debit payment method.
3102
2787
  attr_accessor :acss_debit
3103
-
3104
2788
  # If this is an `affirm` PaymentMethod, this hash contains details about the Affirm payment method.
3105
2789
  attr_accessor :affirm
3106
-
3107
2790
  # If this is an `AfterpayClearpay` PaymentMethod, this hash contains details about the AfterpayClearpay payment method.
3108
2791
  attr_accessor :afterpay_clearpay
3109
-
3110
2792
  # If this is an `Alipay` PaymentMethod, this hash contains details about the Alipay payment method.
3111
2793
  attr_accessor :alipay
3112
-
3113
2794
  # 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`.
3114
2795
  attr_accessor :allow_redisplay
3115
-
3116
2796
  # If this is a Alma PaymentMethod, this hash contains details about the Alma payment method.
3117
2797
  attr_accessor :alma
3118
-
3119
2798
  # If this is a AmazonPay PaymentMethod, this hash contains details about the AmazonPay payment method.
3120
2799
  attr_accessor :amazon_pay
3121
-
3122
2800
  # If this is an `au_becs_debit` PaymentMethod, this hash contains details about the bank account.
3123
2801
  attr_accessor :au_becs_debit
3124
-
3125
2802
  # If this is a `bacs_debit` PaymentMethod, this hash contains details about the Bacs Direct Debit bank account.
3126
2803
  attr_accessor :bacs_debit
3127
-
3128
2804
  # If this is a `bancontact` PaymentMethod, this hash contains details about the Bancontact payment method.
3129
2805
  attr_accessor :bancontact
3130
-
3131
2806
  # Billing information associated with the PaymentMethod that may be used or required by particular types of payment methods.
3132
2807
  attr_accessor :billing_details
3133
-
3134
2808
  # If this is a `blik` PaymentMethod, this hash contains details about the BLIK payment method.
3135
2809
  attr_accessor :blik
3136
-
3137
2810
  # If this is a `boleto` PaymentMethod, this hash contains details about the Boleto payment method.
3138
2811
  attr_accessor :boleto
3139
-
3140
2812
  # If this is a `cashapp` PaymentMethod, this hash contains details about the Cash App Pay payment method.
3141
2813
  attr_accessor :cashapp
3142
-
3143
2814
  # If this is a `customer_balance` PaymentMethod, this hash contains details about the CustomerBalance payment method.
3144
2815
  attr_accessor :customer_balance
3145
-
3146
2816
  # If this is an `eps` PaymentMethod, this hash contains details about the EPS payment method.
3147
2817
  attr_accessor :eps
3148
-
3149
2818
  # If this is an `fpx` PaymentMethod, this hash contains details about the FPX payment method.
3150
2819
  attr_accessor :fpx
3151
-
3152
2820
  # If this is a `giropay` PaymentMethod, this hash contains details about the Giropay payment method.
3153
2821
  attr_accessor :giropay
3154
-
3155
2822
  # If this is a Gopay PaymentMethod, this hash contains details about the Gopay payment method.
3156
2823
  attr_accessor :gopay
3157
-
3158
2824
  # If this is a `grabpay` PaymentMethod, this hash contains details about the GrabPay payment method.
3159
2825
  attr_accessor :grabpay
3160
-
3161
2826
  # If this is an `IdBankTransfer` PaymentMethod, this hash contains details about the IdBankTransfer payment method.
3162
2827
  attr_accessor :id_bank_transfer
3163
-
3164
2828
  # If this is an `ideal` PaymentMethod, this hash contains details about the iDEAL payment method.
3165
2829
  attr_accessor :ideal
3166
-
3167
2830
  # If this is an `interac_present` PaymentMethod, this hash contains details about the Interac Present payment method.
3168
2831
  attr_accessor :interac_present
3169
-
3170
2832
  # If this is a `kakao_pay` PaymentMethod, this hash contains details about the Kakao Pay payment method.
3171
2833
  attr_accessor :kakao_pay
3172
-
3173
2834
  # If this is a `klarna` PaymentMethod, this hash contains details about the Klarna payment method.
3174
2835
  attr_accessor :klarna
3175
-
3176
2836
  # If this is a `konbini` PaymentMethod, this hash contains details about the Konbini payment method.
3177
2837
  attr_accessor :konbini
3178
-
3179
2838
  # If this is a `kr_card` PaymentMethod, this hash contains details about the Korean Card payment method.
3180
2839
  attr_accessor :kr_card
3181
-
3182
2840
  # If this is an `Link` PaymentMethod, this hash contains details about the Link payment method.
3183
2841
  attr_accessor :link
3184
-
3185
2842
  # If this is a MB WAY PaymentMethod, this hash contains details about the MB WAY payment method.
3186
2843
  attr_accessor :mb_way
3187
-
3188
2844
  # 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`.
3189
2845
  attr_accessor :metadata
3190
-
3191
2846
  # If this is a `mobilepay` PaymentMethod, this hash contains details about the MobilePay payment method.
3192
2847
  attr_accessor :mobilepay
3193
-
3194
2848
  # If this is a `multibanco` PaymentMethod, this hash contains details about the Multibanco payment method.
3195
2849
  attr_accessor :multibanco
3196
-
3197
2850
  # If this is a `naver_pay` PaymentMethod, this hash contains details about the Naver Pay payment method.
3198
2851
  attr_accessor :naver_pay
3199
-
3200
2852
  # If this is an `oxxo` PaymentMethod, this hash contains details about the OXXO payment method.
3201
2853
  attr_accessor :oxxo
3202
-
3203
2854
  # If this is a `p24` PaymentMethod, this hash contains details about the P24 payment method.
3204
2855
  attr_accessor :p24
3205
-
2856
+ # If this is a `pay_by_bank` PaymentMethod, this hash contains details about the PayByBank payment method.
2857
+ attr_accessor :pay_by_bank
3206
2858
  # If this is a `payco` PaymentMethod, this hash contains details about the PAYCO payment method.
3207
2859
  attr_accessor :payco
3208
-
3209
2860
  # If this is a `paynow` PaymentMethod, this hash contains details about the PayNow payment method.
3210
2861
  attr_accessor :paynow
3211
-
3212
2862
  # If this is a `paypal` PaymentMethod, this hash contains details about the PayPal payment method.
3213
2863
  attr_accessor :paypal
3214
-
3215
2864
  # If this is a `payto` PaymentMethod, this hash contains details about the PayTo payment method.
3216
2865
  attr_accessor :payto
3217
-
3218
2866
  # If this is a `pix` PaymentMethod, this hash contains details about the Pix payment method.
3219
2867
  attr_accessor :pix
3220
-
3221
2868
  # If this is a `promptpay` PaymentMethod, this hash contains details about the PromptPay payment method.
3222
2869
  attr_accessor :promptpay
3223
-
3224
2870
  # If this is a `qris` PaymentMethod, this hash contains details about the QRIS payment method.
3225
2871
  attr_accessor :qris
3226
-
3227
2872
  # Options to configure Radar. See [Radar Session](https://stripe.com/docs/radar/radar-session) for more information.
3228
2873
  attr_accessor :radar_options
3229
-
3230
2874
  # If this is a `rechnung` PaymentMethod, this hash contains details about the Rechnung payment method.
3231
2875
  attr_accessor :rechnung
3232
-
3233
2876
  # If this is a `Revolut Pay` PaymentMethod, this hash contains details about the Revolut Pay payment method.
3234
2877
  attr_accessor :revolut_pay
3235
-
3236
2878
  # If this is a `samsung_pay` PaymentMethod, this hash contains details about the SamsungPay payment method.
3237
2879
  attr_accessor :samsung_pay
3238
-
3239
2880
  # If this is a `sepa_debit` PaymentMethod, this hash contains details about the SEPA debit bank account.
3240
2881
  attr_accessor :sepa_debit
3241
-
3242
2882
  # If this is a Shopeepay PaymentMethod, this hash contains details about the Shopeepay payment method.
3243
2883
  attr_accessor :shopeepay
3244
-
3245
2884
  # If this is a `sofort` PaymentMethod, this hash contains details about the SOFORT payment method.
3246
2885
  attr_accessor :sofort
3247
-
3248
2886
  # If this is a `swish` PaymentMethod, this hash contains details about the Swish payment method.
3249
2887
  attr_accessor :swish
3250
-
3251
2888
  # If this is a TWINT PaymentMethod, this hash contains details about the TWINT payment method.
3252
2889
  attr_accessor :twint
3253
-
3254
2890
  # 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.
3255
2891
  attr_accessor :type
3256
-
3257
2892
  # If this is an `us_bank_account` PaymentMethod, this hash contains details about the US bank account payment method.
3258
2893
  attr_accessor :us_bank_account
3259
-
3260
2894
  # If this is an `wechat_pay` PaymentMethod, this hash contains details about the wechat_pay payment method.
3261
2895
  attr_accessor :wechat_pay
3262
-
3263
2896
  # If this is a `zip` PaymentMethod, this hash contains details about the Zip payment method.
3264
2897
  attr_accessor :zip
3265
2898
 
@@ -3299,6 +2932,7 @@ module Stripe
3299
2932
  naver_pay: nil,
3300
2933
  oxxo: nil,
3301
2934
  p24: nil,
2935
+ pay_by_bank: nil,
3302
2936
  payco: nil,
3303
2937
  paynow: nil,
3304
2938
  paypal: nil,
@@ -3355,6 +2989,7 @@ module Stripe
3355
2989
  @naver_pay = naver_pay
3356
2990
  @oxxo = oxxo
3357
2991
  @p24 = p24
2992
+ @pay_by_bank = pay_by_bank
3358
2993
  @payco = payco
3359
2994
  @paynow = paynow
3360
2995
  @paypal = paypal
@@ -3385,16 +3020,12 @@ module Stripe
3385
3020
  # The URL will be rendered with additional GET parameters `payment_intent` and `payment_intent_client_secret` when confirming a Payment Intent,
3386
3021
  # or `setup_intent` and `setup_intent_client_secret` when confirming a Setup Intent.
3387
3022
  attr_accessor :custom_mandate_url
3388
-
3389
3023
  # List of Stripe products where this mandate can be selected automatically.
3390
3024
  attr_accessor :default_for
3391
-
3392
3025
  # Description of the mandate interval. Only required if 'payment_schedule' parameter is 'interval' or 'combined'.
3393
3026
  attr_accessor :interval_description
3394
-
3395
3027
  # Payment schedule for the mandate.
3396
3028
  attr_accessor :payment_schedule
3397
-
3398
3029
  # Transaction type of the mandate.
3399
3030
  attr_accessor :transaction_type
3400
3031
 
@@ -3414,10 +3045,8 @@ module Stripe
3414
3045
  end
3415
3046
  # 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).
3416
3047
  attr_accessor :currency
3417
-
3418
3048
  # Additional fields for Mandate creation
3419
3049
  attr_accessor :mandate_options
3420
-
3421
3050
  # Bank account verification method.
3422
3051
  attr_accessor :verification_method
3423
3052
 
@@ -3452,31 +3081,22 @@ module Stripe
3452
3081
  class MandateOptions < Stripe::RequestParams
3453
3082
  # Amount to be charged for future payments.
3454
3083
  attr_accessor :amount
3455
-
3456
3084
  # 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.
3457
3085
  attr_accessor :amount_type
3458
-
3459
3086
  # 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).
3460
3087
  attr_accessor :currency
3461
-
3462
3088
  # A description of the mandate or subscription that is meant to be displayed to the customer.
3463
3089
  attr_accessor :description
3464
-
3465
3090
  # 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.
3466
3091
  attr_accessor :end_date
3467
-
3468
3092
  # Specifies payment frequency. One of `day`, `week`, `month`, `year`, or `sporadic`.
3469
3093
  attr_accessor :interval
3470
-
3471
3094
  # 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`.
3472
3095
  attr_accessor :interval_count
3473
-
3474
3096
  # Unique identifier for the mandate or subscription.
3475
3097
  attr_accessor :reference
3476
-
3477
3098
  # Start date of the mandate or subscription. Start date should not be lesser than yesterday.
3478
3099
  attr_accessor :start_date
3479
-
3480
3100
  # Specifies the type of mandates supported. Possible values are `india`.
3481
3101
  attr_accessor :supported_types
3482
3102
 
@@ -3512,13 +3132,11 @@ module Stripe
3512
3132
  # to calculate the Authentication cryptogram. Also known as `cavvAlgorithm`.
3513
3133
  # messageExtension: CB-AVALGO
3514
3134
  attr_accessor :cb_avalgo
3515
-
3516
3135
  # The exemption indicator returned from Cartes Bancaires in the ARes.
3517
3136
  # message extension: CB-EXEMPTION; string (4 characters)
3518
3137
  # This is a 3 byte bitmap (low significant byte first and most significant
3519
3138
  # bit first) that has been Base64 encoded
3520
3139
  attr_accessor :cb_exemption
3521
-
3522
3140
  # The risk score returned from Cartes Bancaires in the ARes.
3523
3141
  # message extension: CB-SCORE; numeric value 0-99
3524
3142
  attr_accessor :cb_score
@@ -3538,30 +3156,24 @@ module Stripe
3538
3156
  end
3539
3157
  # The `transStatus` returned from the card Issuer’s ACS in the ARes.
3540
3158
  attr_accessor :ares_trans_status
3541
-
3542
3159
  # The cryptogram, also known as the "authentication value" (AAV, CAVV or
3543
3160
  # AEVV). This value is 20 bytes, base64-encoded into a 28-character string.
3544
3161
  # (Most 3D Secure providers will return the base64-encoded version, which
3545
3162
  # is what you should specify here.)
3546
3163
  attr_accessor :cryptogram
3547
-
3548
3164
  # The Electronic Commerce Indicator (ECI) is returned by your 3D Secure
3549
3165
  # provider and indicates what degree of authentication was performed.
3550
3166
  attr_accessor :electronic_commerce_indicator
3551
-
3552
3167
  # Network specific 3DS fields. Network specific arguments require an
3553
3168
  # explicit card brand choice. The parameter `payment_method_options.card.network``
3554
3169
  # must be populated accordingly
3555
3170
  attr_accessor :network_options
3556
-
3557
3171
  # The challenge indicator (`threeDSRequestorChallengeInd`) which was requested in the
3558
3172
  # AReq sent to the card Issuer's ACS. A string containing 2 digits from 01-99.
3559
3173
  attr_accessor :requestor_challenge_indicator
3560
-
3561
3174
  # For 3D Secure 1, the XID. For 3D Secure 2, the Directory Server
3562
3175
  # Transaction ID (dsTransID).
3563
3176
  attr_accessor :transaction_id
3564
-
3565
3177
  # The version of 3D Secure that was performed.
3566
3178
  attr_accessor :version
3567
3179
 
@@ -3585,18 +3197,14 @@ module Stripe
3585
3197
  end
3586
3198
  # Configuration options for setting up an eMandate for cards issued in India.
3587
3199
  attr_accessor :mandate_options
3588
-
3589
3200
  # When specified, this parameter signals that a card has been collected
3590
3201
  # as MOTO (Mail Order Telephone Order) and thus out of scope for SCA. This
3591
3202
  # parameter can only be provided during confirmation.
3592
3203
  attr_accessor :moto
3593
-
3594
3204
  # 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.
3595
3205
  attr_accessor :network
3596
-
3597
3206
  # 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.
3598
3207
  attr_accessor :request_three_d_secure
3599
-
3600
3208
  # If 3D Secure authentication was performed with a third-party provider,
3601
3209
  # the authentication details to use for this setup.
3602
3210
  attr_accessor :three_d_secure
@@ -3631,10 +3239,8 @@ module Stripe
3631
3239
  class Paypal < Stripe::RequestParams
3632
3240
  # The PayPal Billing Agreement ID (BAID). This is an ID generated by PayPal which represents the mandate between the merchant and the customer.
3633
3241
  attr_accessor :billing_agreement_id
3634
-
3635
3242
  # Attribute for param field currency
3636
3243
  attr_accessor :currency
3637
-
3638
3244
  # 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.
3639
3245
  attr_accessor :subsellers
3640
3246
 
@@ -3649,22 +3255,16 @@ module Stripe
3649
3255
  class MandateOptions < Stripe::RequestParams
3650
3256
  # Amount that will be collected. It is required when `amount_type` is `fixed`.
3651
3257
  attr_accessor :amount
3652
-
3653
3258
  # 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.
3654
3259
  attr_accessor :amount_type
3655
-
3656
3260
  # Date, in YYYY-MM-DD format, after which payments will not be collected. Defaults to no end date.
3657
3261
  attr_accessor :end_date
3658
-
3659
3262
  # The periodicity at which payments will be collected.
3660
3263
  attr_accessor :payment_schedule
3661
-
3662
3264
  # 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.
3663
3265
  attr_accessor :payments_per_period
3664
-
3665
3266
  # The purpose for which payments are made. Defaults to retail.
3666
3267
  attr_accessor :purpose
3667
-
3668
3268
  # Date, in YYYY-MM-DD format, from which payments will be collected. Defaults to confirmation time.
3669
3269
  attr_accessor :start_date
3670
3270
 
@@ -3716,7 +3316,6 @@ module Stripe
3716
3316
  class Filters < Stripe::RequestParams
3717
3317
  # The account subcategories to use to filter for selectable accounts. Valid subcategories are `checking` and `savings`.
3718
3318
  attr_accessor :account_subcategories
3719
-
3720
3319
  # ID of the institution to use to filter for selectable accounts.
3721
3320
  attr_accessor :institution
3722
3321
 
@@ -3736,16 +3335,12 @@ module Stripe
3736
3335
  end
3737
3336
  # Provide filters for the linked accounts that the customer can select for the payment method
3738
3337
  attr_accessor :filters
3739
-
3740
3338
  # Customize manual entry behavior
3741
3339
  attr_accessor :manual_entry
3742
-
3743
3340
  # 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`.
3744
3341
  attr_accessor :permissions
3745
-
3746
3342
  # List of data features that you would like to retrieve upon account creation.
3747
3343
  attr_accessor :prefetch
3748
-
3749
3344
  # 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.
3750
3345
  attr_accessor :return_url
3751
3346
 
@@ -3783,13 +3378,10 @@ module Stripe
3783
3378
  end
3784
3379
  # Additional fields for Financial Connections Session creation
3785
3380
  attr_accessor :financial_connections
3786
-
3787
3381
  # Additional fields for Mandate creation
3788
3382
  attr_accessor :mandate_options
3789
-
3790
3383
  # Additional fields for network related functions
3791
3384
  attr_accessor :networks
3792
-
3793
3385
  # Bank account verification method.
3794
3386
  attr_accessor :verification_method
3795
3387
 
@@ -3807,31 +3399,22 @@ module Stripe
3807
3399
  end
3808
3400
  # If this is a `acss_debit` SetupIntent, this sub-hash contains details about the ACSS Debit payment method options.
3809
3401
  attr_accessor :acss_debit
3810
-
3811
3402
  # If this is a `amazon_pay` SetupIntent, this sub-hash contains details about the AmazonPay payment method options.
3812
3403
  attr_accessor :amazon_pay
3813
-
3814
3404
  # If this is a `bacs_debit` SetupIntent, this sub-hash contains details about the Bacs Debit payment method options.
3815
3405
  attr_accessor :bacs_debit
3816
-
3817
3406
  # Configuration for any card setup attempted on this SetupIntent.
3818
3407
  attr_accessor :card
3819
-
3820
3408
  # If this is a `card_present` PaymentMethod, this sub-hash contains details about the card-present payment method options.
3821
3409
  attr_accessor :card_present
3822
-
3823
3410
  # If this is a `link` PaymentMethod, this sub-hash contains details about the Link payment method options.
3824
3411
  attr_accessor :link
3825
-
3826
3412
  # If this is a `paypal` PaymentMethod, this sub-hash contains details about the PayPal payment method options.
3827
3413
  attr_accessor :paypal
3828
-
3829
3414
  # If this is a `payto` SetupIntent, this sub-hash contains details about the PayTo payment method options.
3830
3415
  attr_accessor :payto
3831
-
3832
3416
  # If this is a `sepa_debit` SetupIntent, this sub-hash contains details about the SEPA Debit payment method options.
3833
3417
  attr_accessor :sepa_debit
3834
-
3835
3418
  # If this is a `us_bank_account` SetupIntent, this sub-hash contains details about the US bank account payment method options.
3836
3419
  attr_accessor :us_bank_account
3837
3420
 
@@ -3863,28 +3446,21 @@ module Stripe
3863
3446
  #
3864
3447
  # 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.
3865
3448
  attr_accessor :confirmation_token
3866
-
3867
3449
  # Specifies which fields in the response should be expanded.
3868
3450
  attr_accessor :expand
3869
-
3870
3451
  # Attribute for param field mandate_data
3871
3452
  attr_accessor :mandate_data
3872
-
3873
3453
  # ID of the payment method (a PaymentMethod, Card, or saved Source object) to attach to this SetupIntent.
3874
3454
  attr_accessor :payment_method
3875
-
3876
3455
  # 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)
3877
3456
  # value in the SetupIntent.
3878
3457
  attr_accessor :payment_method_data
3879
-
3880
3458
  # Payment method-specific configuration for this SetupIntent.
3881
3459
  attr_accessor :payment_method_options
3882
-
3883
3460
  # The URL to redirect your customer back to after they authenticate on the payment method's app or site.
3884
3461
  # If you'd prefer to redirect to a mobile application, you can alternatively supply an application URI scheme.
3885
3462
  # This parameter is only used for cards and other redirect-based payment methods.
3886
3463
  attr_accessor :return_url
3887
-
3888
3464
  # Set to `true` when confirming server-side and using Stripe.js, iOS, or Android client-side SDKs to handle the next actions.
3889
3465
  attr_accessor :use_stripe_sdk
3890
3466
 
@@ -3912,10 +3488,8 @@ module Stripe
3912
3488
  class VerifyMicrodepositsParams < Stripe::RequestParams
3913
3489
  # Two positive integers, in *cents*, equal to the values of the microdeposits sent to the bank account.
3914
3490
  attr_accessor :amounts
3915
-
3916
3491
  # A six-character code starting with SM present in the microdeposit sent to the bank account.
3917
3492
  attr_accessor :descriptor_code
3918
-
3919
3493
  # Specifies which fields in the response should be expanded.
3920
3494
  attr_accessor :expand
3921
3495