stripe 13.6.0.pre.beta.1 → 14.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (556) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +699 -1457
  3. data/OPENAPI_VERSION +1 -1
  4. data/README.md +29 -0
  5. data/VERSION +1 -1
  6. data/lib/stripe/api_requestor.rb +2 -0
  7. data/lib/stripe/api_version.rb +1 -1
  8. data/lib/stripe/errors.rb +0 -7
  9. data/lib/stripe/object_types.rb +0 -26
  10. data/lib/stripe/resources/account.rb +83 -614
  11. data/lib/stripe/resources/account_session.rb +1 -247
  12. data/lib/stripe/resources/apple_pay_domain.rb +0 -9
  13. data/lib/stripe/resources/application_fee.rb +1 -10
  14. data/lib/stripe/resources/balance.rb +0 -9
  15. data/lib/stripe/resources/balance_transaction.rb +2 -11
  16. data/lib/stripe/resources/bank_account.rb +1 -1
  17. data/lib/stripe/resources/billing/alert.rb +0 -9
  18. data/lib/stripe/resources/billing/credit_balance_summary.rb +0 -48
  19. data/lib/stripe/resources/billing/credit_balance_transaction.rb +0 -9
  20. data/lib/stripe/resources/billing/credit_grant.rb +4 -13
  21. data/lib/stripe/resources/billing/meter.rb +1 -10
  22. data/lib/stripe/resources/billing_portal/configuration.rb +0 -9
  23. data/lib/stripe/resources/card.rb +2 -4
  24. data/lib/stripe/resources/charge.rb +35 -1457
  25. data/lib/stripe/resources/checkout/session.rb +100 -293
  26. data/lib/stripe/resources/climate/order.rb +0 -9
  27. data/lib/stripe/resources/climate/product.rb +0 -9
  28. data/lib/stripe/resources/climate/supplier.rb +0 -9
  29. data/lib/stripe/resources/confirmation_token.rb +74 -156
  30. data/lib/stripe/resources/country_spec.rb +0 -9
  31. data/lib/stripe/resources/coupon.rb +0 -9
  32. data/lib/stripe/resources/credit_note.rb +14 -35
  33. data/lib/stripe/resources/credit_note_line_item.rb +14 -12
  34. data/lib/stripe/resources/customer.rb +12 -28
  35. data/lib/stripe/resources/customer_balance_transaction.rb +3 -1
  36. data/lib/stripe/resources/dispute.rb +0 -9
  37. data/lib/stripe/resources/entitlements/active_entitlement.rb +0 -9
  38. data/lib/stripe/resources/entitlements/feature.rb +0 -9
  39. data/lib/stripe/resources/event.rb +0 -40
  40. data/lib/stripe/resources/exchange_rate.rb +0 -9
  41. data/lib/stripe/resources/file.rb +0 -9
  42. data/lib/stripe/resources/file_link.rb +0 -9
  43. data/lib/stripe/resources/financial_connections/account.rb +0 -23
  44. data/lib/stripe/resources/financial_connections/session.rb +1 -65
  45. data/lib/stripe/resources/financial_connections/transaction.rb +0 -9
  46. data/lib/stripe/resources/forwarding/request.rb +0 -9
  47. data/lib/stripe/resources/identity/verification_report.rb +0 -9
  48. data/lib/stripe/resources/identity/verification_session.rb +0 -9
  49. data/lib/stripe/resources/invoice.rb +225 -5120
  50. data/lib/stripe/resources/invoice_item.rb +65 -110
  51. data/lib/stripe/resources/invoice_line_item.rb +106 -89
  52. data/lib/stripe/resources/invoice_payment.rb +53 -4
  53. data/lib/stripe/resources/invoice_rendering_template.rb +0 -12
  54. data/lib/stripe/resources/issuing/authorization.rb +0 -9
  55. data/lib/stripe/resources/issuing/card.rb +0 -9
  56. data/lib/stripe/resources/issuing/cardholder.rb +1 -11
  57. data/lib/stripe/resources/issuing/dispute.rb +0 -9
  58. data/lib/stripe/resources/issuing/personalization_design.rb +0 -9
  59. data/lib/stripe/resources/issuing/physical_bundle.rb +0 -9
  60. data/lib/stripe/resources/issuing/token.rb +0 -9
  61. data/lib/stripe/resources/issuing/transaction.rb +0 -15
  62. data/lib/stripe/resources/line_item.rb +0 -28
  63. data/lib/stripe/resources/mandate.rb +6 -33
  64. data/lib/stripe/resources/payment_intent.rb +642 -4975
  65. data/lib/stripe/resources/payment_link.rb +84 -15
  66. data/lib/stripe/resources/payment_method.rb +74 -187
  67. data/lib/stripe/resources/payment_method_configuration.rb +87 -214
  68. data/lib/stripe/resources/payment_method_domain.rb +9 -18
  69. data/lib/stripe/resources/payout.rb +0 -9
  70. data/lib/stripe/resources/person.rb +9 -9
  71. data/lib/stripe/resources/plan.rb +0 -15
  72. data/lib/stripe/resources/price.rb +2 -47
  73. data/lib/stripe/resources/product.rb +0 -68
  74. data/lib/stripe/resources/promotion_code.rb +0 -9
  75. data/lib/stripe/resources/quote.rb +8 -2037
  76. data/lib/stripe/resources/radar/early_fraud_warning.rb +0 -9
  77. data/lib/stripe/resources/radar/value_list.rb +0 -9
  78. data/lib/stripe/resources/radar/value_list_item.rb +0 -9
  79. data/lib/stripe/resources/refund.rb +13 -18
  80. data/lib/stripe/resources/reporting/report_run.rb +0 -9
  81. data/lib/stripe/resources/reporting/report_type.rb +0 -9
  82. data/lib/stripe/resources/review.rb +2 -11
  83. data/lib/stripe/resources/setup_attempt.rb +11 -16
  84. data/lib/stripe/resources/setup_intent.rb +158 -540
  85. data/lib/stripe/resources/shipping_rate.rb +0 -9
  86. data/lib/stripe/resources/sigma/scheduled_query_run.rb +0 -9
  87. data/lib/stripe/resources/source.rb +0 -41
  88. data/lib/stripe/resources/subscription.rb +14 -385
  89. data/lib/stripe/resources/subscription_item.rb +9 -134
  90. data/lib/stripe/resources/subscription_schedule.rb +14 -1135
  91. data/lib/stripe/resources/tax/calculation.rb +0 -9
  92. data/lib/stripe/resources/tax/registration.rb +1 -10
  93. data/lib/stripe/resources/tax/settings.rb +0 -9
  94. data/lib/stripe/resources/tax/transaction.rb +0 -9
  95. data/lib/stripe/resources/tax_code.rb +0 -9
  96. data/lib/stripe/resources/tax_id.rb +0 -9
  97. data/lib/stripe/resources/tax_rate.rb +0 -9
  98. data/lib/stripe/resources/terminal/configuration.rb +214 -14
  99. data/lib/stripe/resources/terminal/location.rb +0 -9
  100. data/lib/stripe/resources/terminal/reader.rb +0 -408
  101. data/lib/stripe/resources/test_helpers/test_clock.rb +0 -9
  102. data/lib/stripe/resources/token.rb +1 -10
  103. data/lib/stripe/resources/topup.rb +0 -9
  104. data/lib/stripe/resources/transfer.rb +0 -9
  105. data/lib/stripe/resources/treasury/credit_reversal.rb +0 -9
  106. data/lib/stripe/resources/treasury/debit_reversal.rb +0 -9
  107. data/lib/stripe/resources/treasury/financial_account.rb +4 -32
  108. data/lib/stripe/resources/treasury/financial_account_features.rb +0 -2
  109. data/lib/stripe/resources/treasury/inbound_transfer.rb +0 -9
  110. data/lib/stripe/resources/treasury/outbound_payment.rb +0 -9
  111. data/lib/stripe/resources/treasury/outbound_transfer.rb +0 -46
  112. data/lib/stripe/resources/treasury/received_credit.rb +1 -47
  113. data/lib/stripe/resources/treasury/received_debit.rb +1 -49
  114. data/lib/stripe/resources/treasury/transaction.rb +0 -9
  115. data/lib/stripe/resources/treasury/transaction_entry.rb +0 -9
  116. data/lib/stripe/resources/v2/event.rb +1 -0
  117. data/lib/stripe/resources/v2/event_destination.rb +1 -0
  118. data/lib/stripe/resources/webhook_endpoint.rb +0 -9
  119. data/lib/stripe/resources.rb +0 -25
  120. data/lib/stripe/services/account_external_account_service.rb +1 -1
  121. data/lib/stripe/services/account_service.rb +68 -509
  122. data/lib/stripe/services/account_session_service.rb +1 -217
  123. data/lib/stripe/services/balance_transaction_service.rb +1 -1
  124. data/lib/stripe/services/billing/credit_balance_summary_service.rb +2 -2
  125. data/lib/stripe/services/billing/credit_grant_service.rb +2 -2
  126. data/lib/stripe/services/billing/meter_service.rb +1 -1
  127. data/lib/stripe/services/charge_service.rb +1 -1335
  128. data/lib/stripe/services/checkout/session_service.rb +60 -168
  129. data/lib/stripe/services/credit_note_preview_lines_service.rb +0 -4
  130. data/lib/stripe/services/credit_note_service.rb +0 -8
  131. data/lib/stripe/services/customer_service.rb +0 -16
  132. data/lib/stripe/services/financial_connections/account_service.rb +1 -3
  133. data/lib/stripe/services/financial_connections/session_service.rb +1 -30
  134. data/lib/stripe/services/financial_connections_service.rb +1 -2
  135. data/lib/stripe/services/invoice_item_service.rb +34 -88
  136. data/lib/stripe/services/invoice_line_item_service.rb +25 -41
  137. data/lib/stripe/services/invoice_payment_service.rb +33 -5
  138. data/lib/stripe/services/invoice_service.rb +210 -3147
  139. data/lib/stripe/services/issuing/cardholder_service.rb +1 -2
  140. data/lib/stripe/services/issuing/transaction_service.rb +0 -4
  141. data/lib/stripe/services/issuing_service.rb +1 -5
  142. data/lib/stripe/services/payment_intent_service.rb +568 -4513
  143. data/lib/stripe/services/payment_link_service.rb +59 -6
  144. data/lib/stripe/services/payment_method_configuration_service.rb +62 -146
  145. data/lib/stripe/services/payment_method_domain_service.rb +6 -6
  146. data/lib/stripe/services/payment_method_service.rb +49 -119
  147. data/lib/stripe/services/plan_service.rb +0 -4
  148. data/lib/stripe/services/price_service.rb +2 -25
  149. data/lib/stripe/services/product_service.rb +0 -38
  150. data/lib/stripe/services/quote_service.rb +9 -1716
  151. data/lib/stripe/services/setup_intent_service.rb +158 -492
  152. data/lib/stripe/services/subscription_item_service.rb +5 -111
  153. data/lib/stripe/services/subscription_schedule_service.rb +14 -1005
  154. data/lib/stripe/services/subscription_service.rb +13 -323
  155. data/lib/stripe/services/tax/registration_service.rb +1 -1
  156. data/lib/stripe/services/tax_service.rb +1 -3
  157. data/lib/stripe/services/terminal/configuration_service.rb +170 -4
  158. data/lib/stripe/services/terminal/reader_service.rb +0 -177
  159. data/lib/stripe/services/terminal_service.rb +1 -2
  160. data/lib/stripe/services/test_helpers/confirmation_token_service.rb +49 -87
  161. data/lib/stripe/services/test_helpers/terminal/reader_service.rb +0 -43
  162. data/lib/stripe/services/test_helpers/treasury/received_credit_service.rb +1 -25
  163. data/lib/stripe/services/test_helpers/treasury/received_debit_service.rb +1 -25
  164. data/lib/stripe/services/token_service.rb +1 -1
  165. data/lib/stripe/services/treasury/financial_account_features_service.rb +1 -4
  166. data/lib/stripe/services/treasury/financial_account_service.rb +3 -17
  167. data/lib/stripe/services/treasury/outbound_transfer_service.rb +0 -24
  168. data/lib/stripe/services/v1_services.rb +2 -8
  169. data/lib/stripe/services/v2/core/event_destination_service.rb +1 -4
  170. data/lib/stripe/services/v2/core/event_service.rb +1 -4
  171. data/lib/stripe/services.rb +0 -27
  172. data/lib/stripe/stripe_client.rb +1 -0
  173. data/lib/stripe/stripe_configuration.rb +1 -3
  174. data/lib/stripe/util.rb +1 -7
  175. data/lib/stripe/version.rb +1 -1
  176. data/lib/stripe.rb +0 -45
  177. data/rbi/stripe/resources/account.rbi +1131 -1479
  178. data/rbi/stripe/resources/account_link.rbi +9 -9
  179. data/rbi/stripe/resources/account_session.rbi +118 -367
  180. data/rbi/stripe/resources/apple_pay_domain.rbi +8 -15
  181. data/rbi/stripe/resources/application_fee.rbi +15 -20
  182. data/rbi/stripe/resources/apps/secret.rbi +20 -20
  183. data/rbi/stripe/resources/balance.rbi +0 -7
  184. data/rbi/stripe/resources/balance_transaction.rbi +19 -24
  185. data/rbi/stripe/resources/bank_account.rbi +1 -1
  186. data/rbi/stripe/resources/billing/alert.rbi +23 -28
  187. data/rbi/stripe/resources/billing/credit_balance_summary.rbi +0 -53
  188. data/rbi/stripe/resources/billing/credit_balance_transaction.rbi +6 -13
  189. data/rbi/stripe/resources/billing/credit_grant.rbi +30 -37
  190. data/rbi/stripe/resources/billing/meter.rbi +19 -26
  191. data/rbi/stripe/resources/billing/meter_event.rbi +4 -4
  192. data/rbi/stripe/resources/billing/meter_event_adjustment.rbi +5 -5
  193. data/rbi/stripe/resources/billing_portal/configuration.rbi +86 -81
  194. data/rbi/stripe/resources/billing_portal/session.rbi +31 -27
  195. data/rbi/stripe/resources/card.rbi +2 -5
  196. data/rbi/stripe/resources/charge.rbi +136 -1576
  197. data/rbi/stripe/resources/checkout/session.rbi +631 -748
  198. data/rbi/stripe/resources/climate/order.rbi +20 -25
  199. data/rbi/stripe/resources/climate/product.rbi +5 -12
  200. data/rbi/stripe/resources/climate/supplier.rbi +5 -12
  201. data/rbi/stripe/resources/confirmation_token.rbi +274 -268
  202. data/rbi/stripe/resources/country_spec.rbi +5 -12
  203. data/rbi/stripe/resources/coupon.rbi +34 -39
  204. data/rbi/stripe/resources/credit_note.rbi +134 -146
  205. data/rbi/stripe/resources/credit_note_line_item.rbi +20 -18
  206. data/rbi/stripe/resources/customer.rbi +172 -164
  207. data/rbi/stripe/resources/customer_balance_transaction.rbi +4 -1
  208. data/rbi/stripe/resources/customer_session.rbi +19 -15
  209. data/rbi/stripe/resources/dispute.rbi +92 -95
  210. data/rbi/stripe/resources/entitlements/active_entitlement.rbi +5 -12
  211. data/rbi/stripe/resources/entitlements/feature.rbi +15 -22
  212. data/rbi/stripe/resources/ephemeral_key.rbi +2 -2
  213. data/rbi/stripe/resources/event.rbi +16 -60
  214. data/rbi/stripe/resources/exchange_rate.rbi +5 -12
  215. data/rbi/stripe/resources/file.rbi +20 -25
  216. data/rbi/stripe/resources/file_link.rbi +23 -28
  217. data/rbi/stripe/resources/financial_connections/account.rbi +25 -44
  218. data/rbi/stripe/resources/financial_connections/session.rbi +12 -75
  219. data/rbi/stripe/resources/financial_connections/transaction.rbi +16 -19
  220. data/rbi/stripe/resources/forwarding/request.rbi +21 -24
  221. data/rbi/stripe/resources/identity/verification_report.rbi +18 -21
  222. data/rbi/stripe/resources/identity/verification_session.rbi +60 -61
  223. data/rbi/stripe/resources/invoice.rbi +723 -5918
  224. data/rbi/stripe/resources/invoice_item.rbi +138 -177
  225. data/rbi/stripe/resources/invoice_line_item.rbi +199 -264
  226. data/rbi/stripe/resources/invoice_payment.rbi +51 -7
  227. data/rbi/stripe/resources/invoice_rendering_template.rbi +10 -20
  228. data/rbi/stripe/resources/issuing/authorization.rbi +216 -199
  229. data/rbi/stripe/resources/issuing/card.rbi +104 -101
  230. data/rbi/stripe/resources/issuing/cardholder.rbi +120 -108
  231. data/rbi/stripe/resources/issuing/dispute.rbi +164 -151
  232. data/rbi/stripe/resources/issuing/personalization_design.rbi +61 -56
  233. data/rbi/stripe/resources/issuing/physical_bundle.rbi +7 -14
  234. data/rbi/stripe/resources/issuing/token.rbi +16 -21
  235. data/rbi/stripe/resources/issuing/transaction.rbi +180 -176
  236. data/rbi/stripe/resources/line_item.rbi +0 -36
  237. data/rbi/stripe/resources/mandate.rbi +8 -40
  238. data/rbi/stripe/resources/payment_intent.rbi +2252 -6482
  239. data/rbi/stripe/resources/payment_link.rbi +346 -211
  240. data/rbi/stripe/resources/payment_method.rbi +226 -330
  241. data/rbi/stripe/resources/payment_method_configuration.rbi +602 -685
  242. data/rbi/stripe/resources/payment_method_domain.rbi +26 -31
  243. data/rbi/stripe/resources/payout.rbi +43 -42
  244. data/rbi/stripe/resources/person.rbi +9 -9
  245. data/rbi/stripe/resources/plan.rbi +51 -63
  246. data/rbi/stripe/resources/price.rbi +114 -151
  247. data/rbi/stripe/resources/product.rbi +90 -152
  248. data/rbi/stripe/resources/promotion_code.rbi +42 -47
  249. data/rbi/stripe/resources/quote.rbi +168 -2231
  250. data/rbi/stripe/resources/radar/early_fraud_warning.rbi +17 -20
  251. data/rbi/stripe/resources/radar/value_list.rbi +24 -29
  252. data/rbi/stripe/resources/radar/value_list_item.rbi +18 -21
  253. data/rbi/stripe/resources/refund.rbi +52 -51
  254. data/rbi/stripe/resources/reporting/report_run.rbi +27 -30
  255. data/rbi/stripe/resources/reporting/report_type.rbi +2 -9
  256. data/rbi/stripe/resources/review.rbi +17 -22
  257. data/rbi/stripe/resources/setup_attempt.rbi +25 -32
  258. data/rbi/stripe/resources/setup_intent.rbi +900 -1102
  259. data/rbi/stripe/resources/shipping_rate.rbi +41 -46
  260. data/rbi/stripe/resources/sigma/scheduled_query_run.rbi +5 -12
  261. data/rbi/stripe/resources/source.rbi +132 -179
  262. data/rbi/stripe/resources/subscription.rbi +363 -707
  263. data/rbi/stripe/resources/subscription_item.rbi +69 -177
  264. data/rbi/stripe/resources/subscription_schedule.rbi +289 -1447
  265. data/rbi/stripe/resources/tax/calculation.rbi +43 -48
  266. data/rbi/stripe/resources/tax/registration.rbi +217 -170
  267. data/rbi/stripe/resources/tax/settings.rbi +14 -21
  268. data/rbi/stripe/resources/tax/transaction.rbi +20 -25
  269. data/rbi/stripe/resources/tax_code.rbi +5 -12
  270. data/rbi/stripe/resources/tax_id.rbi +15 -22
  271. data/rbi/stripe/resources/tax_rate.rbi +34 -39
  272. data/rbi/stripe/resources/terminal/configuration.rbi +457 -212
  273. data/rbi/stripe/resources/terminal/connection_token.rbi +3 -3
  274. data/rbi/stripe/resources/terminal/location.rbi +28 -35
  275. data/rbi/stripe/resources/terminal/reader.rbi +71 -441
  276. data/rbi/stripe/resources/test_helpers/test_clock.rbi +12 -17
  277. data/rbi/stripe/resources/token.rbi +288 -263
  278. data/rbi/stripe/resources/topup.rbi +35 -38
  279. data/rbi/stripe/resources/transfer.rbi +27 -32
  280. data/rbi/stripe/resources/treasury/credit_reversal.rbi +10 -17
  281. data/rbi/stripe/resources/treasury/debit_reversal.rbi +11 -18
  282. data/rbi/stripe/resources/treasury/financial_account.rbi +125 -130
  283. data/rbi/stripe/resources/treasury/financial_account_features.rbi +0 -3
  284. data/rbi/stripe/resources/treasury/inbound_transfer.rbi +22 -29
  285. data/rbi/stripe/resources/treasury/outbound_payment.rbi +82 -79
  286. data/rbi/stripe/resources/treasury/outbound_transfer.rbi +44 -86
  287. data/rbi/stripe/resources/treasury/received_credit.rbi +18 -64
  288. data/rbi/stripe/resources/treasury/received_debit.rbi +17 -66
  289. data/rbi/stripe/resources/treasury/transaction.rbi +27 -28
  290. data/rbi/stripe/resources/treasury/transaction_entry.rbi +25 -26
  291. data/rbi/stripe/resources/v2/amount.rbi +1 -1
  292. data/rbi/stripe/resources/v2/event.rbi +1 -0
  293. data/rbi/stripe/resources/v2/event_destination.rbi +1 -0
  294. data/rbi/stripe/resources/webhook_endpoint.rbi +18 -25
  295. data/rbi/stripe/services/account_capability_service.rbi +7 -7
  296. data/rbi/stripe/services/account_external_account_service.rbi +52 -52
  297. data/rbi/stripe/services/account_link_service.rbi +9 -9
  298. data/rbi/stripe/services/account_login_link_service.rbi +2 -2
  299. data/rbi/stripe/services/account_person_service.rbi +221 -201
  300. data/rbi/stripe/services/account_service.rbi +1221 -1345
  301. data/rbi/stripe/services/account_session_service.rbi +115 -346
  302. data/rbi/stripe/services/apple_pay_domain_service.rbi +10 -10
  303. data/rbi/stripe/services/application_fee_refund_service.rbi +16 -14
  304. data/rbi/stripe/services/application_fee_service.rbi +18 -14
  305. data/rbi/stripe/services/apps/secret_service.rbi +20 -20
  306. data/rbi/stripe/services/balance_service.rbi +2 -2
  307. data/rbi/stripe/services/balance_transaction_service.rbi +22 -18
  308. data/rbi/stripe/services/billing/alert_service.rbi +23 -23
  309. data/rbi/stripe/services/billing/credit_balance_summary_service.rbi +10 -10
  310. data/rbi/stripe/services/billing/credit_balance_transaction_service.rbi +8 -8
  311. data/rbi/stripe/services/billing/credit_grant_service.rbi +32 -30
  312. data/rbi/stripe/services/billing/meter_event_adjustment_service.rbi +7 -5
  313. data/rbi/stripe/services/billing/meter_event_service.rbi +4 -4
  314. data/rbi/stripe/services/billing/meter_event_summary_service.rbi +6 -6
  315. data/rbi/stripe/services/billing/meter_service.rbi +21 -21
  316. data/rbi/stripe/services/billing_portal/configuration_service.rbi +90 -76
  317. data/rbi/stripe/services/billing_portal/session_service.rbi +29 -27
  318. data/rbi/stripe/services/charge_service.rbi +96 -1464
  319. data/rbi/stripe/services/checkout/session_line_item_service.rbi +5 -5
  320. data/rbi/stripe/services/checkout/session_service.rbi +555 -591
  321. data/rbi/stripe/services/climate/order_service.rbi +22 -20
  322. data/rbi/stripe/services/climate/product_service.rbi +7 -7
  323. data/rbi/stripe/services/climate/supplier_service.rbi +7 -7
  324. data/rbi/stripe/services/confirmation_token_service.rbi +2 -2
  325. data/rbi/stripe/services/country_spec_service.rbi +7 -7
  326. data/rbi/stripe/services/coupon_service.rbi +40 -34
  327. data/rbi/stripe/services/credit_note_line_item_service.rbi +5 -5
  328. data/rbi/stripe/services/credit_note_preview_lines_service.rbi +35 -35
  329. data/rbi/stripe/services/credit_note_service.rbi +81 -85
  330. data/rbi/stripe/services/customer_balance_transaction_service.rbi +15 -15
  331. data/rbi/stripe/services/customer_cash_balance_service.rbi +7 -7
  332. data/rbi/stripe/services/customer_cash_balance_transaction_service.rbi +7 -7
  333. data/rbi/stripe/services/customer_funding_instructions_service.rbi +5 -5
  334. data/rbi/stripe/services/customer_payment_method_service.rbi +9 -9
  335. data/rbi/stripe/services/customer_payment_source_service.rbi +48 -44
  336. data/rbi/stripe/services/customer_service.rbi +143 -139
  337. data/rbi/stripe/services/customer_session_service.rbi +21 -15
  338. data/rbi/stripe/services/customer_tax_id_service.rbi +9 -9
  339. data/rbi/stripe/services/dispute_service.rbi +92 -90
  340. data/rbi/stripe/services/entitlements/active_entitlement_service.rbi +7 -7
  341. data/rbi/stripe/services/entitlements/feature_service.rbi +17 -17
  342. data/rbi/stripe/services/ephemeral_key_service.rbi +8 -8
  343. data/rbi/stripe/services/event_service.rbi +18 -16
  344. data/rbi/stripe/services/exchange_rate_service.rbi +7 -7
  345. data/rbi/stripe/services/file_link_service.rbi +25 -23
  346. data/rbi/stripe/services/file_service.rbi +22 -20
  347. data/rbi/stripe/services/financial_connections/account_owner_service.rbi +5 -5
  348. data/rbi/stripe/services/financial_connections/account_service.rbi +22 -21
  349. data/rbi/stripe/services/financial_connections/session_service.rbi +16 -39
  350. data/rbi/stripe/services/financial_connections/transaction_service.rbi +16 -14
  351. data/rbi/stripe/services/financial_connections_service.rbi +0 -1
  352. data/rbi/stripe/services/forwarding/request_service.rbi +21 -19
  353. data/rbi/stripe/services/identity/verification_report_service.rbi +18 -16
  354. data/rbi/stripe/services/identity/verification_session_service.rbi +62 -56
  355. data/rbi/stripe/services/invoice_item_service.rbi +99 -155
  356. data/rbi/stripe/services/invoice_line_item_service.rbi +71 -82
  357. data/rbi/stripe/services/invoice_payment_service.rbi +39 -12
  358. data/rbi/stripe/services/invoice_rendering_template_service.rbi +13 -13
  359. data/rbi/stripe/services/invoice_service.rbi +679 -3799
  360. data/rbi/stripe/services/issuing/authorization_service.rbi +32 -26
  361. data/rbi/stripe/services/issuing/card_service.rbi +102 -86
  362. data/rbi/stripe/services/issuing/cardholder_service.rbi +122 -103
  363. data/rbi/stripe/services/issuing/dispute_service.rbi +152 -146
  364. data/rbi/stripe/services/issuing/personalization_design_service.rbi +52 -42
  365. data/rbi/stripe/services/issuing/physical_bundle_service.rbi +9 -9
  366. data/rbi/stripe/services/issuing/token_service.rbi +20 -16
  367. data/rbi/stripe/services/issuing/transaction_service.rbi +25 -23
  368. data/rbi/stripe/services/issuing_service.rbi +0 -3
  369. data/rbi/stripe/services/mandate_service.rbi +2 -2
  370. data/rbi/stripe/services/payment_intent_service.rbi +2312 -6081
  371. data/rbi/stripe/services/payment_link_line_item_service.rbi +5 -5
  372. data/rbi/stripe/services/payment_link_service.rbi +303 -201
  373. data/rbi/stripe/services/payment_method_configuration_service.rbi +616 -620
  374. data/rbi/stripe/services/payment_method_domain_service.rbi +25 -23
  375. data/rbi/stripe/services/payment_method_service.rbi +192 -249
  376. data/rbi/stripe/services/payout_service.rbi +45 -37
  377. data/rbi/stripe/services/plan_service.rbi +53 -55
  378. data/rbi/stripe/services/price_service.rbi +124 -129
  379. data/rbi/stripe/services/product_feature_service.rbi +9 -9
  380. data/rbi/stripe/services/product_service.rbi +94 -122
  381. data/rbi/stripe/services/promotion_code_service.rbi +46 -42
  382. data/rbi/stripe/services/quote_computed_upfront_line_items_service.rbi +5 -5
  383. data/rbi/stripe/services/quote_line_item_service.rbi +5 -5
  384. data/rbi/stripe/services/quote_service.rbi +159 -1863
  385. data/rbi/stripe/services/radar/early_fraud_warning_service.rbi +17 -15
  386. data/rbi/stripe/services/radar/value_list_item_service.rbi +20 -16
  387. data/rbi/stripe/services/radar/value_list_service.rbi +28 -24
  388. data/rbi/stripe/services/refund_service.rbi +37 -33
  389. data/rbi/stripe/services/reporting/report_run_service.rbi +29 -25
  390. data/rbi/stripe/services/reporting/report_type_service.rbi +4 -4
  391. data/rbi/stripe/services/review_service.rbi +17 -15
  392. data/rbi/stripe/services/setup_attempt_service.rbi +13 -11
  393. data/rbi/stripe/services/setup_intent_service.rbi +1028 -1062
  394. data/rbi/stripe/services/shipping_rate_service.rbi +47 -41
  395. data/rbi/stripe/services/sigma/scheduled_query_run_service.rbi +7 -7
  396. data/rbi/stripe/services/source_service.rbi +149 -133
  397. data/rbi/stripe/services/source_transaction_service.rbi +5 -5
  398. data/rbi/stripe/services/subscription_item_service.rbi +61 -159
  399. data/rbi/stripe/services/subscription_schedule_service.rbi +289 -1305
  400. data/rbi/stripe/services/subscription_service.rbi +366 -640
  401. data/rbi/stripe/services/tax/calculation_line_item_service.rbi +5 -5
  402. data/rbi/stripe/services/tax/calculation_service.rbi +40 -38
  403. data/rbi/stripe/services/tax/registration_service.rbi +337 -165
  404. data/rbi/stripe/services/tax/settings_service.rbi +16 -16
  405. data/rbi/stripe/services/tax/transaction_line_item_service.rbi +5 -5
  406. data/rbi/stripe/services/tax/transaction_service.rbi +19 -15
  407. data/rbi/stripe/services/tax_code_service.rbi +7 -7
  408. data/rbi/stripe/services/tax_id_service.rbi +17 -17
  409. data/rbi/stripe/services/tax_rate_service.rbi +36 -34
  410. data/rbi/stripe/services/tax_service.rbi +0 -2
  411. data/rbi/stripe/services/terminal/configuration_service.rbi +464 -204
  412. data/rbi/stripe/services/terminal/connection_token_service.rbi +3 -3
  413. data/rbi/stripe/services/terminal/location_service.rbi +30 -30
  414. data/rbi/stripe/services/terminal/reader_service.rbi +57 -226
  415. data/rbi/stripe/services/terminal_service.rbi +0 -1
  416. data/rbi/stripe/services/test_helpers/confirmation_token_service.rbi +157 -198
  417. data/rbi/stripe/services/test_helpers/customer_service.rbi +3 -3
  418. data/rbi/stripe/services/test_helpers/issuing/authorization_service.rbi +180 -168
  419. data/rbi/stripe/services/test_helpers/issuing/card_service.rbi +10 -10
  420. data/rbi/stripe/services/test_helpers/issuing/personalization_design_service.rbi +11 -9
  421. data/rbi/stripe/services/test_helpers/issuing/transaction_service.rbi +151 -145
  422. data/rbi/stripe/services/test_helpers/refund_service.rbi +2 -2
  423. data/rbi/stripe/services/test_helpers/terminal/reader_service.rbi +10 -39
  424. data/rbi/stripe/services/test_helpers/test_clock_service.rbi +14 -12
  425. data/rbi/stripe/services/test_helpers/treasury/inbound_transfer_service.rbi +9 -9
  426. data/rbi/stripe/services/test_helpers/treasury/outbound_payment_service.rbi +20 -18
  427. data/rbi/stripe/services/test_helpers/treasury/outbound_transfer_service.rbi +20 -18
  428. data/rbi/stripe/services/test_helpers/treasury/received_credit_service.rbi +11 -38
  429. data/rbi/stripe/services/test_helpers/treasury/received_debit_service.rbi +11 -38
  430. data/rbi/stripe/services/token_service.rbi +292 -258
  431. data/rbi/stripe/services/topup_service.rbi +37 -33
  432. data/rbi/stripe/services/transfer_reversal_service.rbi +18 -16
  433. data/rbi/stripe/services/transfer_service.rbi +29 -27
  434. data/rbi/stripe/services/treasury/credit_reversal_service.rbi +12 -12
  435. data/rbi/stripe/services/treasury/debit_reversal_service.rbi +13 -13
  436. data/rbi/stripe/services/treasury/financial_account_features_service.rbi +23 -26
  437. data/rbi/stripe/services/treasury/financial_account_service.rbi +92 -96
  438. data/rbi/stripe/services/treasury/inbound_transfer_service.rbi +15 -15
  439. data/rbi/stripe/services/treasury/outbound_payment_service.rbi +60 -56
  440. data/rbi/stripe/services/treasury/outbound_transfer_service.rbi +24 -49
  441. data/rbi/stripe/services/treasury/received_credit_service.rbi +11 -9
  442. data/rbi/stripe/services/treasury/received_debit_service.rbi +8 -8
  443. data/rbi/stripe/services/treasury/transaction_entry_service.rbi +25 -21
  444. data/rbi/stripe/services/treasury/transaction_service.rbi +31 -23
  445. data/rbi/stripe/services/v1_services.rbi +1 -7
  446. data/rbi/stripe/services/v2/billing/meter_event_service.rbi +3 -3
  447. data/rbi/stripe/services/v2/billing/meter_event_stream_service.rbi +3 -3
  448. data/rbi/stripe/services/v2/core/event_destination_service.rbi +21 -24
  449. data/rbi/stripe/services/v2/core/event_service.rbi +3 -6
  450. data/rbi/stripe/services/webhook_endpoint_service.rbi +20 -20
  451. metadata +4 -109
  452. data/lib/stripe/request_signing_authenticator.rb +0 -79
  453. data/lib/stripe/resources/account_notice.rb +0 -132
  454. data/lib/stripe/resources/billing/meter_error_report.rb +0 -59
  455. data/lib/stripe/resources/capital/financing_offer.rb +0 -188
  456. data/lib/stripe/resources/capital/financing_summary.rb +0 -64
  457. data/lib/stripe/resources/capital/financing_transaction.rb +0 -123
  458. data/lib/stripe/resources/financial_connections/account_inferred_balance.rb +0 -27
  459. data/lib/stripe/resources/financial_connections/institution.rb +0 -99
  460. data/lib/stripe/resources/gift_cards/card.rb +0 -217
  461. data/lib/stripe/resources/gift_cards/transaction.rb +0 -281
  462. data/lib/stripe/resources/issuing/credit_underwriting_record.rb +0 -611
  463. data/lib/stripe/resources/issuing/dispute_settlement_detail.rb +0 -84
  464. data/lib/stripe/resources/issuing/fraud_liability_debit.rb +0 -95
  465. data/lib/stripe/resources/issuing/settlement.rb +0 -49
  466. data/lib/stripe/resources/margin.rb +0 -124
  467. data/lib/stripe/resources/order.rb +0 -2868
  468. data/lib/stripe/resources/payment_attempt_record.rb +0 -184
  469. data/lib/stripe/resources/payment_record.rb +0 -715
  470. data/lib/stripe/resources/quote_line.rb +0 -274
  471. data/lib/stripe/resources/quote_preview_invoice.rb +0 -652
  472. data/lib/stripe/resources/quote_preview_subscription_schedule.rb +0 -362
  473. data/lib/stripe/resources/tax/association.rb +0 -89
  474. data/lib/stripe/resources/tax/form.rb +0 -220
  475. data/lib/stripe/resources/terminal/reader_collected_data.rb +0 -40
  476. data/lib/stripe/resources/usage_record.rb +0 -30
  477. data/lib/stripe/resources/usage_record_summary.rb +0 -33
  478. data/lib/stripe/services/account_notice_service.rb +0 -101
  479. data/lib/stripe/services/capital/financing_offer_service.rb +0 -112
  480. data/lib/stripe/services/capital/financing_summary_service.rb +0 -28
  481. data/lib/stripe/services/capital/financing_transaction_service.rb +0 -79
  482. data/lib/stripe/services/capital_service.rb +0 -15
  483. data/lib/stripe/services/financial_connections/account_inferred_balance_service.rb +0 -37
  484. data/lib/stripe/services/financial_connections/institution_service.rb +0 -57
  485. data/lib/stripe/services/gift_cards/card_service.rb +0 -170
  486. data/lib/stripe/services/gift_cards/transaction_service.rb +0 -209
  487. data/lib/stripe/services/gift_cards_service.rb +0 -14
  488. data/lib/stripe/services/invoice_upcoming_lines_service.rb +0 -1881
  489. data/lib/stripe/services/issuing/credit_underwriting_record_service.rb +0 -504
  490. data/lib/stripe/services/issuing/dispute_settlement_detail_service.rb +0 -66
  491. data/lib/stripe/services/issuing/fraud_liability_debit_service.rb +0 -83
  492. data/lib/stripe/services/margin_service.rb +0 -119
  493. data/lib/stripe/services/order_line_item_service.rb +0 -35
  494. data/lib/stripe/services/order_service.rb +0 -2268
  495. data/lib/stripe/services/payment_attempt_record_service.rb +0 -49
  496. data/lib/stripe/services/payment_record_service.rb +0 -542
  497. data/lib/stripe/services/quote_line_service.rb +0 -35
  498. data/lib/stripe/services/quote_preview_invoice_service.rb +0 -35
  499. data/lib/stripe/services/quote_preview_subscription_schedule_service.rb +0 -35
  500. data/lib/stripe/services/subscription_item_usage_record_service.rb +0 -41
  501. data/lib/stripe/services/subscription_item_usage_record_summary_service.rb +0 -37
  502. data/lib/stripe/services/tax/association_service.rb +0 -31
  503. data/lib/stripe/services/tax/form_service.rb +0 -100
  504. data/lib/stripe/services/terminal/reader_collected_data_service.rb +0 -28
  505. data/rbi/stripe/resources/account_notice.rbi +0 -139
  506. data/rbi/stripe/resources/billing/meter_error_report.rbi +0 -71
  507. data/rbi/stripe/resources/capital/financing_offer.rbi +0 -190
  508. data/rbi/stripe/resources/capital/financing_summary.rbi +0 -74
  509. data/rbi/stripe/resources/capital/financing_transaction.rbi +0 -130
  510. data/rbi/stripe/resources/financial_connections/account_inferred_balance.rbi +0 -27
  511. data/rbi/stripe/resources/financial_connections/institution.rbi +0 -99
  512. data/rbi/stripe/resources/gift_cards/card.rbi +0 -206
  513. data/rbi/stripe/resources/gift_cards/transaction.rbi +0 -257
  514. data/rbi/stripe/resources/issuing/credit_underwriting_record.rbi +0 -622
  515. data/rbi/stripe/resources/issuing/dispute_settlement_detail.rbi +0 -83
  516. data/rbi/stripe/resources/issuing/fraud_liability_debit.rbi +0 -90
  517. data/rbi/stripe/resources/issuing/settlement.rbi +0 -62
  518. data/rbi/stripe/resources/margin.rbi +0 -127
  519. data/rbi/stripe/resources/order.rbi +0 -3036
  520. data/rbi/stripe/resources/payment_attempt_record.rbi +0 -215
  521. data/rbi/stripe/resources/payment_record.rbi +0 -722
  522. data/rbi/stripe/resources/quote_line.rbi +0 -350
  523. data/rbi/stripe/resources/quote_preview_invoice.rbi +0 -850
  524. data/rbi/stripe/resources/quote_preview_subscription_schedule.rbi +0 -474
  525. data/rbi/stripe/resources/tax/association.rbi +0 -94
  526. data/rbi/stripe/resources/tax/form.rbi +0 -224
  527. data/rbi/stripe/resources/terminal/reader_collected_data.rbi +0 -41
  528. data/rbi/stripe/resources/usage_record.rbi +0 -32
  529. data/rbi/stripe/resources/usage_record_summary.rbi +0 -38
  530. data/rbi/stripe/services/account_notice_service.rbi +0 -90
  531. data/rbi/stripe/services/capital/financing_offer_service.rbi +0 -95
  532. data/rbi/stripe/services/capital/financing_summary_service.rbi +0 -22
  533. data/rbi/stripe/services/capital/financing_transaction_service.rbi +0 -68
  534. data/rbi/stripe/services/capital_service.rbi +0 -11
  535. data/rbi/stripe/services/financial_connections/account_inferred_balance_service.rbi +0 -33
  536. data/rbi/stripe/services/financial_connections/institution_service.rbi +0 -46
  537. data/rbi/stripe/services/gift_cards/card_service.rbi +0 -142
  538. data/rbi/stripe/services/gift_cards/transaction_service.rbi +0 -174
  539. data/rbi/stripe/services/gift_cards_service.rbi +0 -10
  540. data/rbi/stripe/services/invoice_upcoming_lines_service.rbi +0 -2023
  541. data/rbi/stripe/services/issuing/credit_underwriting_record_service.rbi +0 -498
  542. data/rbi/stripe/services/issuing/dispute_settlement_detail_service.rbi +0 -55
  543. data/rbi/stripe/services/issuing/fraud_liability_debit_service.rbi +0 -73
  544. data/rbi/stripe/services/margin_service.rbi +0 -104
  545. data/rbi/stripe/services/order_line_item_service.rbi +0 -31
  546. data/rbi/stripe/services/order_service.rbi +0 -2320
  547. data/rbi/stripe/services/payment_attempt_record_service.rbi +0 -36
  548. data/rbi/stripe/services/payment_record_service.rbi +0 -521
  549. data/rbi/stripe/services/quote_line_service.rbi +0 -31
  550. data/rbi/stripe/services/quote_preview_invoice_service.rbi +0 -31
  551. data/rbi/stripe/services/quote_preview_subscription_schedule_service.rbi +0 -31
  552. data/rbi/stripe/services/subscription_item_usage_record_service.rbi +0 -37
  553. data/rbi/stripe/services/subscription_item_usage_record_summary_service.rbi +0 -33
  554. data/rbi/stripe/services/tax/association_service.rbi +0 -25
  555. data/rbi/stripe/services/tax/form_service.rbi +0 -85
  556. data/rbi/stripe/services/terminal/reader_collected_data_service.rbi +0 -22
@@ -176,7 +176,7 @@ module Stripe
176
176
  attr_reader :display_preference
177
177
  end
178
178
 
179
- class Blik < Stripe::StripeObject
179
+ class Billie < Stripe::StripeObject
180
180
  class DisplayPreference < Stripe::StripeObject
181
181
  # For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used.
182
182
  attr_reader :overridable
@@ -191,7 +191,7 @@ module Stripe
191
191
  attr_reader :display_preference
192
192
  end
193
193
 
194
- class Boleto < Stripe::StripeObject
194
+ class Blik < Stripe::StripeObject
195
195
  class DisplayPreference < Stripe::StripeObject
196
196
  # For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used.
197
197
  attr_reader :overridable
@@ -206,7 +206,7 @@ module Stripe
206
206
  attr_reader :display_preference
207
207
  end
208
208
 
209
- class Card < Stripe::StripeObject
209
+ class Boleto < Stripe::StripeObject
210
210
  class DisplayPreference < Stripe::StripeObject
211
211
  # For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used.
212
212
  attr_reader :overridable
@@ -221,7 +221,7 @@ module Stripe
221
221
  attr_reader :display_preference
222
222
  end
223
223
 
224
- class CartesBancaires < Stripe::StripeObject
224
+ class Card < Stripe::StripeObject
225
225
  class DisplayPreference < Stripe::StripeObject
226
226
  # For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used.
227
227
  attr_reader :overridable
@@ -236,7 +236,7 @@ module Stripe
236
236
  attr_reader :display_preference
237
237
  end
238
238
 
239
- class Cashapp < Stripe::StripeObject
239
+ class CartesBancaires < Stripe::StripeObject
240
240
  class DisplayPreference < Stripe::StripeObject
241
241
  # For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used.
242
242
  attr_reader :overridable
@@ -251,7 +251,7 @@ module Stripe
251
251
  attr_reader :display_preference
252
252
  end
253
253
 
254
- class CustomerBalance < Stripe::StripeObject
254
+ class Cashapp < Stripe::StripeObject
255
255
  class DisplayPreference < Stripe::StripeObject
256
256
  # For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used.
257
257
  attr_reader :overridable
@@ -266,7 +266,7 @@ module Stripe
266
266
  attr_reader :display_preference
267
267
  end
268
268
 
269
- class Eps < Stripe::StripeObject
269
+ class CustomerBalance < Stripe::StripeObject
270
270
  class DisplayPreference < Stripe::StripeObject
271
271
  # For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used.
272
272
  attr_reader :overridable
@@ -281,7 +281,7 @@ module Stripe
281
281
  attr_reader :display_preference
282
282
  end
283
283
 
284
- class Fpx < Stripe::StripeObject
284
+ class Eps < Stripe::StripeObject
285
285
  class DisplayPreference < Stripe::StripeObject
286
286
  # For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used.
287
287
  attr_reader :overridable
@@ -296,7 +296,7 @@ module Stripe
296
296
  attr_reader :display_preference
297
297
  end
298
298
 
299
- class Giropay < Stripe::StripeObject
299
+ class Fpx < Stripe::StripeObject
300
300
  class DisplayPreference < Stripe::StripeObject
301
301
  # For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used.
302
302
  attr_reader :overridable
@@ -311,7 +311,7 @@ module Stripe
311
311
  attr_reader :display_preference
312
312
  end
313
313
 
314
- class GooglePay < Stripe::StripeObject
314
+ class Giropay < Stripe::StripeObject
315
315
  class DisplayPreference < Stripe::StripeObject
316
316
  # For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used.
317
317
  attr_reader :overridable
@@ -326,7 +326,7 @@ module Stripe
326
326
  attr_reader :display_preference
327
327
  end
328
328
 
329
- class Gopay < Stripe::StripeObject
329
+ class GooglePay < Stripe::StripeObject
330
330
  class DisplayPreference < Stripe::StripeObject
331
331
  # For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used.
332
332
  attr_reader :overridable
@@ -356,21 +356,6 @@ module Stripe
356
356
  attr_reader :display_preference
357
357
  end
358
358
 
359
- class IdBankTransfer < Stripe::StripeObject
360
- class DisplayPreference < Stripe::StripeObject
361
- # For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used.
362
- attr_reader :overridable
363
- # The account's display preference.
364
- attr_reader :preference
365
- # The effective display preference value.
366
- attr_reader :value
367
- end
368
- # Whether this payment method may be offered at checkout. True if `display_preference` is `on` and the payment method's capability is active.
369
- attr_reader :available
370
- # Attribute for field display_preference
371
- attr_reader :display_preference
372
- end
373
-
374
359
  class Ideal < Stripe::StripeObject
375
360
  class DisplayPreference < Stripe::StripeObject
376
361
  # For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used.
@@ -476,7 +461,7 @@ module Stripe
476
461
  attr_reader :display_preference
477
462
  end
478
463
 
479
- class Oxxo < Stripe::StripeObject
464
+ class NzBankAccount < Stripe::StripeObject
480
465
  class DisplayPreference < Stripe::StripeObject
481
466
  # For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used.
482
467
  attr_reader :overridable
@@ -491,7 +476,7 @@ module Stripe
491
476
  attr_reader :display_preference
492
477
  end
493
478
 
494
- class P24 < Stripe::StripeObject
479
+ class Oxxo < Stripe::StripeObject
495
480
  class DisplayPreference < Stripe::StripeObject
496
481
  # For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used.
497
482
  attr_reader :overridable
@@ -506,7 +491,7 @@ module Stripe
506
491
  attr_reader :display_preference
507
492
  end
508
493
 
509
- class PayByBank < Stripe::StripeObject
494
+ class P24 < Stripe::StripeObject
510
495
  class DisplayPreference < Stripe::StripeObject
511
496
  # For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used.
512
497
  attr_reader :overridable
@@ -521,7 +506,7 @@ module Stripe
521
506
  attr_reader :display_preference
522
507
  end
523
508
 
524
- class Paynow < Stripe::StripeObject
509
+ class PayByBank < Stripe::StripeObject
525
510
  class DisplayPreference < Stripe::StripeObject
526
511
  # For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used.
527
512
  attr_reader :overridable
@@ -536,7 +521,7 @@ module Stripe
536
521
  attr_reader :display_preference
537
522
  end
538
523
 
539
- class Paypal < Stripe::StripeObject
524
+ class Paynow < Stripe::StripeObject
540
525
  class DisplayPreference < Stripe::StripeObject
541
526
  # For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used.
542
527
  attr_reader :overridable
@@ -551,7 +536,7 @@ module Stripe
551
536
  attr_reader :display_preference
552
537
  end
553
538
 
554
- class Payto < Stripe::StripeObject
539
+ class Paypal < Stripe::StripeObject
555
540
  class DisplayPreference < Stripe::StripeObject
556
541
  # For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used.
557
542
  attr_reader :overridable
@@ -581,21 +566,6 @@ module Stripe
581
566
  attr_reader :display_preference
582
567
  end
583
568
 
584
- class Qris < Stripe::StripeObject
585
- class DisplayPreference < Stripe::StripeObject
586
- # For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used.
587
- attr_reader :overridable
588
- # The account's display preference.
589
- attr_reader :preference
590
- # The effective display preference value.
591
- attr_reader :value
592
- end
593
- # Whether this payment method may be offered at checkout. True if `display_preference` is `on` and the payment method's capability is active.
594
- attr_reader :available
595
- # Attribute for field display_preference
596
- attr_reader :display_preference
597
- end
598
-
599
569
  class RevolutPay < Stripe::StripeObject
600
570
  class DisplayPreference < Stripe::StripeObject
601
571
  # For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used.
@@ -611,7 +581,7 @@ module Stripe
611
581
  attr_reader :display_preference
612
582
  end
613
583
 
614
- class SepaDebit < Stripe::StripeObject
584
+ class Satispay < Stripe::StripeObject
615
585
  class DisplayPreference < Stripe::StripeObject
616
586
  # For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used.
617
587
  attr_reader :overridable
@@ -626,7 +596,7 @@ module Stripe
626
596
  attr_reader :display_preference
627
597
  end
628
598
 
629
- class Shopeepay < Stripe::StripeObject
599
+ class SepaDebit < Stripe::StripeObject
630
600
  class DisplayPreference < Stripe::StripeObject
631
601
  # For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used.
632
602
  attr_reader :overridable
@@ -946,7 +916,7 @@ module Stripe
946
916
  end
947
917
  end
948
918
 
949
- class Blik < Stripe::RequestParams
919
+ class Billie < Stripe::RequestParams
950
920
  class DisplayPreference < Stripe::RequestParams
951
921
  # The account's preference for whether or not to display this payment method.
952
922
  attr_accessor :preference
@@ -963,7 +933,7 @@ module Stripe
963
933
  end
964
934
  end
965
935
 
966
- class Boleto < Stripe::RequestParams
936
+ class Blik < Stripe::RequestParams
967
937
  class DisplayPreference < Stripe::RequestParams
968
938
  # The account's preference for whether or not to display this payment method.
969
939
  attr_accessor :preference
@@ -980,7 +950,7 @@ module Stripe
980
950
  end
981
951
  end
982
952
 
983
- class Card < Stripe::RequestParams
953
+ class Boleto < Stripe::RequestParams
984
954
  class DisplayPreference < Stripe::RequestParams
985
955
  # The account's preference for whether or not to display this payment method.
986
956
  attr_accessor :preference
@@ -997,7 +967,7 @@ module Stripe
997
967
  end
998
968
  end
999
969
 
1000
- class CartesBancaires < Stripe::RequestParams
970
+ class Card < Stripe::RequestParams
1001
971
  class DisplayPreference < Stripe::RequestParams
1002
972
  # The account's preference for whether or not to display this payment method.
1003
973
  attr_accessor :preference
@@ -1014,7 +984,7 @@ module Stripe
1014
984
  end
1015
985
  end
1016
986
 
1017
- class Cashapp < Stripe::RequestParams
987
+ class CartesBancaires < Stripe::RequestParams
1018
988
  class DisplayPreference < Stripe::RequestParams
1019
989
  # The account's preference for whether or not to display this payment method.
1020
990
  attr_accessor :preference
@@ -1031,7 +1001,7 @@ module Stripe
1031
1001
  end
1032
1002
  end
1033
1003
 
1034
- class CustomerBalance < Stripe::RequestParams
1004
+ class Cashapp < Stripe::RequestParams
1035
1005
  class DisplayPreference < Stripe::RequestParams
1036
1006
  # The account's preference for whether or not to display this payment method.
1037
1007
  attr_accessor :preference
@@ -1048,7 +1018,7 @@ module Stripe
1048
1018
  end
1049
1019
  end
1050
1020
 
1051
- class Eps < Stripe::RequestParams
1021
+ class CustomerBalance < Stripe::RequestParams
1052
1022
  class DisplayPreference < Stripe::RequestParams
1053
1023
  # The account's preference for whether or not to display this payment method.
1054
1024
  attr_accessor :preference
@@ -1065,7 +1035,7 @@ module Stripe
1065
1035
  end
1066
1036
  end
1067
1037
 
1068
- class Fpx < Stripe::RequestParams
1038
+ class Eps < Stripe::RequestParams
1069
1039
  class DisplayPreference < Stripe::RequestParams
1070
1040
  # The account's preference for whether or not to display this payment method.
1071
1041
  attr_accessor :preference
@@ -1082,7 +1052,7 @@ module Stripe
1082
1052
  end
1083
1053
  end
1084
1054
 
1085
- class Giropay < Stripe::RequestParams
1055
+ class Fpx < Stripe::RequestParams
1086
1056
  class DisplayPreference < Stripe::RequestParams
1087
1057
  # The account's preference for whether or not to display this payment method.
1088
1058
  attr_accessor :preference
@@ -1099,7 +1069,7 @@ module Stripe
1099
1069
  end
1100
1070
  end
1101
1071
 
1102
- class GooglePay < Stripe::RequestParams
1072
+ class Giropay < Stripe::RequestParams
1103
1073
  class DisplayPreference < Stripe::RequestParams
1104
1074
  # The account's preference for whether or not to display this payment method.
1105
1075
  attr_accessor :preference
@@ -1116,7 +1086,7 @@ module Stripe
1116
1086
  end
1117
1087
  end
1118
1088
 
1119
- class Gopay < Stripe::RequestParams
1089
+ class GooglePay < Stripe::RequestParams
1120
1090
  class DisplayPreference < Stripe::RequestParams
1121
1091
  # The account's preference for whether or not to display this payment method.
1122
1092
  attr_accessor :preference
@@ -1150,23 +1120,6 @@ module Stripe
1150
1120
  end
1151
1121
  end
1152
1122
 
1153
- class IdBankTransfer < Stripe::RequestParams
1154
- class DisplayPreference < Stripe::RequestParams
1155
- # The account's preference for whether or not to display this payment method.
1156
- attr_accessor :preference
1157
-
1158
- def initialize(preference: nil)
1159
- @preference = preference
1160
- end
1161
- end
1162
- # Whether or not the payment method should be displayed.
1163
- attr_accessor :display_preference
1164
-
1165
- def initialize(display_preference: nil)
1166
- @display_preference = display_preference
1167
- end
1168
- end
1169
-
1170
1123
  class Ideal < Stripe::RequestParams
1171
1124
  class DisplayPreference < Stripe::RequestParams
1172
1125
  # The account's preference for whether or not to display this payment method.
@@ -1286,7 +1239,7 @@ module Stripe
1286
1239
  end
1287
1240
  end
1288
1241
 
1289
- class Oxxo < Stripe::RequestParams
1242
+ class NzBankAccount < Stripe::RequestParams
1290
1243
  class DisplayPreference < Stripe::RequestParams
1291
1244
  # The account's preference for whether or not to display this payment method.
1292
1245
  attr_accessor :preference
@@ -1303,7 +1256,7 @@ module Stripe
1303
1256
  end
1304
1257
  end
1305
1258
 
1306
- class P24 < Stripe::RequestParams
1259
+ class Oxxo < Stripe::RequestParams
1307
1260
  class DisplayPreference < Stripe::RequestParams
1308
1261
  # The account's preference for whether or not to display this payment method.
1309
1262
  attr_accessor :preference
@@ -1320,7 +1273,7 @@ module Stripe
1320
1273
  end
1321
1274
  end
1322
1275
 
1323
- class PayByBank < Stripe::RequestParams
1276
+ class P24 < Stripe::RequestParams
1324
1277
  class DisplayPreference < Stripe::RequestParams
1325
1278
  # The account's preference for whether or not to display this payment method.
1326
1279
  attr_accessor :preference
@@ -1337,7 +1290,7 @@ module Stripe
1337
1290
  end
1338
1291
  end
1339
1292
 
1340
- class Paynow < Stripe::RequestParams
1293
+ class PayByBank < Stripe::RequestParams
1341
1294
  class DisplayPreference < Stripe::RequestParams
1342
1295
  # The account's preference for whether or not to display this payment method.
1343
1296
  attr_accessor :preference
@@ -1354,7 +1307,7 @@ module Stripe
1354
1307
  end
1355
1308
  end
1356
1309
 
1357
- class Paypal < Stripe::RequestParams
1310
+ class Paynow < Stripe::RequestParams
1358
1311
  class DisplayPreference < Stripe::RequestParams
1359
1312
  # The account's preference for whether or not to display this payment method.
1360
1313
  attr_accessor :preference
@@ -1371,7 +1324,7 @@ module Stripe
1371
1324
  end
1372
1325
  end
1373
1326
 
1374
- class Payto < Stripe::RequestParams
1327
+ class Paypal < Stripe::RequestParams
1375
1328
  class DisplayPreference < Stripe::RequestParams
1376
1329
  # The account's preference for whether or not to display this payment method.
1377
1330
  attr_accessor :preference
@@ -1405,23 +1358,6 @@ module Stripe
1405
1358
  end
1406
1359
  end
1407
1360
 
1408
- class Qris < Stripe::RequestParams
1409
- class DisplayPreference < Stripe::RequestParams
1410
- # The account's preference for whether or not to display this payment method.
1411
- attr_accessor :preference
1412
-
1413
- def initialize(preference: nil)
1414
- @preference = preference
1415
- end
1416
- end
1417
- # Whether or not the payment method should be displayed.
1418
- attr_accessor :display_preference
1419
-
1420
- def initialize(display_preference: nil)
1421
- @display_preference = display_preference
1422
- end
1423
- end
1424
-
1425
1361
  class RevolutPay < Stripe::RequestParams
1426
1362
  class DisplayPreference < Stripe::RequestParams
1427
1363
  # The account's preference for whether or not to display this payment method.
@@ -1439,7 +1375,7 @@ module Stripe
1439
1375
  end
1440
1376
  end
1441
1377
 
1442
- class SepaDebit < Stripe::RequestParams
1378
+ class Satispay < Stripe::RequestParams
1443
1379
  class DisplayPreference < Stripe::RequestParams
1444
1380
  # The account's preference for whether or not to display this payment method.
1445
1381
  attr_accessor :preference
@@ -1456,7 +1392,7 @@ module Stripe
1456
1392
  end
1457
1393
  end
1458
1394
 
1459
- class Shopeepay < Stripe::RequestParams
1395
+ class SepaDebit < Stripe::RequestParams
1460
1396
  class DisplayPreference < Stripe::RequestParams
1461
1397
  # The account's preference for whether or not to display this payment method.
1462
1398
  attr_accessor :preference
@@ -1596,6 +1532,8 @@ module Stripe
1596
1532
  attr_accessor :bacs_debit
1597
1533
  # 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.
1598
1534
  attr_accessor :bancontact
1535
+ # Billie is a [single-use](https://docs.stripe.com/payments/payment-methods#usage) payment method that offers businesses Pay by Invoice where they offer payment terms ranging from 7-120 days. Customers are redirected from your website or app, authorize the payment with Billie, then return to your website or app. You get [immediate notification](/payments/payment-methods#payment-notification) of whether the payment succeeded or failed.
1536
+ attr_accessor :billie
1599
1537
  # 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.
1600
1538
  attr_accessor :blik
1601
1539
  # 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.
@@ -1618,12 +1556,8 @@ module Stripe
1618
1556
  attr_accessor :giropay
1619
1557
  # 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.
1620
1558
  attr_accessor :google_pay
1621
- # 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.
1622
- attr_accessor :gopay
1623
1559
  # 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.
1624
1560
  attr_accessor :grabpay
1625
- # Stripe users in Indonesia can receive bank transfers from customers in Indonesia. Bank transfers are a popular B2C and B2B payment method in Indonesia.
1626
- attr_accessor :id_bank_transfer
1627
1561
  # 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.
1628
1562
  attr_accessor :ideal
1629
1563
  # 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.
@@ -1640,6 +1574,8 @@ module Stripe
1640
1574
  attr_accessor :multibanco
1641
1575
  # Configuration name.
1642
1576
  attr_accessor :name
1577
+ # Stripe users in New Zealand can accept Bulk Electronic Clearing System (BECS) direct debit payments from customers with a New Zeland bank account. Check this [page](https://stripe.com/docs/payments/nz-bank-account) for more details.
1578
+ attr_accessor :nz_bank_account
1643
1579
  # 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.
1644
1580
  attr_accessor :oxxo
1645
1581
  # 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.
@@ -1652,18 +1588,14 @@ module Stripe
1652
1588
  attr_accessor :paynow
1653
1589
  # 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.
1654
1590
  attr_accessor :paypal
1655
- # 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.
1656
- attr_accessor :payto
1657
1591
  # 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.
1658
1592
  attr_accessor :promptpay
1659
- # 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.
1660
- attr_accessor :qris
1661
1593
  # 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.
1662
1594
  attr_accessor :revolut_pay
1595
+ # Satispay is a [single-use](https://docs.stripe.com/payments/payment-methods#usage) payment method where customers are required to [authenticate](/payments/payment-methods#customer-actions) their payment. Customers pay by being redirected from your website or app, authorizing the payment with Satispay, then returning to your website or app. You get [immediate notification](/payments/payment-methods#payment-notification) of whether the payment succeeded or failed.
1596
+ attr_accessor :satispay
1663
1597
  # 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.
1664
1598
  attr_accessor :sepa_debit
1665
- # 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.
1666
- attr_accessor :shopeepay
1667
1599
  # 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.
1668
1600
  attr_accessor :sofort
1669
1601
  # 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.
@@ -1689,6 +1621,7 @@ module Stripe
1689
1621
  au_becs_debit: nil,
1690
1622
  bacs_debit: nil,
1691
1623
  bancontact: nil,
1624
+ billie: nil,
1692
1625
  blik: nil,
1693
1626
  boleto: nil,
1694
1627
  card: nil,
@@ -1700,9 +1633,7 @@ module Stripe
1700
1633
  fpx: nil,
1701
1634
  giropay: nil,
1702
1635
  google_pay: nil,
1703
- gopay: nil,
1704
1636
  grabpay: nil,
1705
- id_bank_transfer: nil,
1706
1637
  ideal: nil,
1707
1638
  jcb: nil,
1708
1639
  klarna: nil,
@@ -1711,18 +1642,17 @@ module Stripe
1711
1642
  mobilepay: nil,
1712
1643
  multibanco: nil,
1713
1644
  name: nil,
1645
+ nz_bank_account: nil,
1714
1646
  oxxo: nil,
1715
1647
  p24: nil,
1716
1648
  parent: nil,
1717
1649
  pay_by_bank: nil,
1718
1650
  paynow: nil,
1719
1651
  paypal: nil,
1720
- payto: nil,
1721
1652
  promptpay: nil,
1722
- qris: nil,
1723
1653
  revolut_pay: nil,
1654
+ satispay: nil,
1724
1655
  sepa_debit: nil,
1725
- shopeepay: nil,
1726
1656
  sofort: nil,
1727
1657
  swish: nil,
1728
1658
  twint: nil,
@@ -1741,6 +1671,7 @@ module Stripe
1741
1671
  @au_becs_debit = au_becs_debit
1742
1672
  @bacs_debit = bacs_debit
1743
1673
  @bancontact = bancontact
1674
+ @billie = billie
1744
1675
  @blik = blik
1745
1676
  @boleto = boleto
1746
1677
  @card = card
@@ -1752,9 +1683,7 @@ module Stripe
1752
1683
  @fpx = fpx
1753
1684
  @giropay = giropay
1754
1685
  @google_pay = google_pay
1755
- @gopay = gopay
1756
1686
  @grabpay = grabpay
1757
- @id_bank_transfer = id_bank_transfer
1758
1687
  @ideal = ideal
1759
1688
  @jcb = jcb
1760
1689
  @klarna = klarna
@@ -1763,18 +1692,17 @@ module Stripe
1763
1692
  @mobilepay = mobilepay
1764
1693
  @multibanco = multibanco
1765
1694
  @name = name
1695
+ @nz_bank_account = nz_bank_account
1766
1696
  @oxxo = oxxo
1767
1697
  @p24 = p24
1768
1698
  @parent = parent
1769
1699
  @pay_by_bank = pay_by_bank
1770
1700
  @paynow = paynow
1771
1701
  @paypal = paypal
1772
- @payto = payto
1773
1702
  @promptpay = promptpay
1774
- @qris = qris
1775
1703
  @revolut_pay = revolut_pay
1704
+ @satispay = satispay
1776
1705
  @sepa_debit = sepa_debit
1777
- @shopeepay = shopeepay
1778
1706
  @sofort = sofort
1779
1707
  @swish = swish
1780
1708
  @twint = twint
@@ -1784,15 +1712,6 @@ module Stripe
1784
1712
  end
1785
1713
  end
1786
1714
 
1787
- class RetrieveParams < Stripe::RequestParams
1788
- # Specifies which fields in the response should be expanded.
1789
- attr_accessor :expand
1790
-
1791
- def initialize(expand: nil)
1792
- @expand = expand
1793
- end
1794
- end
1795
-
1796
1715
  class UpdateParams < Stripe::RequestParams
1797
1716
  class AcssDebit < Stripe::RequestParams
1798
1717
  class DisplayPreference < Stripe::RequestParams
@@ -1981,7 +1900,7 @@ module Stripe
1981
1900
  end
1982
1901
  end
1983
1902
 
1984
- class Blik < Stripe::RequestParams
1903
+ class Billie < Stripe::RequestParams
1985
1904
  class DisplayPreference < Stripe::RequestParams
1986
1905
  # The account's preference for whether or not to display this payment method.
1987
1906
  attr_accessor :preference
@@ -1998,7 +1917,7 @@ module Stripe
1998
1917
  end
1999
1918
  end
2000
1919
 
2001
- class Boleto < Stripe::RequestParams
1920
+ class Blik < Stripe::RequestParams
2002
1921
  class DisplayPreference < Stripe::RequestParams
2003
1922
  # The account's preference for whether or not to display this payment method.
2004
1923
  attr_accessor :preference
@@ -2015,7 +1934,7 @@ module Stripe
2015
1934
  end
2016
1935
  end
2017
1936
 
2018
- class Card < Stripe::RequestParams
1937
+ class Boleto < Stripe::RequestParams
2019
1938
  class DisplayPreference < Stripe::RequestParams
2020
1939
  # The account's preference for whether or not to display this payment method.
2021
1940
  attr_accessor :preference
@@ -2032,7 +1951,7 @@ module Stripe
2032
1951
  end
2033
1952
  end
2034
1953
 
2035
- class CartesBancaires < Stripe::RequestParams
1954
+ class Card < Stripe::RequestParams
2036
1955
  class DisplayPreference < Stripe::RequestParams
2037
1956
  # The account's preference for whether or not to display this payment method.
2038
1957
  attr_accessor :preference
@@ -2049,7 +1968,7 @@ module Stripe
2049
1968
  end
2050
1969
  end
2051
1970
 
2052
- class Cashapp < Stripe::RequestParams
1971
+ class CartesBancaires < Stripe::RequestParams
2053
1972
  class DisplayPreference < Stripe::RequestParams
2054
1973
  # The account's preference for whether or not to display this payment method.
2055
1974
  attr_accessor :preference
@@ -2066,7 +1985,7 @@ module Stripe
2066
1985
  end
2067
1986
  end
2068
1987
 
2069
- class CustomerBalance < Stripe::RequestParams
1988
+ class Cashapp < Stripe::RequestParams
2070
1989
  class DisplayPreference < Stripe::RequestParams
2071
1990
  # The account's preference for whether or not to display this payment method.
2072
1991
  attr_accessor :preference
@@ -2083,7 +2002,7 @@ module Stripe
2083
2002
  end
2084
2003
  end
2085
2004
 
2086
- class Eps < Stripe::RequestParams
2005
+ class CustomerBalance < Stripe::RequestParams
2087
2006
  class DisplayPreference < Stripe::RequestParams
2088
2007
  # The account's preference for whether or not to display this payment method.
2089
2008
  attr_accessor :preference
@@ -2100,7 +2019,7 @@ module Stripe
2100
2019
  end
2101
2020
  end
2102
2021
 
2103
- class Fpx < Stripe::RequestParams
2022
+ class Eps < Stripe::RequestParams
2104
2023
  class DisplayPreference < Stripe::RequestParams
2105
2024
  # The account's preference for whether or not to display this payment method.
2106
2025
  attr_accessor :preference
@@ -2117,7 +2036,7 @@ module Stripe
2117
2036
  end
2118
2037
  end
2119
2038
 
2120
- class Giropay < Stripe::RequestParams
2039
+ class Fpx < Stripe::RequestParams
2121
2040
  class DisplayPreference < Stripe::RequestParams
2122
2041
  # The account's preference for whether or not to display this payment method.
2123
2042
  attr_accessor :preference
@@ -2134,7 +2053,7 @@ module Stripe
2134
2053
  end
2135
2054
  end
2136
2055
 
2137
- class GooglePay < Stripe::RequestParams
2056
+ class Giropay < Stripe::RequestParams
2138
2057
  class DisplayPreference < Stripe::RequestParams
2139
2058
  # The account's preference for whether or not to display this payment method.
2140
2059
  attr_accessor :preference
@@ -2151,7 +2070,7 @@ module Stripe
2151
2070
  end
2152
2071
  end
2153
2072
 
2154
- class Gopay < Stripe::RequestParams
2073
+ class GooglePay < Stripe::RequestParams
2155
2074
  class DisplayPreference < Stripe::RequestParams
2156
2075
  # The account's preference for whether or not to display this payment method.
2157
2076
  attr_accessor :preference
@@ -2185,23 +2104,6 @@ module Stripe
2185
2104
  end
2186
2105
  end
2187
2106
 
2188
- class IdBankTransfer < Stripe::RequestParams
2189
- class DisplayPreference < Stripe::RequestParams
2190
- # The account's preference for whether or not to display this payment method.
2191
- attr_accessor :preference
2192
-
2193
- def initialize(preference: nil)
2194
- @preference = preference
2195
- end
2196
- end
2197
- # Whether or not the payment method should be displayed.
2198
- attr_accessor :display_preference
2199
-
2200
- def initialize(display_preference: nil)
2201
- @display_preference = display_preference
2202
- end
2203
- end
2204
-
2205
2107
  class Ideal < Stripe::RequestParams
2206
2108
  class DisplayPreference < Stripe::RequestParams
2207
2109
  # The account's preference for whether or not to display this payment method.
@@ -2321,7 +2223,7 @@ module Stripe
2321
2223
  end
2322
2224
  end
2323
2225
 
2324
- class Oxxo < Stripe::RequestParams
2226
+ class NzBankAccount < Stripe::RequestParams
2325
2227
  class DisplayPreference < Stripe::RequestParams
2326
2228
  # The account's preference for whether or not to display this payment method.
2327
2229
  attr_accessor :preference
@@ -2338,7 +2240,7 @@ module Stripe
2338
2240
  end
2339
2241
  end
2340
2242
 
2341
- class P24 < Stripe::RequestParams
2243
+ class Oxxo < Stripe::RequestParams
2342
2244
  class DisplayPreference < Stripe::RequestParams
2343
2245
  # The account's preference for whether or not to display this payment method.
2344
2246
  attr_accessor :preference
@@ -2355,7 +2257,7 @@ module Stripe
2355
2257
  end
2356
2258
  end
2357
2259
 
2358
- class PayByBank < Stripe::RequestParams
2260
+ class P24 < Stripe::RequestParams
2359
2261
  class DisplayPreference < Stripe::RequestParams
2360
2262
  # The account's preference for whether or not to display this payment method.
2361
2263
  attr_accessor :preference
@@ -2372,7 +2274,7 @@ module Stripe
2372
2274
  end
2373
2275
  end
2374
2276
 
2375
- class Paynow < Stripe::RequestParams
2277
+ class PayByBank < Stripe::RequestParams
2376
2278
  class DisplayPreference < Stripe::RequestParams
2377
2279
  # The account's preference for whether or not to display this payment method.
2378
2280
  attr_accessor :preference
@@ -2389,7 +2291,7 @@ module Stripe
2389
2291
  end
2390
2292
  end
2391
2293
 
2392
- class Paypal < Stripe::RequestParams
2294
+ class Paynow < Stripe::RequestParams
2393
2295
  class DisplayPreference < Stripe::RequestParams
2394
2296
  # The account's preference for whether or not to display this payment method.
2395
2297
  attr_accessor :preference
@@ -2406,7 +2308,7 @@ module Stripe
2406
2308
  end
2407
2309
  end
2408
2310
 
2409
- class Payto < Stripe::RequestParams
2311
+ class Paypal < Stripe::RequestParams
2410
2312
  class DisplayPreference < Stripe::RequestParams
2411
2313
  # The account's preference for whether or not to display this payment method.
2412
2314
  attr_accessor :preference
@@ -2440,23 +2342,6 @@ module Stripe
2440
2342
  end
2441
2343
  end
2442
2344
 
2443
- class Qris < Stripe::RequestParams
2444
- class DisplayPreference < Stripe::RequestParams
2445
- # The account's preference for whether or not to display this payment method.
2446
- attr_accessor :preference
2447
-
2448
- def initialize(preference: nil)
2449
- @preference = preference
2450
- end
2451
- end
2452
- # Whether or not the payment method should be displayed.
2453
- attr_accessor :display_preference
2454
-
2455
- def initialize(display_preference: nil)
2456
- @display_preference = display_preference
2457
- end
2458
- end
2459
-
2460
2345
  class RevolutPay < Stripe::RequestParams
2461
2346
  class DisplayPreference < Stripe::RequestParams
2462
2347
  # The account's preference for whether or not to display this payment method.
@@ -2474,7 +2359,7 @@ module Stripe
2474
2359
  end
2475
2360
  end
2476
2361
 
2477
- class SepaDebit < Stripe::RequestParams
2362
+ class Satispay < Stripe::RequestParams
2478
2363
  class DisplayPreference < Stripe::RequestParams
2479
2364
  # The account's preference for whether or not to display this payment method.
2480
2365
  attr_accessor :preference
@@ -2491,7 +2376,7 @@ module Stripe
2491
2376
  end
2492
2377
  end
2493
2378
 
2494
- class Shopeepay < Stripe::RequestParams
2379
+ class SepaDebit < Stripe::RequestParams
2495
2380
  class DisplayPreference < Stripe::RequestParams
2496
2381
  # The account's preference for whether or not to display this payment method.
2497
2382
  attr_accessor :preference
@@ -2633,6 +2518,8 @@ module Stripe
2633
2518
  attr_accessor :bacs_debit
2634
2519
  # 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.
2635
2520
  attr_accessor :bancontact
2521
+ # Billie is a [single-use](https://docs.stripe.com/payments/payment-methods#usage) payment method that offers businesses Pay by Invoice where they offer payment terms ranging from 7-120 days. Customers are redirected from your website or app, authorize the payment with Billie, then return to your website or app. You get [immediate notification](/payments/payment-methods#payment-notification) of whether the payment succeeded or failed.
2522
+ attr_accessor :billie
2636
2523
  # 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.
2637
2524
  attr_accessor :blik
2638
2525
  # 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.
@@ -2655,12 +2542,8 @@ module Stripe
2655
2542
  attr_accessor :giropay
2656
2543
  # 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.
2657
2544
  attr_accessor :google_pay
2658
- # 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.
2659
- attr_accessor :gopay
2660
2545
  # 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.
2661
2546
  attr_accessor :grabpay
2662
- # Stripe users in Indonesia can receive bank transfers from customers in Indonesia. Bank transfers are a popular B2C and B2B payment method in Indonesia.
2663
- attr_accessor :id_bank_transfer
2664
2547
  # 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.
2665
2548
  attr_accessor :ideal
2666
2549
  # 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.
@@ -2677,6 +2560,8 @@ module Stripe
2677
2560
  attr_accessor :multibanco
2678
2561
  # Configuration name.
2679
2562
  attr_accessor :name
2563
+ # Stripe users in New Zealand can accept Bulk Electronic Clearing System (BECS) direct debit payments from customers with a New Zeland bank account. Check this [page](https://stripe.com/docs/payments/nz-bank-account) for more details.
2564
+ attr_accessor :nz_bank_account
2680
2565
  # 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.
2681
2566
  attr_accessor :oxxo
2682
2567
  # 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.
@@ -2687,18 +2572,14 @@ module Stripe
2687
2572
  attr_accessor :paynow
2688
2573
  # 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.
2689
2574
  attr_accessor :paypal
2690
- # 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.
2691
- attr_accessor :payto
2692
2575
  # 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.
2693
2576
  attr_accessor :promptpay
2694
- # 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.
2695
- attr_accessor :qris
2696
2577
  # 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.
2697
2578
  attr_accessor :revolut_pay
2579
+ # Satispay is a [single-use](https://docs.stripe.com/payments/payment-methods#usage) payment method where customers are required to [authenticate](/payments/payment-methods#customer-actions) their payment. Customers pay by being redirected from your website or app, authorizing the payment with Satispay, then returning to your website or app. You get [immediate notification](/payments/payment-methods#payment-notification) of whether the payment succeeded or failed.
2580
+ attr_accessor :satispay
2698
2581
  # 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.
2699
2582
  attr_accessor :sepa_debit
2700
- # 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.
2701
- attr_accessor :shopeepay
2702
2583
  # 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.
2703
2584
  attr_accessor :sofort
2704
2585
  # 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.
@@ -2725,6 +2606,7 @@ module Stripe
2725
2606
  au_becs_debit: nil,
2726
2607
  bacs_debit: nil,
2727
2608
  bancontact: nil,
2609
+ billie: nil,
2728
2610
  blik: nil,
2729
2611
  boleto: nil,
2730
2612
  card: nil,
@@ -2736,9 +2618,7 @@ module Stripe
2736
2618
  fpx: nil,
2737
2619
  giropay: nil,
2738
2620
  google_pay: nil,
2739
- gopay: nil,
2740
2621
  grabpay: nil,
2741
- id_bank_transfer: nil,
2742
2622
  ideal: nil,
2743
2623
  jcb: nil,
2744
2624
  klarna: nil,
@@ -2747,17 +2627,16 @@ module Stripe
2747
2627
  mobilepay: nil,
2748
2628
  multibanco: nil,
2749
2629
  name: nil,
2630
+ nz_bank_account: nil,
2750
2631
  oxxo: nil,
2751
2632
  p24: nil,
2752
2633
  pay_by_bank: nil,
2753
2634
  paynow: nil,
2754
2635
  paypal: nil,
2755
- payto: nil,
2756
2636
  promptpay: nil,
2757
- qris: nil,
2758
2637
  revolut_pay: nil,
2638
+ satispay: nil,
2759
2639
  sepa_debit: nil,
2760
- shopeepay: nil,
2761
2640
  sofort: nil,
2762
2641
  swish: nil,
2763
2642
  twint: nil,
@@ -2777,6 +2656,7 @@ module Stripe
2777
2656
  @au_becs_debit = au_becs_debit
2778
2657
  @bacs_debit = bacs_debit
2779
2658
  @bancontact = bancontact
2659
+ @billie = billie
2780
2660
  @blik = blik
2781
2661
  @boleto = boleto
2782
2662
  @card = card
@@ -2788,9 +2668,7 @@ module Stripe
2788
2668
  @fpx = fpx
2789
2669
  @giropay = giropay
2790
2670
  @google_pay = google_pay
2791
- @gopay = gopay
2792
2671
  @grabpay = grabpay
2793
- @id_bank_transfer = id_bank_transfer
2794
2672
  @ideal = ideal
2795
2673
  @jcb = jcb
2796
2674
  @klarna = klarna
@@ -2799,17 +2677,16 @@ module Stripe
2799
2677
  @mobilepay = mobilepay
2800
2678
  @multibanco = multibanco
2801
2679
  @name = name
2680
+ @nz_bank_account = nz_bank_account
2802
2681
  @oxxo = oxxo
2803
2682
  @p24 = p24
2804
2683
  @pay_by_bank = pay_by_bank
2805
2684
  @paynow = paynow
2806
2685
  @paypal = paypal
2807
- @payto = payto
2808
2686
  @promptpay = promptpay
2809
- @qris = qris
2810
2687
  @revolut_pay = revolut_pay
2688
+ @satispay = satispay
2811
2689
  @sepa_debit = sepa_debit
2812
- @shopeepay = shopeepay
2813
2690
  @sofort = sofort
2814
2691
  @swish = swish
2815
2692
  @twint = twint
@@ -2842,6 +2719,8 @@ module Stripe
2842
2719
  attr_reader :bacs_debit
2843
2720
  # Attribute for field bancontact
2844
2721
  attr_reader :bancontact
2722
+ # Attribute for field billie
2723
+ attr_reader :billie
2845
2724
  # Attribute for field blik
2846
2725
  attr_reader :blik
2847
2726
  # Attribute for field boleto
@@ -2862,14 +2741,10 @@ module Stripe
2862
2741
  attr_reader :giropay
2863
2742
  # Attribute for field google_pay
2864
2743
  attr_reader :google_pay
2865
- # Attribute for field gopay
2866
- attr_reader :gopay
2867
2744
  # Attribute for field grabpay
2868
2745
  attr_reader :grabpay
2869
2746
  # Unique identifier for the object.
2870
2747
  attr_reader :id
2871
- # Attribute for field id_bank_transfer
2872
- attr_reader :id_bank_transfer
2873
2748
  # Attribute for field ideal
2874
2749
  attr_reader :ideal
2875
2750
  # The default configuration is used whenever a payment method configuration is not specified.
@@ -2890,6 +2765,8 @@ module Stripe
2890
2765
  attr_reader :multibanco
2891
2766
  # The configuration's name.
2892
2767
  attr_reader :name
2768
+ # Attribute for field nz_bank_account
2769
+ attr_reader :nz_bank_account
2893
2770
  # String representing the object's type. Objects of the same type share the same value.
2894
2771
  attr_reader :object
2895
2772
  # Attribute for field oxxo
@@ -2904,18 +2781,14 @@ module Stripe
2904
2781
  attr_reader :paynow
2905
2782
  # Attribute for field paypal
2906
2783
  attr_reader :paypal
2907
- # Attribute for field payto
2908
- attr_reader :payto
2909
2784
  # Attribute for field promptpay
2910
2785
  attr_reader :promptpay
2911
- # Attribute for field qris
2912
- attr_reader :qris
2913
2786
  # Attribute for field revolut_pay
2914
2787
  attr_reader :revolut_pay
2788
+ # Attribute for field satispay
2789
+ attr_reader :satispay
2915
2790
  # Attribute for field sepa_debit
2916
2791
  attr_reader :sepa_debit
2917
- # Attribute for field shopeepay
2918
- attr_reader :shopeepay
2919
2792
  # Attribute for field sofort
2920
2793
  attr_reader :sofort
2921
2794
  # Attribute for field swish