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
@@ -8,23 +8,18 @@ module Stripe
8
8
  # The Connect application to filter by.
9
9
  sig { returns(T.nilable(String)) }
10
10
  attr_accessor :application
11
-
12
11
  # 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.
13
12
  sig { returns(String) }
14
13
  attr_accessor :ending_before
15
-
16
14
  # Specifies which fields in the response should be expanded.
17
15
  sig { returns(T::Array[String]) }
18
16
  attr_accessor :expand
19
-
20
17
  # A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.
21
18
  sig { returns(Integer) }
22
19
  attr_accessor :limit
23
-
24
20
  # 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.
25
21
  sig { returns(String) }
26
22
  attr_accessor :starting_after
27
-
28
23
  sig {
29
24
  params(application: T.nilable(String), ending_before: String, expand: T::Array[String], limit: Integer, starting_after: String).void
30
25
  }
@@ -42,7 +37,6 @@ module Stripe
42
37
  # The account's preference for whether or not to display this payment method.
43
38
  sig { returns(String) }
44
39
  attr_accessor :preference
45
-
46
40
  sig { params(preference: String).void }
47
41
  def initialize(preference: nil); end
48
42
  end
@@ -51,7 +45,6 @@ module Stripe
51
45
  returns(::Stripe::PaymentMethodConfigurationService::CreateParams::AcssDebit::DisplayPreference)
52
46
  }
53
47
  attr_accessor :display_preference
54
-
55
48
  sig {
56
49
  params(display_preference: ::Stripe::PaymentMethodConfigurationService::CreateParams::AcssDebit::DisplayPreference).void
57
50
  }
@@ -62,7 +55,6 @@ module Stripe
62
55
  # The account's preference for whether or not to display this payment method.
63
56
  sig { returns(String) }
64
57
  attr_accessor :preference
65
-
66
58
  sig { params(preference: String).void }
67
59
  def initialize(preference: nil); end
68
60
  end
@@ -71,7 +63,6 @@ module Stripe
71
63
  returns(::Stripe::PaymentMethodConfigurationService::CreateParams::Affirm::DisplayPreference)
72
64
  }
73
65
  attr_accessor :display_preference
74
-
75
66
  sig {
76
67
  params(display_preference: ::Stripe::PaymentMethodConfigurationService::CreateParams::Affirm::DisplayPreference).void
77
68
  }
@@ -82,7 +73,6 @@ module Stripe
82
73
  # The account's preference for whether or not to display this payment method.
83
74
  sig { returns(String) }
84
75
  attr_accessor :preference
85
-
86
76
  sig { params(preference: String).void }
87
77
  def initialize(preference: nil); end
88
78
  end
@@ -91,7 +81,6 @@ module Stripe
91
81
  returns(::Stripe::PaymentMethodConfigurationService::CreateParams::AfterpayClearpay::DisplayPreference)
92
82
  }
93
83
  attr_accessor :display_preference
94
-
95
84
  sig {
96
85
  params(display_preference: ::Stripe::PaymentMethodConfigurationService::CreateParams::AfterpayClearpay::DisplayPreference).void
97
86
  }
@@ -102,7 +91,6 @@ module Stripe
102
91
  # The account's preference for whether or not to display this payment method.
103
92
  sig { returns(String) }
104
93
  attr_accessor :preference
105
-
106
94
  sig { params(preference: String).void }
107
95
  def initialize(preference: nil); end
108
96
  end
@@ -111,7 +99,6 @@ module Stripe
111
99
  returns(::Stripe::PaymentMethodConfigurationService::CreateParams::Alipay::DisplayPreference)
112
100
  }
113
101
  attr_accessor :display_preference
114
-
115
102
  sig {
116
103
  params(display_preference: ::Stripe::PaymentMethodConfigurationService::CreateParams::Alipay::DisplayPreference).void
117
104
  }
@@ -122,7 +109,6 @@ module Stripe
122
109
  # The account's preference for whether or not to display this payment method.
123
110
  sig { returns(String) }
124
111
  attr_accessor :preference
125
-
126
112
  sig { params(preference: String).void }
127
113
  def initialize(preference: nil); end
128
114
  end
@@ -131,7 +117,6 @@ module Stripe
131
117
  returns(::Stripe::PaymentMethodConfigurationService::CreateParams::Alma::DisplayPreference)
132
118
  }
133
119
  attr_accessor :display_preference
134
-
135
120
  sig {
136
121
  params(display_preference: ::Stripe::PaymentMethodConfigurationService::CreateParams::Alma::DisplayPreference).void
137
122
  }
@@ -142,7 +127,6 @@ module Stripe
142
127
  # The account's preference for whether or not to display this payment method.
143
128
  sig { returns(String) }
144
129
  attr_accessor :preference
145
-
146
130
  sig { params(preference: String).void }
147
131
  def initialize(preference: nil); end
148
132
  end
@@ -151,7 +135,6 @@ module Stripe
151
135
  returns(::Stripe::PaymentMethodConfigurationService::CreateParams::AmazonPay::DisplayPreference)
152
136
  }
153
137
  attr_accessor :display_preference
154
-
155
138
  sig {
156
139
  params(display_preference: ::Stripe::PaymentMethodConfigurationService::CreateParams::AmazonPay::DisplayPreference).void
157
140
  }
@@ -162,7 +145,6 @@ module Stripe
162
145
  # The account's preference for whether or not to display this payment method.
163
146
  sig { returns(String) }
164
147
  attr_accessor :preference
165
-
166
148
  sig { params(preference: String).void }
167
149
  def initialize(preference: nil); end
168
150
  end
@@ -171,7 +153,6 @@ module Stripe
171
153
  returns(::Stripe::PaymentMethodConfigurationService::CreateParams::ApplePay::DisplayPreference)
172
154
  }
173
155
  attr_accessor :display_preference
174
-
175
156
  sig {
176
157
  params(display_preference: ::Stripe::PaymentMethodConfigurationService::CreateParams::ApplePay::DisplayPreference).void
177
158
  }
@@ -182,7 +163,6 @@ module Stripe
182
163
  # The account's preference for whether or not to display this payment method.
183
164
  sig { returns(String) }
184
165
  attr_accessor :preference
185
-
186
166
  sig { params(preference: String).void }
187
167
  def initialize(preference: nil); end
188
168
  end
@@ -191,7 +171,6 @@ module Stripe
191
171
  returns(::Stripe::PaymentMethodConfigurationService::CreateParams::ApplePayLater::DisplayPreference)
192
172
  }
193
173
  attr_accessor :display_preference
194
-
195
174
  sig {
196
175
  params(display_preference: ::Stripe::PaymentMethodConfigurationService::CreateParams::ApplePayLater::DisplayPreference).void
197
176
  }
@@ -202,7 +181,6 @@ module Stripe
202
181
  # The account's preference for whether or not to display this payment method.
203
182
  sig { returns(String) }
204
183
  attr_accessor :preference
205
-
206
184
  sig { params(preference: String).void }
207
185
  def initialize(preference: nil); end
208
186
  end
@@ -211,7 +189,6 @@ module Stripe
211
189
  returns(::Stripe::PaymentMethodConfigurationService::CreateParams::AuBecsDebit::DisplayPreference)
212
190
  }
213
191
  attr_accessor :display_preference
214
-
215
192
  sig {
216
193
  params(display_preference: ::Stripe::PaymentMethodConfigurationService::CreateParams::AuBecsDebit::DisplayPreference).void
217
194
  }
@@ -222,7 +199,6 @@ module Stripe
222
199
  # The account's preference for whether or not to display this payment method.
223
200
  sig { returns(String) }
224
201
  attr_accessor :preference
225
-
226
202
  sig { params(preference: String).void }
227
203
  def initialize(preference: nil); end
228
204
  end
@@ -231,7 +207,6 @@ module Stripe
231
207
  returns(::Stripe::PaymentMethodConfigurationService::CreateParams::BacsDebit::DisplayPreference)
232
208
  }
233
209
  attr_accessor :display_preference
234
-
235
210
  sig {
236
211
  params(display_preference: ::Stripe::PaymentMethodConfigurationService::CreateParams::BacsDebit::DisplayPreference).void
237
212
  }
@@ -242,7 +217,6 @@ module Stripe
242
217
  # The account's preference for whether or not to display this payment method.
243
218
  sig { returns(String) }
244
219
  attr_accessor :preference
245
-
246
220
  sig { params(preference: String).void }
247
221
  def initialize(preference: nil); end
248
222
  end
@@ -251,7 +225,6 @@ module Stripe
251
225
  returns(::Stripe::PaymentMethodConfigurationService::CreateParams::Bancontact::DisplayPreference)
252
226
  }
253
227
  attr_accessor :display_preference
254
-
255
228
  sig {
256
229
  params(display_preference: ::Stripe::PaymentMethodConfigurationService::CreateParams::Bancontact::DisplayPreference).void
257
230
  }
@@ -262,7 +235,6 @@ module Stripe
262
235
  # The account's preference for whether or not to display this payment method.
263
236
  sig { returns(String) }
264
237
  attr_accessor :preference
265
-
266
238
  sig { params(preference: String).void }
267
239
  def initialize(preference: nil); end
268
240
  end
@@ -271,7 +243,6 @@ module Stripe
271
243
  returns(::Stripe::PaymentMethodConfigurationService::CreateParams::Blik::DisplayPreference)
272
244
  }
273
245
  attr_accessor :display_preference
274
-
275
246
  sig {
276
247
  params(display_preference: ::Stripe::PaymentMethodConfigurationService::CreateParams::Blik::DisplayPreference).void
277
248
  }
@@ -282,7 +253,6 @@ module Stripe
282
253
  # The account's preference for whether or not to display this payment method.
283
254
  sig { returns(String) }
284
255
  attr_accessor :preference
285
-
286
256
  sig { params(preference: String).void }
287
257
  def initialize(preference: nil); end
288
258
  end
@@ -291,7 +261,6 @@ module Stripe
291
261
  returns(::Stripe::PaymentMethodConfigurationService::CreateParams::Boleto::DisplayPreference)
292
262
  }
293
263
  attr_accessor :display_preference
294
-
295
264
  sig {
296
265
  params(display_preference: ::Stripe::PaymentMethodConfigurationService::CreateParams::Boleto::DisplayPreference).void
297
266
  }
@@ -302,7 +271,6 @@ module Stripe
302
271
  # The account's preference for whether or not to display this payment method.
303
272
  sig { returns(String) }
304
273
  attr_accessor :preference
305
-
306
274
  sig { params(preference: String).void }
307
275
  def initialize(preference: nil); end
308
276
  end
@@ -311,7 +279,6 @@ module Stripe
311
279
  returns(::Stripe::PaymentMethodConfigurationService::CreateParams::Card::DisplayPreference)
312
280
  }
313
281
  attr_accessor :display_preference
314
-
315
282
  sig {
316
283
  params(display_preference: ::Stripe::PaymentMethodConfigurationService::CreateParams::Card::DisplayPreference).void
317
284
  }
@@ -322,7 +289,6 @@ module Stripe
322
289
  # The account's preference for whether or not to display this payment method.
323
290
  sig { returns(String) }
324
291
  attr_accessor :preference
325
-
326
292
  sig { params(preference: String).void }
327
293
  def initialize(preference: nil); end
328
294
  end
@@ -331,7 +297,6 @@ module Stripe
331
297
  returns(::Stripe::PaymentMethodConfigurationService::CreateParams::CartesBancaires::DisplayPreference)
332
298
  }
333
299
  attr_accessor :display_preference
334
-
335
300
  sig {
336
301
  params(display_preference: ::Stripe::PaymentMethodConfigurationService::CreateParams::CartesBancaires::DisplayPreference).void
337
302
  }
@@ -342,7 +307,6 @@ module Stripe
342
307
  # The account's preference for whether or not to display this payment method.
343
308
  sig { returns(String) }
344
309
  attr_accessor :preference
345
-
346
310
  sig { params(preference: String).void }
347
311
  def initialize(preference: nil); end
348
312
  end
@@ -351,7 +315,6 @@ module Stripe
351
315
  returns(::Stripe::PaymentMethodConfigurationService::CreateParams::Cashapp::DisplayPreference)
352
316
  }
353
317
  attr_accessor :display_preference
354
-
355
318
  sig {
356
319
  params(display_preference: ::Stripe::PaymentMethodConfigurationService::CreateParams::Cashapp::DisplayPreference).void
357
320
  }
@@ -362,7 +325,6 @@ module Stripe
362
325
  # The account's preference for whether or not to display this payment method.
363
326
  sig { returns(String) }
364
327
  attr_accessor :preference
365
-
366
328
  sig { params(preference: String).void }
367
329
  def initialize(preference: nil); end
368
330
  end
@@ -371,7 +333,6 @@ module Stripe
371
333
  returns(::Stripe::PaymentMethodConfigurationService::CreateParams::CustomerBalance::DisplayPreference)
372
334
  }
373
335
  attr_accessor :display_preference
374
-
375
336
  sig {
376
337
  params(display_preference: ::Stripe::PaymentMethodConfigurationService::CreateParams::CustomerBalance::DisplayPreference).void
377
338
  }
@@ -382,7 +343,6 @@ module Stripe
382
343
  # The account's preference for whether or not to display this payment method.
383
344
  sig { returns(String) }
384
345
  attr_accessor :preference
385
-
386
346
  sig { params(preference: String).void }
387
347
  def initialize(preference: nil); end
388
348
  end
@@ -391,7 +351,6 @@ module Stripe
391
351
  returns(::Stripe::PaymentMethodConfigurationService::CreateParams::Eps::DisplayPreference)
392
352
  }
393
353
  attr_accessor :display_preference
394
-
395
354
  sig {
396
355
  params(display_preference: ::Stripe::PaymentMethodConfigurationService::CreateParams::Eps::DisplayPreference).void
397
356
  }
@@ -402,7 +361,6 @@ module Stripe
402
361
  # The account's preference for whether or not to display this payment method.
403
362
  sig { returns(String) }
404
363
  attr_accessor :preference
405
-
406
364
  sig { params(preference: String).void }
407
365
  def initialize(preference: nil); end
408
366
  end
@@ -411,7 +369,6 @@ module Stripe
411
369
  returns(::Stripe::PaymentMethodConfigurationService::CreateParams::Fpx::DisplayPreference)
412
370
  }
413
371
  attr_accessor :display_preference
414
-
415
372
  sig {
416
373
  params(display_preference: ::Stripe::PaymentMethodConfigurationService::CreateParams::Fpx::DisplayPreference).void
417
374
  }
@@ -422,7 +379,6 @@ module Stripe
422
379
  # The account's preference for whether or not to display this payment method.
423
380
  sig { returns(String) }
424
381
  attr_accessor :preference
425
-
426
382
  sig { params(preference: String).void }
427
383
  def initialize(preference: nil); end
428
384
  end
@@ -431,7 +387,6 @@ module Stripe
431
387
  returns(::Stripe::PaymentMethodConfigurationService::CreateParams::Giropay::DisplayPreference)
432
388
  }
433
389
  attr_accessor :display_preference
434
-
435
390
  sig {
436
391
  params(display_preference: ::Stripe::PaymentMethodConfigurationService::CreateParams::Giropay::DisplayPreference).void
437
392
  }
@@ -442,7 +397,6 @@ module Stripe
442
397
  # The account's preference for whether or not to display this payment method.
443
398
  sig { returns(String) }
444
399
  attr_accessor :preference
445
-
446
400
  sig { params(preference: String).void }
447
401
  def initialize(preference: nil); end
448
402
  end
@@ -451,7 +405,6 @@ module Stripe
451
405
  returns(::Stripe::PaymentMethodConfigurationService::CreateParams::GooglePay::DisplayPreference)
452
406
  }
453
407
  attr_accessor :display_preference
454
-
455
408
  sig {
456
409
  params(display_preference: ::Stripe::PaymentMethodConfigurationService::CreateParams::GooglePay::DisplayPreference).void
457
410
  }
@@ -462,7 +415,6 @@ module Stripe
462
415
  # The account's preference for whether or not to display this payment method.
463
416
  sig { returns(String) }
464
417
  attr_accessor :preference
465
-
466
418
  sig { params(preference: String).void }
467
419
  def initialize(preference: nil); end
468
420
  end
@@ -471,7 +423,6 @@ module Stripe
471
423
  returns(::Stripe::PaymentMethodConfigurationService::CreateParams::Gopay::DisplayPreference)
472
424
  }
473
425
  attr_accessor :display_preference
474
-
475
426
  sig {
476
427
  params(display_preference: ::Stripe::PaymentMethodConfigurationService::CreateParams::Gopay::DisplayPreference).void
477
428
  }
@@ -482,7 +433,6 @@ module Stripe
482
433
  # The account's preference for whether or not to display this payment method.
483
434
  sig { returns(String) }
484
435
  attr_accessor :preference
485
-
486
436
  sig { params(preference: String).void }
487
437
  def initialize(preference: nil); end
488
438
  end
@@ -491,7 +441,6 @@ module Stripe
491
441
  returns(::Stripe::PaymentMethodConfigurationService::CreateParams::Grabpay::DisplayPreference)
492
442
  }
493
443
  attr_accessor :display_preference
494
-
495
444
  sig {
496
445
  params(display_preference: ::Stripe::PaymentMethodConfigurationService::CreateParams::Grabpay::DisplayPreference).void
497
446
  }
@@ -502,7 +451,6 @@ module Stripe
502
451
  # The account's preference for whether or not to display this payment method.
503
452
  sig { returns(String) }
504
453
  attr_accessor :preference
505
-
506
454
  sig { params(preference: String).void }
507
455
  def initialize(preference: nil); end
508
456
  end
@@ -511,7 +459,6 @@ module Stripe
511
459
  returns(::Stripe::PaymentMethodConfigurationService::CreateParams::IdBankTransfer::DisplayPreference)
512
460
  }
513
461
  attr_accessor :display_preference
514
-
515
462
  sig {
516
463
  params(display_preference: ::Stripe::PaymentMethodConfigurationService::CreateParams::IdBankTransfer::DisplayPreference).void
517
464
  }
@@ -522,7 +469,6 @@ module Stripe
522
469
  # The account's preference for whether or not to display this payment method.
523
470
  sig { returns(String) }
524
471
  attr_accessor :preference
525
-
526
472
  sig { params(preference: String).void }
527
473
  def initialize(preference: nil); end
528
474
  end
@@ -531,7 +477,6 @@ module Stripe
531
477
  returns(::Stripe::PaymentMethodConfigurationService::CreateParams::Ideal::DisplayPreference)
532
478
  }
533
479
  attr_accessor :display_preference
534
-
535
480
  sig {
536
481
  params(display_preference: ::Stripe::PaymentMethodConfigurationService::CreateParams::Ideal::DisplayPreference).void
537
482
  }
@@ -542,7 +487,6 @@ module Stripe
542
487
  # The account's preference for whether or not to display this payment method.
543
488
  sig { returns(String) }
544
489
  attr_accessor :preference
545
-
546
490
  sig { params(preference: String).void }
547
491
  def initialize(preference: nil); end
548
492
  end
@@ -551,7 +495,6 @@ module Stripe
551
495
  returns(::Stripe::PaymentMethodConfigurationService::CreateParams::Jcb::DisplayPreference)
552
496
  }
553
497
  attr_accessor :display_preference
554
-
555
498
  sig {
556
499
  params(display_preference: ::Stripe::PaymentMethodConfigurationService::CreateParams::Jcb::DisplayPreference).void
557
500
  }
@@ -562,7 +505,6 @@ module Stripe
562
505
  # The account's preference for whether or not to display this payment method.
563
506
  sig { returns(String) }
564
507
  attr_accessor :preference
565
-
566
508
  sig { params(preference: String).void }
567
509
  def initialize(preference: nil); end
568
510
  end
@@ -571,7 +513,6 @@ module Stripe
571
513
  returns(::Stripe::PaymentMethodConfigurationService::CreateParams::Klarna::DisplayPreference)
572
514
  }
573
515
  attr_accessor :display_preference
574
-
575
516
  sig {
576
517
  params(display_preference: ::Stripe::PaymentMethodConfigurationService::CreateParams::Klarna::DisplayPreference).void
577
518
  }
@@ -582,7 +523,6 @@ module Stripe
582
523
  # The account's preference for whether or not to display this payment method.
583
524
  sig { returns(String) }
584
525
  attr_accessor :preference
585
-
586
526
  sig { params(preference: String).void }
587
527
  def initialize(preference: nil); end
588
528
  end
@@ -591,7 +531,6 @@ module Stripe
591
531
  returns(::Stripe::PaymentMethodConfigurationService::CreateParams::Konbini::DisplayPreference)
592
532
  }
593
533
  attr_accessor :display_preference
594
-
595
534
  sig {
596
535
  params(display_preference: ::Stripe::PaymentMethodConfigurationService::CreateParams::Konbini::DisplayPreference).void
597
536
  }
@@ -602,7 +541,6 @@ module Stripe
602
541
  # The account's preference for whether or not to display this payment method.
603
542
  sig { returns(String) }
604
543
  attr_accessor :preference
605
-
606
544
  sig { params(preference: String).void }
607
545
  def initialize(preference: nil); end
608
546
  end
@@ -611,7 +549,6 @@ module Stripe
611
549
  returns(::Stripe::PaymentMethodConfigurationService::CreateParams::Link::DisplayPreference)
612
550
  }
613
551
  attr_accessor :display_preference
614
-
615
552
  sig {
616
553
  params(display_preference: ::Stripe::PaymentMethodConfigurationService::CreateParams::Link::DisplayPreference).void
617
554
  }
@@ -622,7 +559,6 @@ module Stripe
622
559
  # The account's preference for whether or not to display this payment method.
623
560
  sig { returns(String) }
624
561
  attr_accessor :preference
625
-
626
562
  sig { params(preference: String).void }
627
563
  def initialize(preference: nil); end
628
564
  end
@@ -631,7 +567,6 @@ module Stripe
631
567
  returns(::Stripe::PaymentMethodConfigurationService::CreateParams::Mobilepay::DisplayPreference)
632
568
  }
633
569
  attr_accessor :display_preference
634
-
635
570
  sig {
636
571
  params(display_preference: ::Stripe::PaymentMethodConfigurationService::CreateParams::Mobilepay::DisplayPreference).void
637
572
  }
@@ -642,7 +577,6 @@ module Stripe
642
577
  # The account's preference for whether or not to display this payment method.
643
578
  sig { returns(String) }
644
579
  attr_accessor :preference
645
-
646
580
  sig { params(preference: String).void }
647
581
  def initialize(preference: nil); end
648
582
  end
@@ -651,7 +585,6 @@ module Stripe
651
585
  returns(::Stripe::PaymentMethodConfigurationService::CreateParams::Multibanco::DisplayPreference)
652
586
  }
653
587
  attr_accessor :display_preference
654
-
655
588
  sig {
656
589
  params(display_preference: ::Stripe::PaymentMethodConfigurationService::CreateParams::Multibanco::DisplayPreference).void
657
590
  }
@@ -662,7 +595,6 @@ module Stripe
662
595
  # The account's preference for whether or not to display this payment method.
663
596
  sig { returns(String) }
664
597
  attr_accessor :preference
665
-
666
598
  sig { params(preference: String).void }
667
599
  def initialize(preference: nil); end
668
600
  end
@@ -671,7 +603,6 @@ module Stripe
671
603
  returns(::Stripe::PaymentMethodConfigurationService::CreateParams::Oxxo::DisplayPreference)
672
604
  }
673
605
  attr_accessor :display_preference
674
-
675
606
  sig {
676
607
  params(display_preference: ::Stripe::PaymentMethodConfigurationService::CreateParams::Oxxo::DisplayPreference).void
677
608
  }
@@ -682,7 +613,6 @@ module Stripe
682
613
  # The account's preference for whether or not to display this payment method.
683
614
  sig { returns(String) }
684
615
  attr_accessor :preference
685
-
686
616
  sig { params(preference: String).void }
687
617
  def initialize(preference: nil); end
688
618
  end
@@ -691,18 +621,34 @@ module Stripe
691
621
  returns(::Stripe::PaymentMethodConfigurationService::CreateParams::P24::DisplayPreference)
692
622
  }
693
623
  attr_accessor :display_preference
694
-
695
624
  sig {
696
625
  params(display_preference: ::Stripe::PaymentMethodConfigurationService::CreateParams::P24::DisplayPreference).void
697
626
  }
698
627
  def initialize(display_preference: nil); end
699
628
  end
629
+ class PayByBank < Stripe::RequestParams
630
+ class DisplayPreference < Stripe::RequestParams
631
+ # The account's preference for whether or not to display this payment method.
632
+ sig { returns(String) }
633
+ attr_accessor :preference
634
+ sig { params(preference: String).void }
635
+ def initialize(preference: nil); end
636
+ end
637
+ # Whether or not the payment method should be displayed.
638
+ sig {
639
+ returns(::Stripe::PaymentMethodConfigurationService::CreateParams::PayByBank::DisplayPreference)
640
+ }
641
+ attr_accessor :display_preference
642
+ sig {
643
+ params(display_preference: ::Stripe::PaymentMethodConfigurationService::CreateParams::PayByBank::DisplayPreference).void
644
+ }
645
+ def initialize(display_preference: nil); end
646
+ end
700
647
  class Paynow < Stripe::RequestParams
701
648
  class DisplayPreference < Stripe::RequestParams
702
649
  # The account's preference for whether or not to display this payment method.
703
650
  sig { returns(String) }
704
651
  attr_accessor :preference
705
-
706
652
  sig { params(preference: String).void }
707
653
  def initialize(preference: nil); end
708
654
  end
@@ -711,7 +657,6 @@ module Stripe
711
657
  returns(::Stripe::PaymentMethodConfigurationService::CreateParams::Paynow::DisplayPreference)
712
658
  }
713
659
  attr_accessor :display_preference
714
-
715
660
  sig {
716
661
  params(display_preference: ::Stripe::PaymentMethodConfigurationService::CreateParams::Paynow::DisplayPreference).void
717
662
  }
@@ -722,7 +667,6 @@ module Stripe
722
667
  # The account's preference for whether or not to display this payment method.
723
668
  sig { returns(String) }
724
669
  attr_accessor :preference
725
-
726
670
  sig { params(preference: String).void }
727
671
  def initialize(preference: nil); end
728
672
  end
@@ -731,7 +675,6 @@ module Stripe
731
675
  returns(::Stripe::PaymentMethodConfigurationService::CreateParams::Paypal::DisplayPreference)
732
676
  }
733
677
  attr_accessor :display_preference
734
-
735
678
  sig {
736
679
  params(display_preference: ::Stripe::PaymentMethodConfigurationService::CreateParams::Paypal::DisplayPreference).void
737
680
  }
@@ -742,7 +685,6 @@ module Stripe
742
685
  # The account's preference for whether or not to display this payment method.
743
686
  sig { returns(String) }
744
687
  attr_accessor :preference
745
-
746
688
  sig { params(preference: String).void }
747
689
  def initialize(preference: nil); end
748
690
  end
@@ -751,7 +693,6 @@ module Stripe
751
693
  returns(::Stripe::PaymentMethodConfigurationService::CreateParams::Payto::DisplayPreference)
752
694
  }
753
695
  attr_accessor :display_preference
754
-
755
696
  sig {
756
697
  params(display_preference: ::Stripe::PaymentMethodConfigurationService::CreateParams::Payto::DisplayPreference).void
757
698
  }
@@ -762,7 +703,6 @@ module Stripe
762
703
  # The account's preference for whether or not to display this payment method.
763
704
  sig { returns(String) }
764
705
  attr_accessor :preference
765
-
766
706
  sig { params(preference: String).void }
767
707
  def initialize(preference: nil); end
768
708
  end
@@ -771,7 +711,6 @@ module Stripe
771
711
  returns(::Stripe::PaymentMethodConfigurationService::CreateParams::Promptpay::DisplayPreference)
772
712
  }
773
713
  attr_accessor :display_preference
774
-
775
714
  sig {
776
715
  params(display_preference: ::Stripe::PaymentMethodConfigurationService::CreateParams::Promptpay::DisplayPreference).void
777
716
  }
@@ -782,7 +721,6 @@ module Stripe
782
721
  # The account's preference for whether or not to display this payment method.
783
722
  sig { returns(String) }
784
723
  attr_accessor :preference
785
-
786
724
  sig { params(preference: String).void }
787
725
  def initialize(preference: nil); end
788
726
  end
@@ -791,7 +729,6 @@ module Stripe
791
729
  returns(::Stripe::PaymentMethodConfigurationService::CreateParams::Qris::DisplayPreference)
792
730
  }
793
731
  attr_accessor :display_preference
794
-
795
732
  sig {
796
733
  params(display_preference: ::Stripe::PaymentMethodConfigurationService::CreateParams::Qris::DisplayPreference).void
797
734
  }
@@ -802,7 +739,6 @@ module Stripe
802
739
  # The account's preference for whether or not to display this payment method.
803
740
  sig { returns(String) }
804
741
  attr_accessor :preference
805
-
806
742
  sig { params(preference: String).void }
807
743
  def initialize(preference: nil); end
808
744
  end
@@ -811,7 +747,6 @@ module Stripe
811
747
  returns(::Stripe::PaymentMethodConfigurationService::CreateParams::RevolutPay::DisplayPreference)
812
748
  }
813
749
  attr_accessor :display_preference
814
-
815
750
  sig {
816
751
  params(display_preference: ::Stripe::PaymentMethodConfigurationService::CreateParams::RevolutPay::DisplayPreference).void
817
752
  }
@@ -822,7 +757,6 @@ module Stripe
822
757
  # The account's preference for whether or not to display this payment method.
823
758
  sig { returns(String) }
824
759
  attr_accessor :preference
825
-
826
760
  sig { params(preference: String).void }
827
761
  def initialize(preference: nil); end
828
762
  end
@@ -831,7 +765,6 @@ module Stripe
831
765
  returns(::Stripe::PaymentMethodConfigurationService::CreateParams::SepaDebit::DisplayPreference)
832
766
  }
833
767
  attr_accessor :display_preference
834
-
835
768
  sig {
836
769
  params(display_preference: ::Stripe::PaymentMethodConfigurationService::CreateParams::SepaDebit::DisplayPreference).void
837
770
  }
@@ -842,7 +775,6 @@ module Stripe
842
775
  # The account's preference for whether or not to display this payment method.
843
776
  sig { returns(String) }
844
777
  attr_accessor :preference
845
-
846
778
  sig { params(preference: String).void }
847
779
  def initialize(preference: nil); end
848
780
  end
@@ -851,7 +783,6 @@ module Stripe
851
783
  returns(::Stripe::PaymentMethodConfigurationService::CreateParams::Shopeepay::DisplayPreference)
852
784
  }
853
785
  attr_accessor :display_preference
854
-
855
786
  sig {
856
787
  params(display_preference: ::Stripe::PaymentMethodConfigurationService::CreateParams::Shopeepay::DisplayPreference).void
857
788
  }
@@ -862,7 +793,6 @@ module Stripe
862
793
  # The account's preference for whether or not to display this payment method.
863
794
  sig { returns(String) }
864
795
  attr_accessor :preference
865
-
866
796
  sig { params(preference: String).void }
867
797
  def initialize(preference: nil); end
868
798
  end
@@ -871,7 +801,6 @@ module Stripe
871
801
  returns(::Stripe::PaymentMethodConfigurationService::CreateParams::Sofort::DisplayPreference)
872
802
  }
873
803
  attr_accessor :display_preference
874
-
875
804
  sig {
876
805
  params(display_preference: ::Stripe::PaymentMethodConfigurationService::CreateParams::Sofort::DisplayPreference).void
877
806
  }
@@ -882,7 +811,6 @@ module Stripe
882
811
  # The account's preference for whether or not to display this payment method.
883
812
  sig { returns(String) }
884
813
  attr_accessor :preference
885
-
886
814
  sig { params(preference: String).void }
887
815
  def initialize(preference: nil); end
888
816
  end
@@ -891,7 +819,6 @@ module Stripe
891
819
  returns(::Stripe::PaymentMethodConfigurationService::CreateParams::Swish::DisplayPreference)
892
820
  }
893
821
  attr_accessor :display_preference
894
-
895
822
  sig {
896
823
  params(display_preference: ::Stripe::PaymentMethodConfigurationService::CreateParams::Swish::DisplayPreference).void
897
824
  }
@@ -902,7 +829,6 @@ module Stripe
902
829
  # The account's preference for whether or not to display this payment method.
903
830
  sig { returns(String) }
904
831
  attr_accessor :preference
905
-
906
832
  sig { params(preference: String).void }
907
833
  def initialize(preference: nil); end
908
834
  end
@@ -911,7 +837,6 @@ module Stripe
911
837
  returns(::Stripe::PaymentMethodConfigurationService::CreateParams::Twint::DisplayPreference)
912
838
  }
913
839
  attr_accessor :display_preference
914
-
915
840
  sig {
916
841
  params(display_preference: ::Stripe::PaymentMethodConfigurationService::CreateParams::Twint::DisplayPreference).void
917
842
  }
@@ -922,7 +847,6 @@ module Stripe
922
847
  # The account's preference for whether or not to display this payment method.
923
848
  sig { returns(String) }
924
849
  attr_accessor :preference
925
-
926
850
  sig { params(preference: String).void }
927
851
  def initialize(preference: nil); end
928
852
  end
@@ -931,7 +855,6 @@ module Stripe
931
855
  returns(::Stripe::PaymentMethodConfigurationService::CreateParams::UsBankAccount::DisplayPreference)
932
856
  }
933
857
  attr_accessor :display_preference
934
-
935
858
  sig {
936
859
  params(display_preference: ::Stripe::PaymentMethodConfigurationService::CreateParams::UsBankAccount::DisplayPreference).void
937
860
  }
@@ -942,7 +865,6 @@ module Stripe
942
865
  # The account's preference for whether or not to display this payment method.
943
866
  sig { returns(String) }
944
867
  attr_accessor :preference
945
-
946
868
  sig { params(preference: String).void }
947
869
  def initialize(preference: nil); end
948
870
  end
@@ -951,7 +873,6 @@ module Stripe
951
873
  returns(::Stripe::PaymentMethodConfigurationService::CreateParams::WechatPay::DisplayPreference)
952
874
  }
953
875
  attr_accessor :display_preference
954
-
955
876
  sig {
956
877
  params(display_preference: ::Stripe::PaymentMethodConfigurationService::CreateParams::WechatPay::DisplayPreference).void
957
878
  }
@@ -962,7 +883,6 @@ module Stripe
962
883
  # The account's preference for whether or not to display this payment method.
963
884
  sig { returns(String) }
964
885
  attr_accessor :preference
965
-
966
886
  sig { params(preference: String).void }
967
887
  def initialize(preference: nil); end
968
888
  end
@@ -971,7 +891,6 @@ module Stripe
971
891
  returns(::Stripe::PaymentMethodConfigurationService::CreateParams::Zip::DisplayPreference)
972
892
  }
973
893
  attr_accessor :display_preference
974
-
975
894
  sig {
976
895
  params(display_preference: ::Stripe::PaymentMethodConfigurationService::CreateParams::Zip::DisplayPreference).void
977
896
  }
@@ -980,205 +899,158 @@ module Stripe
980
899
  # Canadian pre-authorized debit payments, check this [page](https://stripe.com/docs/payments/acss-debit) for more details like country availability.
981
900
  sig { returns(::Stripe::PaymentMethodConfigurationService::CreateParams::AcssDebit) }
982
901
  attr_accessor :acss_debit
983
-
984
902
  # [Affirm](https://www.affirm.com/) gives your customers a way to split purchases over a series of payments. Depending on the purchase, they can pay with four interest-free payments (Split Pay) or pay over a longer term (Installments), which might include interest. Check this [page](https://stripe.com/docs/payments/affirm) for more details like country availability.
985
903
  sig { returns(::Stripe::PaymentMethodConfigurationService::CreateParams::Affirm) }
986
904
  attr_accessor :affirm
987
-
988
905
  # Afterpay gives your customers a way to pay for purchases in installments, check this [page](https://stripe.com/docs/payments/afterpay-clearpay) for more details like country availability. Afterpay is particularly popular among businesses selling fashion, beauty, and sports products.
989
906
  sig { returns(::Stripe::PaymentMethodConfigurationService::CreateParams::AfterpayClearpay) }
990
907
  attr_accessor :afterpay_clearpay
991
-
992
908
  # Alipay is a digital wallet in China that has more than a billion active users worldwide. Alipay users can pay on the web or on a mobile device using login credentials or their Alipay app. Alipay has a low dispute rate and reduces fraud by authenticating payments using the customer's login credentials. Check this [page](https://stripe.com/docs/payments/alipay) for more details.
993
909
  sig { returns(::Stripe::PaymentMethodConfigurationService::CreateParams::Alipay) }
994
910
  attr_accessor :alipay
995
-
996
911
  # Alma is a Buy Now, Pay Later payment method that offers customers the ability to pay in 2, 3, or 4 installments.
997
912
  sig { returns(::Stripe::PaymentMethodConfigurationService::CreateParams::Alma) }
998
913
  attr_accessor :alma
999
-
1000
914
  # Amazon Pay is a wallet payment method that lets your customers check out the same way as on Amazon.
1001
915
  sig { returns(::Stripe::PaymentMethodConfigurationService::CreateParams::AmazonPay) }
1002
916
  attr_accessor :amazon_pay
1003
-
1004
917
  # Stripe users can accept [Apple Pay](/payments/apple-pay) in iOS applications in iOS 9 and later, and on the web in Safari starting with iOS 10 or macOS Sierra. There are no additional fees to process Apple Pay payments, and the [pricing](/pricing) is the same as other card transactions. Check this [page](https://stripe.com/docs/apple-pay) for more details.
1005
918
  sig { returns(::Stripe::PaymentMethodConfigurationService::CreateParams::ApplePay) }
1006
919
  attr_accessor :apple_pay
1007
-
1008
920
  # Apple Pay Later, a payment method for customers to buy now and pay later, gives your customers a way to split purchases into four installments across six weeks.
1009
921
  sig { returns(::Stripe::PaymentMethodConfigurationService::CreateParams::ApplePayLater) }
1010
922
  attr_accessor :apple_pay_later
1011
-
1012
923
  # Stripe users in Australia can accept Bulk Electronic Clearing System (BECS) direct debit payments from customers with an Australian bank account. Check this [page](https://stripe.com/docs/payments/au-becs-debit) for more details.
1013
924
  sig { returns(::Stripe::PaymentMethodConfigurationService::CreateParams::AuBecsDebit) }
1014
925
  attr_accessor :au_becs_debit
1015
-
1016
926
  # Stripe users in the UK can accept Bacs Direct Debit payments from customers with a UK bank account, check this [page](https://stripe.com/docs/payments/payment-methods/bacs-debit) for more details.
1017
927
  sig { returns(::Stripe::PaymentMethodConfigurationService::CreateParams::BacsDebit) }
1018
928
  attr_accessor :bacs_debit
1019
-
1020
929
  # Bancontact is the most popular online payment method in Belgium, with over 15 million cards in circulation. [Customers](https://stripe.com/docs/api/customers) use a Bancontact card or mobile app linked to a Belgian bank account to make online payments that are secure, guaranteed, and confirmed immediately. Check this [page](https://stripe.com/docs/payments/bancontact) for more details.
1021
930
  sig { returns(::Stripe::PaymentMethodConfigurationService::CreateParams::Bancontact) }
1022
931
  attr_accessor :bancontact
1023
-
1024
932
  # BLIK is a [single use](https://stripe.com/docs/payments/payment-methods#usage) payment method that requires customers to authenticate their payments. When customers want to pay online using BLIK, they request a six-digit code from their banking application and enter it into the payment collection form. Check this [page](https://stripe.com/docs/payments/blik) for more details.
1025
933
  sig { returns(::Stripe::PaymentMethodConfigurationService::CreateParams::Blik) }
1026
934
  attr_accessor :blik
1027
-
1028
935
  # Boleto is an official (regulated by the Central Bank of Brazil) payment method in Brazil. Check this [page](https://stripe.com/docs/payments/boleto) for more details.
1029
936
  sig { returns(::Stripe::PaymentMethodConfigurationService::CreateParams::Boleto) }
1030
937
  attr_accessor :boleto
1031
-
1032
938
  # Cards are a popular way for consumers and businesses to pay online or in person. Stripe supports global and local card networks.
1033
939
  sig { returns(::Stripe::PaymentMethodConfigurationService::CreateParams::Card) }
1034
940
  attr_accessor :card
1035
-
1036
941
  # Cartes Bancaires is France's local card network. More than 95% of these cards are co-branded with either Visa or Mastercard, meaning you can process these cards over either Cartes Bancaires or the Visa or Mastercard networks. Check this [page](https://stripe.com/docs/payments/cartes-bancaires) for more details.
1037
942
  sig { returns(::Stripe::PaymentMethodConfigurationService::CreateParams::CartesBancaires) }
1038
943
  attr_accessor :cartes_bancaires
1039
-
1040
944
  # Cash App is a popular consumer app in the US that allows customers to bank, invest, send, and receive money using their digital wallet. Check this [page](https://stripe.com/docs/payments/cash-app-pay) for more details.
1041
945
  sig { returns(::Stripe::PaymentMethodConfigurationService::CreateParams::Cashapp) }
1042
946
  attr_accessor :cashapp
1043
-
1044
947
  # Uses a customer’s [cash balance](https://stripe.com/docs/payments/customer-balance) for the payment. The cash balance can be funded via a bank transfer. Check this [page](https://stripe.com/docs/payments/bank-transfers) for more details.
1045
948
  sig { returns(::Stripe::PaymentMethodConfigurationService::CreateParams::CustomerBalance) }
1046
949
  attr_accessor :customer_balance
1047
-
1048
950
  # EPS is an Austria-based payment method that allows customers to complete transactions online using their bank credentials. EPS is supported by all Austrian banks and is accepted by over 80% of Austrian online retailers. Check this [page](https://stripe.com/docs/payments/eps) for more details.
1049
951
  sig { returns(::Stripe::PaymentMethodConfigurationService::CreateParams::Eps) }
1050
952
  attr_accessor :eps
1051
-
1052
953
  # Specifies which fields in the response should be expanded.
1053
954
  sig { returns(T::Array[String]) }
1054
955
  attr_accessor :expand
1055
-
1056
956
  # Financial Process Exchange (FPX) is a Malaysia-based payment method that allows customers to complete transactions online using their bank credentials. Bank Negara Malaysia (BNM), the Central Bank of Malaysia, and eleven other major Malaysian financial institutions are members of the PayNet Group, which owns and operates FPX. It is one of the most popular online payment methods in Malaysia, with nearly 90 million transactions in 2018 according to BNM. Check this [page](https://stripe.com/docs/payments/fpx) for more details.
1057
957
  sig { returns(::Stripe::PaymentMethodConfigurationService::CreateParams::Fpx) }
1058
958
  attr_accessor :fpx
1059
-
1060
959
  # giropay is a German payment method based on online banking, introduced in 2006. It allows customers to complete transactions online using their online banking environment, with funds debited from their bank account. Depending on their bank, customers confirm payments on giropay using a second factor of authentication or a PIN. giropay accounts for 10% of online checkouts in Germany. Check this [page](https://stripe.com/docs/payments/giropay) for more details.
1061
960
  sig { returns(::Stripe::PaymentMethodConfigurationService::CreateParams::Giropay) }
1062
961
  attr_accessor :giropay
1063
-
1064
962
  # Google Pay allows customers to make payments in your app or website using any credit or debit card saved to their Google Account, including those from Google Play, YouTube, Chrome, or an Android device. Use the Google Pay API to request any credit or debit card stored in your customer's Google account. Check this [page](https://stripe.com/docs/google-pay) for more details.
1065
963
  sig { returns(::Stripe::PaymentMethodConfigurationService::CreateParams::GooglePay) }
1066
964
  attr_accessor :google_pay
1067
-
1068
965
  # GoPay is a [single use](https://stripe.com/docs/payments/payment-methods#usage) digital wallet payment method popular in Indonesia. When paying with GoPay, customers authenticate and approve payments using the Gojek app. Desktop checkout is performed by scanning a QR code. When checking out on mobile, customers are redirected to the Gojek app to confirm payment.
1069
966
  sig { returns(::Stripe::PaymentMethodConfigurationService::CreateParams::Gopay) }
1070
967
  attr_accessor :gopay
1071
-
1072
968
  # GrabPay is a payment method developed by [Grab](https://www.grab.com/sg/consumer/finance/pay/). GrabPay is a digital wallet - customers maintain a balance in their wallets that they pay out with. Check this [page](https://stripe.com/docs/payments/grabpay) for more details.
1073
969
  sig { returns(::Stripe::PaymentMethodConfigurationService::CreateParams::Grabpay) }
1074
970
  attr_accessor :grabpay
1075
-
1076
971
  # Stripe users in Indonesia can receive bank transfers from customers in Indonesia. Bank transfers are a popular B2C and B2B payment method in Indonesia.
1077
972
  sig { returns(::Stripe::PaymentMethodConfigurationService::CreateParams::IdBankTransfer) }
1078
973
  attr_accessor :id_bank_transfer
1079
-
1080
974
  # iDEAL is a Netherlands-based payment method that allows customers to complete transactions online using their bank credentials. All major Dutch banks are members of Currence, the scheme that operates iDEAL, making it the most popular online payment method in the Netherlands with a share of online transactions close to 55%. Check this [page](https://stripe.com/docs/payments/ideal) for more details.
1081
975
  sig { returns(::Stripe::PaymentMethodConfigurationService::CreateParams::Ideal) }
1082
976
  attr_accessor :ideal
1083
-
1084
977
  # JCB is a credit card company based in Japan. JCB is currently available in Japan to businesses approved by JCB, and available to all businesses in Australia, Canada, Hong Kong, Japan, New Zealand, Singapore, Switzerland, United Kingdom, United States, and all countries in the European Economic Area except Iceland. Check this [page](https://support.stripe.com/questions/accepting-japan-credit-bureau-%28jcb%29-payments) for more details.
1085
978
  sig { returns(::Stripe::PaymentMethodConfigurationService::CreateParams::Jcb) }
1086
979
  attr_accessor :jcb
1087
-
1088
980
  # Klarna gives customers a range of [payment options](https://stripe.com/docs/payments/klarna#payment-options) during checkout. Available payment options vary depending on the customer's billing address and the transaction amount. These payment options make it convenient for customers to purchase items in all price ranges. Check this [page](https://stripe.com/docs/payments/klarna) for more details.
1089
981
  sig { returns(::Stripe::PaymentMethodConfigurationService::CreateParams::Klarna) }
1090
982
  attr_accessor :klarna
1091
-
1092
983
  # Konbini allows customers in Japan to pay for bills and online purchases at convenience stores with cash. Check this [page](https://stripe.com/docs/payments/konbini) for more details.
1093
984
  sig { returns(::Stripe::PaymentMethodConfigurationService::CreateParams::Konbini) }
1094
985
  attr_accessor :konbini
1095
-
1096
986
  # [Link](https://stripe.com/docs/payments/link) is a payment method network. With Link, users save their payment details once, then reuse that information to pay with one click for any business on the network.
1097
987
  sig { returns(::Stripe::PaymentMethodConfigurationService::CreateParams::Link) }
1098
988
  attr_accessor :link
1099
-
1100
989
  # MobilePay is a [single-use](https://stripe.com/docs/payments/payment-methods#usage) card wallet payment method used in Denmark and Finland. It allows customers to [authenticate and approve](https://stripe.com/docs/payments/payment-methods#customer-actions) payments using the MobilePay app. Check this [page](https://stripe.com/docs/payments/mobilepay) for more details.
1101
990
  sig { returns(::Stripe::PaymentMethodConfigurationService::CreateParams::Mobilepay) }
1102
991
  attr_accessor :mobilepay
1103
-
1104
992
  # Stripe users in Europe and the United States can accept Multibanco payments from customers in Portugal using [Sources](https://stripe.com/docs/sources)—a single integration path for creating payments using any supported method.
1105
993
  sig { returns(::Stripe::PaymentMethodConfigurationService::CreateParams::Multibanco) }
1106
994
  attr_accessor :multibanco
1107
-
1108
995
  # Configuration name.
1109
996
  sig { returns(String) }
1110
997
  attr_accessor :name
1111
-
1112
998
  # OXXO is a Mexican chain of convenience stores with thousands of locations across Latin America and represents nearly 20% of online transactions in Mexico. OXXO allows customers to pay bills and online purchases in-store with cash. Check this [page](https://stripe.com/docs/payments/oxxo) for more details.
1113
999
  sig { returns(::Stripe::PaymentMethodConfigurationService::CreateParams::Oxxo) }
1114
1000
  attr_accessor :oxxo
1115
-
1116
1001
  # Przelewy24 is a Poland-based payment method aggregator that allows customers to complete transactions online using bank transfers and other methods. Bank transfers account for 30% of online payments in Poland and Przelewy24 provides a way for customers to pay with over 165 banks. Check this [page](https://stripe.com/docs/payments/p24) for more details.
1117
1002
  sig { returns(::Stripe::PaymentMethodConfigurationService::CreateParams::P24) }
1118
1003
  attr_accessor :p24
1119
-
1120
1004
  # Configuration's parent configuration. Specify to create a child configuration.
1121
1005
  sig { returns(String) }
1122
1006
  attr_accessor :parent
1123
-
1007
+ # Pay by bank is a redirect payment method backed by bank transfers. A customer is redirected to their bank to authorize a bank transfer for a given amount. This removes a lot of the error risks inherent in waiting for the customer to initiate a transfer themselves, and is less expensive than card payments.
1008
+ sig { returns(::Stripe::PaymentMethodConfigurationService::CreateParams::PayByBank) }
1009
+ attr_accessor :pay_by_bank
1124
1010
  # PayNow is a Singapore-based payment method that allows customers to make a payment using their preferred app from participating banks and participating non-bank financial institutions. Check this [page](https://stripe.com/docs/payments/paynow) for more details.
1125
1011
  sig { returns(::Stripe::PaymentMethodConfigurationService::CreateParams::Paynow) }
1126
1012
  attr_accessor :paynow
1127
-
1128
1013
  # PayPal, a digital wallet popular with customers in Europe, allows your customers worldwide to pay using their PayPal account. Check this [page](https://stripe.com/docs/payments/paypal) for more details.
1129
1014
  sig { returns(::Stripe::PaymentMethodConfigurationService::CreateParams::Paypal) }
1130
1015
  attr_accessor :paypal
1131
-
1132
1016
  # PayTo is a [real-time](https://docs.stripe.com/payments/real-time) payment method that enables customers in Australia to pay by providing their bank account details. Customers must accept a mandate authorizing you to debit their account. Check this [page](https://docs.stripe.com/payments/payto) for more details.
1133
1017
  sig { returns(::Stripe::PaymentMethodConfigurationService::CreateParams::Payto) }
1134
1018
  attr_accessor :payto
1135
-
1136
1019
  # PromptPay is a Thailand-based payment method that allows customers to make a payment using their preferred app from participating banks. Check this [page](https://stripe.com/docs/payments/promptpay) for more details.
1137
1020
  sig { returns(::Stripe::PaymentMethodConfigurationService::CreateParams::Promptpay) }
1138
1021
  attr_accessor :promptpay
1139
-
1140
1022
  # QRIS is a [real-time](https://docs.stripe.com/payments/real-time) payment method popular in Indonesia. When paying with QRIS, customers authenticate and approve payments by scanning a QR code in their preferred digital wallet app.
1141
1023
  sig { returns(::Stripe::PaymentMethodConfigurationService::CreateParams::Qris) }
1142
1024
  attr_accessor :qris
1143
-
1144
1025
  # Revolut Pay, developed by Revolut, a global finance app, is a digital wallet payment method. Revolut Pay uses the customer’s stored balance or cards to fund the payment, and offers the option for non-Revolut customers to save their details after their first purchase.
1145
1026
  sig { returns(::Stripe::PaymentMethodConfigurationService::CreateParams::RevolutPay) }
1146
1027
  attr_accessor :revolut_pay
1147
-
1148
1028
  # The [Single Euro Payments Area (SEPA)](https://en.wikipedia.org/wiki/Single_Euro_Payments_Area) is an initiative of the European Union to simplify payments within and across member countries. SEPA established and enforced banking standards to allow for the direct debiting of every EUR-denominated bank account within the SEPA region, check this [page](https://stripe.com/docs/payments/sepa-debit) for more details.
1149
1029
  sig { returns(::Stripe::PaymentMethodConfigurationService::CreateParams::SepaDebit) }
1150
1030
  attr_accessor :sepa_debit
1151
-
1152
1031
  # ShopeePay is a [single use](https://stripe.com/docs/payments/payment-methods#usage) digital wallet payment method popular in Indonesia. When paying with GoPay, customers authenticate and approve payments using the Shopee app. Desktop checkout is performed by scanning a QR code. When checking out on mobile, customers are redirected to the Shopee app to confirm payment.
1153
1032
  sig { returns(::Stripe::PaymentMethodConfigurationService::CreateParams::Shopeepay) }
1154
1033
  attr_accessor :shopeepay
1155
-
1156
1034
  # Stripe users in Europe and the United States can use the [Payment Intents API](https://stripe.com/docs/payments/payment-intents)—a single integration path for creating payments using any supported method—to accept [Sofort](https://www.sofort.com/) payments from customers. Check this [page](https://stripe.com/docs/payments/sofort) for more details.
1157
1035
  sig { returns(::Stripe::PaymentMethodConfigurationService::CreateParams::Sofort) }
1158
1036
  attr_accessor :sofort
1159
-
1160
1037
  # Swish is a [real-time](https://stripe.com/docs/payments/real-time) payment method popular in Sweden. It allows customers to [authenticate and approve](https://stripe.com/docs/payments/payment-methods#customer-actions) payments using the Swish mobile app and the Swedish BankID mobile app. Check this [page](https://stripe.com/docs/payments/swish) for more details.
1161
1038
  sig { returns(::Stripe::PaymentMethodConfigurationService::CreateParams::Swish) }
1162
1039
  attr_accessor :swish
1163
-
1164
1040
  # Twint is a payment method popular in Switzerland. It allows customers to pay using their mobile phone. Check this [page](https://docs.stripe.com/payments/twint) for more details.
1165
1041
  sig { returns(::Stripe::PaymentMethodConfigurationService::CreateParams::Twint) }
1166
1042
  attr_accessor :twint
1167
-
1168
1043
  # Stripe users in the United States can accept ACH direct debit payments from customers with a US bank account using the Automated Clearing House (ACH) payments system operated by Nacha. Check this [page](https://stripe.com/docs/payments/ach-direct-debit) for more details.
1169
1044
  sig { returns(::Stripe::PaymentMethodConfigurationService::CreateParams::UsBankAccount) }
1170
1045
  attr_accessor :us_bank_account
1171
-
1172
1046
  # WeChat, owned by Tencent, is China's leading mobile app with over 1 billion monthly active users. Chinese consumers can use WeChat Pay to pay for goods and services inside of businesses' apps and websites. WeChat Pay users buy most frequently in gaming, e-commerce, travel, online education, and food/nutrition. Check this [page](https://stripe.com/docs/payments/wechat-pay) for more details.
1173
1047
  sig { returns(::Stripe::PaymentMethodConfigurationService::CreateParams::WechatPay) }
1174
1048
  attr_accessor :wechat_pay
1175
-
1176
1049
  # Zip gives your customers a way to split purchases over a series of payments. Check this [page](https://stripe.com/docs/payments/zip) for more details like country availability.
1177
1050
  sig { returns(::Stripe::PaymentMethodConfigurationService::CreateParams::Zip) }
1178
1051
  attr_accessor :zip
1179
-
1180
1052
  sig {
1181
- params(acss_debit: ::Stripe::PaymentMethodConfigurationService::CreateParams::AcssDebit, affirm: ::Stripe::PaymentMethodConfigurationService::CreateParams::Affirm, afterpay_clearpay: ::Stripe::PaymentMethodConfigurationService::CreateParams::AfterpayClearpay, alipay: ::Stripe::PaymentMethodConfigurationService::CreateParams::Alipay, alma: ::Stripe::PaymentMethodConfigurationService::CreateParams::Alma, amazon_pay: ::Stripe::PaymentMethodConfigurationService::CreateParams::AmazonPay, apple_pay: ::Stripe::PaymentMethodConfigurationService::CreateParams::ApplePay, apple_pay_later: ::Stripe::PaymentMethodConfigurationService::CreateParams::ApplePayLater, au_becs_debit: ::Stripe::PaymentMethodConfigurationService::CreateParams::AuBecsDebit, bacs_debit: ::Stripe::PaymentMethodConfigurationService::CreateParams::BacsDebit, bancontact: ::Stripe::PaymentMethodConfigurationService::CreateParams::Bancontact, blik: ::Stripe::PaymentMethodConfigurationService::CreateParams::Blik, boleto: ::Stripe::PaymentMethodConfigurationService::CreateParams::Boleto, card: ::Stripe::PaymentMethodConfigurationService::CreateParams::Card, cartes_bancaires: ::Stripe::PaymentMethodConfigurationService::CreateParams::CartesBancaires, cashapp: ::Stripe::PaymentMethodConfigurationService::CreateParams::Cashapp, customer_balance: ::Stripe::PaymentMethodConfigurationService::CreateParams::CustomerBalance, eps: ::Stripe::PaymentMethodConfigurationService::CreateParams::Eps, expand: T::Array[String], fpx: ::Stripe::PaymentMethodConfigurationService::CreateParams::Fpx, giropay: ::Stripe::PaymentMethodConfigurationService::CreateParams::Giropay, google_pay: ::Stripe::PaymentMethodConfigurationService::CreateParams::GooglePay, gopay: ::Stripe::PaymentMethodConfigurationService::CreateParams::Gopay, grabpay: ::Stripe::PaymentMethodConfigurationService::CreateParams::Grabpay, id_bank_transfer: ::Stripe::PaymentMethodConfigurationService::CreateParams::IdBankTransfer, ideal: ::Stripe::PaymentMethodConfigurationService::CreateParams::Ideal, jcb: ::Stripe::PaymentMethodConfigurationService::CreateParams::Jcb, klarna: ::Stripe::PaymentMethodConfigurationService::CreateParams::Klarna, konbini: ::Stripe::PaymentMethodConfigurationService::CreateParams::Konbini, link: ::Stripe::PaymentMethodConfigurationService::CreateParams::Link, mobilepay: ::Stripe::PaymentMethodConfigurationService::CreateParams::Mobilepay, multibanco: ::Stripe::PaymentMethodConfigurationService::CreateParams::Multibanco, name: String, oxxo: ::Stripe::PaymentMethodConfigurationService::CreateParams::Oxxo, p24: ::Stripe::PaymentMethodConfigurationService::CreateParams::P24, parent: String, paynow: ::Stripe::PaymentMethodConfigurationService::CreateParams::Paynow, paypal: ::Stripe::PaymentMethodConfigurationService::CreateParams::Paypal, payto: ::Stripe::PaymentMethodConfigurationService::CreateParams::Payto, promptpay: ::Stripe::PaymentMethodConfigurationService::CreateParams::Promptpay, qris: ::Stripe::PaymentMethodConfigurationService::CreateParams::Qris, revolut_pay: ::Stripe::PaymentMethodConfigurationService::CreateParams::RevolutPay, sepa_debit: ::Stripe::PaymentMethodConfigurationService::CreateParams::SepaDebit, shopeepay: ::Stripe::PaymentMethodConfigurationService::CreateParams::Shopeepay, sofort: ::Stripe::PaymentMethodConfigurationService::CreateParams::Sofort, swish: ::Stripe::PaymentMethodConfigurationService::CreateParams::Swish, twint: ::Stripe::PaymentMethodConfigurationService::CreateParams::Twint, us_bank_account: ::Stripe::PaymentMethodConfigurationService::CreateParams::UsBankAccount, wechat_pay: ::Stripe::PaymentMethodConfigurationService::CreateParams::WechatPay, zip: ::Stripe::PaymentMethodConfigurationService::CreateParams::Zip).void
1053
+ params(acss_debit: ::Stripe::PaymentMethodConfigurationService::CreateParams::AcssDebit, affirm: ::Stripe::PaymentMethodConfigurationService::CreateParams::Affirm, afterpay_clearpay: ::Stripe::PaymentMethodConfigurationService::CreateParams::AfterpayClearpay, alipay: ::Stripe::PaymentMethodConfigurationService::CreateParams::Alipay, alma: ::Stripe::PaymentMethodConfigurationService::CreateParams::Alma, amazon_pay: ::Stripe::PaymentMethodConfigurationService::CreateParams::AmazonPay, apple_pay: ::Stripe::PaymentMethodConfigurationService::CreateParams::ApplePay, apple_pay_later: ::Stripe::PaymentMethodConfigurationService::CreateParams::ApplePayLater, au_becs_debit: ::Stripe::PaymentMethodConfigurationService::CreateParams::AuBecsDebit, bacs_debit: ::Stripe::PaymentMethodConfigurationService::CreateParams::BacsDebit, bancontact: ::Stripe::PaymentMethodConfigurationService::CreateParams::Bancontact, blik: ::Stripe::PaymentMethodConfigurationService::CreateParams::Blik, boleto: ::Stripe::PaymentMethodConfigurationService::CreateParams::Boleto, card: ::Stripe::PaymentMethodConfigurationService::CreateParams::Card, cartes_bancaires: ::Stripe::PaymentMethodConfigurationService::CreateParams::CartesBancaires, cashapp: ::Stripe::PaymentMethodConfigurationService::CreateParams::Cashapp, customer_balance: ::Stripe::PaymentMethodConfigurationService::CreateParams::CustomerBalance, eps: ::Stripe::PaymentMethodConfigurationService::CreateParams::Eps, expand: T::Array[String], fpx: ::Stripe::PaymentMethodConfigurationService::CreateParams::Fpx, giropay: ::Stripe::PaymentMethodConfigurationService::CreateParams::Giropay, google_pay: ::Stripe::PaymentMethodConfigurationService::CreateParams::GooglePay, gopay: ::Stripe::PaymentMethodConfigurationService::CreateParams::Gopay, grabpay: ::Stripe::PaymentMethodConfigurationService::CreateParams::Grabpay, id_bank_transfer: ::Stripe::PaymentMethodConfigurationService::CreateParams::IdBankTransfer, ideal: ::Stripe::PaymentMethodConfigurationService::CreateParams::Ideal, jcb: ::Stripe::PaymentMethodConfigurationService::CreateParams::Jcb, klarna: ::Stripe::PaymentMethodConfigurationService::CreateParams::Klarna, konbini: ::Stripe::PaymentMethodConfigurationService::CreateParams::Konbini, link: ::Stripe::PaymentMethodConfigurationService::CreateParams::Link, mobilepay: ::Stripe::PaymentMethodConfigurationService::CreateParams::Mobilepay, multibanco: ::Stripe::PaymentMethodConfigurationService::CreateParams::Multibanco, name: String, oxxo: ::Stripe::PaymentMethodConfigurationService::CreateParams::Oxxo, p24: ::Stripe::PaymentMethodConfigurationService::CreateParams::P24, parent: String, pay_by_bank: ::Stripe::PaymentMethodConfigurationService::CreateParams::PayByBank, paynow: ::Stripe::PaymentMethodConfigurationService::CreateParams::Paynow, paypal: ::Stripe::PaymentMethodConfigurationService::CreateParams::Paypal, payto: ::Stripe::PaymentMethodConfigurationService::CreateParams::Payto, promptpay: ::Stripe::PaymentMethodConfigurationService::CreateParams::Promptpay, qris: ::Stripe::PaymentMethodConfigurationService::CreateParams::Qris, revolut_pay: ::Stripe::PaymentMethodConfigurationService::CreateParams::RevolutPay, sepa_debit: ::Stripe::PaymentMethodConfigurationService::CreateParams::SepaDebit, shopeepay: ::Stripe::PaymentMethodConfigurationService::CreateParams::Shopeepay, sofort: ::Stripe::PaymentMethodConfigurationService::CreateParams::Sofort, swish: ::Stripe::PaymentMethodConfigurationService::CreateParams::Swish, twint: ::Stripe::PaymentMethodConfigurationService::CreateParams::Twint, us_bank_account: ::Stripe::PaymentMethodConfigurationService::CreateParams::UsBankAccount, wechat_pay: ::Stripe::PaymentMethodConfigurationService::CreateParams::WechatPay, zip: ::Stripe::PaymentMethodConfigurationService::CreateParams::Zip).void
1182
1054
  }
1183
1055
  def initialize(
1184
1056
  acss_debit: nil,
@@ -1217,6 +1089,7 @@ module Stripe
1217
1089
  oxxo: nil,
1218
1090
  p24: nil,
1219
1091
  parent: nil,
1092
+ pay_by_bank: nil,
1220
1093
  paynow: nil,
1221
1094
  paypal: nil,
1222
1095
  payto: nil,
@@ -1237,7 +1110,6 @@ module Stripe
1237
1110
  # Specifies which fields in the response should be expanded.
1238
1111
  sig { returns(T::Array[String]) }
1239
1112
  attr_accessor :expand
1240
-
1241
1113
  sig { params(expand: T::Array[String]).void }
1242
1114
  def initialize(expand: nil); end
1243
1115
  end
@@ -1247,7 +1119,6 @@ module Stripe
1247
1119
  # The account's preference for whether or not to display this payment method.
1248
1120
  sig { returns(String) }
1249
1121
  attr_accessor :preference
1250
-
1251
1122
  sig { params(preference: String).void }
1252
1123
  def initialize(preference: nil); end
1253
1124
  end
@@ -1256,7 +1127,6 @@ module Stripe
1256
1127
  returns(::Stripe::PaymentMethodConfigurationService::UpdateParams::AcssDebit::DisplayPreference)
1257
1128
  }
1258
1129
  attr_accessor :display_preference
1259
-
1260
1130
  sig {
1261
1131
  params(display_preference: ::Stripe::PaymentMethodConfigurationService::UpdateParams::AcssDebit::DisplayPreference).void
1262
1132
  }
@@ -1267,7 +1137,6 @@ module Stripe
1267
1137
  # The account's preference for whether or not to display this payment method.
1268
1138
  sig { returns(String) }
1269
1139
  attr_accessor :preference
1270
-
1271
1140
  sig { params(preference: String).void }
1272
1141
  def initialize(preference: nil); end
1273
1142
  end
@@ -1276,7 +1145,6 @@ module Stripe
1276
1145
  returns(::Stripe::PaymentMethodConfigurationService::UpdateParams::Affirm::DisplayPreference)
1277
1146
  }
1278
1147
  attr_accessor :display_preference
1279
-
1280
1148
  sig {
1281
1149
  params(display_preference: ::Stripe::PaymentMethodConfigurationService::UpdateParams::Affirm::DisplayPreference).void
1282
1150
  }
@@ -1287,7 +1155,6 @@ module Stripe
1287
1155
  # The account's preference for whether or not to display this payment method.
1288
1156
  sig { returns(String) }
1289
1157
  attr_accessor :preference
1290
-
1291
1158
  sig { params(preference: String).void }
1292
1159
  def initialize(preference: nil); end
1293
1160
  end
@@ -1296,7 +1163,6 @@ module Stripe
1296
1163
  returns(::Stripe::PaymentMethodConfigurationService::UpdateParams::AfterpayClearpay::DisplayPreference)
1297
1164
  }
1298
1165
  attr_accessor :display_preference
1299
-
1300
1166
  sig {
1301
1167
  params(display_preference: ::Stripe::PaymentMethodConfigurationService::UpdateParams::AfterpayClearpay::DisplayPreference).void
1302
1168
  }
@@ -1307,7 +1173,6 @@ module Stripe
1307
1173
  # The account's preference for whether or not to display this payment method.
1308
1174
  sig { returns(String) }
1309
1175
  attr_accessor :preference
1310
-
1311
1176
  sig { params(preference: String).void }
1312
1177
  def initialize(preference: nil); end
1313
1178
  end
@@ -1316,7 +1181,6 @@ module Stripe
1316
1181
  returns(::Stripe::PaymentMethodConfigurationService::UpdateParams::Alipay::DisplayPreference)
1317
1182
  }
1318
1183
  attr_accessor :display_preference
1319
-
1320
1184
  sig {
1321
1185
  params(display_preference: ::Stripe::PaymentMethodConfigurationService::UpdateParams::Alipay::DisplayPreference).void
1322
1186
  }
@@ -1327,7 +1191,6 @@ module Stripe
1327
1191
  # The account's preference for whether or not to display this payment method.
1328
1192
  sig { returns(String) }
1329
1193
  attr_accessor :preference
1330
-
1331
1194
  sig { params(preference: String).void }
1332
1195
  def initialize(preference: nil); end
1333
1196
  end
@@ -1336,7 +1199,6 @@ module Stripe
1336
1199
  returns(::Stripe::PaymentMethodConfigurationService::UpdateParams::Alma::DisplayPreference)
1337
1200
  }
1338
1201
  attr_accessor :display_preference
1339
-
1340
1202
  sig {
1341
1203
  params(display_preference: ::Stripe::PaymentMethodConfigurationService::UpdateParams::Alma::DisplayPreference).void
1342
1204
  }
@@ -1347,7 +1209,6 @@ module Stripe
1347
1209
  # The account's preference for whether or not to display this payment method.
1348
1210
  sig { returns(String) }
1349
1211
  attr_accessor :preference
1350
-
1351
1212
  sig { params(preference: String).void }
1352
1213
  def initialize(preference: nil); end
1353
1214
  end
@@ -1356,7 +1217,6 @@ module Stripe
1356
1217
  returns(::Stripe::PaymentMethodConfigurationService::UpdateParams::AmazonPay::DisplayPreference)
1357
1218
  }
1358
1219
  attr_accessor :display_preference
1359
-
1360
1220
  sig {
1361
1221
  params(display_preference: ::Stripe::PaymentMethodConfigurationService::UpdateParams::AmazonPay::DisplayPreference).void
1362
1222
  }
@@ -1367,7 +1227,6 @@ module Stripe
1367
1227
  # The account's preference for whether or not to display this payment method.
1368
1228
  sig { returns(String) }
1369
1229
  attr_accessor :preference
1370
-
1371
1230
  sig { params(preference: String).void }
1372
1231
  def initialize(preference: nil); end
1373
1232
  end
@@ -1376,7 +1235,6 @@ module Stripe
1376
1235
  returns(::Stripe::PaymentMethodConfigurationService::UpdateParams::ApplePay::DisplayPreference)
1377
1236
  }
1378
1237
  attr_accessor :display_preference
1379
-
1380
1238
  sig {
1381
1239
  params(display_preference: ::Stripe::PaymentMethodConfigurationService::UpdateParams::ApplePay::DisplayPreference).void
1382
1240
  }
@@ -1387,7 +1245,6 @@ module Stripe
1387
1245
  # The account's preference for whether or not to display this payment method.
1388
1246
  sig { returns(String) }
1389
1247
  attr_accessor :preference
1390
-
1391
1248
  sig { params(preference: String).void }
1392
1249
  def initialize(preference: nil); end
1393
1250
  end
@@ -1396,7 +1253,6 @@ module Stripe
1396
1253
  returns(::Stripe::PaymentMethodConfigurationService::UpdateParams::ApplePayLater::DisplayPreference)
1397
1254
  }
1398
1255
  attr_accessor :display_preference
1399
-
1400
1256
  sig {
1401
1257
  params(display_preference: ::Stripe::PaymentMethodConfigurationService::UpdateParams::ApplePayLater::DisplayPreference).void
1402
1258
  }
@@ -1407,7 +1263,6 @@ module Stripe
1407
1263
  # The account's preference for whether or not to display this payment method.
1408
1264
  sig { returns(String) }
1409
1265
  attr_accessor :preference
1410
-
1411
1266
  sig { params(preference: String).void }
1412
1267
  def initialize(preference: nil); end
1413
1268
  end
@@ -1416,7 +1271,6 @@ module Stripe
1416
1271
  returns(::Stripe::PaymentMethodConfigurationService::UpdateParams::AuBecsDebit::DisplayPreference)
1417
1272
  }
1418
1273
  attr_accessor :display_preference
1419
-
1420
1274
  sig {
1421
1275
  params(display_preference: ::Stripe::PaymentMethodConfigurationService::UpdateParams::AuBecsDebit::DisplayPreference).void
1422
1276
  }
@@ -1427,7 +1281,6 @@ module Stripe
1427
1281
  # The account's preference for whether or not to display this payment method.
1428
1282
  sig { returns(String) }
1429
1283
  attr_accessor :preference
1430
-
1431
1284
  sig { params(preference: String).void }
1432
1285
  def initialize(preference: nil); end
1433
1286
  end
@@ -1436,7 +1289,6 @@ module Stripe
1436
1289
  returns(::Stripe::PaymentMethodConfigurationService::UpdateParams::BacsDebit::DisplayPreference)
1437
1290
  }
1438
1291
  attr_accessor :display_preference
1439
-
1440
1292
  sig {
1441
1293
  params(display_preference: ::Stripe::PaymentMethodConfigurationService::UpdateParams::BacsDebit::DisplayPreference).void
1442
1294
  }
@@ -1447,7 +1299,6 @@ module Stripe
1447
1299
  # The account's preference for whether or not to display this payment method.
1448
1300
  sig { returns(String) }
1449
1301
  attr_accessor :preference
1450
-
1451
1302
  sig { params(preference: String).void }
1452
1303
  def initialize(preference: nil); end
1453
1304
  end
@@ -1456,7 +1307,6 @@ module Stripe
1456
1307
  returns(::Stripe::PaymentMethodConfigurationService::UpdateParams::Bancontact::DisplayPreference)
1457
1308
  }
1458
1309
  attr_accessor :display_preference
1459
-
1460
1310
  sig {
1461
1311
  params(display_preference: ::Stripe::PaymentMethodConfigurationService::UpdateParams::Bancontact::DisplayPreference).void
1462
1312
  }
@@ -1467,7 +1317,6 @@ module Stripe
1467
1317
  # The account's preference for whether or not to display this payment method.
1468
1318
  sig { returns(String) }
1469
1319
  attr_accessor :preference
1470
-
1471
1320
  sig { params(preference: String).void }
1472
1321
  def initialize(preference: nil); end
1473
1322
  end
@@ -1476,7 +1325,6 @@ module Stripe
1476
1325
  returns(::Stripe::PaymentMethodConfigurationService::UpdateParams::Blik::DisplayPreference)
1477
1326
  }
1478
1327
  attr_accessor :display_preference
1479
-
1480
1328
  sig {
1481
1329
  params(display_preference: ::Stripe::PaymentMethodConfigurationService::UpdateParams::Blik::DisplayPreference).void
1482
1330
  }
@@ -1487,7 +1335,6 @@ module Stripe
1487
1335
  # The account's preference for whether or not to display this payment method.
1488
1336
  sig { returns(String) }
1489
1337
  attr_accessor :preference
1490
-
1491
1338
  sig { params(preference: String).void }
1492
1339
  def initialize(preference: nil); end
1493
1340
  end
@@ -1496,7 +1343,6 @@ module Stripe
1496
1343
  returns(::Stripe::PaymentMethodConfigurationService::UpdateParams::Boleto::DisplayPreference)
1497
1344
  }
1498
1345
  attr_accessor :display_preference
1499
-
1500
1346
  sig {
1501
1347
  params(display_preference: ::Stripe::PaymentMethodConfigurationService::UpdateParams::Boleto::DisplayPreference).void
1502
1348
  }
@@ -1507,7 +1353,6 @@ module Stripe
1507
1353
  # The account's preference for whether or not to display this payment method.
1508
1354
  sig { returns(String) }
1509
1355
  attr_accessor :preference
1510
-
1511
1356
  sig { params(preference: String).void }
1512
1357
  def initialize(preference: nil); end
1513
1358
  end
@@ -1516,7 +1361,6 @@ module Stripe
1516
1361
  returns(::Stripe::PaymentMethodConfigurationService::UpdateParams::Card::DisplayPreference)
1517
1362
  }
1518
1363
  attr_accessor :display_preference
1519
-
1520
1364
  sig {
1521
1365
  params(display_preference: ::Stripe::PaymentMethodConfigurationService::UpdateParams::Card::DisplayPreference).void
1522
1366
  }
@@ -1527,7 +1371,6 @@ module Stripe
1527
1371
  # The account's preference for whether or not to display this payment method.
1528
1372
  sig { returns(String) }
1529
1373
  attr_accessor :preference
1530
-
1531
1374
  sig { params(preference: String).void }
1532
1375
  def initialize(preference: nil); end
1533
1376
  end
@@ -1536,7 +1379,6 @@ module Stripe
1536
1379
  returns(::Stripe::PaymentMethodConfigurationService::UpdateParams::CartesBancaires::DisplayPreference)
1537
1380
  }
1538
1381
  attr_accessor :display_preference
1539
-
1540
1382
  sig {
1541
1383
  params(display_preference: ::Stripe::PaymentMethodConfigurationService::UpdateParams::CartesBancaires::DisplayPreference).void
1542
1384
  }
@@ -1547,7 +1389,6 @@ module Stripe
1547
1389
  # The account's preference for whether or not to display this payment method.
1548
1390
  sig { returns(String) }
1549
1391
  attr_accessor :preference
1550
-
1551
1392
  sig { params(preference: String).void }
1552
1393
  def initialize(preference: nil); end
1553
1394
  end
@@ -1556,7 +1397,6 @@ module Stripe
1556
1397
  returns(::Stripe::PaymentMethodConfigurationService::UpdateParams::Cashapp::DisplayPreference)
1557
1398
  }
1558
1399
  attr_accessor :display_preference
1559
-
1560
1400
  sig {
1561
1401
  params(display_preference: ::Stripe::PaymentMethodConfigurationService::UpdateParams::Cashapp::DisplayPreference).void
1562
1402
  }
@@ -1567,7 +1407,6 @@ module Stripe
1567
1407
  # The account's preference for whether or not to display this payment method.
1568
1408
  sig { returns(String) }
1569
1409
  attr_accessor :preference
1570
-
1571
1410
  sig { params(preference: String).void }
1572
1411
  def initialize(preference: nil); end
1573
1412
  end
@@ -1576,7 +1415,6 @@ module Stripe
1576
1415
  returns(::Stripe::PaymentMethodConfigurationService::UpdateParams::CustomerBalance::DisplayPreference)
1577
1416
  }
1578
1417
  attr_accessor :display_preference
1579
-
1580
1418
  sig {
1581
1419
  params(display_preference: ::Stripe::PaymentMethodConfigurationService::UpdateParams::CustomerBalance::DisplayPreference).void
1582
1420
  }
@@ -1587,7 +1425,6 @@ module Stripe
1587
1425
  # The account's preference for whether or not to display this payment method.
1588
1426
  sig { returns(String) }
1589
1427
  attr_accessor :preference
1590
-
1591
1428
  sig { params(preference: String).void }
1592
1429
  def initialize(preference: nil); end
1593
1430
  end
@@ -1596,7 +1433,6 @@ module Stripe
1596
1433
  returns(::Stripe::PaymentMethodConfigurationService::UpdateParams::Eps::DisplayPreference)
1597
1434
  }
1598
1435
  attr_accessor :display_preference
1599
-
1600
1436
  sig {
1601
1437
  params(display_preference: ::Stripe::PaymentMethodConfigurationService::UpdateParams::Eps::DisplayPreference).void
1602
1438
  }
@@ -1607,7 +1443,6 @@ module Stripe
1607
1443
  # The account's preference for whether or not to display this payment method.
1608
1444
  sig { returns(String) }
1609
1445
  attr_accessor :preference
1610
-
1611
1446
  sig { params(preference: String).void }
1612
1447
  def initialize(preference: nil); end
1613
1448
  end
@@ -1616,7 +1451,6 @@ module Stripe
1616
1451
  returns(::Stripe::PaymentMethodConfigurationService::UpdateParams::Fpx::DisplayPreference)
1617
1452
  }
1618
1453
  attr_accessor :display_preference
1619
-
1620
1454
  sig {
1621
1455
  params(display_preference: ::Stripe::PaymentMethodConfigurationService::UpdateParams::Fpx::DisplayPreference).void
1622
1456
  }
@@ -1627,7 +1461,6 @@ module Stripe
1627
1461
  # The account's preference for whether or not to display this payment method.
1628
1462
  sig { returns(String) }
1629
1463
  attr_accessor :preference
1630
-
1631
1464
  sig { params(preference: String).void }
1632
1465
  def initialize(preference: nil); end
1633
1466
  end
@@ -1636,7 +1469,6 @@ module Stripe
1636
1469
  returns(::Stripe::PaymentMethodConfigurationService::UpdateParams::Giropay::DisplayPreference)
1637
1470
  }
1638
1471
  attr_accessor :display_preference
1639
-
1640
1472
  sig {
1641
1473
  params(display_preference: ::Stripe::PaymentMethodConfigurationService::UpdateParams::Giropay::DisplayPreference).void
1642
1474
  }
@@ -1647,7 +1479,6 @@ module Stripe
1647
1479
  # The account's preference for whether or not to display this payment method.
1648
1480
  sig { returns(String) }
1649
1481
  attr_accessor :preference
1650
-
1651
1482
  sig { params(preference: String).void }
1652
1483
  def initialize(preference: nil); end
1653
1484
  end
@@ -1656,7 +1487,6 @@ module Stripe
1656
1487
  returns(::Stripe::PaymentMethodConfigurationService::UpdateParams::GooglePay::DisplayPreference)
1657
1488
  }
1658
1489
  attr_accessor :display_preference
1659
-
1660
1490
  sig {
1661
1491
  params(display_preference: ::Stripe::PaymentMethodConfigurationService::UpdateParams::GooglePay::DisplayPreference).void
1662
1492
  }
@@ -1667,7 +1497,6 @@ module Stripe
1667
1497
  # The account's preference for whether or not to display this payment method.
1668
1498
  sig { returns(String) }
1669
1499
  attr_accessor :preference
1670
-
1671
1500
  sig { params(preference: String).void }
1672
1501
  def initialize(preference: nil); end
1673
1502
  end
@@ -1676,7 +1505,6 @@ module Stripe
1676
1505
  returns(::Stripe::PaymentMethodConfigurationService::UpdateParams::Gopay::DisplayPreference)
1677
1506
  }
1678
1507
  attr_accessor :display_preference
1679
-
1680
1508
  sig {
1681
1509
  params(display_preference: ::Stripe::PaymentMethodConfigurationService::UpdateParams::Gopay::DisplayPreference).void
1682
1510
  }
@@ -1687,7 +1515,6 @@ module Stripe
1687
1515
  # The account's preference for whether or not to display this payment method.
1688
1516
  sig { returns(String) }
1689
1517
  attr_accessor :preference
1690
-
1691
1518
  sig { params(preference: String).void }
1692
1519
  def initialize(preference: nil); end
1693
1520
  end
@@ -1696,7 +1523,6 @@ module Stripe
1696
1523
  returns(::Stripe::PaymentMethodConfigurationService::UpdateParams::Grabpay::DisplayPreference)
1697
1524
  }
1698
1525
  attr_accessor :display_preference
1699
-
1700
1526
  sig {
1701
1527
  params(display_preference: ::Stripe::PaymentMethodConfigurationService::UpdateParams::Grabpay::DisplayPreference).void
1702
1528
  }
@@ -1707,7 +1533,6 @@ module Stripe
1707
1533
  # The account's preference for whether or not to display this payment method.
1708
1534
  sig { returns(String) }
1709
1535
  attr_accessor :preference
1710
-
1711
1536
  sig { params(preference: String).void }
1712
1537
  def initialize(preference: nil); end
1713
1538
  end
@@ -1716,7 +1541,6 @@ module Stripe
1716
1541
  returns(::Stripe::PaymentMethodConfigurationService::UpdateParams::IdBankTransfer::DisplayPreference)
1717
1542
  }
1718
1543
  attr_accessor :display_preference
1719
-
1720
1544
  sig {
1721
1545
  params(display_preference: ::Stripe::PaymentMethodConfigurationService::UpdateParams::IdBankTransfer::DisplayPreference).void
1722
1546
  }
@@ -1727,7 +1551,6 @@ module Stripe
1727
1551
  # The account's preference for whether or not to display this payment method.
1728
1552
  sig { returns(String) }
1729
1553
  attr_accessor :preference
1730
-
1731
1554
  sig { params(preference: String).void }
1732
1555
  def initialize(preference: nil); end
1733
1556
  end
@@ -1736,7 +1559,6 @@ module Stripe
1736
1559
  returns(::Stripe::PaymentMethodConfigurationService::UpdateParams::Ideal::DisplayPreference)
1737
1560
  }
1738
1561
  attr_accessor :display_preference
1739
-
1740
1562
  sig {
1741
1563
  params(display_preference: ::Stripe::PaymentMethodConfigurationService::UpdateParams::Ideal::DisplayPreference).void
1742
1564
  }
@@ -1747,7 +1569,6 @@ module Stripe
1747
1569
  # The account's preference for whether or not to display this payment method.
1748
1570
  sig { returns(String) }
1749
1571
  attr_accessor :preference
1750
-
1751
1572
  sig { params(preference: String).void }
1752
1573
  def initialize(preference: nil); end
1753
1574
  end
@@ -1756,7 +1577,6 @@ module Stripe
1756
1577
  returns(::Stripe::PaymentMethodConfigurationService::UpdateParams::Jcb::DisplayPreference)
1757
1578
  }
1758
1579
  attr_accessor :display_preference
1759
-
1760
1580
  sig {
1761
1581
  params(display_preference: ::Stripe::PaymentMethodConfigurationService::UpdateParams::Jcb::DisplayPreference).void
1762
1582
  }
@@ -1767,7 +1587,6 @@ module Stripe
1767
1587
  # The account's preference for whether or not to display this payment method.
1768
1588
  sig { returns(String) }
1769
1589
  attr_accessor :preference
1770
-
1771
1590
  sig { params(preference: String).void }
1772
1591
  def initialize(preference: nil); end
1773
1592
  end
@@ -1776,7 +1595,6 @@ module Stripe
1776
1595
  returns(::Stripe::PaymentMethodConfigurationService::UpdateParams::Klarna::DisplayPreference)
1777
1596
  }
1778
1597
  attr_accessor :display_preference
1779
-
1780
1598
  sig {
1781
1599
  params(display_preference: ::Stripe::PaymentMethodConfigurationService::UpdateParams::Klarna::DisplayPreference).void
1782
1600
  }
@@ -1787,7 +1605,6 @@ module Stripe
1787
1605
  # The account's preference for whether or not to display this payment method.
1788
1606
  sig { returns(String) }
1789
1607
  attr_accessor :preference
1790
-
1791
1608
  sig { params(preference: String).void }
1792
1609
  def initialize(preference: nil); end
1793
1610
  end
@@ -1796,7 +1613,6 @@ module Stripe
1796
1613
  returns(::Stripe::PaymentMethodConfigurationService::UpdateParams::Konbini::DisplayPreference)
1797
1614
  }
1798
1615
  attr_accessor :display_preference
1799
-
1800
1616
  sig {
1801
1617
  params(display_preference: ::Stripe::PaymentMethodConfigurationService::UpdateParams::Konbini::DisplayPreference).void
1802
1618
  }
@@ -1807,7 +1623,6 @@ module Stripe
1807
1623
  # The account's preference for whether or not to display this payment method.
1808
1624
  sig { returns(String) }
1809
1625
  attr_accessor :preference
1810
-
1811
1626
  sig { params(preference: String).void }
1812
1627
  def initialize(preference: nil); end
1813
1628
  end
@@ -1816,7 +1631,6 @@ module Stripe
1816
1631
  returns(::Stripe::PaymentMethodConfigurationService::UpdateParams::Link::DisplayPreference)
1817
1632
  }
1818
1633
  attr_accessor :display_preference
1819
-
1820
1634
  sig {
1821
1635
  params(display_preference: ::Stripe::PaymentMethodConfigurationService::UpdateParams::Link::DisplayPreference).void
1822
1636
  }
@@ -1827,7 +1641,6 @@ module Stripe
1827
1641
  # The account's preference for whether or not to display this payment method.
1828
1642
  sig { returns(String) }
1829
1643
  attr_accessor :preference
1830
-
1831
1644
  sig { params(preference: String).void }
1832
1645
  def initialize(preference: nil); end
1833
1646
  end
@@ -1836,7 +1649,6 @@ module Stripe
1836
1649
  returns(::Stripe::PaymentMethodConfigurationService::UpdateParams::Mobilepay::DisplayPreference)
1837
1650
  }
1838
1651
  attr_accessor :display_preference
1839
-
1840
1652
  sig {
1841
1653
  params(display_preference: ::Stripe::PaymentMethodConfigurationService::UpdateParams::Mobilepay::DisplayPreference).void
1842
1654
  }
@@ -1847,7 +1659,6 @@ module Stripe
1847
1659
  # The account's preference for whether or not to display this payment method.
1848
1660
  sig { returns(String) }
1849
1661
  attr_accessor :preference
1850
-
1851
1662
  sig { params(preference: String).void }
1852
1663
  def initialize(preference: nil); end
1853
1664
  end
@@ -1856,7 +1667,6 @@ module Stripe
1856
1667
  returns(::Stripe::PaymentMethodConfigurationService::UpdateParams::Multibanco::DisplayPreference)
1857
1668
  }
1858
1669
  attr_accessor :display_preference
1859
-
1860
1670
  sig {
1861
1671
  params(display_preference: ::Stripe::PaymentMethodConfigurationService::UpdateParams::Multibanco::DisplayPreference).void
1862
1672
  }
@@ -1867,7 +1677,6 @@ module Stripe
1867
1677
  # The account's preference for whether or not to display this payment method.
1868
1678
  sig { returns(String) }
1869
1679
  attr_accessor :preference
1870
-
1871
1680
  sig { params(preference: String).void }
1872
1681
  def initialize(preference: nil); end
1873
1682
  end
@@ -1876,7 +1685,6 @@ module Stripe
1876
1685
  returns(::Stripe::PaymentMethodConfigurationService::UpdateParams::Oxxo::DisplayPreference)
1877
1686
  }
1878
1687
  attr_accessor :display_preference
1879
-
1880
1688
  sig {
1881
1689
  params(display_preference: ::Stripe::PaymentMethodConfigurationService::UpdateParams::Oxxo::DisplayPreference).void
1882
1690
  }
@@ -1887,7 +1695,6 @@ module Stripe
1887
1695
  # The account's preference for whether or not to display this payment method.
1888
1696
  sig { returns(String) }
1889
1697
  attr_accessor :preference
1890
-
1891
1698
  sig { params(preference: String).void }
1892
1699
  def initialize(preference: nil); end
1893
1700
  end
@@ -1896,18 +1703,34 @@ module Stripe
1896
1703
  returns(::Stripe::PaymentMethodConfigurationService::UpdateParams::P24::DisplayPreference)
1897
1704
  }
1898
1705
  attr_accessor :display_preference
1899
-
1900
1706
  sig {
1901
1707
  params(display_preference: ::Stripe::PaymentMethodConfigurationService::UpdateParams::P24::DisplayPreference).void
1902
1708
  }
1903
1709
  def initialize(display_preference: nil); end
1904
1710
  end
1711
+ class PayByBank < Stripe::RequestParams
1712
+ class DisplayPreference < Stripe::RequestParams
1713
+ # The account's preference for whether or not to display this payment method.
1714
+ sig { returns(String) }
1715
+ attr_accessor :preference
1716
+ sig { params(preference: String).void }
1717
+ def initialize(preference: nil); end
1718
+ end
1719
+ # Whether or not the payment method should be displayed.
1720
+ sig {
1721
+ returns(::Stripe::PaymentMethodConfigurationService::UpdateParams::PayByBank::DisplayPreference)
1722
+ }
1723
+ attr_accessor :display_preference
1724
+ sig {
1725
+ params(display_preference: ::Stripe::PaymentMethodConfigurationService::UpdateParams::PayByBank::DisplayPreference).void
1726
+ }
1727
+ def initialize(display_preference: nil); end
1728
+ end
1905
1729
  class Paynow < Stripe::RequestParams
1906
1730
  class DisplayPreference < Stripe::RequestParams
1907
1731
  # The account's preference for whether or not to display this payment method.
1908
1732
  sig { returns(String) }
1909
1733
  attr_accessor :preference
1910
-
1911
1734
  sig { params(preference: String).void }
1912
1735
  def initialize(preference: nil); end
1913
1736
  end
@@ -1916,7 +1739,6 @@ module Stripe
1916
1739
  returns(::Stripe::PaymentMethodConfigurationService::UpdateParams::Paynow::DisplayPreference)
1917
1740
  }
1918
1741
  attr_accessor :display_preference
1919
-
1920
1742
  sig {
1921
1743
  params(display_preference: ::Stripe::PaymentMethodConfigurationService::UpdateParams::Paynow::DisplayPreference).void
1922
1744
  }
@@ -1927,7 +1749,6 @@ module Stripe
1927
1749
  # The account's preference for whether or not to display this payment method.
1928
1750
  sig { returns(String) }
1929
1751
  attr_accessor :preference
1930
-
1931
1752
  sig { params(preference: String).void }
1932
1753
  def initialize(preference: nil); end
1933
1754
  end
@@ -1936,7 +1757,6 @@ module Stripe
1936
1757
  returns(::Stripe::PaymentMethodConfigurationService::UpdateParams::Paypal::DisplayPreference)
1937
1758
  }
1938
1759
  attr_accessor :display_preference
1939
-
1940
1760
  sig {
1941
1761
  params(display_preference: ::Stripe::PaymentMethodConfigurationService::UpdateParams::Paypal::DisplayPreference).void
1942
1762
  }
@@ -1947,7 +1767,6 @@ module Stripe
1947
1767
  # The account's preference for whether or not to display this payment method.
1948
1768
  sig { returns(String) }
1949
1769
  attr_accessor :preference
1950
-
1951
1770
  sig { params(preference: String).void }
1952
1771
  def initialize(preference: nil); end
1953
1772
  end
@@ -1956,7 +1775,6 @@ module Stripe
1956
1775
  returns(::Stripe::PaymentMethodConfigurationService::UpdateParams::Payto::DisplayPreference)
1957
1776
  }
1958
1777
  attr_accessor :display_preference
1959
-
1960
1778
  sig {
1961
1779
  params(display_preference: ::Stripe::PaymentMethodConfigurationService::UpdateParams::Payto::DisplayPreference).void
1962
1780
  }
@@ -1967,7 +1785,6 @@ module Stripe
1967
1785
  # The account's preference for whether or not to display this payment method.
1968
1786
  sig { returns(String) }
1969
1787
  attr_accessor :preference
1970
-
1971
1788
  sig { params(preference: String).void }
1972
1789
  def initialize(preference: nil); end
1973
1790
  end
@@ -1976,7 +1793,6 @@ module Stripe
1976
1793
  returns(::Stripe::PaymentMethodConfigurationService::UpdateParams::Promptpay::DisplayPreference)
1977
1794
  }
1978
1795
  attr_accessor :display_preference
1979
-
1980
1796
  sig {
1981
1797
  params(display_preference: ::Stripe::PaymentMethodConfigurationService::UpdateParams::Promptpay::DisplayPreference).void
1982
1798
  }
@@ -1987,7 +1803,6 @@ module Stripe
1987
1803
  # The account's preference for whether or not to display this payment method.
1988
1804
  sig { returns(String) }
1989
1805
  attr_accessor :preference
1990
-
1991
1806
  sig { params(preference: String).void }
1992
1807
  def initialize(preference: nil); end
1993
1808
  end
@@ -1996,7 +1811,6 @@ module Stripe
1996
1811
  returns(::Stripe::PaymentMethodConfigurationService::UpdateParams::Qris::DisplayPreference)
1997
1812
  }
1998
1813
  attr_accessor :display_preference
1999
-
2000
1814
  sig {
2001
1815
  params(display_preference: ::Stripe::PaymentMethodConfigurationService::UpdateParams::Qris::DisplayPreference).void
2002
1816
  }
@@ -2007,7 +1821,6 @@ module Stripe
2007
1821
  # The account's preference for whether or not to display this payment method.
2008
1822
  sig { returns(String) }
2009
1823
  attr_accessor :preference
2010
-
2011
1824
  sig { params(preference: String).void }
2012
1825
  def initialize(preference: nil); end
2013
1826
  end
@@ -2016,7 +1829,6 @@ module Stripe
2016
1829
  returns(::Stripe::PaymentMethodConfigurationService::UpdateParams::RevolutPay::DisplayPreference)
2017
1830
  }
2018
1831
  attr_accessor :display_preference
2019
-
2020
1832
  sig {
2021
1833
  params(display_preference: ::Stripe::PaymentMethodConfigurationService::UpdateParams::RevolutPay::DisplayPreference).void
2022
1834
  }
@@ -2027,7 +1839,6 @@ module Stripe
2027
1839
  # The account's preference for whether or not to display this payment method.
2028
1840
  sig { returns(String) }
2029
1841
  attr_accessor :preference
2030
-
2031
1842
  sig { params(preference: String).void }
2032
1843
  def initialize(preference: nil); end
2033
1844
  end
@@ -2036,7 +1847,6 @@ module Stripe
2036
1847
  returns(::Stripe::PaymentMethodConfigurationService::UpdateParams::SepaDebit::DisplayPreference)
2037
1848
  }
2038
1849
  attr_accessor :display_preference
2039
-
2040
1850
  sig {
2041
1851
  params(display_preference: ::Stripe::PaymentMethodConfigurationService::UpdateParams::SepaDebit::DisplayPreference).void
2042
1852
  }
@@ -2047,7 +1857,6 @@ module Stripe
2047
1857
  # The account's preference for whether or not to display this payment method.
2048
1858
  sig { returns(String) }
2049
1859
  attr_accessor :preference
2050
-
2051
1860
  sig { params(preference: String).void }
2052
1861
  def initialize(preference: nil); end
2053
1862
  end
@@ -2056,7 +1865,6 @@ module Stripe
2056
1865
  returns(::Stripe::PaymentMethodConfigurationService::UpdateParams::Shopeepay::DisplayPreference)
2057
1866
  }
2058
1867
  attr_accessor :display_preference
2059
-
2060
1868
  sig {
2061
1869
  params(display_preference: ::Stripe::PaymentMethodConfigurationService::UpdateParams::Shopeepay::DisplayPreference).void
2062
1870
  }
@@ -2067,7 +1875,6 @@ module Stripe
2067
1875
  # The account's preference for whether or not to display this payment method.
2068
1876
  sig { returns(String) }
2069
1877
  attr_accessor :preference
2070
-
2071
1878
  sig { params(preference: String).void }
2072
1879
  def initialize(preference: nil); end
2073
1880
  end
@@ -2076,7 +1883,6 @@ module Stripe
2076
1883
  returns(::Stripe::PaymentMethodConfigurationService::UpdateParams::Sofort::DisplayPreference)
2077
1884
  }
2078
1885
  attr_accessor :display_preference
2079
-
2080
1886
  sig {
2081
1887
  params(display_preference: ::Stripe::PaymentMethodConfigurationService::UpdateParams::Sofort::DisplayPreference).void
2082
1888
  }
@@ -2087,7 +1893,6 @@ module Stripe
2087
1893
  # The account's preference for whether or not to display this payment method.
2088
1894
  sig { returns(String) }
2089
1895
  attr_accessor :preference
2090
-
2091
1896
  sig { params(preference: String).void }
2092
1897
  def initialize(preference: nil); end
2093
1898
  end
@@ -2096,7 +1901,6 @@ module Stripe
2096
1901
  returns(::Stripe::PaymentMethodConfigurationService::UpdateParams::Swish::DisplayPreference)
2097
1902
  }
2098
1903
  attr_accessor :display_preference
2099
-
2100
1904
  sig {
2101
1905
  params(display_preference: ::Stripe::PaymentMethodConfigurationService::UpdateParams::Swish::DisplayPreference).void
2102
1906
  }
@@ -2107,7 +1911,6 @@ module Stripe
2107
1911
  # The account's preference for whether or not to display this payment method.
2108
1912
  sig { returns(String) }
2109
1913
  attr_accessor :preference
2110
-
2111
1914
  sig { params(preference: String).void }
2112
1915
  def initialize(preference: nil); end
2113
1916
  end
@@ -2116,7 +1919,6 @@ module Stripe
2116
1919
  returns(::Stripe::PaymentMethodConfigurationService::UpdateParams::Twint::DisplayPreference)
2117
1920
  }
2118
1921
  attr_accessor :display_preference
2119
-
2120
1922
  sig {
2121
1923
  params(display_preference: ::Stripe::PaymentMethodConfigurationService::UpdateParams::Twint::DisplayPreference).void
2122
1924
  }
@@ -2127,7 +1929,6 @@ module Stripe
2127
1929
  # The account's preference for whether or not to display this payment method.
2128
1930
  sig { returns(String) }
2129
1931
  attr_accessor :preference
2130
-
2131
1932
  sig { params(preference: String).void }
2132
1933
  def initialize(preference: nil); end
2133
1934
  end
@@ -2136,7 +1937,6 @@ module Stripe
2136
1937
  returns(::Stripe::PaymentMethodConfigurationService::UpdateParams::UsBankAccount::DisplayPreference)
2137
1938
  }
2138
1939
  attr_accessor :display_preference
2139
-
2140
1940
  sig {
2141
1941
  params(display_preference: ::Stripe::PaymentMethodConfigurationService::UpdateParams::UsBankAccount::DisplayPreference).void
2142
1942
  }
@@ -2147,7 +1947,6 @@ module Stripe
2147
1947
  # The account's preference for whether or not to display this payment method.
2148
1948
  sig { returns(String) }
2149
1949
  attr_accessor :preference
2150
-
2151
1950
  sig { params(preference: String).void }
2152
1951
  def initialize(preference: nil); end
2153
1952
  end
@@ -2156,7 +1955,6 @@ module Stripe
2156
1955
  returns(::Stripe::PaymentMethodConfigurationService::UpdateParams::WechatPay::DisplayPreference)
2157
1956
  }
2158
1957
  attr_accessor :display_preference
2159
-
2160
1958
  sig {
2161
1959
  params(display_preference: ::Stripe::PaymentMethodConfigurationService::UpdateParams::WechatPay::DisplayPreference).void
2162
1960
  }
@@ -2167,7 +1965,6 @@ module Stripe
2167
1965
  # The account's preference for whether or not to display this payment method.
2168
1966
  sig { returns(String) }
2169
1967
  attr_accessor :preference
2170
-
2171
1968
  sig { params(preference: String).void }
2172
1969
  def initialize(preference: nil); end
2173
1970
  end
@@ -2176,7 +1973,6 @@ module Stripe
2176
1973
  returns(::Stripe::PaymentMethodConfigurationService::UpdateParams::Zip::DisplayPreference)
2177
1974
  }
2178
1975
  attr_accessor :display_preference
2179
-
2180
1976
  sig {
2181
1977
  params(display_preference: ::Stripe::PaymentMethodConfigurationService::UpdateParams::Zip::DisplayPreference).void
2182
1978
  }
@@ -2185,205 +1981,158 @@ module Stripe
2185
1981
  # Canadian pre-authorized debit payments, check this [page](https://stripe.com/docs/payments/acss-debit) for more details like country availability.
2186
1982
  sig { returns(::Stripe::PaymentMethodConfigurationService::UpdateParams::AcssDebit) }
2187
1983
  attr_accessor :acss_debit
2188
-
2189
1984
  # Whether the configuration can be used for new payments.
2190
1985
  sig { returns(T::Boolean) }
2191
1986
  attr_accessor :active
2192
-
2193
1987
  # [Affirm](https://www.affirm.com/) gives your customers a way to split purchases over a series of payments. Depending on the purchase, they can pay with four interest-free payments (Split Pay) or pay over a longer term (Installments), which might include interest. Check this [page](https://stripe.com/docs/payments/affirm) for more details like country availability.
2194
1988
  sig { returns(::Stripe::PaymentMethodConfigurationService::UpdateParams::Affirm) }
2195
1989
  attr_accessor :affirm
2196
-
2197
1990
  # Afterpay gives your customers a way to pay for purchases in installments, check this [page](https://stripe.com/docs/payments/afterpay-clearpay) for more details like country availability. Afterpay is particularly popular among businesses selling fashion, beauty, and sports products.
2198
1991
  sig { returns(::Stripe::PaymentMethodConfigurationService::UpdateParams::AfterpayClearpay) }
2199
1992
  attr_accessor :afterpay_clearpay
2200
-
2201
1993
  # Alipay is a digital wallet in China that has more than a billion active users worldwide. Alipay users can pay on the web or on a mobile device using login credentials or their Alipay app. Alipay has a low dispute rate and reduces fraud by authenticating payments using the customer's login credentials. Check this [page](https://stripe.com/docs/payments/alipay) for more details.
2202
1994
  sig { returns(::Stripe::PaymentMethodConfigurationService::UpdateParams::Alipay) }
2203
1995
  attr_accessor :alipay
2204
-
2205
1996
  # Alma is a Buy Now, Pay Later payment method that offers customers the ability to pay in 2, 3, or 4 installments.
2206
1997
  sig { returns(::Stripe::PaymentMethodConfigurationService::UpdateParams::Alma) }
2207
1998
  attr_accessor :alma
2208
-
2209
1999
  # Amazon Pay is a wallet payment method that lets your customers check out the same way as on Amazon.
2210
2000
  sig { returns(::Stripe::PaymentMethodConfigurationService::UpdateParams::AmazonPay) }
2211
2001
  attr_accessor :amazon_pay
2212
-
2213
2002
  # Stripe users can accept [Apple Pay](/payments/apple-pay) in iOS applications in iOS 9 and later, and on the web in Safari starting with iOS 10 or macOS Sierra. There are no additional fees to process Apple Pay payments, and the [pricing](/pricing) is the same as other card transactions. Check this [page](https://stripe.com/docs/apple-pay) for more details.
2214
2003
  sig { returns(::Stripe::PaymentMethodConfigurationService::UpdateParams::ApplePay) }
2215
2004
  attr_accessor :apple_pay
2216
-
2217
2005
  # Apple Pay Later, a payment method for customers to buy now and pay later, gives your customers a way to split purchases into four installments across six weeks.
2218
2006
  sig { returns(::Stripe::PaymentMethodConfigurationService::UpdateParams::ApplePayLater) }
2219
2007
  attr_accessor :apple_pay_later
2220
-
2221
2008
  # Stripe users in Australia can accept Bulk Electronic Clearing System (BECS) direct debit payments from customers with an Australian bank account. Check this [page](https://stripe.com/docs/payments/au-becs-debit) for more details.
2222
2009
  sig { returns(::Stripe::PaymentMethodConfigurationService::UpdateParams::AuBecsDebit) }
2223
2010
  attr_accessor :au_becs_debit
2224
-
2225
2011
  # Stripe users in the UK can accept Bacs Direct Debit payments from customers with a UK bank account, check this [page](https://stripe.com/docs/payments/payment-methods/bacs-debit) for more details.
2226
2012
  sig { returns(::Stripe::PaymentMethodConfigurationService::UpdateParams::BacsDebit) }
2227
2013
  attr_accessor :bacs_debit
2228
-
2229
2014
  # Bancontact is the most popular online payment method in Belgium, with over 15 million cards in circulation. [Customers](https://stripe.com/docs/api/customers) use a Bancontact card or mobile app linked to a Belgian bank account to make online payments that are secure, guaranteed, and confirmed immediately. Check this [page](https://stripe.com/docs/payments/bancontact) for more details.
2230
2015
  sig { returns(::Stripe::PaymentMethodConfigurationService::UpdateParams::Bancontact) }
2231
2016
  attr_accessor :bancontact
2232
-
2233
2017
  # BLIK is a [single use](https://stripe.com/docs/payments/payment-methods#usage) payment method that requires customers to authenticate their payments. When customers want to pay online using BLIK, they request a six-digit code from their banking application and enter it into the payment collection form. Check this [page](https://stripe.com/docs/payments/blik) for more details.
2234
2018
  sig { returns(::Stripe::PaymentMethodConfigurationService::UpdateParams::Blik) }
2235
2019
  attr_accessor :blik
2236
-
2237
2020
  # Boleto is an official (regulated by the Central Bank of Brazil) payment method in Brazil. Check this [page](https://stripe.com/docs/payments/boleto) for more details.
2238
2021
  sig { returns(::Stripe::PaymentMethodConfigurationService::UpdateParams::Boleto) }
2239
2022
  attr_accessor :boleto
2240
-
2241
2023
  # Cards are a popular way for consumers and businesses to pay online or in person. Stripe supports global and local card networks.
2242
2024
  sig { returns(::Stripe::PaymentMethodConfigurationService::UpdateParams::Card) }
2243
2025
  attr_accessor :card
2244
-
2245
2026
  # Cartes Bancaires is France's local card network. More than 95% of these cards are co-branded with either Visa or Mastercard, meaning you can process these cards over either Cartes Bancaires or the Visa or Mastercard networks. Check this [page](https://stripe.com/docs/payments/cartes-bancaires) for more details.
2246
2027
  sig { returns(::Stripe::PaymentMethodConfigurationService::UpdateParams::CartesBancaires) }
2247
2028
  attr_accessor :cartes_bancaires
2248
-
2249
2029
  # Cash App is a popular consumer app in the US that allows customers to bank, invest, send, and receive money using their digital wallet. Check this [page](https://stripe.com/docs/payments/cash-app-pay) for more details.
2250
2030
  sig { returns(::Stripe::PaymentMethodConfigurationService::UpdateParams::Cashapp) }
2251
2031
  attr_accessor :cashapp
2252
-
2253
2032
  # Uses a customer’s [cash balance](https://stripe.com/docs/payments/customer-balance) for the payment. The cash balance can be funded via a bank transfer. Check this [page](https://stripe.com/docs/payments/bank-transfers) for more details.
2254
2033
  sig { returns(::Stripe::PaymentMethodConfigurationService::UpdateParams::CustomerBalance) }
2255
2034
  attr_accessor :customer_balance
2256
-
2257
2035
  # EPS is an Austria-based payment method that allows customers to complete transactions online using their bank credentials. EPS is supported by all Austrian banks and is accepted by over 80% of Austrian online retailers. Check this [page](https://stripe.com/docs/payments/eps) for more details.
2258
2036
  sig { returns(::Stripe::PaymentMethodConfigurationService::UpdateParams::Eps) }
2259
2037
  attr_accessor :eps
2260
-
2261
2038
  # Specifies which fields in the response should be expanded.
2262
2039
  sig { returns(T::Array[String]) }
2263
2040
  attr_accessor :expand
2264
-
2265
2041
  # Financial Process Exchange (FPX) is a Malaysia-based payment method that allows customers to complete transactions online using their bank credentials. Bank Negara Malaysia (BNM), the Central Bank of Malaysia, and eleven other major Malaysian financial institutions are members of the PayNet Group, which owns and operates FPX. It is one of the most popular online payment methods in Malaysia, with nearly 90 million transactions in 2018 according to BNM. Check this [page](https://stripe.com/docs/payments/fpx) for more details.
2266
2042
  sig { returns(::Stripe::PaymentMethodConfigurationService::UpdateParams::Fpx) }
2267
2043
  attr_accessor :fpx
2268
-
2269
2044
  # giropay is a German payment method based on online banking, introduced in 2006. It allows customers to complete transactions online using their online banking environment, with funds debited from their bank account. Depending on their bank, customers confirm payments on giropay using a second factor of authentication or a PIN. giropay accounts for 10% of online checkouts in Germany. Check this [page](https://stripe.com/docs/payments/giropay) for more details.
2270
2045
  sig { returns(::Stripe::PaymentMethodConfigurationService::UpdateParams::Giropay) }
2271
2046
  attr_accessor :giropay
2272
-
2273
2047
  # Google Pay allows customers to make payments in your app or website using any credit or debit card saved to their Google Account, including those from Google Play, YouTube, Chrome, or an Android device. Use the Google Pay API to request any credit or debit card stored in your customer's Google account. Check this [page](https://stripe.com/docs/google-pay) for more details.
2274
2048
  sig { returns(::Stripe::PaymentMethodConfigurationService::UpdateParams::GooglePay) }
2275
2049
  attr_accessor :google_pay
2276
-
2277
2050
  # GoPay is a [single use](https://stripe.com/docs/payments/payment-methods#usage) digital wallet payment method popular in Indonesia. When paying with GoPay, customers authenticate and approve payments using the Gojek app. Desktop checkout is performed by scanning a QR code. When checking out on mobile, customers are redirected to the Gojek app to confirm payment.
2278
2051
  sig { returns(::Stripe::PaymentMethodConfigurationService::UpdateParams::Gopay) }
2279
2052
  attr_accessor :gopay
2280
-
2281
2053
  # GrabPay is a payment method developed by [Grab](https://www.grab.com/sg/consumer/finance/pay/). GrabPay is a digital wallet - customers maintain a balance in their wallets that they pay out with. Check this [page](https://stripe.com/docs/payments/grabpay) for more details.
2282
2054
  sig { returns(::Stripe::PaymentMethodConfigurationService::UpdateParams::Grabpay) }
2283
2055
  attr_accessor :grabpay
2284
-
2285
2056
  # Stripe users in Indonesia can receive bank transfers from customers in Indonesia. Bank transfers are a popular B2C and B2B payment method in Indonesia.
2286
2057
  sig { returns(::Stripe::PaymentMethodConfigurationService::UpdateParams::IdBankTransfer) }
2287
2058
  attr_accessor :id_bank_transfer
2288
-
2289
2059
  # iDEAL is a Netherlands-based payment method that allows customers to complete transactions online using their bank credentials. All major Dutch banks are members of Currence, the scheme that operates iDEAL, making it the most popular online payment method in the Netherlands with a share of online transactions close to 55%. Check this [page](https://stripe.com/docs/payments/ideal) for more details.
2290
2060
  sig { returns(::Stripe::PaymentMethodConfigurationService::UpdateParams::Ideal) }
2291
2061
  attr_accessor :ideal
2292
-
2293
2062
  # JCB is a credit card company based in Japan. JCB is currently available in Japan to businesses approved by JCB, and available to all businesses in Australia, Canada, Hong Kong, Japan, New Zealand, Singapore, Switzerland, United Kingdom, United States, and all countries in the European Economic Area except Iceland. Check this [page](https://support.stripe.com/questions/accepting-japan-credit-bureau-%28jcb%29-payments) for more details.
2294
2063
  sig { returns(::Stripe::PaymentMethodConfigurationService::UpdateParams::Jcb) }
2295
2064
  attr_accessor :jcb
2296
-
2297
2065
  # Klarna gives customers a range of [payment options](https://stripe.com/docs/payments/klarna#payment-options) during checkout. Available payment options vary depending on the customer's billing address and the transaction amount. These payment options make it convenient for customers to purchase items in all price ranges. Check this [page](https://stripe.com/docs/payments/klarna) for more details.
2298
2066
  sig { returns(::Stripe::PaymentMethodConfigurationService::UpdateParams::Klarna) }
2299
2067
  attr_accessor :klarna
2300
-
2301
2068
  # Konbini allows customers in Japan to pay for bills and online purchases at convenience stores with cash. Check this [page](https://stripe.com/docs/payments/konbini) for more details.
2302
2069
  sig { returns(::Stripe::PaymentMethodConfigurationService::UpdateParams::Konbini) }
2303
2070
  attr_accessor :konbini
2304
-
2305
2071
  # [Link](https://stripe.com/docs/payments/link) is a payment method network. With Link, users save their payment details once, then reuse that information to pay with one click for any business on the network.
2306
2072
  sig { returns(::Stripe::PaymentMethodConfigurationService::UpdateParams::Link) }
2307
2073
  attr_accessor :link
2308
-
2309
2074
  # MobilePay is a [single-use](https://stripe.com/docs/payments/payment-methods#usage) card wallet payment method used in Denmark and Finland. It allows customers to [authenticate and approve](https://stripe.com/docs/payments/payment-methods#customer-actions) payments using the MobilePay app. Check this [page](https://stripe.com/docs/payments/mobilepay) for more details.
2310
2075
  sig { returns(::Stripe::PaymentMethodConfigurationService::UpdateParams::Mobilepay) }
2311
2076
  attr_accessor :mobilepay
2312
-
2313
2077
  # Stripe users in Europe and the United States can accept Multibanco payments from customers in Portugal using [Sources](https://stripe.com/docs/sources)—a single integration path for creating payments using any supported method.
2314
2078
  sig { returns(::Stripe::PaymentMethodConfigurationService::UpdateParams::Multibanco) }
2315
2079
  attr_accessor :multibanco
2316
-
2317
2080
  # Configuration name.
2318
2081
  sig { returns(String) }
2319
2082
  attr_accessor :name
2320
-
2321
2083
  # OXXO is a Mexican chain of convenience stores with thousands of locations across Latin America and represents nearly 20% of online transactions in Mexico. OXXO allows customers to pay bills and online purchases in-store with cash. Check this [page](https://stripe.com/docs/payments/oxxo) for more details.
2322
2084
  sig { returns(::Stripe::PaymentMethodConfigurationService::UpdateParams::Oxxo) }
2323
2085
  attr_accessor :oxxo
2324
-
2325
2086
  # Przelewy24 is a Poland-based payment method aggregator that allows customers to complete transactions online using bank transfers and other methods. Bank transfers account for 30% of online payments in Poland and Przelewy24 provides a way for customers to pay with over 165 banks. Check this [page](https://stripe.com/docs/payments/p24) for more details.
2326
2087
  sig { returns(::Stripe::PaymentMethodConfigurationService::UpdateParams::P24) }
2327
2088
  attr_accessor :p24
2328
-
2089
+ # Pay by bank is a redirect payment method backed by bank transfers. A customer is redirected to their bank to authorize a bank transfer for a given amount. This removes a lot of the error risks inherent in waiting for the customer to initiate a transfer themselves, and is less expensive than card payments.
2090
+ sig { returns(::Stripe::PaymentMethodConfigurationService::UpdateParams::PayByBank) }
2091
+ attr_accessor :pay_by_bank
2329
2092
  # PayNow is a Singapore-based payment method that allows customers to make a payment using their preferred app from participating banks and participating non-bank financial institutions. Check this [page](https://stripe.com/docs/payments/paynow) for more details.
2330
2093
  sig { returns(::Stripe::PaymentMethodConfigurationService::UpdateParams::Paynow) }
2331
2094
  attr_accessor :paynow
2332
-
2333
2095
  # PayPal, a digital wallet popular with customers in Europe, allows your customers worldwide to pay using their PayPal account. Check this [page](https://stripe.com/docs/payments/paypal) for more details.
2334
2096
  sig { returns(::Stripe::PaymentMethodConfigurationService::UpdateParams::Paypal) }
2335
2097
  attr_accessor :paypal
2336
-
2337
2098
  # PayTo is a [real-time](https://docs.stripe.com/payments/real-time) payment method that enables customers in Australia to pay by providing their bank account details. Customers must accept a mandate authorizing you to debit their account. Check this [page](https://docs.stripe.com/payments/payto) for more details.
2338
2099
  sig { returns(::Stripe::PaymentMethodConfigurationService::UpdateParams::Payto) }
2339
2100
  attr_accessor :payto
2340
-
2341
2101
  # PromptPay is a Thailand-based payment method that allows customers to make a payment using their preferred app from participating banks. Check this [page](https://stripe.com/docs/payments/promptpay) for more details.
2342
2102
  sig { returns(::Stripe::PaymentMethodConfigurationService::UpdateParams::Promptpay) }
2343
2103
  attr_accessor :promptpay
2344
-
2345
2104
  # QRIS is a [real-time](https://docs.stripe.com/payments/real-time) payment method popular in Indonesia. When paying with QRIS, customers authenticate and approve payments by scanning a QR code in their preferred digital wallet app.
2346
2105
  sig { returns(::Stripe::PaymentMethodConfigurationService::UpdateParams::Qris) }
2347
2106
  attr_accessor :qris
2348
-
2349
2107
  # Revolut Pay, developed by Revolut, a global finance app, is a digital wallet payment method. Revolut Pay uses the customer’s stored balance or cards to fund the payment, and offers the option for non-Revolut customers to save their details after their first purchase.
2350
2108
  sig { returns(::Stripe::PaymentMethodConfigurationService::UpdateParams::RevolutPay) }
2351
2109
  attr_accessor :revolut_pay
2352
-
2353
2110
  # The [Single Euro Payments Area (SEPA)](https://en.wikipedia.org/wiki/Single_Euro_Payments_Area) is an initiative of the European Union to simplify payments within and across member countries. SEPA established and enforced banking standards to allow for the direct debiting of every EUR-denominated bank account within the SEPA region, check this [page](https://stripe.com/docs/payments/sepa-debit) for more details.
2354
2111
  sig { returns(::Stripe::PaymentMethodConfigurationService::UpdateParams::SepaDebit) }
2355
2112
  attr_accessor :sepa_debit
2356
-
2357
2113
  # ShopeePay is a [single use](https://stripe.com/docs/payments/payment-methods#usage) digital wallet payment method popular in Indonesia. When paying with GoPay, customers authenticate and approve payments using the Shopee app. Desktop checkout is performed by scanning a QR code. When checking out on mobile, customers are redirected to the Shopee app to confirm payment.
2358
2114
  sig { returns(::Stripe::PaymentMethodConfigurationService::UpdateParams::Shopeepay) }
2359
2115
  attr_accessor :shopeepay
2360
-
2361
2116
  # Stripe users in Europe and the United States can use the [Payment Intents API](https://stripe.com/docs/payments/payment-intents)—a single integration path for creating payments using any supported method—to accept [Sofort](https://www.sofort.com/) payments from customers. Check this [page](https://stripe.com/docs/payments/sofort) for more details.
2362
2117
  sig { returns(::Stripe::PaymentMethodConfigurationService::UpdateParams::Sofort) }
2363
2118
  attr_accessor :sofort
2364
-
2365
2119
  # Swish is a [real-time](https://stripe.com/docs/payments/real-time) payment method popular in Sweden. It allows customers to [authenticate and approve](https://stripe.com/docs/payments/payment-methods#customer-actions) payments using the Swish mobile app and the Swedish BankID mobile app. Check this [page](https://stripe.com/docs/payments/swish) for more details.
2366
2120
  sig { returns(::Stripe::PaymentMethodConfigurationService::UpdateParams::Swish) }
2367
2121
  attr_accessor :swish
2368
-
2369
2122
  # Twint is a payment method popular in Switzerland. It allows customers to pay using their mobile phone. Check this [page](https://docs.stripe.com/payments/twint) for more details.
2370
2123
  sig { returns(::Stripe::PaymentMethodConfigurationService::UpdateParams::Twint) }
2371
2124
  attr_accessor :twint
2372
-
2373
2125
  # Stripe users in the United States can accept ACH direct debit payments from customers with a US bank account using the Automated Clearing House (ACH) payments system operated by Nacha. Check this [page](https://stripe.com/docs/payments/ach-direct-debit) for more details.
2374
2126
  sig { returns(::Stripe::PaymentMethodConfigurationService::UpdateParams::UsBankAccount) }
2375
2127
  attr_accessor :us_bank_account
2376
-
2377
2128
  # WeChat, owned by Tencent, is China's leading mobile app with over 1 billion monthly active users. Chinese consumers can use WeChat Pay to pay for goods and services inside of businesses' apps and websites. WeChat Pay users buy most frequently in gaming, e-commerce, travel, online education, and food/nutrition. Check this [page](https://stripe.com/docs/payments/wechat-pay) for more details.
2378
2129
  sig { returns(::Stripe::PaymentMethodConfigurationService::UpdateParams::WechatPay) }
2379
2130
  attr_accessor :wechat_pay
2380
-
2381
2131
  # Zip gives your customers a way to split purchases over a series of payments. Check this [page](https://stripe.com/docs/payments/zip) for more details like country availability.
2382
2132
  sig { returns(::Stripe::PaymentMethodConfigurationService::UpdateParams::Zip) }
2383
2133
  attr_accessor :zip
2384
-
2385
2134
  sig {
2386
- params(acss_debit: ::Stripe::PaymentMethodConfigurationService::UpdateParams::AcssDebit, active: T::Boolean, affirm: ::Stripe::PaymentMethodConfigurationService::UpdateParams::Affirm, afterpay_clearpay: ::Stripe::PaymentMethodConfigurationService::UpdateParams::AfterpayClearpay, alipay: ::Stripe::PaymentMethodConfigurationService::UpdateParams::Alipay, alma: ::Stripe::PaymentMethodConfigurationService::UpdateParams::Alma, amazon_pay: ::Stripe::PaymentMethodConfigurationService::UpdateParams::AmazonPay, apple_pay: ::Stripe::PaymentMethodConfigurationService::UpdateParams::ApplePay, apple_pay_later: ::Stripe::PaymentMethodConfigurationService::UpdateParams::ApplePayLater, au_becs_debit: ::Stripe::PaymentMethodConfigurationService::UpdateParams::AuBecsDebit, bacs_debit: ::Stripe::PaymentMethodConfigurationService::UpdateParams::BacsDebit, bancontact: ::Stripe::PaymentMethodConfigurationService::UpdateParams::Bancontact, blik: ::Stripe::PaymentMethodConfigurationService::UpdateParams::Blik, boleto: ::Stripe::PaymentMethodConfigurationService::UpdateParams::Boleto, card: ::Stripe::PaymentMethodConfigurationService::UpdateParams::Card, cartes_bancaires: ::Stripe::PaymentMethodConfigurationService::UpdateParams::CartesBancaires, cashapp: ::Stripe::PaymentMethodConfigurationService::UpdateParams::Cashapp, customer_balance: ::Stripe::PaymentMethodConfigurationService::UpdateParams::CustomerBalance, eps: ::Stripe::PaymentMethodConfigurationService::UpdateParams::Eps, expand: T::Array[String], fpx: ::Stripe::PaymentMethodConfigurationService::UpdateParams::Fpx, giropay: ::Stripe::PaymentMethodConfigurationService::UpdateParams::Giropay, google_pay: ::Stripe::PaymentMethodConfigurationService::UpdateParams::GooglePay, gopay: ::Stripe::PaymentMethodConfigurationService::UpdateParams::Gopay, grabpay: ::Stripe::PaymentMethodConfigurationService::UpdateParams::Grabpay, id_bank_transfer: ::Stripe::PaymentMethodConfigurationService::UpdateParams::IdBankTransfer, ideal: ::Stripe::PaymentMethodConfigurationService::UpdateParams::Ideal, jcb: ::Stripe::PaymentMethodConfigurationService::UpdateParams::Jcb, klarna: ::Stripe::PaymentMethodConfigurationService::UpdateParams::Klarna, konbini: ::Stripe::PaymentMethodConfigurationService::UpdateParams::Konbini, link: ::Stripe::PaymentMethodConfigurationService::UpdateParams::Link, mobilepay: ::Stripe::PaymentMethodConfigurationService::UpdateParams::Mobilepay, multibanco: ::Stripe::PaymentMethodConfigurationService::UpdateParams::Multibanco, name: String, oxxo: ::Stripe::PaymentMethodConfigurationService::UpdateParams::Oxxo, p24: ::Stripe::PaymentMethodConfigurationService::UpdateParams::P24, paynow: ::Stripe::PaymentMethodConfigurationService::UpdateParams::Paynow, paypal: ::Stripe::PaymentMethodConfigurationService::UpdateParams::Paypal, payto: ::Stripe::PaymentMethodConfigurationService::UpdateParams::Payto, promptpay: ::Stripe::PaymentMethodConfigurationService::UpdateParams::Promptpay, qris: ::Stripe::PaymentMethodConfigurationService::UpdateParams::Qris, revolut_pay: ::Stripe::PaymentMethodConfigurationService::UpdateParams::RevolutPay, sepa_debit: ::Stripe::PaymentMethodConfigurationService::UpdateParams::SepaDebit, shopeepay: ::Stripe::PaymentMethodConfigurationService::UpdateParams::Shopeepay, sofort: ::Stripe::PaymentMethodConfigurationService::UpdateParams::Sofort, swish: ::Stripe::PaymentMethodConfigurationService::UpdateParams::Swish, twint: ::Stripe::PaymentMethodConfigurationService::UpdateParams::Twint, us_bank_account: ::Stripe::PaymentMethodConfigurationService::UpdateParams::UsBankAccount, wechat_pay: ::Stripe::PaymentMethodConfigurationService::UpdateParams::WechatPay, zip: ::Stripe::PaymentMethodConfigurationService::UpdateParams::Zip).void
2135
+ params(acss_debit: ::Stripe::PaymentMethodConfigurationService::UpdateParams::AcssDebit, active: T::Boolean, affirm: ::Stripe::PaymentMethodConfigurationService::UpdateParams::Affirm, afterpay_clearpay: ::Stripe::PaymentMethodConfigurationService::UpdateParams::AfterpayClearpay, alipay: ::Stripe::PaymentMethodConfigurationService::UpdateParams::Alipay, alma: ::Stripe::PaymentMethodConfigurationService::UpdateParams::Alma, amazon_pay: ::Stripe::PaymentMethodConfigurationService::UpdateParams::AmazonPay, apple_pay: ::Stripe::PaymentMethodConfigurationService::UpdateParams::ApplePay, apple_pay_later: ::Stripe::PaymentMethodConfigurationService::UpdateParams::ApplePayLater, au_becs_debit: ::Stripe::PaymentMethodConfigurationService::UpdateParams::AuBecsDebit, bacs_debit: ::Stripe::PaymentMethodConfigurationService::UpdateParams::BacsDebit, bancontact: ::Stripe::PaymentMethodConfigurationService::UpdateParams::Bancontact, blik: ::Stripe::PaymentMethodConfigurationService::UpdateParams::Blik, boleto: ::Stripe::PaymentMethodConfigurationService::UpdateParams::Boleto, card: ::Stripe::PaymentMethodConfigurationService::UpdateParams::Card, cartes_bancaires: ::Stripe::PaymentMethodConfigurationService::UpdateParams::CartesBancaires, cashapp: ::Stripe::PaymentMethodConfigurationService::UpdateParams::Cashapp, customer_balance: ::Stripe::PaymentMethodConfigurationService::UpdateParams::CustomerBalance, eps: ::Stripe::PaymentMethodConfigurationService::UpdateParams::Eps, expand: T::Array[String], fpx: ::Stripe::PaymentMethodConfigurationService::UpdateParams::Fpx, giropay: ::Stripe::PaymentMethodConfigurationService::UpdateParams::Giropay, google_pay: ::Stripe::PaymentMethodConfigurationService::UpdateParams::GooglePay, gopay: ::Stripe::PaymentMethodConfigurationService::UpdateParams::Gopay, grabpay: ::Stripe::PaymentMethodConfigurationService::UpdateParams::Grabpay, id_bank_transfer: ::Stripe::PaymentMethodConfigurationService::UpdateParams::IdBankTransfer, ideal: ::Stripe::PaymentMethodConfigurationService::UpdateParams::Ideal, jcb: ::Stripe::PaymentMethodConfigurationService::UpdateParams::Jcb, klarna: ::Stripe::PaymentMethodConfigurationService::UpdateParams::Klarna, konbini: ::Stripe::PaymentMethodConfigurationService::UpdateParams::Konbini, link: ::Stripe::PaymentMethodConfigurationService::UpdateParams::Link, mobilepay: ::Stripe::PaymentMethodConfigurationService::UpdateParams::Mobilepay, multibanco: ::Stripe::PaymentMethodConfigurationService::UpdateParams::Multibanco, name: String, oxxo: ::Stripe::PaymentMethodConfigurationService::UpdateParams::Oxxo, p24: ::Stripe::PaymentMethodConfigurationService::UpdateParams::P24, pay_by_bank: ::Stripe::PaymentMethodConfigurationService::UpdateParams::PayByBank, paynow: ::Stripe::PaymentMethodConfigurationService::UpdateParams::Paynow, paypal: ::Stripe::PaymentMethodConfigurationService::UpdateParams::Paypal, payto: ::Stripe::PaymentMethodConfigurationService::UpdateParams::Payto, promptpay: ::Stripe::PaymentMethodConfigurationService::UpdateParams::Promptpay, qris: ::Stripe::PaymentMethodConfigurationService::UpdateParams::Qris, revolut_pay: ::Stripe::PaymentMethodConfigurationService::UpdateParams::RevolutPay, sepa_debit: ::Stripe::PaymentMethodConfigurationService::UpdateParams::SepaDebit, shopeepay: ::Stripe::PaymentMethodConfigurationService::UpdateParams::Shopeepay, sofort: ::Stripe::PaymentMethodConfigurationService::UpdateParams::Sofort, swish: ::Stripe::PaymentMethodConfigurationService::UpdateParams::Swish, twint: ::Stripe::PaymentMethodConfigurationService::UpdateParams::Twint, us_bank_account: ::Stripe::PaymentMethodConfigurationService::UpdateParams::UsBankAccount, wechat_pay: ::Stripe::PaymentMethodConfigurationService::UpdateParams::WechatPay, zip: ::Stripe::PaymentMethodConfigurationService::UpdateParams::Zip).void
2387
2136
  }
2388
2137
  def initialize(
2389
2138
  acss_debit: nil,
@@ -2422,6 +2171,7 @@ module Stripe
2422
2171
  name: nil,
2423
2172
  oxxo: nil,
2424
2173
  p24: nil,
2174
+ pay_by_bank: nil,
2425
2175
  paynow: nil,
2426
2176
  paypal: nil,
2427
2177
  payto: nil,