stripe 17.2.0.pre.beta.1 → 17.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (499) hide show
  1. checksums.yaml +4 -4
  2. data/lib/stripe/api_requestor.rb +0 -34
  3. data/lib/stripe/api_version.rb +2 -1
  4. data/lib/stripe/errors.rb +0 -63
  5. data/lib/stripe/event_types.rb +0 -233
  6. data/lib/stripe/object_types.rb +0 -55
  7. data/lib/stripe/params/account_create_params.rb +2 -301
  8. data/lib/stripe/params/account_session_create_params.rb +1 -226
  9. data/lib/stripe/params/account_update_params.rb +1 -263
  10. data/lib/stripe/params/billing/credit_balance_summary_retrieve_params.rb +1 -4
  11. data/lib/stripe/params/billing/credit_balance_transaction_list_params.rb +0 -4
  12. data/lib/stripe/params/billing/credit_grant_create_params.rb +0 -4
  13. data/lib/stripe/params/billing/credit_grant_list_params.rb +0 -4
  14. data/lib/stripe/params/billing_portal/session_create_params.rb +0 -4
  15. data/lib/stripe/params/charge_capture_params.rb +0 -715
  16. data/lib/stripe/params/charge_update_params.rb +0 -715
  17. data/lib/stripe/params/checkout/session_create_params.rb +3 -193
  18. data/lib/stripe/params/checkout/session_list_params.rb +0 -4
  19. data/lib/stripe/params/checkout/session_update_params.rb +1 -288
  20. data/lib/stripe/params/confirmation_token_create_params.rb +0 -97
  21. data/lib/stripe/params/coupon_create_params.rb +1 -17
  22. data/lib/stripe/params/credit_note_list_params.rb +0 -4
  23. data/lib/stripe/params/customer_session_create_params.rb +3 -37
  24. data/lib/stripe/params/dispute_update_params.rb +1 -10
  25. data/lib/stripe/params/financial_connections/account_list_params.rb +1 -4
  26. data/lib/stripe/params/financial_connections/session_create_params.rb +2 -34
  27. data/lib/stripe/params/identity/verification_session_create_params.rb +0 -4
  28. data/lib/stripe/params/identity/verification_session_list_params.rb +0 -4
  29. data/lib/stripe/params/invoice_add_lines_params.rb +1 -33
  30. data/lib/stripe/params/invoice_attach_payment_params.rb +1 -43
  31. data/lib/stripe/params/invoice_create_params.rb +2 -112
  32. data/lib/stripe/params/invoice_create_preview_params.rb +9 -826
  33. data/lib/stripe/params/invoice_item_create_params.rb +1 -37
  34. data/lib/stripe/params/invoice_item_list_params.rb +0 -4
  35. data/lib/stripe/params/invoice_item_update_params.rb +1 -33
  36. data/lib/stripe/params/invoice_line_item_update_params.rb +1 -33
  37. data/lib/stripe/params/invoice_list_params.rb +0 -4
  38. data/lib/stripe/params/invoice_update_lines_params.rb +1 -33
  39. data/lib/stripe/params/invoice_update_params.rb +2 -108
  40. data/lib/stripe/params/issuing/cardholder_create_params.rb +1 -2
  41. data/lib/stripe/params/issuing/transaction_list_params.rb +0 -4
  42. data/lib/stripe/params/payment_intent_capture_params.rb +1 -723
  43. data/lib/stripe/params/payment_intent_confirm_params.rb +12 -1197
  44. data/lib/stripe/params/payment_intent_create_params.rb +12 -1205
  45. data/lib/stripe/params/payment_intent_increment_authorization_params.rb +0 -50
  46. data/lib/stripe/params/payment_intent_list_params.rb +0 -4
  47. data/lib/stripe/params/payment_intent_update_params.rb +14 -1238
  48. data/lib/stripe/params/payment_method_attach_params.rb +1 -4
  49. data/lib/stripe/params/payment_method_configuration_create_params.rb +0 -126
  50. data/lib/stripe/params/payment_method_configuration_update_params.rb +0 -126
  51. data/lib/stripe/params/payment_method_create_params.rb +0 -97
  52. data/lib/stripe/params/payment_method_update_params.rb +0 -19
  53. data/lib/stripe/params/price_update_params.rb +0 -19
  54. data/lib/stripe/params/promotion_code_create_params.rb +0 -4
  55. data/lib/stripe/params/promotion_code_list_params.rb +0 -4
  56. data/lib/stripe/params/quote_create_params.rb +3 -805
  57. data/lib/stripe/params/quote_list_params.rb +0 -8
  58. data/lib/stripe/params/quote_update_params.rb +4 -813
  59. data/lib/stripe/params/setup_intent_confirm_params.rb +3 -225
  60. data/lib/stripe/params/setup_intent_create_params.rb +3 -231
  61. data/lib/stripe/params/setup_intent_list_params.rb +0 -4
  62. data/lib/stripe/params/setup_intent_update_params.rb +3 -231
  63. data/lib/stripe/params/subscription_create_params.rb +5 -259
  64. data/lib/stripe/params/subscription_item_create_params.rb +2 -46
  65. data/lib/stripe/params/subscription_item_update_params.rb +1 -29
  66. data/lib/stripe/params/subscription_list_params.rb +0 -4
  67. data/lib/stripe/params/subscription_schedule_create_params.rb +5 -167
  68. data/lib/stripe/params/subscription_schedule_list_params.rb +0 -4
  69. data/lib/stripe/params/subscription_schedule_update_params.rb +5 -163
  70. data/lib/stripe/params/subscription_update_params.rb +4 -238
  71. data/lib/stripe/params/tax_id_create_params.rb +1 -4
  72. data/lib/stripe/params/tax_id_list_params.rb +1 -4
  73. data/lib/stripe/params/terminal/configuration_create_params.rb +9 -22
  74. data/lib/stripe/params/terminal/configuration_update_params.rb +9 -22
  75. data/lib/stripe/params/test_helpers/confirmation_token_create_params.rb +0 -97
  76. data/lib/stripe/params/test_helpers/treasury/received_credit_create_params.rb +1 -25
  77. data/lib/stripe/params/test_helpers/treasury/received_debit_create_params.rb +1 -25
  78. data/lib/stripe/params/transfer_create_params.rb +0 -4
  79. data/lib/stripe/params/treasury/financial_account_create_params.rb +1 -8
  80. data/lib/stripe/params/treasury/financial_account_features_update_params.rb +1 -4
  81. data/lib/stripe/params/treasury/financial_account_update_features_params.rb +1 -4
  82. data/lib/stripe/params/treasury/financial_account_update_params.rb +1 -8
  83. data/lib/stripe/params/treasury/outbound_transfer_create_params.rb +0 -24
  84. data/lib/stripe/params/treasury/received_credit_create_params.rb +1 -25
  85. data/lib/stripe/params/treasury/received_debit_create_params.rb +1 -25
  86. data/lib/stripe/params.rb +0 -164
  87. data/lib/stripe/resources/account.rb +2 -167
  88. data/lib/stripe/resources/account_session.rb +0 -81
  89. data/lib/stripe/resources/billing/credit_balance_summary.rb +0 -2
  90. data/lib/stripe/resources/billing/credit_grant.rb +0 -2
  91. data/lib/stripe/resources/billing_portal/session.rb +0 -2
  92. data/lib/stripe/resources/card.rb +0 -2
  93. data/lib/stripe/resources/cash_balance.rb +0 -2
  94. data/lib/stripe/resources/charge.rb +1 -237
  95. data/lib/stripe/resources/checkout/session.rb +4 -154
  96. data/lib/stripe/resources/confirmation_token.rb +0 -155
  97. data/lib/stripe/resources/coupon.rb +1 -26
  98. data/lib/stripe/resources/credit_note.rb +0 -2
  99. data/lib/stripe/resources/credit_note_line_item.rb +0 -18
  100. data/lib/stripe/resources/customer.rb +0 -2
  101. data/lib/stripe/resources/customer_balance_transaction.rb +0 -2
  102. data/lib/stripe/resources/customer_cash_balance_transaction.rb +0 -2
  103. data/lib/stripe/resources/customer_session.rb +0 -38
  104. data/lib/stripe/resources/discount.rb +0 -2
  105. data/lib/stripe/resources/dispute.rb +0 -22
  106. data/lib/stripe/resources/event.rb +1 -64
  107. data/lib/stripe/resources/financial_connections/account.rb +0 -27
  108. data/lib/stripe/resources/financial_connections/session.rb +1 -67
  109. data/lib/stripe/resources/identity/verification_session.rb +0 -2
  110. data/lib/stripe/resources/invoice.rb +2 -153
  111. data/lib/stripe/resources/invoice_item.rb +0 -4
  112. data/lib/stripe/resources/invoice_line_item.rb +0 -40
  113. data/lib/stripe/resources/issuing/transaction.rb +0 -2
  114. data/lib/stripe/resources/line_item.rb +1 -68
  115. data/lib/stripe/resources/mandate.rb +0 -71
  116. data/lib/stripe/resources/payment_attempt_record.rb +1 -203
  117. data/lib/stripe/resources/payment_intent.rb +6 -789
  118. data/lib/stripe/resources/payment_method.rb +0 -157
  119. data/lib/stripe/resources/payment_method_configuration.rb +0 -204
  120. data/lib/stripe/resources/payment_record.rb +1 -203
  121. data/lib/stripe/resources/price.rb +0 -20
  122. data/lib/stripe/resources/promotion_code.rb +0 -2
  123. data/lib/stripe/resources/quote.rb +2 -571
  124. data/lib/stripe/resources/refund.rb +0 -18
  125. data/lib/stripe/resources/setup_attempt.rb +0 -63
  126. data/lib/stripe/resources/setup_intent.rb +1 -132
  127. data/lib/stripe/resources/source.rb +0 -38
  128. data/lib/stripe/resources/subscription.rb +0 -232
  129. data/lib/stripe/resources/subscription_item.rb +1 -20
  130. data/lib/stripe/resources/subscription_schedule.rb +3 -198
  131. data/lib/stripe/resources/tax_id.rb +0 -4
  132. data/lib/stripe/resources/terminal/configuration.rb +0 -16
  133. data/lib/stripe/resources/terminal/reader.rb +0 -8
  134. data/lib/stripe/resources/transfer.rb +0 -2
  135. data/lib/stripe/resources/treasury/financial_account.rb +0 -2
  136. data/lib/stripe/resources/treasury/financial_account_features.rb +0 -2
  137. data/lib/stripe/resources/treasury/outbound_transfer.rb +0 -30
  138. data/lib/stripe/resources/treasury/received_credit.rb +0 -30
  139. data/lib/stripe/resources/treasury/received_debit.rb +0 -32
  140. data/lib/stripe/resources/v2/billing/meter_event.rb +2 -1
  141. data/lib/stripe/resources/v2/core/event.rb +2 -2
  142. data/lib/stripe/resources.rb +0 -112
  143. data/lib/stripe/services/billing_service.rb +1 -2
  144. data/lib/stripe/services/financial_connections/account_service.rb +1 -3
  145. data/lib/stripe/services/financial_connections_service.rb +1 -2
  146. data/lib/stripe/services/issuing_service.rb +1 -5
  147. data/lib/stripe/services/mandate_service.rb +0 -5
  148. data/lib/stripe/services/payment_intent_service.rb +0 -37
  149. data/lib/stripe/services/quote_service.rb +1 -49
  150. data/lib/stripe/services/subscription_schedule_service.rb +0 -11
  151. data/lib/stripe/services/subscription_service.rb +0 -11
  152. data/lib/stripe/services/tax_service.rb +1 -3
  153. data/lib/stripe/services/terminal_service.rb +1 -3
  154. data/lib/stripe/services/v1_services.rb +1 -8
  155. data/lib/stripe/services/v2/billing_service.rb +1 -5
  156. data/lib/stripe/services/v2/core_service.rb +1 -4
  157. data/lib/stripe/services/v2_services.rb +1 -4
  158. data/lib/stripe/services.rb +0 -58
  159. data/lib/stripe/stripe_configuration.rb +1 -3
  160. data/lib/stripe/stripe_object.rb +1 -1
  161. data/lib/stripe/util.rb +1 -7
  162. data/lib/stripe/version.rb +1 -1
  163. data/lib/stripe.rb +0 -53
  164. data/rbi/stripe.rbi +83044 -141384
  165. metadata +4 -338
  166. data/lib/stripe/events/v2_core_account_closed_event.rb +0 -44
  167. data/lib/stripe/events/v2_core_account_created_event.rb +0 -44
  168. data/lib/stripe/events/v2_core_account_including_configuration_customer_capability_status_updated_event.rb +0 -63
  169. data/lib/stripe/events/v2_core_account_including_configuration_customer_updated_event.rb +0 -44
  170. data/lib/stripe/events/v2_core_account_including_configuration_merchant_capability_status_updated_event.rb +0 -63
  171. data/lib/stripe/events/v2_core_account_including_configuration_merchant_updated_event.rb +0 -44
  172. data/lib/stripe/events/v2_core_account_including_configuration_recipient_capability_status_updated_event.rb +0 -63
  173. data/lib/stripe/events/v2_core_account_including_configuration_recipient_updated_event.rb +0 -44
  174. data/lib/stripe/events/v2_core_account_including_configuration_storer_capability_status_updated_event.rb +0 -63
  175. data/lib/stripe/events/v2_core_account_including_configuration_storer_updated_event.rb +0 -44
  176. data/lib/stripe/events/v2_core_account_including_defaults_updated_event.rb +0 -44
  177. data/lib/stripe/events/v2_core_account_including_identity_updated_event.rb +0 -44
  178. data/lib/stripe/events/v2_core_account_including_requirements_updated_event.rb +0 -44
  179. data/lib/stripe/events/v2_core_account_link_returned_event.rb +0 -42
  180. data/lib/stripe/events/v2_core_account_person_created_event.rb +0 -61
  181. data/lib/stripe/events/v2_core_account_person_deleted_event.rb +0 -61
  182. data/lib/stripe/events/v2_core_account_person_updated_event.rb +0 -61
  183. data/lib/stripe/events/v2_core_account_updated_event.rb +0 -44
  184. data/lib/stripe/events/v2_money_management_adjustment_created_event.rb +0 -44
  185. data/lib/stripe/events/v2_money_management_financial_account_created_event.rb +0 -44
  186. data/lib/stripe/events/v2_money_management_financial_account_updated_event.rb +0 -44
  187. data/lib/stripe/events/v2_money_management_financial_address_activated_event.rb +0 -44
  188. data/lib/stripe/events/v2_money_management_financial_address_failed_event.rb +0 -44
  189. data/lib/stripe/events/v2_money_management_inbound_transfer_available_event.rb +0 -61
  190. data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_failed_event.rb +0 -44
  191. data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_processing_event.rb +0 -44
  192. data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_queued_event.rb +0 -44
  193. data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_returned_event.rb +0 -44
  194. data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_succeeded_event.rb +0 -44
  195. data/lib/stripe/events/v2_money_management_outbound_payment_canceled_event.rb +0 -44
  196. data/lib/stripe/events/v2_money_management_outbound_payment_created_event.rb +0 -44
  197. data/lib/stripe/events/v2_money_management_outbound_payment_failed_event.rb +0 -44
  198. data/lib/stripe/events/v2_money_management_outbound_payment_posted_event.rb +0 -44
  199. data/lib/stripe/events/v2_money_management_outbound_payment_returned_event.rb +0 -44
  200. data/lib/stripe/events/v2_money_management_outbound_payment_updated_event.rb +0 -44
  201. data/lib/stripe/events/v2_money_management_outbound_transfer_canceled_event.rb +0 -44
  202. data/lib/stripe/events/v2_money_management_outbound_transfer_created_event.rb +0 -44
  203. data/lib/stripe/events/v2_money_management_outbound_transfer_failed_event.rb +0 -44
  204. data/lib/stripe/events/v2_money_management_outbound_transfer_posted_event.rb +0 -44
  205. data/lib/stripe/events/v2_money_management_outbound_transfer_returned_event.rb +0 -44
  206. data/lib/stripe/events/v2_money_management_outbound_transfer_updated_event.rb +0 -44
  207. data/lib/stripe/events/v2_money_management_payout_method_updated_event.rb +0 -44
  208. data/lib/stripe/events/v2_money_management_received_credit_available_event.rb +0 -61
  209. data/lib/stripe/events/v2_money_management_received_credit_failed_event.rb +0 -44
  210. data/lib/stripe/events/v2_money_management_received_credit_returned_event.rb +0 -44
  211. data/lib/stripe/events/v2_money_management_received_credit_succeeded_event.rb +0 -44
  212. data/lib/stripe/events/v2_money_management_received_debit_canceled_event.rb +0 -44
  213. data/lib/stripe/events/v2_money_management_received_debit_failed_event.rb +0 -44
  214. data/lib/stripe/events/v2_money_management_received_debit_pending_event.rb +0 -44
  215. data/lib/stripe/events/v2_money_management_received_debit_succeeded_event.rb +0 -44
  216. data/lib/stripe/events/v2_money_management_received_debit_updated_event.rb +0 -44
  217. data/lib/stripe/events/v2_money_management_transaction_created_event.rb +0 -61
  218. data/lib/stripe/events/v2_money_management_transaction_updated_event.rb +0 -44
  219. data/lib/stripe/events/v2_payments_off_session_payment_authorization_attempt_failed_event.rb +0 -44
  220. data/lib/stripe/events/v2_payments_off_session_payment_authorization_attempt_started_event.rb +0 -46
  221. data/lib/stripe/events/v2_payments_off_session_payment_canceled_event.rb +0 -44
  222. data/lib/stripe/events/v2_payments_off_session_payment_created_event.rb +0 -44
  223. data/lib/stripe/events/v2_payments_off_session_payment_failed_event.rb +0 -44
  224. data/lib/stripe/events/v2_payments_off_session_payment_requires_capture_event.rb +0 -44
  225. data/lib/stripe/events/v2_payments_off_session_payment_succeeded_event.rb +0 -44
  226. data/lib/stripe/params/account_notice_list_params.rb +0 -25
  227. data/lib/stripe/params/account_notice_retrieve_params.rb +0 -13
  228. data/lib/stripe/params/account_notice_update_params.rb +0 -36
  229. data/lib/stripe/params/billing/analytics/meter_usage_retrieve_params.rb +0 -65
  230. data/lib/stripe/params/capital/financing_offer_list_params.rb +0 -58
  231. data/lib/stripe/params/capital/financing_offer_mark_delivered_params.rb +0 -15
  232. data/lib/stripe/params/capital/financing_offer_retrieve_params.rb +0 -15
  233. data/lib/stripe/params/capital/financing_summary_retrieve_params.rb +0 -15
  234. data/lib/stripe/params/capital/financing_transaction_list_params.rb +0 -45
  235. data/lib/stripe/params/capital/financing_transaction_retrieve_params.rb +0 -15
  236. data/lib/stripe/params/external_account_create_params.rb +0 -134
  237. data/lib/stripe/params/external_account_delete_params.rb +0 -6
  238. data/lib/stripe/params/external_account_list_params.rb +0 -25
  239. data/lib/stripe/params/external_account_retrieve_params.rb +0 -13
  240. data/lib/stripe/params/external_account_update_params.rb +0 -91
  241. data/lib/stripe/params/financial_connections/account_inferred_balance_list_params.rb +0 -24
  242. data/lib/stripe/params/financial_connections/institution_list_params.rb +0 -24
  243. data/lib/stripe/params/financial_connections/institution_retrieve_params.rb +0 -15
  244. data/lib/stripe/params/fx_quote_create_params.rb +0 -73
  245. data/lib/stripe/params/fx_quote_list_params.rb +0 -22
  246. data/lib/stripe/params/fx_quote_retrieve_params.rb +0 -13
  247. data/lib/stripe/params/issuing/credit_underwriting_record_correct_params.rb +0 -163
  248. data/lib/stripe/params/issuing/credit_underwriting_record_create_from_application_params.rb +0 -50
  249. data/lib/stripe/params/issuing/credit_underwriting_record_create_from_proactive_review_params.rb +0 -128
  250. data/lib/stripe/params/issuing/credit_underwriting_record_list_params.rb +0 -24
  251. data/lib/stripe/params/issuing/credit_underwriting_record_report_decision_params.rb +0 -86
  252. data/lib/stripe/params/issuing/credit_underwriting_record_retrieve_params.rb +0 -15
  253. data/lib/stripe/params/issuing/dispute_settlement_detail_list_params.rb +0 -33
  254. data/lib/stripe/params/issuing/dispute_settlement_detail_retrieve_params.rb +0 -15
  255. data/lib/stripe/params/issuing/fraud_liability_debit_list_params.rb +0 -44
  256. data/lib/stripe/params/issuing/fraud_liability_debit_retrieve_params.rb +0 -15
  257. data/lib/stripe/params/mandate_list_params.rb +0 -39
  258. data/lib/stripe/params/margin_create_params.rb +0 -25
  259. data/lib/stripe/params/margin_list_params.rb +0 -25
  260. data/lib/stripe/params/margin_retrieve_params.rb +0 -13
  261. data/lib/stripe/params/margin_update_params.rb +0 -22
  262. data/lib/stripe/params/order_cancel_params.rb +0 -13
  263. data/lib/stripe/params/order_create_params.rb +0 -1124
  264. data/lib/stripe/params/order_line_item_list_params.rb +0 -22
  265. data/lib/stripe/params/order_list_line_items_params.rb +0 -22
  266. data/lib/stripe/params/order_list_params.rb +0 -25
  267. data/lib/stripe/params/order_reopen_params.rb +0 -13
  268. data/lib/stripe/params/order_retrieve_params.rb +0 -13
  269. data/lib/stripe/params/order_submit_params.rb +0 -16
  270. data/lib/stripe/params/order_update_params.rb +0 -1128
  271. data/lib/stripe/params/payment_intent_decrement_authorization_params.rb +0 -73
  272. data/lib/stripe/params/payment_intent_trigger_action_params.rb +0 -27
  273. data/lib/stripe/params/privacy/redaction_job_cancel_params.rb +0 -15
  274. data/lib/stripe/params/privacy/redaction_job_create_params.rb +0 -67
  275. data/lib/stripe/params/privacy/redaction_job_list_params.rb +0 -27
  276. data/lib/stripe/params/privacy/redaction_job_retrieve_params.rb +0 -15
  277. data/lib/stripe/params/privacy/redaction_job_run_params.rb +0 -15
  278. data/lib/stripe/params/privacy/redaction_job_update_params.rb +0 -18
  279. data/lib/stripe/params/privacy/redaction_job_validate_params.rb +0 -15
  280. data/lib/stripe/params/privacy/redaction_job_validation_error_list_params.rb +0 -24
  281. data/lib/stripe/params/quote_line_list_params.rb +0 -22
  282. data/lib/stripe/params/quote_list_lines_params.rb +0 -22
  283. data/lib/stripe/params/quote_list_preview_invoice_lines_params.rb +0 -22
  284. data/lib/stripe/params/quote_mark_draft_params.rb +0 -13
  285. data/lib/stripe/params/quote_mark_stale_params.rb +0 -16
  286. data/lib/stripe/params/quote_preview_invoice_list_params.rb +0 -22
  287. data/lib/stripe/params/quote_preview_subscription_schedule_list_params.rb +0 -22
  288. data/lib/stripe/params/quote_reestimate_params.rb +0 -13
  289. data/lib/stripe/params/subscription_attach_cadence_params.rb +0 -16
  290. data/lib/stripe/params/subscription_schedule_amend_params.rb +0 -570
  291. data/lib/stripe/params/tax/association_find_params.rb +0 -18
  292. data/lib/stripe/params/tax/form_list_params.rb +0 -51
  293. data/lib/stripe/params/tax/form_pdf_params.rb +0 -15
  294. data/lib/stripe/params/tax/form_retrieve_params.rb +0 -15
  295. data/lib/stripe/params/terminal/onboarding_link_create_params.rb +0 -43
  296. data/lib/stripe/params/terminal/reader_collected_data_retrieve_params.rb +0 -15
  297. data/lib/stripe/params/v2/billing/bill_setting_create_params.rb +0 -74
  298. data/lib/stripe/params/v2/billing/bill_setting_list_params.rb +0 -21
  299. data/lib/stripe/params/v2/billing/bill_setting_retrieve_params.rb +0 -10
  300. data/lib/stripe/params/v2/billing/bill_setting_update_params.rb +0 -80
  301. data/lib/stripe/params/v2/billing/bill_settings/version_list_params.rb +0 -19
  302. data/lib/stripe/params/v2/billing/bill_settings/version_retrieve_params.rb +0 -12
  303. data/lib/stripe/params/v2/billing/cadence_cancel_params.rb +0 -10
  304. data/lib/stripe/params/v2/billing/cadence_create_params.rb +0 -253
  305. data/lib/stripe/params/v2/billing/cadence_list_params.rb +0 -43
  306. data/lib/stripe/params/v2/billing/cadence_retrieve_params.rb +0 -17
  307. data/lib/stripe/params/v2/billing/cadence_update_params.rb +0 -75
  308. data/lib/stripe/params/v2/billing/collection_setting_create_params.rb +0 -223
  309. data/lib/stripe/params/v2/billing/collection_setting_list_params.rb +0 -21
  310. data/lib/stripe/params/v2/billing/collection_setting_retrieve_params.rb +0 -10
  311. data/lib/stripe/params/v2/billing/collection_setting_update_params.rb +0 -229
  312. data/lib/stripe/params/v2/billing/collection_settings/version_list_params.rb +0 -19
  313. data/lib/stripe/params/v2/billing/collection_settings/version_retrieve_params.rb +0 -12
  314. data/lib/stripe/params/v2/billing/profile_create_params.rb +0 -37
  315. data/lib/stripe/params/v2/billing/profile_list_params.rb +0 -40
  316. data/lib/stripe/params/v2/billing/profile_retrieve_params.rb +0 -10
  317. data/lib/stripe/params/v2/billing/profile_update_params.rb +0 -35
  318. data/lib/stripe/params/v2/core/account_close_params.rb +0 -17
  319. data/lib/stripe/params/v2/core/account_create_params.rb +0 -2248
  320. data/lib/stripe/params/v2/core/account_link_create_params.rb +0 -101
  321. data/lib/stripe/params/v2/core/account_list_params.rb +0 -23
  322. data/lib/stripe/params/v2/core/account_retrieve_params.rb +0 -17
  323. data/lib/stripe/params/v2/core/account_update_params.rb +0 -2294
  324. data/lib/stripe/params/v2/core/accounts/person_create_params.rb +0 -493
  325. data/lib/stripe/params/v2/core/accounts/person_delete_params.rb +0 -12
  326. data/lib/stripe/params/v2/core/accounts/person_list_params.rb +0 -19
  327. data/lib/stripe/params/v2/core/accounts/person_retrieve_params.rb +0 -12
  328. data/lib/stripe/params/v2/core/accounts/person_update_params.rb +0 -493
  329. data/lib/stripe/params/v2/core/vault/gb_bank_account_acknowledge_confirmation_of_payee_params.rb +0 -12
  330. data/lib/stripe/params/v2/core/vault/gb_bank_account_archive_params.rb +0 -12
  331. data/lib/stripe/params/v2/core/vault/gb_bank_account_create_params.rb +0 -50
  332. data/lib/stripe/params/v2/core/vault/gb_bank_account_initiate_confirmation_of_payee_params.rb +0 -22
  333. data/lib/stripe/params/v2/core/vault/gb_bank_account_list_params.rb +0 -19
  334. data/lib/stripe/params/v2/core/vault/gb_bank_account_retrieve_params.rb +0 -12
  335. data/lib/stripe/params/v2/core/vault/us_bank_account_archive_params.rb +0 -12
  336. data/lib/stripe/params/v2/core/vault/us_bank_account_confirm_microdeposits_params.rb +0 -22
  337. data/lib/stripe/params/v2/core/vault/us_bank_account_create_params.rb +0 -33
  338. data/lib/stripe/params/v2/core/vault/us_bank_account_list_params.rb +0 -22
  339. data/lib/stripe/params/v2/core/vault/us_bank_account_retrieve_params.rb +0 -12
  340. data/lib/stripe/params/v2/core/vault/us_bank_account_send_microdeposits_params.rb +0 -12
  341. data/lib/stripe/params/v2/core/vault/us_bank_account_update_params.rb +0 -22
  342. data/lib/stripe/params/v2/money_management/adjustment_list_params.rb +0 -48
  343. data/lib/stripe/params/v2/money_management/adjustment_retrieve_params.rb +0 -10
  344. data/lib/stripe/params/v2/money_management/financial_account_close_params.rb +0 -28
  345. data/lib/stripe/params/v2/money_management/financial_account_create_params.rb +0 -34
  346. data/lib/stripe/params/v2/money_management/financial_account_list_params.rb +0 -20
  347. data/lib/stripe/params/v2/money_management/financial_account_retrieve_params.rb +0 -10
  348. data/lib/stripe/params/v2/money_management/financial_account_update_params.rb +0 -20
  349. data/lib/stripe/params/v2/money_management/financial_address_create_params.rb +0 -20
  350. data/lib/stripe/params/v2/money_management/financial_address_list_params.rb +0 -23
  351. data/lib/stripe/params/v2/money_management/financial_address_retrieve_params.rb +0 -17
  352. data/lib/stripe/params/v2/money_management/inbound_transfer_create_params.rb +0 -50
  353. data/lib/stripe/params/v2/money_management/inbound_transfer_list_params.rb +0 -44
  354. data/lib/stripe/params/v2/money_management/inbound_transfer_retrieve_params.rb +0 -10
  355. data/lib/stripe/params/v2/money_management/outbound_payment_cancel_params.rb +0 -10
  356. data/lib/stripe/params/v2/money_management/outbound_payment_create_params.rb +0 -98
  357. data/lib/stripe/params/v2/money_management/outbound_payment_list_params.rb +0 -52
  358. data/lib/stripe/params/v2/money_management/outbound_payment_quote_create_params.rb +0 -67
  359. data/lib/stripe/params/v2/money_management/outbound_payment_quote_retrieve_params.rb +0 -10
  360. data/lib/stripe/params/v2/money_management/outbound_payment_retrieve_params.rb +0 -10
  361. data/lib/stripe/params/v2/money_management/outbound_setup_intent_cancel_params.rb +0 -10
  362. data/lib/stripe/params/v2/money_management/outbound_setup_intent_create_params.rb +0 -85
  363. data/lib/stripe/params/v2/money_management/outbound_setup_intent_list_params.rb +0 -17
  364. data/lib/stripe/params/v2/money_management/outbound_setup_intent_retrieve_params.rb +0 -10
  365. data/lib/stripe/params/v2/money_management/outbound_setup_intent_update_params.rb +0 -80
  366. data/lib/stripe/params/v2/money_management/outbound_transfer_cancel_params.rb +0 -10
  367. data/lib/stripe/params/v2/money_management/outbound_transfer_create_params.rb +0 -77
  368. data/lib/stripe/params/v2/money_management/outbound_transfer_list_params.rb +0 -48
  369. data/lib/stripe/params/v2/money_management/outbound_transfer_retrieve_params.rb +0 -10
  370. data/lib/stripe/params/v2/money_management/payout_method_archive_params.rb +0 -10
  371. data/lib/stripe/params/v2/money_management/payout_method_list_params.rb +0 -31
  372. data/lib/stripe/params/v2/money_management/payout_method_retrieve_params.rb +0 -10
  373. data/lib/stripe/params/v2/money_management/payout_method_unarchive_params.rb +0 -10
  374. data/lib/stripe/params/v2/money_management/payout_methods_bank_account_spec_retrieve_params.rb +0 -17
  375. data/lib/stripe/params/v2/money_management/received_credit_list_params.rb +0 -44
  376. data/lib/stripe/params/v2/money_management/received_credit_retrieve_params.rb +0 -10
  377. data/lib/stripe/params/v2/money_management/received_debit_list_params.rb +0 -17
  378. data/lib/stripe/params/v2/money_management/received_debit_retrieve_params.rb +0 -10
  379. data/lib/stripe/params/v2/money_management/transaction_entry_list_params.rb +0 -43
  380. data/lib/stripe/params/v2/money_management/transaction_entry_retrieve_params.rb +0 -10
  381. data/lib/stripe/params/v2/money_management/transaction_list_params.rb +0 -47
  382. data/lib/stripe/params/v2/money_management/transaction_retrieve_params.rb +0 -10
  383. data/lib/stripe/params/v2/payments/off_session_payment_cancel_params.rb +0 -10
  384. data/lib/stripe/params/v2/payments/off_session_payment_capture_params.rb +0 -61
  385. data/lib/stripe/params/v2/payments/off_session_payment_create_params.rb +0 -237
  386. data/lib/stripe/params/v2/payments/off_session_payment_list_params.rb +0 -17
  387. data/lib/stripe/params/v2/payments/off_session_payment_retrieve_params.rb +0 -10
  388. data/lib/stripe/params/v2/test_helpers/financial_address_credit_params.rb +0 -23
  389. data/lib/stripe/params/v2/test_helpers/financial_address_generate_microdeposits_params.rb +0 -10
  390. data/lib/stripe/resources/account_notice.rb +0 -94
  391. data/lib/stripe/resources/billing/analytics/meter_usage.rb +0 -33
  392. data/lib/stripe/resources/billing/analytics/meter_usage_row.rb +0 -38
  393. data/lib/stripe/resources/capital/financing_offer.rb +0 -142
  394. data/lib/stripe/resources/capital/financing_summary.rb +0 -79
  395. data/lib/stripe/resources/capital/financing_transaction.rb +0 -99
  396. data/lib/stripe/resources/financial_connections/account_inferred_balance.rb +0 -35
  397. data/lib/stripe/resources/financial_connections/institution.rb +0 -127
  398. data/lib/stripe/resources/fx_quote.rb +0 -147
  399. data/lib/stripe/resources/issuing/credit_underwriting_record.rb +0 -263
  400. data/lib/stripe/resources/issuing/dispute_settlement_detail.rb +0 -71
  401. data/lib/stripe/resources/issuing/fraud_liability_debit.rb +0 -51
  402. data/lib/stripe/resources/issuing/settlement.rb +0 -61
  403. data/lib/stripe/resources/margin.rb +0 -64
  404. data/lib/stripe/resources/order.rb +0 -987
  405. data/lib/stripe/resources/privacy/redaction_job.rb +0 -187
  406. data/lib/stripe/resources/privacy/redaction_job_validation_error.rb +0 -49
  407. data/lib/stripe/resources/quote_line.rb +0 -521
  408. data/lib/stripe/resources/quote_preview_invoice.rb +0 -1150
  409. data/lib/stripe/resources/quote_preview_subscription_schedule.rb +0 -732
  410. data/lib/stripe/resources/tax/association.rb +0 -86
  411. data/lib/stripe/resources/tax/form.rb +0 -264
  412. data/lib/stripe/resources/terminal/onboarding_link.rb +0 -71
  413. data/lib/stripe/resources/terminal/reader_collected_data.rb +0 -47
  414. data/lib/stripe/resources/v2/billing/bill_setting.rb +0 -102
  415. data/lib/stripe/resources/v2/billing/bill_setting_version.rb +0 -90
  416. data/lib/stripe/resources/v2/billing/cadence.rb +0 -609
  417. data/lib/stripe/resources/v2/billing/collection_setting.rb +0 -274
  418. data/lib/stripe/resources/v2/billing/collection_setting_version.rb +0 -262
  419. data/lib/stripe/resources/v2/billing/profile.rb +0 -46
  420. data/lib/stripe/resources/v2/core/account.rb +0 -3906
  421. data/lib/stripe/resources/v2/core/account_link.rb +0 -123
  422. data/lib/stripe/resources/v2/core/account_person.rb +0 -477
  423. data/lib/stripe/resources/v2/core/vault/gb_bank_account.rb +0 -114
  424. data/lib/stripe/resources/v2/core/vault/us_bank_account.rb +0 -81
  425. data/lib/stripe/resources/v2/financial_address_credit_simulation.rb +0 -28
  426. data/lib/stripe/resources/v2/financial_address_generated_microdeposits.rb +0 -30
  427. data/lib/stripe/resources/v2/money_management/adjustment.rb +0 -67
  428. data/lib/stripe/resources/v2/money_management/financial_account.rb +0 -140
  429. data/lib/stripe/resources/v2/money_management/financial_address.rb +0 -132
  430. data/lib/stripe/resources/v2/money_management/inbound_transfer.rb +0 -148
  431. data/lib/stripe/resources/v2/money_management/outbound_payment.rb +0 -217
  432. data/lib/stripe/resources/v2/money_management/outbound_payment_quote.rb +0 -144
  433. data/lib/stripe/resources/v2/money_management/outbound_setup_intent.rb +0 -69
  434. data/lib/stripe/resources/v2/money_management/outbound_transfer.rb +0 -196
  435. data/lib/stripe/resources/v2/money_management/payout_method.rb +0 -109
  436. data/lib/stripe/resources/v2/money_management/payout_methods_bank_account_spec.rb +0 -81
  437. data/lib/stripe/resources/v2/money_management/received_credit.rb +0 -228
  438. data/lib/stripe/resources/v2/money_management/received_debit.rb +0 -136
  439. data/lib/stripe/resources/v2/money_management/transaction.rb +0 -116
  440. data/lib/stripe/resources/v2/money_management/transaction_entry.rb +0 -105
  441. data/lib/stripe/resources/v2/payments/off_session_payment.rb +0 -242
  442. data/lib/stripe/services/account_notice_service.rb +0 -39
  443. data/lib/stripe/services/billing/analytics/meter_usage_service.rb +0 -21
  444. data/lib/stripe/services/billing/analytics_service.rb +0 -15
  445. data/lib/stripe/services/capital/financing_offer_service.rb +0 -42
  446. data/lib/stripe/services/capital/financing_summary_service.rb +0 -19
  447. data/lib/stripe/services/capital/financing_transaction_service.rb +0 -31
  448. data/lib/stripe/services/capital_service.rb +0 -15
  449. data/lib/stripe/services/external_account_service.rb +0 -68
  450. data/lib/stripe/services/financial_connections/account_inferred_balance_service.rb +0 -19
  451. data/lib/stripe/services/financial_connections/institution_service.rb +0 -30
  452. data/lib/stripe/services/fx_quote_service.rb +0 -27
  453. data/lib/stripe/services/issuing/credit_underwriting_record_service.rb +0 -74
  454. data/lib/stripe/services/issuing/dispute_settlement_detail_service.rb +0 -30
  455. data/lib/stripe/services/issuing/fraud_liability_debit_service.rb +0 -30
  456. data/lib/stripe/services/margin_service.rb +0 -50
  457. data/lib/stripe/services/order_line_item_service.rb +0 -17
  458. data/lib/stripe/services/order_service.rb +0 -78
  459. data/lib/stripe/services/privacy/redaction_job_service.rb +0 -104
  460. data/lib/stripe/services/privacy/redaction_job_validation_error_service.rb +0 -19
  461. data/lib/stripe/services/privacy_service.rb +0 -13
  462. data/lib/stripe/services/quote_line_service.rb +0 -17
  463. data/lib/stripe/services/quote_preview_invoice_service.rb +0 -17
  464. data/lib/stripe/services/quote_preview_subscription_schedule_service.rb +0 -17
  465. data/lib/stripe/services/tax/association_service.rb +0 -19
  466. data/lib/stripe/services/tax/form_service.rb +0 -37
  467. data/lib/stripe/services/terminal/onboarding_link_service.rb +0 -19
  468. data/lib/stripe/services/terminal/reader_collected_data_service.rb +0 -19
  469. data/lib/stripe/services/v2/billing/bill_setting_service.rb +0 -61
  470. data/lib/stripe/services/v2/billing/bill_settings/version_service.rb +0 -34
  471. data/lib/stripe/services/v2/billing/cadence_service.rb +0 -65
  472. data/lib/stripe/services/v2/billing/collection_setting_service.rb +0 -61
  473. data/lib/stripe/services/v2/billing/collection_settings/version_service.rb +0 -34
  474. data/lib/stripe/services/v2/billing/profile_service.rb +0 -54
  475. data/lib/stripe/services/v2/core/account_link_service.rb +0 -21
  476. data/lib/stripe/services/v2/core/account_service.rb +0 -76
  477. data/lib/stripe/services/v2/core/accounts/person_service.rb +0 -67
  478. data/lib/stripe/services/v2/core/vault/gb_bank_account_service.rb +0 -85
  479. data/lib/stripe/services/v2/core/vault/us_bank_account_service.rb +0 -101
  480. data/lib/stripe/services/v2/core/vault_service.rb +0 -18
  481. data/lib/stripe/services/v2/money_management/adjustment_service.rb +0 -32
  482. data/lib/stripe/services/v2/money_management/financial_account_service.rb +0 -70
  483. data/lib/stripe/services/v2/money_management/financial_address_service.rb +0 -46
  484. data/lib/stripe/services/v2/money_management/inbound_transfer_service.rb +0 -45
  485. data/lib/stripe/services/v2/money_management/outbound_payment_quote_service.rb +0 -34
  486. data/lib/stripe/services/v2/money_management/outbound_payment_service.rb +0 -62
  487. data/lib/stripe/services/v2/money_management/outbound_setup_intent_service.rb +0 -73
  488. data/lib/stripe/services/v2/money_management/outbound_transfer_service.rb +0 -60
  489. data/lib/stripe/services/v2/money_management/payout_method_service.rb +0 -63
  490. data/lib/stripe/services/v2/money_management/payout_methods_bank_account_spec_service.rb +0 -23
  491. data/lib/stripe/services/v2/money_management/received_credit_service.rb +0 -32
  492. data/lib/stripe/services/v2/money_management/received_debit_service.rb +0 -32
  493. data/lib/stripe/services/v2/money_management/transaction_entry_service.rb +0 -32
  494. data/lib/stripe/services/v2/money_management/transaction_service.rb +0 -32
  495. data/lib/stripe/services/v2/money_management_service.rb +0 -31
  496. data/lib/stripe/services/v2/payment_service.rb +0 -15
  497. data/lib/stripe/services/v2/payments/off_session_payment_service.rb +0 -65
  498. data/lib/stripe/services/v2/test_helper_service.rb +0 -15
  499. data/lib/stripe/services/v2/test_helpers/financial_address_service.rb +0 -36
@@ -174,31 +174,6 @@ module Stripe
174
174
  end
175
175
  end
176
176
 
177
- class Hooks < ::Stripe::RequestParams
178
- class Inputs < ::Stripe::RequestParams
179
- class Tax < ::Stripe::RequestParams
180
- # The [TaxCalculation](https://stripe.com/docs/api/tax/calculations) id
181
- attr_accessor :calculation
182
-
183
- def initialize(calculation: nil)
184
- @calculation = calculation
185
- end
186
- end
187
- # Tax arguments for automations
188
- attr_accessor :tax
189
-
190
- def initialize(tax: nil)
191
- @tax = tax
192
- end
193
- end
194
- # Arguments passed in automations
195
- attr_accessor :inputs
196
-
197
- def initialize(inputs: nil)
198
- @inputs = inputs
199
- end
200
- end
201
-
202
177
  class MandateData < ::Stripe::RequestParams
203
178
  class CustomerAcceptance < ::Stripe::RequestParams
204
179
  class Offline < ::Stripe::RequestParams; end
@@ -239,713 +214,20 @@ module Stripe
239
214
  end
240
215
 
241
216
  class PaymentDetails < ::Stripe::RequestParams
242
- class CarRental < ::Stripe::RequestParams
243
- class Affiliate < ::Stripe::RequestParams
244
- # The name of the affiliate that originated the purchase.
245
- attr_accessor :name
246
-
247
- def initialize(name: nil)
248
- @name = name
249
- end
250
- end
251
-
252
- class Delivery < ::Stripe::RequestParams
253
- class Recipient < ::Stripe::RequestParams
254
- # The email of the recipient the ticket is delivered to.
255
- attr_accessor :email
256
- # The name of the recipient the ticket is delivered to.
257
- attr_accessor :name
258
- # The phone number of the recipient the ticket is delivered to.
259
- attr_accessor :phone
260
-
261
- def initialize(email: nil, name: nil, phone: nil)
262
- @email = email
263
- @name = name
264
- @phone = phone
265
- end
266
- end
267
- # The delivery method for the payment
268
- attr_accessor :mode
269
- # Details of the recipient.
270
- attr_accessor :recipient
271
-
272
- def initialize(mode: nil, recipient: nil)
273
- @mode = mode
274
- @recipient = recipient
275
- end
276
- end
277
-
278
- class Distance < ::Stripe::RequestParams
279
- # Distance traveled.
280
- attr_accessor :amount
281
- # Unit of measurement for the distance traveled. One of `miles` or `kilometers`.
282
- attr_accessor :unit
283
-
284
- def initialize(amount: nil, unit: nil)
285
- @amount = amount
286
- @unit = unit
287
- end
288
- end
289
-
290
- class Driver < ::Stripe::RequestParams
291
- # Driver's identification number.
292
- attr_accessor :driver_identification_number
293
- # Driver's tax number.
294
- attr_accessor :driver_tax_number
295
- # Full name of the person or entity on the car reservation.
296
- attr_accessor :name
297
-
298
- def initialize(driver_identification_number: nil, driver_tax_number: nil, name: nil)
299
- @driver_identification_number = driver_identification_number
300
- @driver_tax_number = driver_tax_number
301
- @name = name
302
- end
303
- end
304
-
305
- class PickupAddress < ::Stripe::RequestParams
306
- # City, district, suburb, town, or village.
307
- attr_accessor :city
308
- # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
309
- attr_accessor :country
310
- # Address line 1, such as the street, PO Box, or company name.
311
- attr_accessor :line1
312
- # Address line 2, such as the apartment, suite, unit, or building.
313
- attr_accessor :line2
314
- # ZIP or postal code.
315
- attr_accessor :postal_code
316
- # State, county, province, or region.
317
- attr_accessor :state
318
-
319
- def initialize(
320
- city: nil,
321
- country: nil,
322
- line1: nil,
323
- line2: nil,
324
- postal_code: nil,
325
- state: nil
326
- )
327
- @city = city
328
- @country = country
329
- @line1 = line1
330
- @line2 = line2
331
- @postal_code = postal_code
332
- @state = state
333
- end
334
- end
335
-
336
- class ReturnAddress < ::Stripe::RequestParams
337
- # City, district, suburb, town, or village.
338
- attr_accessor :city
339
- # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
340
- attr_accessor :country
341
- # Address line 1, such as the street, PO Box, or company name.
342
- attr_accessor :line1
343
- # Address line 2, such as the apartment, suite, unit, or building.
344
- attr_accessor :line2
345
- # ZIP or postal code.
346
- attr_accessor :postal_code
347
- # State, county, province, or region.
348
- attr_accessor :state
349
-
350
- def initialize(
351
- city: nil,
352
- country: nil,
353
- line1: nil,
354
- line2: nil,
355
- postal_code: nil,
356
- state: nil
357
- )
358
- @city = city
359
- @country = country
360
- @line1 = line1
361
- @line2 = line2
362
- @postal_code = postal_code
363
- @state = state
364
- end
365
- end
366
- # Affiliate details for this purchase.
367
- attr_accessor :affiliate
368
- # The booking number associated with the car rental.
369
- attr_accessor :booking_number
370
- # Class code of the car.
371
- attr_accessor :car_class_code
372
- # Make of the car.
373
- attr_accessor :car_make
374
- # Model of the car.
375
- attr_accessor :car_model
376
- # The name of the rental car company.
377
- attr_accessor :company
378
- # The customer service phone number of the car rental company.
379
- attr_accessor :customer_service_phone_number
380
- # Number of days the car is being rented.
381
- attr_accessor :days_rented
382
- # Delivery details for this purchase.
383
- attr_accessor :delivery
384
- # The details of the distance traveled during the rental period.
385
- attr_accessor :distance
386
- # The details of the passengers in the travel reservation
387
- attr_accessor :drivers
388
- # List of additional charges being billed.
389
- attr_accessor :extra_charges
390
- # Indicates if the customer did not keep nor cancel their booking.
391
- attr_accessor :no_show
392
- # Car pick-up address.
393
- attr_accessor :pickup_address
394
- # Car pick-up time. Measured in seconds since the Unix epoch.
395
- attr_accessor :pickup_at
396
- # Name of the pickup location.
397
- attr_accessor :pickup_location_name
398
- # Rental rate.
399
- attr_accessor :rate_amount
400
- # The frequency at which the rate amount is applied. One of `day`, `week` or `month`
401
- attr_accessor :rate_interval
402
- # The name of the person or entity renting the car.
403
- attr_accessor :renter_name
404
- # Car return address.
405
- attr_accessor :return_address
406
- # Car return time. Measured in seconds since the Unix epoch.
407
- attr_accessor :return_at
408
- # Name of the return location.
409
- attr_accessor :return_location_name
410
- # Indicates whether the goods or services are tax-exempt or tax is not collected.
411
- attr_accessor :tax_exempt
412
- # The vehicle identification number.
413
- attr_accessor :vehicle_identification_number
414
-
415
- def initialize(
416
- affiliate: nil,
417
- booking_number: nil,
418
- car_class_code: nil,
419
- car_make: nil,
420
- car_model: nil,
421
- company: nil,
422
- customer_service_phone_number: nil,
423
- days_rented: nil,
424
- delivery: nil,
425
- distance: nil,
426
- drivers: nil,
427
- extra_charges: nil,
428
- no_show: nil,
429
- pickup_address: nil,
430
- pickup_at: nil,
431
- pickup_location_name: nil,
432
- rate_amount: nil,
433
- rate_interval: nil,
434
- renter_name: nil,
435
- return_address: nil,
436
- return_at: nil,
437
- return_location_name: nil,
438
- tax_exempt: nil,
439
- vehicle_identification_number: nil
440
- )
441
- @affiliate = affiliate
442
- @booking_number = booking_number
443
- @car_class_code = car_class_code
444
- @car_make = car_make
445
- @car_model = car_model
446
- @company = company
447
- @customer_service_phone_number = customer_service_phone_number
448
- @days_rented = days_rented
449
- @delivery = delivery
450
- @distance = distance
451
- @drivers = drivers
452
- @extra_charges = extra_charges
453
- @no_show = no_show
454
- @pickup_address = pickup_address
455
- @pickup_at = pickup_at
456
- @pickup_location_name = pickup_location_name
457
- @rate_amount = rate_amount
458
- @rate_interval = rate_interval
459
- @renter_name = renter_name
460
- @return_address = return_address
461
- @return_at = return_at
462
- @return_location_name = return_location_name
463
- @tax_exempt = tax_exempt
464
- @vehicle_identification_number = vehicle_identification_number
465
- end
466
- end
467
-
468
- class EventDetails < ::Stripe::RequestParams
469
- class Address < ::Stripe::RequestParams
470
- # City, district, suburb, town, or village.
471
- attr_accessor :city
472
- # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
473
- attr_accessor :country
474
- # Address line 1, such as the street, PO Box, or company name.
475
- attr_accessor :line1
476
- # Address line 2, such as the apartment, suite, unit, or building.
477
- attr_accessor :line2
478
- # ZIP or postal code.
479
- attr_accessor :postal_code
480
- # State, county, province, or region.
481
- attr_accessor :state
482
-
483
- def initialize(
484
- city: nil,
485
- country: nil,
486
- line1: nil,
487
- line2: nil,
488
- postal_code: nil,
489
- state: nil
490
- )
491
- @city = city
492
- @country = country
493
- @line1 = line1
494
- @line2 = line2
495
- @postal_code = postal_code
496
- @state = state
497
- end
498
- end
499
-
500
- class Affiliate < ::Stripe::RequestParams
501
- # The name of the affiliate that originated the purchase.
502
- attr_accessor :name
503
-
504
- def initialize(name: nil)
505
- @name = name
506
- end
507
- end
508
-
509
- class Delivery < ::Stripe::RequestParams
510
- class Recipient < ::Stripe::RequestParams
511
- # The email of the recipient the ticket is delivered to.
512
- attr_accessor :email
513
- # The name of the recipient the ticket is delivered to.
514
- attr_accessor :name
515
- # The phone number of the recipient the ticket is delivered to.
516
- attr_accessor :phone
517
-
518
- def initialize(email: nil, name: nil, phone: nil)
519
- @email = email
520
- @name = name
521
- @phone = phone
522
- end
523
- end
524
- # The delivery method for the payment
525
- attr_accessor :mode
526
- # Details of the recipient.
527
- attr_accessor :recipient
528
-
529
- def initialize(mode: nil, recipient: nil)
530
- @mode = mode
531
- @recipient = recipient
532
- end
533
- end
534
- # Indicates if the tickets are digitally checked when entering the venue.
535
- attr_accessor :access_controlled_venue
536
- # The event location's address.
537
- attr_accessor :address
538
- # Affiliate details for this purchase.
539
- attr_accessor :affiliate
540
- # The name of the company
541
- attr_accessor :company
542
- # Delivery details for this purchase.
543
- attr_accessor :delivery
544
- # Event end time. Measured in seconds since the Unix epoch.
545
- attr_accessor :ends_at
546
- # Type of the event entertainment (concert, sports event etc)
547
- attr_accessor :genre
548
- # The name of the event.
549
- attr_accessor :name
550
- # Event start time. Measured in seconds since the Unix epoch.
551
- attr_accessor :starts_at
552
-
553
- def initialize(
554
- access_controlled_venue: nil,
555
- address: nil,
556
- affiliate: nil,
557
- company: nil,
558
- delivery: nil,
559
- ends_at: nil,
560
- genre: nil,
561
- name: nil,
562
- starts_at: nil
563
- )
564
- @access_controlled_venue = access_controlled_venue
565
- @address = address
566
- @affiliate = affiliate
567
- @company = company
568
- @delivery = delivery
569
- @ends_at = ends_at
570
- @genre = genre
571
- @name = name
572
- @starts_at = starts_at
573
- end
574
- end
575
-
576
- class Flight < ::Stripe::RequestParams
577
- class Affiliate < ::Stripe::RequestParams
578
- # The name of the affiliate that originated the purchase.
579
- attr_accessor :name
580
-
581
- def initialize(name: nil)
582
- @name = name
583
- end
584
- end
585
-
586
- class Delivery < ::Stripe::RequestParams
587
- class Recipient < ::Stripe::RequestParams
588
- # The email of the recipient the ticket is delivered to.
589
- attr_accessor :email
590
- # The name of the recipient the ticket is delivered to.
591
- attr_accessor :name
592
- # The phone number of the recipient the ticket is delivered to.
593
- attr_accessor :phone
594
-
595
- def initialize(email: nil, name: nil, phone: nil)
596
- @email = email
597
- @name = name
598
- @phone = phone
599
- end
600
- end
601
- # The delivery method for the payment
602
- attr_accessor :mode
603
- # Details of the recipient.
604
- attr_accessor :recipient
605
-
606
- def initialize(mode: nil, recipient: nil)
607
- @mode = mode
608
- @recipient = recipient
609
- end
610
- end
611
-
612
- class Passenger < ::Stripe::RequestParams
613
- # Full name of the person or entity on the flight reservation.
614
- attr_accessor :name
615
-
616
- def initialize(name: nil)
617
- @name = name
618
- end
619
- end
620
-
621
- class Segment < ::Stripe::RequestParams
622
- # The flight segment amount.
623
- attr_accessor :amount
624
- # The International Air Transport Association (IATA) airport code for the arrival airport.
625
- attr_accessor :arrival_airport
626
- # The arrival time for the flight segment. Measured in seconds since the Unix epoch.
627
- attr_accessor :arrives_at
628
- # The International Air Transport Association (IATA) carrier code of the carrier operating the flight segment.
629
- attr_accessor :carrier
630
- # The departure time for the flight segment. Measured in seconds since the Unix epoch.
631
- attr_accessor :departs_at
632
- # The International Air Transport Association (IATA) airport code for the departure airport.
633
- attr_accessor :departure_airport
634
- # The flight number associated with the segment
635
- attr_accessor :flight_number
636
- # The fare class for the segment.
637
- attr_accessor :service_class
638
-
639
- def initialize(
640
- amount: nil,
641
- arrival_airport: nil,
642
- arrives_at: nil,
643
- carrier: nil,
644
- departs_at: nil,
645
- departure_airport: nil,
646
- flight_number: nil,
647
- service_class: nil
648
- )
649
- @amount = amount
650
- @arrival_airport = arrival_airport
651
- @arrives_at = arrives_at
652
- @carrier = carrier
653
- @departs_at = departs_at
654
- @departure_airport = departure_airport
655
- @flight_number = flight_number
656
- @service_class = service_class
657
- end
658
- end
659
- # Affiliate details for this purchase.
660
- attr_accessor :affiliate
661
- # The agency number (i.e. International Air Transport Association (IATA) agency number) of the travel agency that made the booking.
662
- attr_accessor :agency_number
663
- # The International Air Transport Association (IATA) carrier code of the carrier that issued the ticket.
664
- attr_accessor :carrier
665
- # Delivery details for this purchase.
666
- attr_accessor :delivery
667
- # The name of the person or entity on the reservation.
668
- attr_accessor :passenger_name
669
- # The details of the passengers in the travel reservation.
670
- attr_accessor :passengers
671
- # The individual flight segments associated with the trip.
672
- attr_accessor :segments
673
- # The ticket number associated with the travel reservation.
674
- attr_accessor :ticket_number
675
-
676
- def initialize(
677
- affiliate: nil,
678
- agency_number: nil,
679
- carrier: nil,
680
- delivery: nil,
681
- passenger_name: nil,
682
- passengers: nil,
683
- segments: nil,
684
- ticket_number: nil
685
- )
686
- @affiliate = affiliate
687
- @agency_number = agency_number
688
- @carrier = carrier
689
- @delivery = delivery
690
- @passenger_name = passenger_name
691
- @passengers = passengers
692
- @segments = segments
693
- @ticket_number = ticket_number
694
- end
695
- end
696
-
697
- class Lodging < ::Stripe::RequestParams
698
- class Address < ::Stripe::RequestParams
699
- # City, district, suburb, town, or village.
700
- attr_accessor :city
701
- # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
702
- attr_accessor :country
703
- # Address line 1, such as the street, PO Box, or company name.
704
- attr_accessor :line1
705
- # Address line 2, such as the apartment, suite, unit, or building.
706
- attr_accessor :line2
707
- # ZIP or postal code.
708
- attr_accessor :postal_code
709
- # State, county, province, or region.
710
- attr_accessor :state
711
-
712
- def initialize(
713
- city: nil,
714
- country: nil,
715
- line1: nil,
716
- line2: nil,
717
- postal_code: nil,
718
- state: nil
719
- )
720
- @city = city
721
- @country = country
722
- @line1 = line1
723
- @line2 = line2
724
- @postal_code = postal_code
725
- @state = state
726
- end
727
- end
728
-
729
- class Affiliate < ::Stripe::RequestParams
730
- # The name of the affiliate that originated the purchase.
731
- attr_accessor :name
732
-
733
- def initialize(name: nil)
734
- @name = name
735
- end
736
- end
737
-
738
- class Delivery < ::Stripe::RequestParams
739
- class Recipient < ::Stripe::RequestParams
740
- # The email of the recipient the ticket is delivered to.
741
- attr_accessor :email
742
- # The name of the recipient the ticket is delivered to.
743
- attr_accessor :name
744
- # The phone number of the recipient the ticket is delivered to.
745
- attr_accessor :phone
746
-
747
- def initialize(email: nil, name: nil, phone: nil)
748
- @email = email
749
- @name = name
750
- @phone = phone
751
- end
752
- end
753
- # The delivery method for the payment
754
- attr_accessor :mode
755
- # Details of the recipient.
756
- attr_accessor :recipient
757
-
758
- def initialize(mode: nil, recipient: nil)
759
- @mode = mode
760
- @recipient = recipient
761
- end
762
- end
763
-
764
- class Passenger < ::Stripe::RequestParams
765
- # Full name of the person or entity on the lodging reservation.
766
- attr_accessor :name
767
-
768
- def initialize(name: nil)
769
- @name = name
770
- end
771
- end
772
- # The lodging location's address.
773
- attr_accessor :address
774
- # The number of adults on the booking
775
- attr_accessor :adults
776
- # Affiliate details for this purchase.
777
- attr_accessor :affiliate
778
- # The booking number associated with the lodging reservation.
779
- attr_accessor :booking_number
780
- # The lodging category
781
- attr_accessor :category
782
- # Lodging check-in time. Measured in seconds since the Unix epoch.
783
- attr_accessor :checkin_at
784
- # Lodging check-out time. Measured in seconds since the Unix epoch.
785
- attr_accessor :checkout_at
786
- # The customer service phone number of the lodging company.
787
- attr_accessor :customer_service_phone_number
788
- # The daily lodging room rate.
789
- attr_accessor :daily_room_rate_amount
790
- # Delivery details for this purchase.
791
- attr_accessor :delivery
792
- # List of additional charges being billed.
793
- attr_accessor :extra_charges
794
- # Indicates whether the lodging location is compliant with the Fire Safety Act.
795
- attr_accessor :fire_safety_act_compliance
796
- # The name of the lodging location.
797
- attr_accessor :name
798
- # Indicates if the customer did not keep their booking while failing to cancel the reservation.
799
- attr_accessor :no_show
800
- # The number of rooms on the booking
801
- attr_accessor :number_of_rooms
802
- # The details of the passengers in the travel reservation
803
- attr_accessor :passengers
804
- # The phone number of the lodging location.
805
- attr_accessor :property_phone_number
806
- # The room class for this purchase.
807
- attr_accessor :room_class
808
- # The number of room nights
809
- attr_accessor :room_nights
810
- # The total tax amount associating with the room reservation.
811
- attr_accessor :total_room_tax_amount
812
- # The total tax amount
813
- attr_accessor :total_tax_amount
814
-
815
- def initialize(
816
- address: nil,
817
- adults: nil,
818
- affiliate: nil,
819
- booking_number: nil,
820
- category: nil,
821
- checkin_at: nil,
822
- checkout_at: nil,
823
- customer_service_phone_number: nil,
824
- daily_room_rate_amount: nil,
825
- delivery: nil,
826
- extra_charges: nil,
827
- fire_safety_act_compliance: nil,
828
- name: nil,
829
- no_show: nil,
830
- number_of_rooms: nil,
831
- passengers: nil,
832
- property_phone_number: nil,
833
- room_class: nil,
834
- room_nights: nil,
835
- total_room_tax_amount: nil,
836
- total_tax_amount: nil
837
- )
838
- @address = address
839
- @adults = adults
840
- @affiliate = affiliate
841
- @booking_number = booking_number
842
- @category = category
843
- @checkin_at = checkin_at
844
- @checkout_at = checkout_at
845
- @customer_service_phone_number = customer_service_phone_number
846
- @daily_room_rate_amount = daily_room_rate_amount
847
- @delivery = delivery
848
- @extra_charges = extra_charges
849
- @fire_safety_act_compliance = fire_safety_act_compliance
850
- @name = name
851
- @no_show = no_show
852
- @number_of_rooms = number_of_rooms
853
- @passengers = passengers
854
- @property_phone_number = property_phone_number
855
- @room_class = room_class
856
- @room_nights = room_nights
857
- @total_room_tax_amount = total_room_tax_amount
858
- @total_tax_amount = total_tax_amount
859
- end
860
- end
861
-
862
- class Subscription < ::Stripe::RequestParams
863
- class Affiliate < ::Stripe::RequestParams
864
- # The name of the affiliate that originated the purchase.
865
- attr_accessor :name
866
-
867
- def initialize(name: nil)
868
- @name = name
869
- end
870
- end
871
-
872
- class BillingInterval < ::Stripe::RequestParams
873
- # The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration.
874
- attr_accessor :count
875
- # Specifies a type of interval unit. Either `day`, `week`, `month` or `year`.
876
- attr_accessor :interval
877
-
878
- def initialize(count: nil, interval: nil)
879
- @count = count
880
- @interval = interval
881
- end
882
- end
883
- # Affiliate details for this purchase.
884
- attr_accessor :affiliate
885
- # Info whether the subscription will be auto renewed upon expiry.
886
- attr_accessor :auto_renewal
887
- # Subscription billing details for this purchase.
888
- attr_accessor :billing_interval
889
- # Subscription end time. Measured in seconds since the Unix epoch.
890
- attr_accessor :ends_at
891
- # Name of the product on subscription. e.g. Apple Music Subscription
892
- attr_accessor :name
893
- # Subscription start time. Measured in seconds since the Unix epoch.
894
- attr_accessor :starts_at
895
-
896
- def initialize(
897
- affiliate: nil,
898
- auto_renewal: nil,
899
- billing_interval: nil,
900
- ends_at: nil,
901
- name: nil,
902
- starts_at: nil
903
- )
904
- @affiliate = affiliate
905
- @auto_renewal = auto_renewal
906
- @billing_interval = billing_interval
907
- @ends_at = ends_at
908
- @name = name
909
- @starts_at = starts_at
910
- end
911
- end
912
- # Car rental details for this PaymentIntent.
913
- attr_accessor :car_rental
914
217
  # A unique value to identify the customer. This field is available only for card payments.
915
218
  #
916
219
  # This field is truncated to 25 alphanumeric characters, excluding spaces, before being sent to card networks.
917
220
  attr_accessor :customer_reference
918
- # Event details for this PaymentIntent
919
- attr_accessor :event_details
920
- # Flight reservation details for this PaymentIntent
921
- attr_accessor :flight
922
- # Lodging reservation details for this PaymentIntent
923
- attr_accessor :lodging
924
221
  # A unique value assigned by the business to identify the transaction. Required for L2 and L3 rates.
925
222
  #
926
223
  # Required when the Payment Method Types array contains `card`, including when [automatic_payment_methods.enabled](/api/payment_intents/create#create_payment_intent-automatic_payment_methods-enabled) is set to `true`.
927
224
  #
928
225
  # For Cards, this field is truncated to 25 alphanumeric characters, excluding spaces, before being sent to card networks. For Klarna, this field is truncated to 255 characters and is visible to customers when they view the order in the Klarna app.
929
226
  attr_accessor :order_reference
930
- # Subscription details for this PaymentIntent
931
- attr_accessor :subscription
932
227
 
933
- def initialize(
934
- car_rental: nil,
935
- customer_reference: nil,
936
- event_details: nil,
937
- flight: nil,
938
- lodging: nil,
939
- order_reference: nil,
940
- subscription: nil
941
- )
942
- @car_rental = car_rental
228
+ def initialize(customer_reference: nil, order_reference: nil)
943
229
  @customer_reference = customer_reference
944
- @event_details = event_details
945
- @flight = flight
946
- @lodging = lodging
947
230
  @order_reference = order_reference
948
- @subscription = subscription
949
231
  end
950
232
  end
951
233
 
@@ -1086,18 +368,8 @@ module Stripe
1086
368
  end
1087
369
 
1088
370
  class Giropay < ::Stripe::RequestParams; end
1089
- class Gopay < ::Stripe::RequestParams; end
1090
371
  class Grabpay < ::Stripe::RequestParams; end
1091
372
 
1092
- class IdBankTransfer < ::Stripe::RequestParams
1093
- # Bank where the account is held.
1094
- attr_accessor :bank
1095
-
1096
- def initialize(bank: nil)
1097
- @bank = bank
1098
- end
1099
- end
1100
-
1101
373
  class Ideal < ::Stripe::RequestParams
1102
374
  # The customer's bank. Only use this parameter for existing customers. Don't use it for new customers.
1103
375
  attr_accessor :bank
@@ -1195,26 +467,8 @@ module Stripe
1195
467
  class Payco < ::Stripe::RequestParams; end
1196
468
  class Paynow < ::Stripe::RequestParams; end
1197
469
  class Paypal < ::Stripe::RequestParams; end
1198
- class Paypay < ::Stripe::RequestParams; end
1199
-
1200
- class Payto < ::Stripe::RequestParams
1201
- # The account number for the bank account.
1202
- attr_accessor :account_number
1203
- # Bank-State-Branch number of the bank account.
1204
- attr_accessor :bsb_number
1205
- # The PayID alias for the bank account.
1206
- attr_accessor :pay_id
1207
-
1208
- def initialize(account_number: nil, bsb_number: nil, pay_id: nil)
1209
- @account_number = account_number
1210
- @bsb_number = bsb_number
1211
- @pay_id = pay_id
1212
- end
1213
- end
1214
-
1215
470
  class Pix < ::Stripe::RequestParams; end
1216
471
  class Promptpay < ::Stripe::RequestParams; end
1217
- class Qris < ::Stripe::RequestParams; end
1218
472
 
1219
473
  class RadarOptions < ::Stripe::RequestParams
1220
474
  # A [Radar Session](https://stripe.com/docs/radar/radar-session) is a snapshot of the browser metadata and device details that help Radar make more accurate predictions on your payments.
@@ -1225,29 +479,6 @@ module Stripe
1225
479
  end
1226
480
  end
1227
481
 
1228
- class Rechnung < ::Stripe::RequestParams
1229
- class Dob < ::Stripe::RequestParams
1230
- # The day of birth, between 1 and 31.
1231
- attr_accessor :day
1232
- # The month of birth, between 1 and 12.
1233
- attr_accessor :month
1234
- # The four-digit year of birth.
1235
- attr_accessor :year
1236
-
1237
- def initialize(day: nil, month: nil, year: nil)
1238
- @day = day
1239
- @month = month
1240
- @year = year
1241
- end
1242
- end
1243
- # Customer's date of birth
1244
- attr_accessor :dob
1245
-
1246
- def initialize(dob: nil)
1247
- @dob = dob
1248
- end
1249
- end
1250
-
1251
482
  class RevolutPay < ::Stripe::RequestParams; end
1252
483
  class SamsungPay < ::Stripe::RequestParams; end
1253
484
  class Satispay < ::Stripe::RequestParams; end
@@ -1261,8 +492,6 @@ module Stripe
1261
492
  end
1262
493
  end
1263
494
 
1264
- class Shopeepay < ::Stripe::RequestParams; end
1265
-
1266
495
  class Sofort < ::Stripe::RequestParams
1267
496
  # Two-letter ISO code representing the country the bank account is located in.
1268
497
  attr_accessor :country
@@ -1272,18 +501,6 @@ module Stripe
1272
501
  end
1273
502
  end
1274
503
 
1275
- class StripeBalance < ::Stripe::RequestParams
1276
- # The connected account ID whose Stripe balance to use as the source of payment
1277
- attr_accessor :account
1278
- # The [source_type](https://docs.stripe.com/api/balance/balance_object#balance_object-available-source_types) of the balance
1279
- attr_accessor :source_type
1280
-
1281
- def initialize(account: nil, source_type: nil)
1282
- @account = account
1283
- @source_type = source_type
1284
- end
1285
- end
1286
-
1287
504
  class Swish < ::Stripe::RequestParams; end
1288
505
  class Twint < ::Stripe::RequestParams; end
1289
506
 
@@ -1356,12 +573,8 @@ module Stripe
1356
573
  attr_accessor :fpx
1357
574
  # If this is a `giropay` PaymentMethod, this hash contains details about the Giropay payment method.
1358
575
  attr_accessor :giropay
1359
- # If this is a Gopay PaymentMethod, this hash contains details about the Gopay payment method.
1360
- attr_accessor :gopay
1361
576
  # If this is a `grabpay` PaymentMethod, this hash contains details about the GrabPay payment method.
1362
577
  attr_accessor :grabpay
1363
- # If this is an `IdBankTransfer` PaymentMethod, this hash contains details about the IdBankTransfer payment method.
1364
- attr_accessor :id_bank_transfer
1365
578
  # If this is an `ideal` PaymentMethod, this hash contains details about the iDEAL payment method.
1366
579
  attr_accessor :ideal
1367
580
  # If this is an `interac_present` PaymentMethod, this hash contains details about the Interac Present payment method.
@@ -1400,20 +613,12 @@ module Stripe
1400
613
  attr_accessor :paynow
1401
614
  # If this is a `paypal` PaymentMethod, this hash contains details about the PayPal payment method.
1402
615
  attr_accessor :paypal
1403
- # If this is a `paypay` PaymentMethod, this hash contains details about the PayPay payment method.
1404
- attr_accessor :paypay
1405
- # If this is a `payto` PaymentMethod, this hash contains details about the PayTo payment method.
1406
- attr_accessor :payto
1407
616
  # If this is a `pix` PaymentMethod, this hash contains details about the Pix payment method.
1408
617
  attr_accessor :pix
1409
618
  # If this is a `promptpay` PaymentMethod, this hash contains details about the PromptPay payment method.
1410
619
  attr_accessor :promptpay
1411
- # If this is a `qris` PaymentMethod, this hash contains details about the QRIS payment method.
1412
- attr_accessor :qris
1413
620
  # Options to configure Radar. See [Radar Session](https://stripe.com/docs/radar/radar-session) for more information.
1414
621
  attr_accessor :radar_options
1415
- # If this is a `rechnung` PaymentMethod, this hash contains details about the Rechnung payment method.
1416
- attr_accessor :rechnung
1417
622
  # If this is a `revolut_pay` PaymentMethod, this hash contains details about the Revolut Pay payment method.
1418
623
  attr_accessor :revolut_pay
1419
624
  # If this is a `samsung_pay` PaymentMethod, this hash contains details about the SamsungPay payment method.
@@ -1422,12 +627,8 @@ module Stripe
1422
627
  attr_accessor :satispay
1423
628
  # If this is a `sepa_debit` PaymentMethod, this hash contains details about the SEPA debit bank account.
1424
629
  attr_accessor :sepa_debit
1425
- # If this is a Shopeepay PaymentMethod, this hash contains details about the Shopeepay payment method.
1426
- attr_accessor :shopeepay
1427
630
  # If this is a `sofort` PaymentMethod, this hash contains details about the SOFORT payment method.
1428
631
  attr_accessor :sofort
1429
- # This hash contains details about the Stripe balance payment method.
1430
- attr_accessor :stripe_balance
1431
632
  # If this is a `swish` PaymentMethod, this hash contains details about the Swish payment method.
1432
633
  attr_accessor :swish
1433
634
  # If this is a TWINT PaymentMethod, this hash contains details about the TWINT payment method.
@@ -1462,9 +663,7 @@ module Stripe
1462
663
  eps: nil,
1463
664
  fpx: nil,
1464
665
  giropay: nil,
1465
- gopay: nil,
1466
666
  grabpay: nil,
1467
- id_bank_transfer: nil,
1468
667
  ideal: nil,
1469
668
  interac_present: nil,
1470
669
  kakao_pay: nil,
@@ -1484,20 +683,14 @@ module Stripe
1484
683
  payco: nil,
1485
684
  paynow: nil,
1486
685
  paypal: nil,
1487
- paypay: nil,
1488
- payto: nil,
1489
686
  pix: nil,
1490
687
  promptpay: nil,
1491
- qris: nil,
1492
688
  radar_options: nil,
1493
- rechnung: nil,
1494
689
  revolut_pay: nil,
1495
690
  samsung_pay: nil,
1496
691
  satispay: nil,
1497
692
  sepa_debit: nil,
1498
- shopeepay: nil,
1499
693
  sofort: nil,
1500
- stripe_balance: nil,
1501
694
  swish: nil,
1502
695
  twint: nil,
1503
696
  type: nil,
@@ -1525,9 +718,7 @@ module Stripe
1525
718
  @eps = eps
1526
719
  @fpx = fpx
1527
720
  @giropay = giropay
1528
- @gopay = gopay
1529
721
  @grabpay = grabpay
1530
- @id_bank_transfer = id_bank_transfer
1531
722
  @ideal = ideal
1532
723
  @interac_present = interac_present
1533
724
  @kakao_pay = kakao_pay
@@ -1547,20 +738,14 @@ module Stripe
1547
738
  @payco = payco
1548
739
  @paynow = paynow
1549
740
  @paypal = paypal
1550
- @paypay = paypay
1551
- @payto = payto
1552
741
  @pix = pix
1553
742
  @promptpay = promptpay
1554
- @qris = qris
1555
743
  @radar_options = radar_options
1556
- @rechnung = rechnung
1557
744
  @revolut_pay = revolut_pay
1558
745
  @samsung_pay = samsung_pay
1559
746
  @satispay = satispay
1560
747
  @sepa_debit = sepa_debit
1561
- @shopeepay = shopeepay
1562
748
  @sofort = sofort
1563
- @stripe_balance = stripe_balance
1564
749
  @swish = swish
1565
750
  @twint = twint
1566
751
  @type = type
@@ -1931,48 +1116,6 @@ module Stripe
1931
1116
  end
1932
1117
  end
1933
1118
 
1934
- class StatementDetails < ::Stripe::RequestParams
1935
- class Address < ::Stripe::RequestParams
1936
- # City, district, suburb, town, or village.
1937
- attr_accessor :city
1938
- # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
1939
- attr_accessor :country
1940
- # Address line 1, such as the street, PO Box, or company name.
1941
- attr_accessor :line1
1942
- # Address line 2, such as the apartment, suite, unit, or building.
1943
- attr_accessor :line2
1944
- # ZIP or postal code.
1945
- attr_accessor :postal_code
1946
- # State, county, province, or region.
1947
- attr_accessor :state
1948
-
1949
- def initialize(
1950
- city: nil,
1951
- country: nil,
1952
- line1: nil,
1953
- line2: nil,
1954
- postal_code: nil,
1955
- state: nil
1956
- )
1957
- @city = city
1958
- @country = country
1959
- @line1 = line1
1960
- @line2 = line2
1961
- @postal_code = postal_code
1962
- @state = state
1963
- end
1964
- end
1965
- # Please pass in an address that is within your Stripe user account country
1966
- attr_accessor :address
1967
- # Phone number (e.g., a toll-free number that customers can call)
1968
- attr_accessor :phone
1969
-
1970
- def initialize(address: nil, phone: nil)
1971
- @address = address
1972
- @phone = phone
1973
- end
1974
- end
1975
-
1976
1119
  class ThreeDSecure < ::Stripe::RequestParams
1977
1120
  class NetworkOptions < ::Stripe::RequestParams
1978
1121
  class CartesBancaires < ::Stripe::RequestParams
@@ -2067,8 +1210,6 @@ module Stripe
2067
1210
  attr_accessor :moto
2068
1211
  # Selected network to process this PaymentIntent on. Depends on the available networks of the card attached to the PaymentIntent. Can be only set confirm-time.
2069
1212
  attr_accessor :network
2070
- # Request ability to [decrement the authorization](https://stripe.com/docs/payments/decremental-authorization) for this PaymentIntent.
2071
- attr_accessor :request_decremental_authorization
2072
1213
  # Request ability to [capture beyond the standard authorization validity window](https://stripe.com/docs/payments/extended-authorization) for this PaymentIntent.
2073
1214
  attr_accessor :request_extended_authorization
2074
1215
  # Request ability to [increment the authorization](https://stripe.com/docs/payments/incremental-authorization) for this PaymentIntent.
@@ -2077,8 +1218,6 @@ module Stripe
2077
1218
  attr_accessor :request_multicapture
2078
1219
  # Request ability to [overcapture](https://stripe.com/docs/payments/overcapture) for this PaymentIntent.
2079
1220
  attr_accessor :request_overcapture
2080
- # Request partial authorization on this PaymentIntent.
2081
- attr_accessor :request_partial_authorization
2082
1221
  # We strongly recommend that you rely on our SCA Engine to automatically prompt your customers for authentication based on risk level and [other requirements](https://stripe.com/docs/strong-customer-authentication). However, if you wish to request 3D Secure based on logic from your own fraud engine, provide this option. If not provided, this value defaults to `automatic`. Read our guide on [manually requesting 3D Secure](https://stripe.com/docs/payments/3d-secure/authentication-flow#manual-three-ds) for more information on how this configuration interacts with Radar and our SCA Engine.
2083
1222
  attr_accessor :request_three_d_secure
2084
1223
  # When enabled, using a card that is attached to a customer will require the CVC to be provided again (i.e. using the cvc_token parameter).
@@ -2097,8 +1236,6 @@ module Stripe
2097
1236
  attr_accessor :statement_descriptor_suffix_kana
2098
1237
  # Provides information about a card payment that customers see on their statements. Concatenated with the Kanji prefix (shortened Kanji descriptor) or Kanji statement descriptor that’s set on the account to form the complete statement descriptor. Maximum 17 characters. On card statements, the *concatenation* of both prefix and suffix (including separators) will appear truncated to 17 characters.
2099
1238
  attr_accessor :statement_descriptor_suffix_kanji
2100
- # Statement details for this payment intent. You can use this to override the merchant details shown on your customers' statements.
2101
- attr_accessor :statement_details
2102
1239
  # If 3D Secure authentication was performed with a third-party provider,
2103
1240
  # the authentication details to use for this payment.
2104
1241
  attr_accessor :three_d_secure
@@ -2110,18 +1247,15 @@ module Stripe
2110
1247
  mandate_options: nil,
2111
1248
  moto: nil,
2112
1249
  network: nil,
2113
- request_decremental_authorization: nil,
2114
1250
  request_extended_authorization: nil,
2115
1251
  request_incremental_authorization: nil,
2116
1252
  request_multicapture: nil,
2117
1253
  request_overcapture: nil,
2118
- request_partial_authorization: nil,
2119
1254
  request_three_d_secure: nil,
2120
1255
  require_cvc_recollection: nil,
2121
1256
  setup_future_usage: nil,
2122
1257
  statement_descriptor_suffix_kana: nil,
2123
1258
  statement_descriptor_suffix_kanji: nil,
2124
- statement_details: nil,
2125
1259
  three_d_secure: nil
2126
1260
  )
2127
1261
  @capture_method = capture_method
@@ -2130,18 +1264,15 @@ module Stripe
2130
1264
  @mandate_options = mandate_options
2131
1265
  @moto = moto
2132
1266
  @network = network
2133
- @request_decremental_authorization = request_decremental_authorization
2134
1267
  @request_extended_authorization = request_extended_authorization
2135
1268
  @request_incremental_authorization = request_incremental_authorization
2136
1269
  @request_multicapture = request_multicapture
2137
1270
  @request_overcapture = request_overcapture
2138
- @request_partial_authorization = request_partial_authorization
2139
1271
  @request_three_d_secure = request_three_d_secure
2140
1272
  @require_cvc_recollection = require_cvc_recollection
2141
1273
  @setup_future_usage = setup_future_usage
2142
1274
  @statement_descriptor_suffix_kana = statement_descriptor_suffix_kana
2143
1275
  @statement_descriptor_suffix_kanji = statement_descriptor_suffix_kanji
2144
- @statement_details = statement_details
2145
1276
  @three_d_secure = three_d_secure
2146
1277
  end
2147
1278
  end
@@ -2155,6 +1286,12 @@ module Stripe
2155
1286
  @requested_priority = requested_priority
2156
1287
  end
2157
1288
  end
1289
+ # Controls when the funds are captured from the customer's account.
1290
+ #
1291
+ # If provided, this parameter overrides the behavior of the top-level [capture_method](/api/payment_intents/update#update_payment_intent-capture_method) for this payment method type when finalizing the payment with this payment method type.
1292
+ #
1293
+ # If `capture_method` is already set on the PaymentIntent, providing an empty value for this parameter unsets the stored value for this payment method type.
1294
+ attr_accessor :capture_method
2158
1295
  # Request ability to capture this payment beyond the standard [authorization validity window](https://stripe.com/docs/terminal/features/extended-authorizations#authorization-validity)
2159
1296
  attr_accessor :request_extended_authorization
2160
1297
  # Request ability to [increment](https://stripe.com/docs/terminal/features/incremental-authorizations) this PaymentIntent if the combination of MCC and card brand is eligible. Check [incremental_authorization_supported](https://stripe.com/docs/api/charges/object#charge_object-payment_method_details-card_present-incremental_authorization_supported) in the [Confirm](https://stripe.com/docs/api/payment_intents/confirm) response to verify support.
@@ -2163,10 +1300,12 @@ module Stripe
2163
1300
  attr_accessor :routing
2164
1301
 
2165
1302
  def initialize(
1303
+ capture_method: nil,
2166
1304
  request_extended_authorization: nil,
2167
1305
  request_incremental_authorization_support: nil,
2168
1306
  routing: nil
2169
1307
  )
1308
+ @capture_method = capture_method
2170
1309
  @request_extended_authorization = request_extended_authorization
2171
1310
  @request_incremental_authorization_support = request_incremental_authorization_support
2172
1311
  @routing = routing
@@ -2312,23 +1451,6 @@ module Stripe
2312
1451
  end
2313
1452
  end
2314
1453
 
2315
- class Gopay < ::Stripe::RequestParams
2316
- # Indicates that you intend to make future payments with this PaymentIntent's payment method.
2317
- #
2318
- # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.
2319
- #
2320
- # If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.
2321
- #
2322
- # When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).
2323
- #
2324
- # If you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`.
2325
- attr_accessor :setup_future_usage
2326
-
2327
- def initialize(setup_future_usage: nil)
2328
- @setup_future_usage = setup_future_usage
2329
- end
2330
- end
2331
-
2332
1454
  class Grabpay < ::Stripe::RequestParams
2333
1455
  # Indicates that you intend to make future payments with this PaymentIntent's payment method.
2334
1456
  #
@@ -2346,29 +1468,6 @@ module Stripe
2346
1468
  end
2347
1469
  end
2348
1470
 
2349
- class IdBankTransfer < ::Stripe::RequestParams
2350
- # The UNIX timestamp until which the virtual bank account is valid. Permitted range is from 5 minutes from now until 31 days from now. If unset, it defaults to 3 days from now.
2351
- attr_accessor :expires_after
2352
- # The UNIX timestamp until which the virtual bank account is valid. Permitted range is from now until 30 days from now. If unset, it defaults to 1 days from now.
2353
- attr_accessor :expires_at
2354
- # Indicates that you intend to make future payments with this PaymentIntent's payment method.
2355
- #
2356
- # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.
2357
- #
2358
- # If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.
2359
- #
2360
- # When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).
2361
- #
2362
- # If you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`.
2363
- attr_accessor :setup_future_usage
2364
-
2365
- def initialize(expires_after: nil, expires_at: nil, setup_future_usage: nil)
2366
- @expires_after = expires_after
2367
- @expires_at = expires_at
2368
- @setup_future_usage = setup_future_usage
2369
- end
2370
- end
2371
-
2372
1471
  class Ideal < ::Stripe::RequestParams
2373
1472
  # Indicates that you intend to make future payments with this PaymentIntent's payment method.
2374
1473
  #
@@ -2770,65 +1869,12 @@ module Stripe
2770
1869
  end
2771
1870
 
2772
1871
  class Paypal < ::Stripe::RequestParams
2773
- class LineItem < ::Stripe::RequestParams
2774
- class Tax < ::Stripe::RequestParams
2775
- # The tax for a single unit of the line item in minor units. Cannot be a negative number.
2776
- attr_accessor :amount
2777
- # The tax behavior for the line item.
2778
- attr_accessor :behavior
2779
-
2780
- def initialize(amount: nil, behavior: nil)
2781
- @amount = amount
2782
- @behavior = behavior
2783
- end
2784
- end
2785
- # Type of the line item.
2786
- attr_accessor :category
2787
- # Description of the line item.
2788
- attr_accessor :description
2789
- # Descriptive name of the line item.
2790
- attr_accessor :name
2791
- # Quantity of the line item. Must be a positive number.
2792
- attr_accessor :quantity
2793
- # Client facing stock keeping unit, article number or similar.
2794
- attr_accessor :sku
2795
- # The Stripe account ID of the connected account that sells the item.
2796
- attr_accessor :sold_by
2797
- # The tax information for the line item.
2798
- attr_accessor :tax
2799
- # Price for a single unit of the line item in minor units. Cannot be a negative number.
2800
- attr_accessor :unit_amount
2801
-
2802
- def initialize(
2803
- category: nil,
2804
- description: nil,
2805
- name: nil,
2806
- quantity: nil,
2807
- sku: nil,
2808
- sold_by: nil,
2809
- tax: nil,
2810
- unit_amount: nil
2811
- )
2812
- @category = category
2813
- @description = description
2814
- @name = name
2815
- @quantity = quantity
2816
- @sku = sku
2817
- @sold_by = sold_by
2818
- @tax = tax
2819
- @unit_amount = unit_amount
2820
- end
2821
- end
2822
1872
  # Controls when the funds will be captured from the customer's account.
2823
1873
  attr_accessor :capture_method
2824
- # The line items purchased by the customer.
2825
- attr_accessor :line_items
2826
1874
  # [Preferred locale](https://stripe.com/docs/payments/paypal/supported-locales) of the PayPal checkout page that the customer is redirected to.
2827
1875
  attr_accessor :preferred_locale
2828
1876
  # A reference of the PayPal transaction visible to customer which is mapped to PayPal's invoice ID. This must be a globally unique ID if you have configured in your PayPal settings to block multiple payments per invoice ID.
2829
1877
  attr_accessor :reference
2830
- # A reference of the PayPal transaction visible to customer which is mapped to PayPal's invoice ID. This must be a globally unique ID if you have configured in your PayPal settings to block multiple payments per invoice ID.
2831
- attr_accessor :reference_id
2832
1878
  # The risk correlation ID for an on-session payment using a saved PayPal payment method.
2833
1879
  attr_accessor :risk_correlation_id
2834
1880
  # Indicates that you intend to make future payments with this PaymentIntent's payment method.
@@ -2841,140 +1887,29 @@ module Stripe
2841
1887
  #
2842
1888
  # If you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`.
2843
1889
  attr_accessor :setup_future_usage
2844
- # The Stripe connected account IDs of the sellers on the platform for this transaction (optional). Only allowed when [separate charges and transfers](https://stripe.com/docs/connect/separate-charges-and-transfers) are used.
2845
- attr_accessor :subsellers
2846
1890
 
2847
1891
  def initialize(
2848
1892
  capture_method: nil,
2849
- line_items: nil,
2850
1893
  preferred_locale: nil,
2851
1894
  reference: nil,
2852
- reference_id: nil,
2853
1895
  risk_correlation_id: nil,
2854
- setup_future_usage: nil,
2855
- subsellers: nil
1896
+ setup_future_usage: nil
2856
1897
  )
2857
1898
  @capture_method = capture_method
2858
- @line_items = line_items
2859
1899
  @preferred_locale = preferred_locale
2860
1900
  @reference = reference
2861
- @reference_id = reference_id
2862
1901
  @risk_correlation_id = risk_correlation_id
2863
1902
  @setup_future_usage = setup_future_usage
2864
- @subsellers = subsellers
2865
- end
2866
- end
2867
-
2868
- class Paypay < ::Stripe::RequestParams
2869
- # Controls when the funds are captured from the customer's account.
2870
- #
2871
- # If provided, this parameter overrides the behavior of the top-level [capture_method](/api/payment_intents/update#update_payment_intent-capture_method) for this payment method type when finalizing the payment with this payment method type.
2872
- #
2873
- # If `capture_method` is already set on the PaymentIntent, providing an empty value for this parameter unsets the stored value for this payment method type.
2874
- attr_accessor :capture_method
2875
-
2876
- def initialize(capture_method: nil)
2877
- @capture_method = capture_method
2878
- end
2879
- end
2880
-
2881
- class Payto < ::Stripe::RequestParams
2882
- class MandateOptions < ::Stripe::RequestParams
2883
- # Amount that will be collected. It is required when `amount_type` is `fixed`.
2884
- attr_accessor :amount
2885
- # The type of amount that will be collected. The amount charged must be exact or up to the value of `amount` param for `fixed` or `maximum` type respectively.
2886
- attr_accessor :amount_type
2887
- # Date, in YYYY-MM-DD format, after which payments will not be collected. Defaults to no end date.
2888
- attr_accessor :end_date
2889
- # The periodicity at which payments will be collected.
2890
- attr_accessor :payment_schedule
2891
- # The number of payments that will be made during a payment period. Defaults to 1 except for when `payment_schedule` is `adhoc`. In that case, it defaults to no limit.
2892
- attr_accessor :payments_per_period
2893
- # The purpose for which payments are made. Defaults to retail.
2894
- attr_accessor :purpose
2895
-
2896
- def initialize(
2897
- amount: nil,
2898
- amount_type: nil,
2899
- end_date: nil,
2900
- payment_schedule: nil,
2901
- payments_per_period: nil,
2902
- purpose: nil
2903
- )
2904
- @amount = amount
2905
- @amount_type = amount_type
2906
- @end_date = end_date
2907
- @payment_schedule = payment_schedule
2908
- @payments_per_period = payments_per_period
2909
- @purpose = purpose
2910
- end
2911
- end
2912
- # Additional fields for Mandate creation. Only `purpose` field is configurable for PayTo PaymentIntent with `setup_future_usage=none`. Other fields are only applicable to PayTo PaymentIntent with `setup_future_usage=off_session`
2913
- attr_accessor :mandate_options
2914
- # Indicates that you intend to make future payments with this PaymentIntent's payment method.
2915
- #
2916
- # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.
2917
- #
2918
- # If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.
2919
- #
2920
- # When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).
2921
- #
2922
- # If you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`.
2923
- attr_accessor :setup_future_usage
2924
-
2925
- def initialize(mandate_options: nil, setup_future_usage: nil)
2926
- @mandate_options = mandate_options
2927
- @setup_future_usage = setup_future_usage
2928
1903
  end
2929
1904
  end
2930
1905
 
2931
1906
  class Pix < ::Stripe::RequestParams
2932
- class MandateOptions < ::Stripe::RequestParams
2933
- # Amount to be charged for future payments. Required when `amount_type=fixed`. If not provided for `amount_type=maximum`, defaults to 40000.
2934
- attr_accessor :amount
2935
- # Determines if the amount includes the IOF tax. Defaults to `never`.
2936
- attr_accessor :amount_includes_iof
2937
- # Type of amount. Defaults to `maximum`.
2938
- attr_accessor :amount_type
2939
- # Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Only `brl` is supported currently.
2940
- attr_accessor :currency
2941
- # Date when the mandate expires and no further payments will be charged, in `YYYY-MM-DD`. If not provided, the mandate will be active until canceled. If provided, end date should be after start date.
2942
- attr_accessor :end_date
2943
- # Schedule at which the future payments will be charged. Defaults to `weekly`.
2944
- attr_accessor :payment_schedule
2945
- # Subscription name displayed to buyers in their bank app. Defaults to the displayable business name.
2946
- attr_accessor :reference
2947
- # Start date of the mandate, in `YYYY-MM-DD`. Start date should be at least 3 days in the future. Defaults to 3 days after the current date.
2948
- attr_accessor :start_date
2949
-
2950
- def initialize(
2951
- amount: nil,
2952
- amount_includes_iof: nil,
2953
- amount_type: nil,
2954
- currency: nil,
2955
- end_date: nil,
2956
- payment_schedule: nil,
2957
- reference: nil,
2958
- start_date: nil
2959
- )
2960
- @amount = amount
2961
- @amount_includes_iof = amount_includes_iof
2962
- @amount_type = amount_type
2963
- @currency = currency
2964
- @end_date = end_date
2965
- @payment_schedule = payment_schedule
2966
- @reference = reference
2967
- @start_date = start_date
2968
- end
2969
- end
2970
1907
  # Determines if the amount includes the IOF tax. Defaults to `never`.
2971
1908
  attr_accessor :amount_includes_iof
2972
1909
  # The number of seconds (between 10 and 1209600) after which Pix payment will expire. Defaults to 86400 seconds.
2973
1910
  attr_accessor :expires_after_seconds
2974
1911
  # The timestamp at which the Pix expires (between 10 and 1209600 seconds in the future). Defaults to 1 day in the future.
2975
1912
  attr_accessor :expires_at
2976
- # Additional fields for mandate creation. Only applicable when `setup_future_usage=off_session`.
2977
- attr_accessor :mandate_options
2978
1913
  # Indicates that you intend to make future payments with this PaymentIntent's payment method.
2979
1914
  #
2980
1915
  # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.
@@ -2990,13 +1925,11 @@ module Stripe
2990
1925
  amount_includes_iof: nil,
2991
1926
  expires_after_seconds: nil,
2992
1927
  expires_at: nil,
2993
- mandate_options: nil,
2994
1928
  setup_future_usage: nil
2995
1929
  )
2996
1930
  @amount_includes_iof = amount_includes_iof
2997
1931
  @expires_after_seconds = expires_after_seconds
2998
1932
  @expires_at = expires_at
2999
- @mandate_options = mandate_options
3000
1933
  @setup_future_usage = setup_future_usage
3001
1934
  end
3002
1935
  end
@@ -3018,25 +1951,6 @@ module Stripe
3018
1951
  end
3019
1952
  end
3020
1953
 
3021
- class Qris < ::Stripe::RequestParams
3022
- # Indicates that you intend to make future payments with this PaymentIntent's payment method.
3023
- #
3024
- # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.
3025
- #
3026
- # If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.
3027
- #
3028
- # When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).
3029
- #
3030
- # If you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`.
3031
- attr_accessor :setup_future_usage
3032
-
3033
- def initialize(setup_future_usage: nil)
3034
- @setup_future_usage = setup_future_usage
3035
- end
3036
- end
3037
-
3038
- class Rechnung < ::Stripe::RequestParams; end
3039
-
3040
1954
  class RevolutPay < ::Stripe::RequestParams
3041
1955
  # Controls when the funds are captured from the customer's account.
3042
1956
  #
@@ -3116,23 +2030,6 @@ module Stripe
3116
2030
  end
3117
2031
  end
3118
2032
 
3119
- class Shopeepay < ::Stripe::RequestParams
3120
- # Indicates that you intend to make future payments with this PaymentIntent's payment method.
3121
- #
3122
- # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.
3123
- #
3124
- # If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.
3125
- #
3126
- # When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).
3127
- #
3128
- # If you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`.
3129
- attr_accessor :setup_future_usage
3130
-
3131
- def initialize(setup_future_usage: nil)
3132
- @setup_future_usage = setup_future_usage
3133
- end
3134
- end
3135
-
3136
2033
  class Sofort < ::Stripe::RequestParams
3137
2034
  # Language shown to the payer on redirect.
3138
2035
  attr_accessor :preferred_language
@@ -3153,23 +2050,6 @@ module Stripe
3153
2050
  end
3154
2051
  end
3155
2052
 
3156
- class StripeBalance < ::Stripe::RequestParams
3157
- # Indicates that you intend to make future payments with this PaymentIntent's payment method.
3158
- #
3159
- # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.
3160
- #
3161
- # If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.
3162
- #
3163
- # When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).
3164
- #
3165
- # If you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`.
3166
- attr_accessor :setup_future_usage
3167
-
3168
- def initialize(setup_future_usage: nil)
3169
- @setup_future_usage = setup_future_usage
3170
- end
3171
- end
3172
-
3173
2053
  class Swish < ::Stripe::RequestParams
3174
2054
  # A reference for this payment to be displayed in the Swish app.
3175
2055
  attr_accessor :reference
@@ -3212,27 +2092,13 @@ module Stripe
3212
2092
  class Filters < ::Stripe::RequestParams
3213
2093
  # The account subcategories to use to filter for selectable accounts. Valid subcategories are `checking` and `savings`.
3214
2094
  attr_accessor :account_subcategories
3215
- # ID of the institution to use to filter for selectable accounts.
3216
- attr_accessor :institution
3217
2095
 
3218
- def initialize(account_subcategories: nil, institution: nil)
2096
+ def initialize(account_subcategories: nil)
3219
2097
  @account_subcategories = account_subcategories
3220
- @institution = institution
3221
- end
3222
- end
3223
-
3224
- class ManualEntry < ::Stripe::RequestParams
3225
- # Settings for configuring manual entry of account details.
3226
- attr_accessor :mode
3227
-
3228
- def initialize(mode: nil)
3229
- @mode = mode
3230
2098
  end
3231
2099
  end
3232
2100
  # Provide filters for the linked accounts that the customer can select for the payment method.
3233
2101
  attr_accessor :filters
3234
- # Customize manual entry behavior
3235
- attr_accessor :manual_entry
3236
2102
  # The list of permissions to request. If this parameter is passed, the `payment_method` permission must be included. Valid permissions include: `balances`, `ownership`, `payment_method`, and `transactions`.
3237
2103
  attr_accessor :permissions
3238
2104
  # List of data features that you would like to retrieve upon account creation.
@@ -3240,15 +2106,8 @@ module Stripe
3240
2106
  # For webview integrations only. Upon completing OAuth login in the native browser, the user will be redirected to this URL to return to your app.
3241
2107
  attr_accessor :return_url
3242
2108
 
3243
- def initialize(
3244
- filters: nil,
3245
- manual_entry: nil,
3246
- permissions: nil,
3247
- prefetch: nil,
3248
- return_url: nil
3249
- )
2109
+ def initialize(filters: nil, permissions: nil, prefetch: nil, return_url: nil)
3250
2110
  @filters = filters
3251
- @manual_entry = manual_entry
3252
2111
  @permissions = permissions
3253
2112
  @prefetch = prefetch
3254
2113
  @return_url = return_url
@@ -3393,12 +2252,8 @@ module Stripe
3393
2252
  attr_accessor :fpx
3394
2253
  # If this is a `giropay` PaymentMethod, this sub-hash contains details about the Giropay payment method options.
3395
2254
  attr_accessor :giropay
3396
- # If this is a `gopay` PaymentMethod, this sub-hash contains details about the Gopay payment method options.
3397
- attr_accessor :gopay
3398
2255
  # If this is a `grabpay` PaymentMethod, this sub-hash contains details about the Grabpay payment method options.
3399
2256
  attr_accessor :grabpay
3400
- # If this is a `id_bank_transfer` PaymentMethod, this sub-hash contains details about the Indonesia Bank Transfer payment method options.
3401
- attr_accessor :id_bank_transfer
3402
2257
  # If this is a `ideal` PaymentMethod, this sub-hash contains details about the Ideal payment method options.
3403
2258
  attr_accessor :ideal
3404
2259
  # If this is a `interac_present` PaymentMethod, this sub-hash contains details about the Card Present payment method options.
@@ -3435,18 +2290,10 @@ module Stripe
3435
2290
  attr_accessor :paynow
3436
2291
  # If this is a `paypal` PaymentMethod, this sub-hash contains details about the PayPal payment method options.
3437
2292
  attr_accessor :paypal
3438
- # If this is a `paypay` PaymentMethod, this sub-hash contains details about the PayPay payment method options.
3439
- attr_accessor :paypay
3440
- # If this is a `payto` PaymentMethod, this sub-hash contains details about the PayTo payment method options.
3441
- attr_accessor :payto
3442
2293
  # If this is a `pix` PaymentMethod, this sub-hash contains details about the Pix payment method options.
3443
2294
  attr_accessor :pix
3444
2295
  # If this is a `promptpay` PaymentMethod, this sub-hash contains details about the PromptPay payment method options.
3445
2296
  attr_accessor :promptpay
3446
- # If this is a `qris` PaymentMethod, this sub-hash contains details about the QRIS payment method options.
3447
- attr_accessor :qris
3448
- # If this is a `rechnung` PaymentMethod, this sub-hash contains details about the Rechnung payment method options.
3449
- attr_accessor :rechnung
3450
2297
  # If this is a `revolut_pay` PaymentMethod, this sub-hash contains details about the Revolut Pay payment method options.
3451
2298
  attr_accessor :revolut_pay
3452
2299
  # If this is a `samsung_pay` PaymentMethod, this sub-hash contains details about the Samsung Pay payment method options.
@@ -3455,12 +2302,8 @@ module Stripe
3455
2302
  attr_accessor :satispay
3456
2303
  # If this is a `sepa_debit` PaymentIntent, this sub-hash contains details about the SEPA Debit payment method options.
3457
2304
  attr_accessor :sepa_debit
3458
- # If this is a `shopeepay` PaymentMethod, this sub-hash contains details about the ShopeePay payment method options.
3459
- attr_accessor :shopeepay
3460
2305
  # If this is a `sofort` PaymentMethod, this sub-hash contains details about the SOFORT payment method options.
3461
2306
  attr_accessor :sofort
3462
- # If this is a `stripe_balance` PaymentMethod, this sub-hash contains details about the Stripe Balance payment method options.
3463
- attr_accessor :stripe_balance
3464
2307
  # If this is a `Swish` PaymentMethod, this sub-hash contains details about the Swish payment method options.
3465
2308
  attr_accessor :swish
3466
2309
  # If this is a `twint` PaymentMethod, this sub-hash contains details about the TWINT payment method options.
@@ -3493,9 +2336,7 @@ module Stripe
3493
2336
  eps: nil,
3494
2337
  fpx: nil,
3495
2338
  giropay: nil,
3496
- gopay: nil,
3497
2339
  grabpay: nil,
3498
- id_bank_transfer: nil,
3499
2340
  ideal: nil,
3500
2341
  interac_present: nil,
3501
2342
  kakao_pay: nil,
@@ -3514,19 +2355,13 @@ module Stripe
3514
2355
  payco: nil,
3515
2356
  paynow: nil,
3516
2357
  paypal: nil,
3517
- paypay: nil,
3518
- payto: nil,
3519
2358
  pix: nil,
3520
2359
  promptpay: nil,
3521
- qris: nil,
3522
- rechnung: nil,
3523
2360
  revolut_pay: nil,
3524
2361
  samsung_pay: nil,
3525
2362
  satispay: nil,
3526
2363
  sepa_debit: nil,
3527
- shopeepay: nil,
3528
2364
  sofort: nil,
3529
- stripe_balance: nil,
3530
2365
  swish: nil,
3531
2366
  twint: nil,
3532
2367
  us_bank_account: nil,
@@ -3553,9 +2388,7 @@ module Stripe
3553
2388
  @eps = eps
3554
2389
  @fpx = fpx
3555
2390
  @giropay = giropay
3556
- @gopay = gopay
3557
2391
  @grabpay = grabpay
3558
- @id_bank_transfer = id_bank_transfer
3559
2392
  @ideal = ideal
3560
2393
  @interac_present = interac_present
3561
2394
  @kakao_pay = kakao_pay
@@ -3574,19 +2407,13 @@ module Stripe
3574
2407
  @payco = payco
3575
2408
  @paynow = paynow
3576
2409
  @paypal = paypal
3577
- @paypay = paypay
3578
- @payto = payto
3579
2410
  @pix = pix
3580
2411
  @promptpay = promptpay
3581
- @qris = qris
3582
- @rechnung = rechnung
3583
2412
  @revolut_pay = revolut_pay
3584
2413
  @samsung_pay = samsung_pay
3585
2414
  @satispay = satispay
3586
2415
  @sepa_debit = sepa_debit
3587
- @shopeepay = shopeepay
3588
2416
  @sofort = sofort
3589
- @stripe_balance = stripe_balance
3590
2417
  @swish = swish
3591
2418
  @twint = twint
3592
2419
  @us_bank_account = us_bank_account
@@ -3656,8 +2483,6 @@ module Stripe
3656
2483
  end
3657
2484
  # Provides industry-specific information about the amount.
3658
2485
  attr_accessor :amount_details
3659
- # The amount of the application fee (if any) that will be requested to be applied to the payment and transferred to the application owner's Stripe account. The amount of the application fee collected will be capped at the total amount captured. For more information, see the PaymentIntents [use case for connected accounts](https://stripe.com/docs/payments/connected-accounts).
3660
- attr_accessor :application_fee_amount
3661
2486
  # Controls when the funds will be captured from the customer's account.
3662
2487
  attr_accessor :capture_method
3663
2488
  # ID of the ConfirmationToken used to confirm this PaymentIntent.
@@ -3670,10 +2495,6 @@ module Stripe
3670
2495
  attr_accessor :excluded_payment_method_types
3671
2496
  # Specifies which fields in the response should be expanded.
3672
2497
  attr_accessor :expand
3673
- # The FX rate in the quote is validated and used to convert the presentment amount to the settlement amount.
3674
- attr_accessor :fx_quote
3675
- # Automations to be run during the PaymentIntent lifecycle
3676
- attr_accessor :hooks
3677
2498
  # ID of the mandate that's used for this payment.
3678
2499
  attr_accessor :mandate
3679
2500
  # Attribute for param field mandate_data
@@ -3718,14 +2539,11 @@ module Stripe
3718
2539
 
3719
2540
  def initialize(
3720
2541
  amount_details: nil,
3721
- application_fee_amount: nil,
3722
2542
  capture_method: nil,
3723
2543
  confirmation_token: nil,
3724
2544
  error_on_requires_action: nil,
3725
2545
  excluded_payment_method_types: nil,
3726
2546
  expand: nil,
3727
- fx_quote: nil,
3728
- hooks: nil,
3729
2547
  mandate: nil,
3730
2548
  mandate_data: nil,
3731
2549
  off_session: nil,
@@ -3742,14 +2560,11 @@ module Stripe
3742
2560
  use_stripe_sdk: nil
3743
2561
  )
3744
2562
  @amount_details = amount_details
3745
- @application_fee_amount = application_fee_amount
3746
2563
  @capture_method = capture_method
3747
2564
  @confirmation_token = confirmation_token
3748
2565
  @error_on_requires_action = error_on_requires_action
3749
2566
  @excluded_payment_method_types = excluded_payment_method_types
3750
2567
  @expand = expand
3751
- @fx_quote = fx_quote
3752
- @hooks = hooks
3753
2568
  @mandate = mandate
3754
2569
  @mandate_data = mandate_data
3755
2570
  @off_session = off_session