stripe 15.6.0.pre.beta.1 → 16.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1097) hide show
  1. checksums.yaml +4 -4
  2. data/lib/stripe/api_requestor.rb +5 -34
  3. data/lib/stripe/api_resource.rb +3 -0
  4. data/lib/stripe/api_version.rb +2 -1
  5. data/lib/stripe/errors.rb +0 -60
  6. data/lib/stripe/event_types.rb +20 -108
  7. data/lib/stripe/events/unknown_event_notification.rb +19 -0
  8. data/lib/stripe/events/v1_billing_meter_error_report_triggered_event.rb +115 -15
  9. data/lib/stripe/events/v1_billing_meter_no_meter_found_event.rb +93 -6
  10. data/lib/stripe/events/v2_core_event_destination_ping_event.rb +35 -12
  11. data/lib/stripe/object_types.rb +2 -54
  12. data/lib/stripe/params/account_capability_list_params.rb +13 -0
  13. data/lib/stripe/params/account_capability_retrieve_params.rb +13 -0
  14. data/lib/stripe/params/account_capability_update_params.rb +18 -0
  15. data/lib/stripe/params/account_create_params.rb +2083 -0
  16. data/lib/stripe/params/account_delete_params.rb +6 -0
  17. data/lib/stripe/params/account_external_account_create_params.rb +134 -0
  18. data/lib/stripe/params/account_external_account_delete_params.rb +6 -0
  19. data/lib/stripe/params/account_external_account_list_params.rb +25 -0
  20. data/lib/stripe/params/account_external_account_retrieve_params.rb +13 -0
  21. data/lib/stripe/params/account_external_account_update_params.rb +91 -0
  22. data/lib/stripe/params/account_link_create_params.rb +52 -0
  23. data/lib/stripe/params/account_list_params.rb +42 -0
  24. data/lib/stripe/params/account_login_link_create_params.rb +13 -0
  25. data/lib/stripe/params/account_person_create_params.rb +435 -0
  26. data/lib/stripe/params/account_person_delete_params.rb +6 -0
  27. data/lib/stripe/params/account_person_list_params.rb +61 -0
  28. data/lib/stripe/params/account_person_retrieve_params.rb +13 -0
  29. data/lib/stripe/params/account_person_update_params.rb +435 -0
  30. data/lib/stripe/params/account_persons_params.rb +61 -0
  31. data/lib/stripe/params/account_reject_params.rb +16 -0
  32. data/lib/stripe/params/account_retrieve_current_params.rb +13 -0
  33. data/lib/stripe/params/account_retrieve_params.rb +13 -0
  34. data/lib/stripe/params/account_session_create_params.rb +598 -0
  35. data/lib/stripe/params/account_update_params.rb +2030 -0
  36. data/lib/stripe/params/apple_pay_domain_create_params.rb +16 -0
  37. data/lib/stripe/params/apple_pay_domain_delete_params.rb +6 -0
  38. data/lib/stripe/params/apple_pay_domain_list_params.rb +31 -0
  39. data/lib/stripe/params/apple_pay_domain_retrieve_params.rb +13 -0
  40. data/lib/stripe/params/application_fee_list_params.rb +52 -0
  41. data/lib/stripe/params/application_fee_refund_create_params.rb +19 -0
  42. data/lib/stripe/params/application_fee_refund_list_params.rb +22 -0
  43. data/lib/stripe/params/application_fee_refund_retrieve_params.rb +13 -0
  44. data/lib/stripe/params/application_fee_refund_update_params.rb +16 -0
  45. data/lib/stripe/params/application_fee_retrieve_params.rb +13 -0
  46. data/lib/stripe/params/apps/secret_create_params.rb +38 -0
  47. data/lib/stripe/params/apps/secret_delete_where_params.rb +32 -0
  48. data/lib/stripe/params/apps/secret_find_params.rb +32 -0
  49. data/lib/stripe/{services/quote_line_service.rb → params/apps/secret_list_params.rb} +17 -14
  50. data/lib/stripe/params/balance_retrieve_params.rb +13 -0
  51. data/lib/stripe/params/balance_settings_retrieve_params.rb +13 -0
  52. data/lib/stripe/params/balance_settings_update_params.rb +67 -0
  53. data/lib/stripe/params/balance_transaction_list_params.rb +64 -0
  54. data/lib/stripe/params/balance_transaction_retrieve_params.rb +13 -0
  55. data/lib/stripe/params/billing/alert_activate_params.rb +15 -0
  56. data/lib/stripe/params/billing/alert_archive_params.rb +15 -0
  57. data/lib/stripe/params/billing/alert_create_params.rb +52 -0
  58. data/lib/stripe/params/billing/alert_deactivate_params.rb +15 -0
  59. data/lib/stripe/params/billing/alert_list_params.rb +37 -0
  60. data/lib/stripe/params/billing/alert_retrieve_params.rb +15 -0
  61. data/lib/stripe/params/billing/credit_balance_summary_retrieve_params.rb +54 -0
  62. data/lib/stripe/params/billing/credit_balance_transaction_list_params.rb +37 -0
  63. data/lib/stripe/params/billing/credit_balance_transaction_retrieve_params.rb +15 -0
  64. data/lib/stripe/params/billing/credit_grant_create_params.rb +103 -0
  65. data/lib/stripe/params/billing/credit_grant_expire_params.rb +15 -0
  66. data/lib/stripe/params/billing/credit_grant_list_params.rb +33 -0
  67. data/lib/stripe/params/billing/credit_grant_retrieve_params.rb +15 -0
  68. data/lib/stripe/params/billing/credit_grant_update_params.rb +21 -0
  69. data/lib/stripe/params/billing/credit_grant_void_grant_params.rb +15 -0
  70. data/lib/stripe/params/billing/meter_create_params.rb +70 -0
  71. data/lib/stripe/params/billing/meter_deactivate_params.rb +15 -0
  72. data/lib/stripe/params/billing/meter_event_adjustment_create_params.rb +32 -0
  73. data/lib/stripe/params/billing/meter_event_create_params.rb +27 -0
  74. data/lib/stripe/params/billing/meter_event_summary_list_params.rb +45 -0
  75. data/lib/stripe/params/billing/meter_list_params.rb +27 -0
  76. data/lib/stripe/params/billing/meter_reactivate_params.rb +15 -0
  77. data/lib/stripe/params/billing/meter_retrieve_params.rb +15 -0
  78. data/lib/stripe/params/billing/meter_update_params.rb +18 -0
  79. data/lib/stripe/params/billing_portal/configuration_create_params.rb +225 -0
  80. data/lib/stripe/params/billing_portal/configuration_list_params.rb +37 -0
  81. data/lib/stripe/params/billing_portal/configuration_retrieve_params.rb +15 -0
  82. data/lib/stripe/params/billing_portal/configuration_update_params.rb +231 -0
  83. data/lib/stripe/params/billing_portal/session_create_params.rb +179 -0
  84. data/lib/stripe/params/charge_capture_params.rb +57 -0
  85. data/lib/stripe/params/charge_create_params.rb +172 -0
  86. data/lib/stripe/params/charge_list_params.rb +60 -0
  87. data/lib/stripe/params/charge_retrieve_params.rb +13 -0
  88. data/lib/stripe/params/charge_search_params.rb +22 -0
  89. data/lib/stripe/params/charge_update_params.rb +102 -0
  90. data/lib/stripe/params/checkout/session_create_params.rb +2445 -0
  91. data/lib/stripe/params/checkout/session_expire_params.rb +15 -0
  92. data/lib/stripe/{services/quote_preview_subscription_schedule_service.rb → params/checkout/session_line_item_list_params.rb} +2 -13
  93. data/lib/stripe/{services/order_line_item_service.rb → params/checkout/session_list_line_items_params.rb} +2 -13
  94. data/lib/stripe/params/checkout/session_list_params.rb +83 -0
  95. data/lib/stripe/params/checkout/session_retrieve_params.rb +15 -0
  96. data/lib/stripe/params/checkout/session_update_params.rb +179 -0
  97. data/lib/stripe/params/climate/order_cancel_params.rb +15 -0
  98. data/lib/stripe/params/climate/order_create_params.rb +49 -0
  99. data/lib/stripe/params/climate/order_list_params.rb +24 -0
  100. data/lib/stripe/params/climate/order_retrieve_params.rb +15 -0
  101. data/lib/stripe/params/climate/order_update_params.rb +29 -0
  102. data/lib/stripe/params/climate/product_list_params.rb +24 -0
  103. data/lib/stripe/params/climate/product_retrieve_params.rb +15 -0
  104. data/lib/stripe/params/climate/supplier_list_params.rb +24 -0
  105. data/lib/stripe/params/climate/supplier_retrieve_params.rb +15 -0
  106. data/lib/stripe/params/confirmation_token_create_params.rb +650 -0
  107. data/lib/stripe/params/confirmation_token_retrieve_params.rb +13 -0
  108. data/lib/stripe/params/country_spec_list_params.rb +22 -0
  109. data/lib/stripe/params/country_spec_retrieve_params.rb +13 -0
  110. data/lib/stripe/params/coupon_create_params.rb +80 -0
  111. data/lib/stripe/params/coupon_delete_params.rb +6 -0
  112. data/lib/stripe/params/coupon_list_params.rb +42 -0
  113. data/lib/stripe/params/coupon_retrieve_params.rb +13 -0
  114. data/lib/stripe/params/coupon_update_params.rb +30 -0
  115. data/lib/stripe/params/credit_note_create_params.rb +144 -0
  116. data/lib/stripe/params/credit_note_line_item_list_params.rb +22 -0
  117. data/lib/stripe/params/credit_note_list_params.rb +56 -0
  118. data/lib/stripe/params/credit_note_list_preview_line_items_params.rb +156 -0
  119. data/lib/stripe/params/credit_note_preview_lines_list_params.rb +156 -0
  120. data/lib/stripe/params/credit_note_preview_params.rb +144 -0
  121. data/lib/stripe/params/credit_note_retrieve_params.rb +13 -0
  122. data/lib/stripe/params/credit_note_update_params.rb +19 -0
  123. data/lib/stripe/params/credit_note_void_credit_note_params.rb +13 -0
  124. data/lib/stripe/params/customer_balance_transaction_create_params.rb +25 -0
  125. data/lib/stripe/params/customer_balance_transaction_list_params.rb +22 -0
  126. data/lib/stripe/params/customer_balance_transaction_retrieve_params.rb +13 -0
  127. data/lib/stripe/params/customer_balance_transaction_update_params.rb +19 -0
  128. data/lib/stripe/params/customer_cash_balance_retrieve_params.rb +13 -0
  129. data/lib/stripe/params/customer_cash_balance_transaction_list_params.rb +22 -0
  130. data/lib/stripe/params/customer_cash_balance_transaction_retrieve_params.rb +13 -0
  131. data/lib/stripe/params/customer_cash_balance_update_params.rb +24 -0
  132. data/lib/stripe/params/customer_create_funding_instructions_params.rb +46 -0
  133. data/lib/stripe/params/customer_create_params.rb +259 -0
  134. data/lib/stripe/params/customer_delete_discount_params.rb +6 -0
  135. data/lib/stripe/params/customer_delete_params.rb +6 -0
  136. data/lib/stripe/params/customer_fund_cash_balance_params.rb +22 -0
  137. data/lib/stripe/params/customer_funding_instructions_create_params.rb +46 -0
  138. data/lib/stripe/params/customer_list_params.rb +56 -0
  139. data/lib/stripe/params/customer_list_payment_methods_params.rb +35 -0
  140. data/lib/stripe/params/customer_payment_method_list_params.rb +35 -0
  141. data/lib/stripe/params/customer_payment_method_retrieve_params.rb +13 -0
  142. data/lib/stripe/params/customer_payment_source_create_params.rb +22 -0
  143. data/lib/stripe/params/customer_payment_source_delete_params.rb +13 -0
  144. data/lib/stripe/params/customer_payment_source_list_params.rb +25 -0
  145. data/lib/stripe/params/customer_payment_source_retrieve_params.rb +13 -0
  146. data/lib/stripe/params/customer_payment_source_update_params.rb +114 -0
  147. data/lib/stripe/params/customer_payment_source_verify_params.rb +16 -0
  148. data/lib/stripe/params/customer_retrieve_params.rb +13 -0
  149. data/lib/stripe/params/customer_retrieve_payment_method_params.rb +13 -0
  150. data/lib/stripe/params/customer_search_params.rb +22 -0
  151. data/lib/stripe/params/customer_session_create_params.rb +100 -0
  152. data/lib/stripe/params/customer_tax_id_create_params.rb +19 -0
  153. data/lib/stripe/params/customer_tax_id_delete_params.rb +6 -0
  154. data/lib/stripe/params/customer_tax_id_list_params.rb +22 -0
  155. data/lib/stripe/params/customer_tax_id_retrieve_params.rb +13 -0
  156. data/lib/stripe/params/customer_update_params.rb +243 -0
  157. data/lib/stripe/params/dispute_close_params.rb +13 -0
  158. data/lib/stripe/params/dispute_list_params.rb +56 -0
  159. data/lib/stripe/params/dispute_retrieve_params.rb +13 -0
  160. data/lib/stripe/params/dispute_update_params.rb +308 -0
  161. data/lib/stripe/params/entitlements/active_entitlement_list_params.rb +33 -0
  162. data/lib/stripe/params/entitlements/active_entitlement_retrieve_params.rb +15 -0
  163. data/lib/stripe/params/entitlements/feature_create_params.rb +24 -0
  164. data/lib/stripe/params/entitlements/feature_list_params.rb +37 -0
  165. data/lib/stripe/params/entitlements/feature_retrieve_params.rb +15 -0
  166. data/lib/stripe/params/entitlements/feature_update_params.rb +24 -0
  167. data/lib/stripe/params/ephemeral_key_create_params.rb +31 -0
  168. data/lib/stripe/params/ephemeral_key_delete_params.rb +13 -0
  169. data/lib/stripe/params/event_list_params.rb +60 -0
  170. data/lib/stripe/params/event_retrieve_params.rb +13 -0
  171. data/lib/stripe/params/exchange_rate_list_params.rb +22 -0
  172. data/lib/stripe/params/exchange_rate_retrieve_params.rb +13 -0
  173. data/lib/stripe/params/file_create_params.rb +36 -0
  174. data/lib/stripe/params/file_link_create_params.rb +22 -0
  175. data/lib/stripe/params/file_link_list_params.rb +56 -0
  176. data/lib/stripe/params/file_link_retrieve_params.rb +13 -0
  177. data/lib/stripe/params/file_link_update_params.rb +19 -0
  178. data/lib/stripe/params/file_list_params.rb +52 -0
  179. data/lib/stripe/params/file_retrieve_params.rb +13 -0
  180. data/lib/stripe/params/financial_connections/account_disconnect_params.rb +15 -0
  181. data/lib/stripe/params/financial_connections/account_list_owners_params.rb +33 -0
  182. data/lib/stripe/params/financial_connections/account_list_params.rb +48 -0
  183. data/lib/stripe/params/financial_connections/account_owner_list_params.rb +33 -0
  184. data/lib/stripe/params/financial_connections/account_refresh_account_params.rb +18 -0
  185. data/lib/stripe/params/financial_connections/account_refresh_params.rb +18 -0
  186. data/lib/stripe/params/financial_connections/account_retrieve_params.rb +15 -0
  187. data/lib/stripe/params/financial_connections/account_subscribe_params.rb +18 -0
  188. data/lib/stripe/params/financial_connections/account_unsubscribe_params.rb +18 -0
  189. data/lib/stripe/params/financial_connections/session_create_params.rb +65 -0
  190. data/lib/stripe/params/financial_connections/session_retrieve_params.rb +15 -0
  191. data/lib/stripe/params/financial_connections/transaction_list_params.rb +67 -0
  192. data/lib/stripe/params/financial_connections/transaction_retrieve_params.rb +15 -0
  193. data/lib/stripe/params/forwarding/request_create_params.rb +59 -0
  194. data/lib/stripe/params/forwarding/request_list_params.rb +44 -0
  195. data/lib/stripe/params/forwarding/request_retrieve_params.rb +15 -0
  196. data/lib/stripe/params/identity/verification_report_list_params.rb +62 -0
  197. data/lib/stripe/params/identity/verification_report_retrieve_params.rb +15 -0
  198. data/lib/stripe/params/identity/verification_session_cancel_params.rb +15 -0
  199. data/lib/stripe/params/identity/verification_session_create_params.rb +107 -0
  200. data/lib/stripe/params/identity/verification_session_list_params.rb +62 -0
  201. data/lib/stripe/params/identity/verification_session_redact_params.rb +15 -0
  202. data/lib/stripe/params/identity/verification_session_retrieve_params.rb +15 -0
  203. data/lib/stripe/params/identity/verification_session_update_params.rb +69 -0
  204. data/lib/stripe/params/invoice_add_lines_params.rb +231 -0
  205. data/lib/stripe/params/invoice_attach_payment_params.rb +16 -0
  206. data/lib/stripe/params/invoice_create_params.rb +589 -0
  207. data/lib/stripe/params/invoice_create_preview_params.rb +993 -0
  208. data/lib/stripe/params/invoice_delete_params.rb +6 -0
  209. data/lib/stripe/params/invoice_finalize_invoice_params.rb +16 -0
  210. data/lib/stripe/params/invoice_item_create_params.rb +145 -0
  211. data/lib/stripe/params/invoice_item_delete_params.rb +6 -0
  212. data/lib/stripe/params/invoice_item_list_params.rb +60 -0
  213. data/lib/stripe/params/invoice_item_retrieve_params.rb +13 -0
  214. data/lib/stripe/params/invoice_item_update_params.rb +129 -0
  215. data/lib/stripe/params/invoice_line_item_list_params.rb +22 -0
  216. data/lib/stripe/params/invoice_line_item_update_params.rb +217 -0
  217. data/lib/stripe/params/invoice_list_params.rb +86 -0
  218. data/lib/stripe/params/invoice_mark_uncollectible_params.rb +13 -0
  219. data/lib/stripe/params/invoice_pay_params.rb +41 -0
  220. data/lib/stripe/params/invoice_payment_list_params.rb +50 -0
  221. data/lib/stripe/params/invoice_payment_retrieve_params.rb +13 -0
  222. data/lib/stripe/params/invoice_remove_lines_params.rb +30 -0
  223. data/lib/stripe/params/invoice_rendering_template_archive_params.rb +13 -0
  224. data/lib/stripe/params/invoice_rendering_template_list_params.rb +25 -0
  225. data/lib/stripe/params/invoice_rendering_template_retrieve_params.rb +16 -0
  226. data/lib/stripe/params/invoice_rendering_template_unarchive_params.rb +13 -0
  227. data/lib/stripe/params/invoice_retrieve_params.rb +13 -0
  228. data/lib/stripe/params/invoice_search_params.rb +22 -0
  229. data/lib/stripe/params/invoice_send_invoice_params.rb +13 -0
  230. data/lib/stripe/params/invoice_update_lines_params.rb +231 -0
  231. data/lib/stripe/params/invoice_update_params.rb +557 -0
  232. data/lib/stripe/params/invoice_void_invoice_params.rb +13 -0
  233. data/lib/stripe/params/issuing/authorization_approve_params.rb +21 -0
  234. data/lib/stripe/params/issuing/authorization_capture_params.rb +265 -0
  235. data/lib/stripe/params/issuing/authorization_create_params.rb +357 -0
  236. data/lib/stripe/params/issuing/authorization_decline_params.rb +18 -0
  237. data/lib/stripe/params/issuing/authorization_expire_params.rb +15 -0
  238. data/lib/stripe/params/issuing/authorization_finalize_amount_params.rb +143 -0
  239. data/lib/stripe/params/issuing/authorization_increment_params.rb +21 -0
  240. data/lib/stripe/params/issuing/authorization_list_params.rb +62 -0
  241. data/lib/stripe/params/issuing/authorization_respond_params.rb +18 -0
  242. data/lib/stripe/params/issuing/authorization_retrieve_params.rb +15 -0
  243. data/lib/stripe/params/issuing/authorization_reverse_params.rb +18 -0
  244. data/lib/stripe/params/issuing/authorization_update_params.rb +18 -0
  245. data/lib/stripe/params/issuing/card_create_params.rb +213 -0
  246. data/lib/stripe/params/issuing/card_deliver_card_params.rb +15 -0
  247. data/lib/stripe/params/issuing/card_fail_card_params.rb +15 -0
  248. data/lib/stripe/params/issuing/card_list_params.rb +78 -0
  249. data/lib/stripe/params/issuing/card_retrieve_params.rb +15 -0
  250. data/lib/stripe/params/issuing/card_return_card_params.rb +15 -0
  251. data/lib/stripe/params/issuing/card_ship_card_params.rb +15 -0
  252. data/lib/stripe/params/issuing/card_submit_card_params.rb +15 -0
  253. data/lib/stripe/params/issuing/card_update_params.rb +181 -0
  254. data/lib/stripe/params/issuing/cardholder_create_params.rb +238 -0
  255. data/lib/stripe/params/issuing/cardholder_list_params.rb +66 -0
  256. data/lib/stripe/params/issuing/cardholder_retrieve_params.rb +15 -0
  257. data/lib/stripe/params/issuing/cardholder_update_params.rb +230 -0
  258. data/lib/stripe/params/issuing/dispute_create_params.rb +297 -0
  259. data/lib/stripe/params/issuing/dispute_list_params.rb +58 -0
  260. data/lib/stripe/params/issuing/dispute_retrieve_params.rb +15 -0
  261. data/lib/stripe/params/issuing/dispute_submit_params.rb +18 -0
  262. data/lib/stripe/params/issuing/dispute_update_params.rb +275 -0
  263. data/lib/stripe/params/issuing/personalization_design_activate_params.rb +15 -0
  264. data/lib/stripe/params/issuing/personalization_design_create_params.rb +75 -0
  265. data/lib/stripe/params/issuing/personalization_design_deactivate_params.rb +15 -0
  266. data/lib/stripe/params/issuing/personalization_design_list_params.rb +52 -0
  267. data/lib/stripe/params/issuing/personalization_design_reject_params.rb +29 -0
  268. data/lib/stripe/params/issuing/personalization_design_retrieve_params.rb +15 -0
  269. data/lib/stripe/params/issuing/personalization_design_update_params.rb +75 -0
  270. data/lib/stripe/params/issuing/physical_bundle_list_params.rb +37 -0
  271. data/lib/stripe/params/issuing/physical_bundle_retrieve_params.rb +15 -0
  272. data/lib/stripe/params/issuing/token_list_params.rb +58 -0
  273. data/lib/stripe/params/issuing/token_retrieve_params.rb +15 -0
  274. data/lib/stripe/params/issuing/token_update_params.rb +18 -0
  275. data/lib/stripe/params/issuing/transaction_create_force_capture_params.rb +316 -0
  276. data/lib/stripe/params/issuing/transaction_create_unlinked_refund_params.rb +316 -0
  277. data/lib/stripe/params/issuing/transaction_list_params.rb +62 -0
  278. data/lib/stripe/params/issuing/transaction_refund_params.rb +18 -0
  279. data/lib/stripe/params/issuing/transaction_retrieve_params.rb +15 -0
  280. data/lib/stripe/params/issuing/transaction_update_params.rb +18 -0
  281. data/lib/stripe/params/mandate_retrieve_params.rb +13 -0
  282. data/lib/stripe/params/payment_intent_apply_customer_balance_params.rb +23 -0
  283. data/lib/stripe/params/payment_intent_cancel_params.rb +16 -0
  284. data/lib/stripe/params/payment_intent_capture_params.rb +54 -0
  285. data/lib/stripe/params/payment_intent_confirm_params.rb +2379 -0
  286. data/lib/stripe/params/payment_intent_create_params.rb +2480 -0
  287. data/lib/stripe/params/payment_intent_increment_authorization_params.rb +48 -0
  288. data/lib/stripe/params/payment_intent_list_params.rb +52 -0
  289. data/lib/stripe/params/payment_intent_retrieve_params.rb +16 -0
  290. data/lib/stripe/params/payment_intent_search_params.rb +22 -0
  291. data/lib/stripe/params/payment_intent_update_params.rb +2353 -0
  292. data/lib/stripe/params/payment_intent_verify_microdeposits_params.rb +19 -0
  293. data/lib/stripe/params/payment_link_create_params.rb +776 -0
  294. data/lib/stripe/params/payment_link_line_item_list_params.rb +22 -0
  295. data/lib/stripe/params/payment_link_list_line_items_params.rb +22 -0
  296. data/lib/stripe/params/payment_link_list_params.rb +25 -0
  297. data/lib/stripe/params/payment_link_retrieve_params.rb +13 -0
  298. data/lib/stripe/params/payment_link_update_params.rb +564 -0
  299. data/lib/stripe/params/payment_method_attach_params.rb +16 -0
  300. data/lib/stripe/params/payment_method_configuration_create_params.rb +1135 -0
  301. data/lib/stripe/params/payment_method_configuration_list_params.rb +31 -0
  302. data/lib/stripe/params/payment_method_configuration_retrieve_params.rb +13 -0
  303. data/lib/stripe/params/payment_method_configuration_update_params.rb +1135 -0
  304. data/lib/stripe/params/payment_method_create_params.rb +583 -0
  305. data/lib/stripe/params/payment_method_detach_params.rb +13 -0
  306. data/lib/stripe/params/payment_method_domain_create_params.rb +19 -0
  307. data/lib/stripe/params/payment_method_domain_list_params.rb +35 -0
  308. data/lib/stripe/params/payment_method_domain_retrieve_params.rb +13 -0
  309. data/lib/stripe/params/payment_method_domain_update_params.rb +16 -0
  310. data/lib/stripe/params/payment_method_domain_validate_params.rb +13 -0
  311. data/lib/stripe/params/payment_method_list_params.rb +35 -0
  312. data/lib/stripe/params/payment_method_retrieve_params.rb +13 -0
  313. data/lib/stripe/params/payment_method_update_params.rb +120 -0
  314. data/lib/stripe/params/payout_cancel_params.rb +13 -0
  315. data/lib/stripe/params/payout_create_params.rb +51 -0
  316. data/lib/stripe/params/payout_list_params.rb +78 -0
  317. data/lib/stripe/params/payout_retrieve_params.rb +13 -0
  318. data/lib/stripe/params/payout_reverse_params.rb +16 -0
  319. data/lib/stripe/params/payout_update_params.rb +16 -0
  320. data/lib/stripe/params/plan_create_params.rb +158 -0
  321. data/lib/stripe/params/plan_delete_params.rb +6 -0
  322. data/lib/stripe/params/plan_list_params.rb +56 -0
  323. data/lib/stripe/params/plan_retrieve_params.rb +13 -0
  324. data/lib/stripe/params/plan_update_params.rb +35 -0
  325. data/lib/stripe/params/price_create_params.rb +278 -0
  326. data/lib/stripe/params/price_list_params.rb +87 -0
  327. data/lib/stripe/params/price_retrieve_params.rb +13 -0
  328. data/lib/stripe/params/price_search_params.rb +22 -0
  329. data/lib/stripe/params/price_update_params.rb +113 -0
  330. data/lib/stripe/params/product_create_params.rb +243 -0
  331. data/lib/stripe/params/product_delete_params.rb +6 -0
  332. data/lib/stripe/params/product_feature_create_params.rb +16 -0
  333. data/lib/stripe/params/product_feature_delete_params.rb +6 -0
  334. data/lib/stripe/params/product_feature_list_params.rb +22 -0
  335. data/lib/stripe/params/product_feature_retrieve_params.rb +13 -0
  336. data/lib/stripe/params/product_list_params.rb +68 -0
  337. data/lib/stripe/params/product_retrieve_params.rb +13 -0
  338. data/lib/stripe/params/product_search_params.rb +22 -0
  339. data/lib/stripe/params/product_update_params.rb +96 -0
  340. data/lib/stripe/params/promotion_code_create_params.rb +91 -0
  341. data/lib/stripe/params/promotion_code_list_params.rb +64 -0
  342. data/lib/stripe/params/promotion_code_retrieve_params.rb +13 -0
  343. data/lib/stripe/params/promotion_code_update_params.rb +38 -0
  344. data/lib/stripe/params/quote_accept_params.rb +13 -0
  345. data/lib/stripe/params/quote_cancel_params.rb +13 -0
  346. data/lib/stripe/params/quote_computed_upfront_line_items_list_params.rb +22 -0
  347. data/lib/stripe/params/quote_create_params.rb +301 -0
  348. data/lib/stripe/params/quote_finalize_quote_params.rb +16 -0
  349. data/lib/stripe/params/quote_line_item_list_params.rb +22 -0
  350. data/lib/stripe/params/quote_list_computed_upfront_line_items_params.rb +22 -0
  351. data/lib/stripe/params/quote_list_line_items_params.rb +22 -0
  352. data/lib/stripe/params/quote_list_params.rb +39 -0
  353. data/lib/stripe/params/quote_pdf_params.rb +13 -0
  354. data/lib/stripe/params/quote_retrieve_params.rb +13 -0
  355. data/lib/stripe/params/quote_update_params.rb +263 -0
  356. data/lib/stripe/params/radar/early_fraud_warning_list_params.rb +58 -0
  357. data/lib/stripe/params/radar/early_fraud_warning_retrieve_params.rb +15 -0
  358. data/lib/stripe/params/radar/value_list_create_params.rb +27 -0
  359. data/lib/stripe/params/radar/value_list_delete_params.rb +8 -0
  360. data/lib/stripe/params/radar/value_list_item_create_params.rb +21 -0
  361. data/lib/stripe/params/radar/value_list_item_delete_params.rb +8 -0
  362. data/lib/stripe/params/radar/value_list_item_list_params.rb +58 -0
  363. data/lib/stripe/params/radar/value_list_item_retrieve_params.rb +15 -0
  364. data/lib/stripe/params/radar/value_list_list_params.rb +58 -0
  365. data/lib/stripe/params/radar/value_list_retrieve_params.rb +15 -0
  366. data/lib/stripe/params/radar/value_list_update_params.rb +24 -0
  367. data/lib/stripe/params/refund_cancel_params.rb +13 -0
  368. data/lib/stripe/params/refund_create_params.rb +59 -0
  369. data/lib/stripe/params/refund_expire_params.rb +13 -0
  370. data/lib/stripe/params/refund_list_params.rb +56 -0
  371. data/lib/stripe/params/refund_retrieve_params.rb +13 -0
  372. data/lib/stripe/params/refund_update_params.rb +16 -0
  373. data/lib/stripe/params/reporting/report_run_create_params.rb +59 -0
  374. data/lib/stripe/params/reporting/report_run_list_params.rb +44 -0
  375. data/lib/stripe/params/reporting/report_run_retrieve_params.rb +15 -0
  376. data/lib/stripe/params/reporting/report_type_list_params.rb +15 -0
  377. data/lib/stripe/params/reporting/report_type_retrieve_params.rb +15 -0
  378. data/lib/stripe/params/review_approve_params.rb +13 -0
  379. data/lib/stripe/params/review_list_params.rb +42 -0
  380. data/lib/stripe/params/review_retrieve_params.rb +13 -0
  381. data/lib/stripe/params/setup_attempt_list_params.rb +55 -0
  382. data/lib/stripe/params/setup_intent_cancel_params.rb +16 -0
  383. data/lib/stripe/params/setup_intent_confirm_params.rb +1050 -0
  384. data/lib/stripe/params/setup_intent_create_params.rb +1130 -0
  385. data/lib/stripe/params/setup_intent_list_params.rb +62 -0
  386. data/lib/stripe/params/setup_intent_retrieve_params.rb +16 -0
  387. data/lib/stripe/params/setup_intent_update_params.rb +1025 -0
  388. data/lib/stripe/params/setup_intent_verify_microdeposits_params.rb +19 -0
  389. data/lib/stripe/params/shipping_rate_create_params.rb +103 -0
  390. data/lib/stripe/params/shipping_rate_list_params.rb +56 -0
  391. data/lib/stripe/params/shipping_rate_retrieve_params.rb +13 -0
  392. data/lib/stripe/params/shipping_rate_update_params.rb +44 -0
  393. data/lib/stripe/params/sigma/scheduled_query_run_list_params.rb +24 -0
  394. data/lib/stripe/params/sigma/scheduled_query_run_retrieve_params.rb +15 -0
  395. data/lib/stripe/params/source_create_params.rb +317 -0
  396. data/lib/stripe/params/source_detach_params.rb +13 -0
  397. data/lib/stripe/params/source_retrieve_params.rb +16 -0
  398. data/lib/stripe/params/source_transaction_list_params.rb +22 -0
  399. data/lib/stripe/params/source_update_params.rb +259 -0
  400. data/lib/stripe/params/source_verify_params.rb +16 -0
  401. data/lib/stripe/params/subscription_cancel_params.rb +33 -0
  402. data/lib/stripe/params/subscription_create_params.rb +704 -0
  403. data/lib/stripe/params/subscription_delete_discount_params.rb +6 -0
  404. data/lib/stripe/params/subscription_item_create_params.rb +134 -0
  405. data/lib/stripe/params/subscription_item_delete_params.rb +19 -0
  406. data/lib/stripe/params/subscription_item_list_params.rb +31 -0
  407. data/lib/stripe/params/subscription_item_retrieve_params.rb +13 -0
  408. data/lib/stripe/params/subscription_item_update_params.rb +134 -0
  409. data/lib/stripe/params/subscription_list_params.rb +129 -0
  410. data/lib/stripe/params/subscription_migrate_params.rb +35 -0
  411. data/lib/stripe/params/subscription_resume_params.rb +27 -0
  412. data/lib/stripe/params/subscription_retrieve_params.rb +13 -0
  413. data/lib/stripe/params/subscription_schedule_cancel_params.rb +19 -0
  414. data/lib/stripe/params/subscription_schedule_create_params.rb +590 -0
  415. data/lib/stripe/params/subscription_schedule_list_params.rb +122 -0
  416. data/lib/stripe/params/subscription_schedule_release_params.rb +16 -0
  417. data/lib/stripe/params/subscription_schedule_retrieve_params.rb +13 -0
  418. data/lib/stripe/params/subscription_schedule_update_params.rb +562 -0
  419. data/lib/stripe/params/subscription_search_params.rb +22 -0
  420. data/lib/stripe/params/subscription_update_params.rb +683 -0
  421. data/lib/stripe/params/tax/calculation_create_params.rb +206 -0
  422. data/lib/stripe/params/tax/calculation_line_item_list_params.rb +24 -0
  423. data/lib/stripe/{services/quote_preview_invoice_service.rb → params/tax/calculation_list_line_items_params.rb} +2 -13
  424. data/lib/stripe/params/tax/calculation_retrieve_params.rb +15 -0
  425. data/lib/stripe/params/tax/registration_create_params.rb +2018 -0
  426. data/lib/stripe/params/tax/registration_list_params.rb +27 -0
  427. data/lib/stripe/params/tax/registration_retrieve_params.rb +15 -0
  428. data/lib/stripe/params/tax/registration_update_params.rb +21 -0
  429. data/lib/stripe/params/tax/settings_retrieve_params.rb +15 -0
  430. data/lib/stripe/params/tax/settings_update_params.rb +71 -0
  431. data/lib/stripe/params/tax/transaction_create_from_calculation_params.rb +27 -0
  432. data/lib/stripe/params/tax/transaction_create_reversal_params.rb +87 -0
  433. data/lib/stripe/params/tax/transaction_line_item_list_params.rb +24 -0
  434. data/lib/stripe/{services/payment_intent_amount_details_line_item_service.rb → params/tax/transaction_list_line_items_params.rb} +2 -13
  435. data/lib/stripe/params/tax/transaction_retrieve_params.rb +15 -0
  436. data/lib/stripe/params/tax_code_list_params.rb +22 -0
  437. data/lib/stripe/params/tax_code_retrieve_params.rb +13 -0
  438. data/lib/stripe/params/tax_id_create_params.rb +36 -0
  439. data/lib/stripe/params/tax_id_delete_params.rb +6 -0
  440. data/lib/stripe/params/tax_id_list_params.rb +39 -0
  441. data/lib/stripe/params/tax_id_retrieve_params.rb +13 -0
  442. data/lib/stripe/params/tax_rate_create_params.rb +55 -0
  443. data/lib/stripe/params/tax_rate_list_params.rb +56 -0
  444. data/lib/stripe/params/tax_rate_retrieve_params.rb +13 -0
  445. data/lib/stripe/params/tax_rate_update_params.rb +47 -0
  446. data/lib/stripe/params/terminal/configuration_create_params.rb +593 -0
  447. data/lib/stripe/params/terminal/configuration_delete_params.rb +8 -0
  448. data/lib/stripe/params/terminal/configuration_list_params.rb +33 -0
  449. data/lib/stripe/params/terminal/configuration_retrieve_params.rb +15 -0
  450. data/lib/stripe/params/terminal/configuration_update_params.rb +593 -0
  451. data/lib/stripe/params/terminal/connection_token_create_params.rb +18 -0
  452. data/lib/stripe/params/terminal/location_create_params.rb +153 -0
  453. data/lib/stripe/params/terminal/location_delete_params.rb +8 -0
  454. data/lib/stripe/params/terminal/location_list_params.rb +24 -0
  455. data/lib/stripe/params/terminal/location_retrieve_params.rb +15 -0
  456. data/lib/stripe/params/terminal/location_update_params.rb +153 -0
  457. data/lib/stripe/params/terminal/reader_cancel_action_params.rb +15 -0
  458. data/lib/stripe/params/terminal/reader_collect_inputs_params.rb +96 -0
  459. data/lib/stripe/params/terminal/reader_collect_payment_method_params.rb +51 -0
  460. data/lib/stripe/params/terminal/reader_confirm_payment_intent_params.rb +29 -0
  461. data/lib/stripe/params/terminal/reader_create_params.rb +27 -0
  462. data/lib/stripe/params/terminal/reader_delete_params.rb +8 -0
  463. data/lib/stripe/params/terminal/reader_list_params.rb +45 -0
  464. data/lib/stripe/params/terminal/reader_present_payment_method_params.rb +72 -0
  465. data/lib/stripe/params/terminal/reader_process_payment_intent_params.rb +55 -0
  466. data/lib/stripe/params/terminal/reader_process_setup_intent_params.rb +32 -0
  467. data/lib/stripe/params/terminal/reader_refund_payment_params.rb +53 -0
  468. data/lib/stripe/params/terminal/reader_retrieve_params.rb +15 -0
  469. data/lib/stripe/params/terminal/reader_set_reader_display_params.rb +52 -0
  470. data/lib/stripe/params/terminal/reader_succeed_input_collection_params.rb +18 -0
  471. data/lib/stripe/params/terminal/reader_timeout_input_collection_params.rb +15 -0
  472. data/lib/stripe/params/terminal/reader_update_params.rb +21 -0
  473. data/lib/stripe/params/test_helpers/confirmation_token_create_params.rb +652 -0
  474. data/lib/stripe/params/test_helpers/customer_fund_cash_balance_params.rb +24 -0
  475. data/lib/stripe/params/test_helpers/issuing/authorization_capture_params.rb +267 -0
  476. data/lib/stripe/params/test_helpers/issuing/authorization_create_params.rb +359 -0
  477. data/lib/stripe/params/test_helpers/issuing/authorization_expire_params.rb +17 -0
  478. data/lib/stripe/params/test_helpers/issuing/authorization_finalize_amount_params.rb +145 -0
  479. data/lib/stripe/params/test_helpers/issuing/authorization_increment_params.rb +23 -0
  480. data/lib/stripe/params/test_helpers/issuing/authorization_respond_params.rb +20 -0
  481. data/lib/stripe/params/test_helpers/issuing/authorization_reverse_params.rb +20 -0
  482. data/lib/stripe/params/test_helpers/issuing/card_deliver_card_params.rb +17 -0
  483. data/lib/stripe/params/test_helpers/issuing/card_fail_card_params.rb +17 -0
  484. data/lib/stripe/params/test_helpers/issuing/card_return_card_params.rb +17 -0
  485. data/lib/stripe/params/test_helpers/issuing/card_ship_card_params.rb +17 -0
  486. data/lib/stripe/params/test_helpers/issuing/card_submit_card_params.rb +17 -0
  487. data/lib/stripe/params/test_helpers/issuing/personalization_design_activate_params.rb +17 -0
  488. data/lib/stripe/params/test_helpers/issuing/personalization_design_deactivate_params.rb +17 -0
  489. data/lib/stripe/params/test_helpers/issuing/personalization_design_reject_params.rb +31 -0
  490. data/lib/stripe/params/test_helpers/issuing/transaction_create_force_capture_params.rb +318 -0
  491. data/lib/stripe/params/test_helpers/issuing/transaction_create_unlinked_refund_params.rb +318 -0
  492. data/lib/stripe/params/test_helpers/issuing/transaction_refund_params.rb +20 -0
  493. data/lib/stripe/params/test_helpers/refund_expire_params.rb +15 -0
  494. data/lib/stripe/params/test_helpers/terminal/reader_present_payment_method_params.rb +74 -0
  495. data/lib/stripe/params/test_helpers/terminal/reader_succeed_input_collection_params.rb +20 -0
  496. data/lib/stripe/params/test_helpers/terminal/reader_timeout_input_collection_params.rb +17 -0
  497. data/lib/stripe/params/test_helpers/test_clock_advance_params.rb +18 -0
  498. data/lib/stripe/params/test_helpers/test_clock_create_params.rb +21 -0
  499. data/lib/stripe/params/test_helpers/test_clock_delete_params.rb +8 -0
  500. data/lib/stripe/params/test_helpers/test_clock_list_params.rb +24 -0
  501. data/lib/stripe/params/test_helpers/test_clock_retrieve_params.rb +15 -0
  502. data/lib/stripe/params/test_helpers/treasury/inbound_transfer_fail_params.rb +28 -0
  503. data/lib/stripe/params/test_helpers/treasury/inbound_transfer_return_inbound_transfer_params.rb +17 -0
  504. data/lib/stripe/params/test_helpers/treasury/inbound_transfer_succeed_params.rb +17 -0
  505. data/lib/stripe/params/test_helpers/treasury/outbound_payment_fail_params.rb +17 -0
  506. data/lib/stripe/params/test_helpers/treasury/outbound_payment_post_params.rb +17 -0
  507. data/lib/stripe/params/test_helpers/treasury/outbound_payment_return_outbound_payment_params.rb +28 -0
  508. data/lib/stripe/params/test_helpers/treasury/outbound_payment_update_params.rb +57 -0
  509. data/lib/stripe/params/test_helpers/treasury/outbound_transfer_fail_params.rb +17 -0
  510. data/lib/stripe/params/test_helpers/treasury/outbound_transfer_post_params.rb +17 -0
  511. data/lib/stripe/params/test_helpers/treasury/outbound_transfer_return_outbound_transfer_params.rb +28 -0
  512. data/lib/stripe/params/test_helpers/treasury/outbound_transfer_update_params.rb +57 -0
  513. data/lib/stripe/params/test_helpers/treasury/received_credit_create_params.rb +68 -0
  514. data/lib/stripe/params/test_helpers/treasury/received_debit_create_params.rb +68 -0
  515. data/lib/stripe/params/token_create_params.rb +1191 -0
  516. data/lib/stripe/params/token_retrieve_params.rb +13 -0
  517. data/lib/stripe/params/topup_cancel_params.rb +13 -0
  518. data/lib/stripe/params/topup_create_params.rb +43 -0
  519. data/lib/stripe/params/topup_list_params.rb +74 -0
  520. data/lib/stripe/params/topup_retrieve_params.rb +13 -0
  521. data/lib/stripe/params/topup_update_params.rb +19 -0
  522. data/lib/stripe/params/transfer_create_params.rb +47 -0
  523. data/lib/stripe/params/transfer_list_params.rb +56 -0
  524. data/lib/stripe/params/transfer_retrieve_params.rb +13 -0
  525. data/lib/stripe/params/transfer_reversal_create_params.rb +31 -0
  526. data/lib/stripe/params/transfer_reversal_list_params.rb +22 -0
  527. data/lib/stripe/params/transfer_reversal_retrieve_params.rb +13 -0
  528. data/lib/stripe/params/transfer_reversal_update_params.rb +16 -0
  529. data/lib/stripe/params/transfer_update_params.rb +19 -0
  530. data/lib/stripe/params/treasury/credit_reversal_create_params.rb +21 -0
  531. data/lib/stripe/params/treasury/credit_reversal_list_params.rb +41 -0
  532. data/lib/stripe/params/treasury/credit_reversal_retrieve_params.rb +15 -0
  533. data/lib/stripe/params/treasury/debit_reversal_create_params.rb +21 -0
  534. data/lib/stripe/params/treasury/debit_reversal_list_params.rb +45 -0
  535. data/lib/stripe/params/treasury/debit_reversal_retrieve_params.rb +15 -0
  536. data/lib/stripe/params/treasury/financial_account_close_params.rb +32 -0
  537. data/lib/stripe/params/treasury/financial_account_create_params.rb +201 -0
  538. data/lib/stripe/params/treasury/financial_account_features_retrieve_params.rb +15 -0
  539. data/lib/stripe/params/treasury/financial_account_features_update_params.rb +163 -0
  540. data/lib/stripe/params/treasury/financial_account_list_params.rb +54 -0
  541. data/lib/stripe/params/treasury/financial_account_retrieve_features_params.rb +15 -0
  542. data/lib/stripe/params/treasury/financial_account_retrieve_params.rb +15 -0
  543. data/lib/stripe/params/treasury/financial_account_update_features_params.rb +163 -0
  544. data/lib/stripe/params/treasury/financial_account_update_params.rb +216 -0
  545. data/lib/stripe/params/treasury/inbound_transfer_cancel_params.rb +15 -0
  546. data/lib/stripe/params/treasury/inbound_transfer_create_params.rb +45 -0
  547. data/lib/stripe/params/treasury/inbound_transfer_fail_params.rb +26 -0
  548. data/lib/stripe/params/treasury/inbound_transfer_list_params.rb +37 -0
  549. data/lib/stripe/params/treasury/inbound_transfer_retrieve_params.rb +15 -0
  550. data/lib/stripe/params/treasury/inbound_transfer_return_inbound_transfer_params.rb +15 -0
  551. data/lib/stripe/params/treasury/inbound_transfer_succeed_params.rb +15 -0
  552. data/lib/stripe/params/treasury/outbound_payment_cancel_params.rb +15 -0
  553. data/lib/stripe/params/treasury/outbound_payment_create_params.rb +190 -0
  554. data/lib/stripe/params/treasury/outbound_payment_fail_params.rb +15 -0
  555. data/lib/stripe/params/treasury/outbound_payment_list_params.rb +62 -0
  556. data/lib/stripe/params/treasury/outbound_payment_post_params.rb +15 -0
  557. data/lib/stripe/params/treasury/outbound_payment_retrieve_params.rb +15 -0
  558. data/lib/stripe/params/treasury/outbound_payment_return_outbound_payment_params.rb +26 -0
  559. data/lib/stripe/params/treasury/outbound_payment_update_params.rb +55 -0
  560. data/lib/stripe/params/treasury/outbound_transfer_cancel_params.rb +15 -0
  561. data/lib/stripe/params/treasury/outbound_transfer_create_params.rb +81 -0
  562. data/lib/stripe/params/treasury/outbound_transfer_fail_params.rb +15 -0
  563. data/lib/stripe/params/treasury/outbound_transfer_list_params.rb +37 -0
  564. data/lib/stripe/params/treasury/outbound_transfer_post_params.rb +15 -0
  565. data/lib/stripe/params/treasury/outbound_transfer_retrieve_params.rb +15 -0
  566. data/lib/stripe/params/treasury/outbound_transfer_return_outbound_transfer_params.rb +26 -0
  567. data/lib/stripe/params/treasury/outbound_transfer_update_params.rb +55 -0
  568. data/lib/stripe/params/treasury/received_credit_create_params.rb +66 -0
  569. data/lib/stripe/params/treasury/received_credit_list_params.rb +49 -0
  570. data/lib/stripe/params/treasury/received_credit_retrieve_params.rb +15 -0
  571. data/lib/stripe/params/treasury/received_debit_create_params.rb +66 -0
  572. data/lib/stripe/params/treasury/received_debit_list_params.rb +37 -0
  573. data/lib/stripe/params/treasury/received_debit_retrieve_params.rb +15 -0
  574. data/lib/stripe/params/treasury/transaction_entry_list_params.rb +84 -0
  575. data/lib/stripe/params/treasury/transaction_entry_retrieve_params.rb +15 -0
  576. data/lib/stripe/params/treasury/transaction_list_params.rb +92 -0
  577. data/lib/stripe/params/treasury/transaction_retrieve_params.rb +15 -0
  578. data/lib/stripe/params/v2/billing/meter_event_adjustment_create_params.rb +31 -0
  579. data/lib/stripe/params/v2/billing/meter_event_create_params.rb +33 -0
  580. data/lib/stripe/params/v2/billing/meter_event_session_create_params.rb +10 -0
  581. data/lib/stripe/params/v2/billing/meter_event_stream_create_params.rb +41 -0
  582. data/lib/stripe/params/v2/core/event_destination_create_params.rb +79 -0
  583. data/lib/stripe/params/v2/core/event_destination_delete_params.rb +10 -0
  584. data/lib/stripe/params/v2/core/event_destination_disable_params.rb +10 -0
  585. data/lib/stripe/params/v2/core/event_destination_enable_params.rb +10 -0
  586. data/lib/stripe/params/v2/core/event_destination_list_params.rb +20 -0
  587. data/lib/stripe/params/v2/core/event_destination_ping_params.rb +10 -0
  588. data/lib/stripe/params/v2/core/event_destination_retrieve_params.rb +17 -0
  589. data/lib/stripe/params/v2/core/event_destination_update_params.rb +47 -0
  590. data/lib/stripe/params/v2/core/event_list_params.rb +22 -0
  591. data/lib/stripe/params/v2/core/event_retrieve_params.rb +10 -0
  592. data/lib/stripe/params/webhook_endpoint_create_params.rb +39 -0
  593. data/lib/stripe/params/webhook_endpoint_delete_params.rb +6 -0
  594. data/lib/stripe/params/webhook_endpoint_list_params.rb +22 -0
  595. data/lib/stripe/params/webhook_endpoint_retrieve_params.rb +13 -0
  596. data/lib/stripe/params/webhook_endpoint_update_params.rb +35 -0
  597. data/lib/stripe/params.rb +588 -0
  598. data/lib/stripe/request_options.rb +14 -5
  599. data/lib/stripe/resources/account.rb +437 -4906
  600. data/lib/stripe/resources/account_link.rb +8 -47
  601. data/lib/stripe/resources/account_session.rb +338 -910
  602. data/lib/stripe/resources/apple_pay_domain.rb +8 -40
  603. data/lib/stripe/resources/application.rb +8 -0
  604. data/lib/stripe/resources/application_fee.rb +12 -44
  605. data/lib/stripe/resources/application_fee_refund.rb +8 -0
  606. data/lib/stripe/resources/apps/secret.rb +12 -112
  607. data/lib/stripe/resources/balance.rb +159 -0
  608. data/lib/stripe/resources/balance_settings.rb +40 -60
  609. data/lib/stripe/resources/balance_transaction.rb +12 -56
  610. data/lib/stripe/resources/bank_account.rb +40 -0
  611. data/lib/stripe/resources/billing/alert.rb +20 -100
  612. data/lib/stripe/resources/billing/alert_triggered.rb +8 -0
  613. data/lib/stripe/resources/billing/credit_balance_summary.rb +48 -2
  614. data/lib/stripe/resources/billing/credit_balance_transaction.rb +73 -33
  615. data/lib/stripe/resources/billing/credit_grant.rb +42 -161
  616. data/lib/stripe/resources/billing/meter.rb +40 -116
  617. data/lib/stripe/resources/billing/meter_event.rb +8 -20
  618. data/lib/stripe/resources/billing/meter_event_adjustment.rb +12 -22
  619. data/lib/stripe/resources/billing/meter_event_summary.rb +8 -0
  620. data/lib/stripe/resources/billing_portal/configuration.rb +120 -473
  621. data/lib/stripe/resources/billing_portal/session.rb +98 -176
  622. data/lib/stripe/resources/capability.rb +56 -0
  623. data/lib/stripe/resources/card.rb +17 -3
  624. data/lib/stripe/resources/cash_balance.rb +16 -2
  625. data/lib/stripe/resources/charge.rb +949 -1945
  626. data/lib/stripe/resources/checkout/session.rb +1038 -2991
  627. data/lib/stripe/resources/climate/order.rb +28 -89
  628. data/lib/stripe/resources/climate/product.rb +13 -15
  629. data/lib/stripe/resources/climate/supplier.rb +13 -15
  630. data/lib/stripe/resources/confirmation_token.rb +883 -841
  631. data/lib/stripe/resources/connect_collection_transfer.rb +8 -0
  632. data/lib/stripe/resources/country_spec.rb +29 -15
  633. data/lib/stripe/resources/coupon.rb +19 -166
  634. data/lib/stripe/resources/credit_note.rb +66 -510
  635. data/lib/stripe/resources/credit_note_line_item.rb +43 -8
  636. data/lib/stripe/resources/customer.rb +81 -677
  637. data/lib/stripe/resources/customer_balance_transaction.rb +8 -2
  638. data/lib/stripe/resources/customer_cash_balance_transaction.rb +108 -2
  639. data/lib/stripe/resources/customer_session.rb +49 -98
  640. data/lib/stripe/resources/discount.rb +24 -6
  641. data/lib/stripe/resources/dispute.rb +159 -376
  642. data/lib/stripe/resources/entitlements/active_entitlement.rb +8 -26
  643. data/lib/stripe/resources/entitlements/active_entitlement_summary.rb +8 -0
  644. data/lib/stripe/resources/entitlements/feature.rb +8 -66
  645. data/lib/stripe/resources/ephemeral_key.rb +8 -8
  646. data/lib/stripe/resources/event.rb +16 -79
  647. data/lib/stripe/resources/exchange_rate.rb +18 -17
  648. data/lib/stripe/resources/file.rb +8 -79
  649. data/lib/stripe/resources/file_link.rb +8 -84
  650. data/lib/stripe/resources/financial_connections/account.rb +65 -130
  651. data/lib/stripe/resources/financial_connections/account_owner.rb +8 -0
  652. data/lib/stripe/resources/financial_connections/account_ownership.rb +8 -0
  653. data/lib/stripe/resources/financial_connections/session.rb +20 -115
  654. data/lib/stripe/resources/financial_connections/transaction.rb +12 -57
  655. data/lib/stripe/resources/forwarding/request.rb +48 -93
  656. data/lib/stripe/resources/funding_instructions.rb +217 -24
  657. data/lib/stripe/resources/identity/verification_report.rb +165 -56
  658. data/lib/stripe/resources/identity/verification_session.rb +124 -247
  659. data/lib/stripe/resources/invoice.rb +500 -4017
  660. data/lib/stripe/resources/invoice_item.rb +69 -385
  661. data/lib/stripe/resources/invoice_line_item.rb +124 -251
  662. data/lib/stripe/resources/invoice_payment.rb +20 -47
  663. data/lib/stripe/resources/invoice_rendering_template.rb +8 -38
  664. data/lib/stripe/resources/issuing/authorization.rb +173 -836
  665. data/lib/stripe/resources/issuing/card.rb +98 -499
  666. data/lib/stripe/resources/issuing/cardholder.rb +108 -515
  667. data/lib/stripe/resources/issuing/dispute.rb +93 -620
  668. data/lib/stripe/resources/issuing/personalization_design.rb +32 -221
  669. data/lib/stripe/resources/issuing/physical_bundle.rb +13 -28
  670. data/lib/stripe/resources/issuing/token.rb +57 -60
  671. data/lib/stripe/resources/issuing/transaction.rb +147 -702
  672. data/lib/stripe/resources/line_item.rb +22 -35
  673. data/lib/stripe/resources/login_link.rb +8 -0
  674. data/lib/stripe/resources/mandate.rb +219 -94
  675. data/lib/stripe/resources/payment_intent.rb +1241 -13361
  676. data/lib/stripe/resources/payment_link.rb +333 -1357
  677. data/lib/stripe/resources/payment_method.rb +796 -966
  678. data/lib/stripe/resources/payment_method_configuration.rb +862 -2528
  679. data/lib/stripe/resources/payment_method_domain.rb +107 -63
  680. data/lib/stripe/resources/payout.rb +12 -150
  681. data/lib/stripe/resources/person.rb +184 -4
  682. data/lib/stripe/resources/plan.rb +20 -235
  683. data/lib/stripe/resources/price.rb +65 -509
  684. data/lib/stripe/resources/product.rb +23 -411
  685. data/lib/stripe/resources/product_feature.rb +8 -0
  686. data/lib/stripe/resources/promotion_code.rb +40 -182
  687. data/lib/stripe/resources/quote.rb +280 -2743
  688. data/lib/stripe/resources/radar/early_fraud_warning.rb +8 -51
  689. data/lib/stripe/resources/radar/value_list.rb +8 -92
  690. data/lib/stripe/resources/radar/value_list_item.rb +8 -68
  691. data/lib/stripe/resources/refund.rb +365 -159
  692. data/lib/stripe/resources/reporting/report_run.rb +12 -93
  693. data/lib/stripe/resources/reporting/report_type.rb +8 -8
  694. data/lib/stripe/resources/reserve_transaction.rb +8 -0
  695. data/lib/stripe/resources/reversal.rb +8 -0
  696. data/lib/stripe/resources/review.rb +20 -43
  697. data/lib/stripe/resources/setup_attempt.rb +284 -87
  698. data/lib/stripe/resources/setup_intent.rb +358 -4143
  699. data/lib/stripe/resources/shipping_rate.rb +44 -187
  700. data/lib/stripe/resources/sigma/scheduled_query_run.rb +13 -15
  701. data/lib/stripe/resources/source.rb +267 -611
  702. data/lib/stripe/resources/source_mandate_notification.rb +32 -0
  703. data/lib/stripe/resources/source_transaction.rb +54 -0
  704. data/lib/stripe/resources/subscription.rb +266 -1931
  705. data/lib/stripe/resources/subscription_item.rb +12 -379
  706. data/lib/stripe/resources/subscription_schedule.rb +230 -2273
  707. data/lib/stripe/resources/tax/calculation.rb +111 -220
  708. data/lib/stripe/resources/tax/calculation_line_item.rb +32 -0
  709. data/lib/stripe/resources/tax/registration.rb +1274 -2096
  710. data/lib/stripe/resources/tax/settings.rb +61 -64
  711. data/lib/stripe/resources/tax/transaction.rb +95 -122
  712. data/lib/stripe/resources/tax/transaction_line_item.rb +16 -0
  713. data/lib/stripe/resources/tax_code.rb +8 -17
  714. data/lib/stripe/resources/tax_deducted_at_source.rb +8 -0
  715. data/lib/stripe/resources/tax_id.rb +20 -75
  716. data/lib/stripe/resources/tax_rate.rb +12 -142
  717. data/lib/stripe/resources/terminal/configuration.rb +301 -1205
  718. data/lib/stripe/resources/terminal/connection_token.rb +8 -11
  719. data/lib/stripe/resources/terminal/location.rb +72 -126
  720. data/lib/stripe/resources/terminal/reader.rb +237 -509
  721. data/lib/stripe/resources/test_helpers/test_clock.rb +20 -43
  722. data/lib/stripe/resources/token.rb +8 -1191
  723. data/lib/stripe/resources/topup.rb +8 -132
  724. data/lib/stripe/resources/transfer.rb +8 -115
  725. data/lib/stripe/resources/treasury/credit_reversal.rb +12 -46
  726. data/lib/stripe/resources/treasury/debit_reversal.rb +20 -50
  727. data/lib/stripe/resources/treasury/financial_account.rb +55 -658
  728. data/lib/stripe/resources/treasury/financial_account_features.rb +192 -2
  729. data/lib/stripe/resources/treasury/inbound_transfer.rb +67 -115
  730. data/lib/stripe/resources/treasury/outbound_payment.rb +104 -334
  731. data/lib/stripe/resources/treasury/outbound_transfer.rb +93 -235
  732. data/lib/stripe/resources/treasury/received_credit.rb +76 -136
  733. data/lib/stripe/resources/treasury/received_debit.rb +68 -126
  734. data/lib/stripe/resources/treasury/transaction.rb +32 -82
  735. data/lib/stripe/resources/treasury/transaction_entry.rb +20 -74
  736. data/lib/stripe/resources/v2/billing/meter_event.rb +8 -0
  737. data/lib/stripe/resources/v2/billing/meter_event_adjustment.rb +16 -0
  738. data/lib/stripe/resources/v2/billing/meter_event_session.rb +8 -0
  739. data/lib/stripe/resources/v2/core/event.rb +67 -0
  740. data/lib/stripe/resources/v2/core/event_destination.rb +119 -0
  741. data/lib/stripe/resources/v2/core/event_notification.rb +62 -0
  742. data/lib/stripe/resources/v2/deleted_object.rb +21 -0
  743. data/lib/stripe/resources/webhook_endpoint.rb +8 -85
  744. data/lib/stripe/resources.rb +3 -110
  745. data/lib/stripe/services/account_capability_service.rb +0 -32
  746. data/lib/stripe/services/account_external_account_service.rb +0 -249
  747. data/lib/stripe/services/account_link_service.rb +0 -48
  748. data/lib/stripe/services/account_login_link_service.rb +0 -9
  749. data/lib/stripe/services/account_person_service.rb +0 -958
  750. data/lib/stripe/services/account_service.rb +0 -4710
  751. data/lib/stripe/services/account_session_service.rb +0 -862
  752. data/lib/stripe/services/apple_pay_domain_service.rb +0 -50
  753. data/lib/stripe/services/application_fee_refund_service.rb +0 -54
  754. data/lib/stripe/services/application_fee_service.rb +0 -57
  755. data/lib/stripe/services/apps/secret_service.rb +0 -116
  756. data/lib/stripe/services/balance_service.rb +0 -9
  757. data/lib/stripe/services/balance_settings_service.rb +0 -69
  758. data/lib/stripe/services/balance_transaction_service.rb +0 -69
  759. data/lib/stripe/services/billing/alert_service.rb +0 -113
  760. data/lib/stripe/services/billing/credit_balance_summary_service.rb +0 -51
  761. data/lib/stripe/services/billing/credit_balance_transaction_service.rb +0 -44
  762. data/lib/stripe/services/billing/credit_grant_service.rb +0 -174
  763. data/lib/stripe/services/billing/meter_event_adjustment_service.rb +0 -26
  764. data/lib/stripe/services/billing/meter_event_service.rb +0 -21
  765. data/lib/stripe/services/billing/meter_event_summary_service.rb +0 -39
  766. data/lib/stripe/services/billing/meter_service.rb +0 -130
  767. data/lib/stripe/services/billing_portal/configuration_service.rb +0 -486
  768. data/lib/stripe/services/billing_portal/session_service.rb +0 -177
  769. data/lib/stripe/services/billing_service.rb +1 -2
  770. data/lib/stripe/services/charge_service.rb +0 -1820
  771. data/lib/stripe/services/checkout/session_line_item_service.rb +0 -18
  772. data/lib/stripe/services/checkout/session_service.rb +0 -2882
  773. data/lib/stripe/services/climate/order_service.rb +0 -102
  774. data/lib/stripe/services/climate/product_service.rb +0 -27
  775. data/lib/stripe/services/climate/supplier_service.rb +0 -27
  776. data/lib/stripe/services/confirmation_token_service.rb +0 -9
  777. data/lib/stripe/services/country_spec_service.rb +0 -27
  778. data/lib/stripe/services/coupon_service.rb +0 -167
  779. data/lib/stripe/services/credit_note_line_item_service.rb +0 -18
  780. data/lib/stripe/services/credit_note_preview_lines_service.rb +0 -152
  781. data/lib/stripe/services/credit_note_service.rb +0 -369
  782. data/lib/stripe/services/customer_balance_transaction_service.rb +0 -63
  783. data/lib/stripe/services/customer_cash_balance_service.rb +0 -29
  784. data/lib/stripe/services/customer_cash_balance_transaction_service.rb +0 -27
  785. data/lib/stripe/services/customer_funding_instructions_service.rb +0 -42
  786. data/lib/stripe/services/customer_payment_method_service.rb +0 -40
  787. data/lib/stripe/services/customer_payment_source_service.rb +0 -179
  788. data/lib/stripe/services/customer_service.rb +0 -575
  789. data/lib/stripe/services/customer_session_service.rb +0 -99
  790. data/lib/stripe/services/customer_tax_id_service.rb +0 -44
  791. data/lib/stripe/services/dispute_service.rb +0 -374
  792. data/lib/stripe/services/entitlements/active_entitlement_service.rb +0 -36
  793. data/lib/stripe/services/entitlements/feature_service.rb +0 -76
  794. data/lib/stripe/services/ephemeral_key_service.rb +0 -36
  795. data/lib/stripe/services/event_service.rb +0 -65
  796. data/lib/stripe/services/exchange_rate_service.rb +4 -27
  797. data/lib/stripe/services/file_link_service.rb +0 -94
  798. data/lib/stripe/services/file_service.rb +0 -89
  799. data/lib/stripe/services/financial_connections/account_owner_service.rb +0 -27
  800. data/lib/stripe/services/financial_connections/account_service.rb +1 -102
  801. data/lib/stripe/services/financial_connections/session_service.rb +0 -100
  802. data/lib/stripe/services/financial_connections/transaction_service.rb +0 -70
  803. data/lib/stripe/services/financial_connections_service.rb +1 -2
  804. data/lib/stripe/services/forwarding/request_service.rb +0 -106
  805. data/lib/stripe/services/identity/verification_report_service.rb +0 -65
  806. data/lib/stripe/services/identity/verification_session_service.rb +0 -255
  807. data/lib/stripe/services/invoice_item_service.rb +0 -405
  808. data/lib/stripe/services/invoice_line_item_service.rb +0 -253
  809. data/lib/stripe/services/invoice_payment_service.rb +0 -58
  810. data/lib/stripe/services/invoice_rendering_template_service.rb +0 -51
  811. data/lib/stripe/services/invoice_service.rb +0 -3836
  812. data/lib/stripe/services/issuing/authorization_service.rb +0 -104
  813. data/lib/stripe/services/issuing/card_service.rb +0 -463
  814. data/lib/stripe/services/issuing/cardholder_service.rb +0 -526
  815. data/lib/stripe/services/issuing/dispute_service.rb +0 -633
  816. data/lib/stripe/services/issuing/personalization_design_service.rb +0 -193
  817. data/lib/stripe/services/issuing/physical_bundle_service.rb +0 -40
  818. data/lib/stripe/services/issuing/token_service.rb +0 -73
  819. data/lib/stripe/services/issuing/transaction_service.rb +0 -81
  820. data/lib/stripe/services/issuing_service.rb +1 -5
  821. data/lib/stripe/services/mandate_service.rb +0 -49
  822. data/lib/stripe/services/payment_intent_service.rb +0 -12747
  823. data/lib/stripe/services/payment_link_line_item_service.rb +0 -18
  824. data/lib/stripe/services/payment_link_service.rb +0 -1352
  825. data/lib/stripe/services/payment_method_configuration_service.rb +0 -2466
  826. data/lib/stripe/services/payment_method_domain_service.rb +0 -76
  827. data/lib/stripe/services/payment_method_service.rb +0 -881
  828. data/lib/stripe/services/payout_service.rb +0 -163
  829. data/lib/stripe/services/plan_service.rb +0 -248
  830. data/lib/stripe/services/price_service.rb +0 -512
  831. data/lib/stripe/services/product_feature_service.rb +0 -41
  832. data/lib/stripe/services/product_service.rb +0 -424
  833. data/lib/stripe/services/promotion_code_service.rb +1 -187
  834. data/lib/stripe/services/quote_computed_upfront_line_items_service.rb +0 -18
  835. data/lib/stripe/services/quote_line_item_service.rb +0 -18
  836. data/lib/stripe/services/quote_service.rb +1 -2344
  837. data/lib/stripe/services/radar/early_fraud_warning_service.rb +0 -61
  838. data/lib/stripe/services/radar/value_list_item_service.rb +0 -78
  839. data/lib/stripe/services/radar/value_list_service.rb +0 -102
  840. data/lib/stripe/services/refund_service.rb +0 -137
  841. data/lib/stripe/services/reporting/report_run_service.rb +0 -106
  842. data/lib/stripe/services/reporting/report_type_service.rb +0 -18
  843. data/lib/stripe/services/review_service.rb +0 -56
  844. data/lib/stripe/services/setup_attempt_service.rb +0 -51
  845. data/lib/stripe/services/setup_intent_service.rb +0 -3957
  846. data/lib/stripe/services/shipping_rate_service.rb +0 -200
  847. data/lib/stripe/services/sigma/scheduled_query_run_service.rb +0 -27
  848. data/lib/stripe/services/source_service.rb +0 -601
  849. data/lib/stripe/services/source_transaction_service.rb +0 -18
  850. data/lib/stripe/services/subscription_item_service.rb +0 -383
  851. data/lib/stripe/services/subscription_schedule_service.rb +0 -2196
  852. data/lib/stripe/services/subscription_service.rb +0 -1894
  853. data/lib/stripe/services/tax/calculation_line_item_service.rb +0 -18
  854. data/lib/stripe/services/tax/calculation_service.rb +0 -209
  855. data/lib/stripe/services/tax/registration_service.rb +0 -2063
  856. data/lib/stripe/services/tax/settings_service.rb +0 -74
  857. data/lib/stripe/services/tax/transaction_line_item_service.rb +0 -18
  858. data/lib/stripe/services/tax/transaction_service.rb +0 -111
  859. data/lib/stripe/services/tax_code_service.rb +0 -27
  860. data/lib/stripe/services/tax_id_service.rb +0 -84
  861. data/lib/stripe/services/tax_rate_service.rb +0 -155
  862. data/lib/stripe/services/tax_service.rb +1 -3
  863. data/lib/stripe/services/terminal/configuration_service.rb +0 -1212
  864. data/lib/stripe/services/terminal/connection_token_service.rb +0 -12
  865. data/lib/stripe/services/terminal/location_service.rb +0 -143
  866. data/lib/stripe/services/terminal/reader_service.rb +0 -427
  867. data/lib/stripe/services/terminal_service.rb +1 -3
  868. data/lib/stripe/services/test_helpers/confirmation_token_service.rb +0 -738
  869. data/lib/stripe/services/test_helpers/customer_service.rb +0 -18
  870. data/lib/stripe/services/test_helpers/issuing/authorization_service.rb +0 -745
  871. data/lib/stripe/services/test_helpers/issuing/card_service.rb +0 -45
  872. data/lib/stripe/services/test_helpers/issuing/personalization_design_service.rb +0 -41
  873. data/lib/stripe/services/test_helpers/issuing/transaction_service.rb +0 -632
  874. data/lib/stripe/services/test_helpers/refund_service.rb +0 -9
  875. data/lib/stripe/services/test_helpers/terminal/reader_service.rb +0 -87
  876. data/lib/stripe/services/test_helpers/test_clock_service.rb +0 -56
  877. data/lib/stripe/services/test_helpers/treasury/inbound_transfer_service.rb +0 -38
  878. data/lib/stripe/services/test_helpers/treasury/outbound_payment_service.rb +0 -87
  879. data/lib/stripe/services/test_helpers/treasury/outbound_transfer_service.rb +0 -87
  880. data/lib/stripe/services/test_helpers/treasury/received_credit_service.rb +0 -84
  881. data/lib/stripe/services/test_helpers/treasury/received_debit_service.rb +0 -84
  882. data/lib/stripe/services/token_service.rb +0 -1201
  883. data/lib/stripe/services/topup_service.rb +0 -142
  884. data/lib/stripe/services/transfer_reversal_service.rb +0 -66
  885. data/lib/stripe/services/transfer_service.rb +0 -123
  886. data/lib/stripe/services/treasury/credit_reversal_service.rb +0 -59
  887. data/lib/stripe/services/treasury/debit_reversal_service.rb +0 -63
  888. data/lib/stripe/services/treasury/financial_account_features_service.rb +0 -169
  889. data/lib/stripe/services/treasury/financial_account_service.rb +0 -502
  890. data/lib/stripe/services/treasury/inbound_transfer_service.rb +0 -88
  891. data/lib/stripe/services/treasury/outbound_payment_service.rb +0 -258
  892. data/lib/stripe/services/treasury/outbound_transfer_service.rb +0 -148
  893. data/lib/stripe/services/treasury/received_credit_service.rb +0 -52
  894. data/lib/stripe/services/treasury/received_debit_service.rb +0 -40
  895. data/lib/stripe/services/treasury/transaction_entry_service.rb +0 -87
  896. data/lib/stripe/services/treasury/transaction_service.rb +0 -95
  897. data/lib/stripe/services/v1_services.rb +1 -10
  898. data/lib/stripe/services/v2/billing/meter_event_adjustment_service.rb +0 -23
  899. data/lib/stripe/services/v2/billing/meter_event_service.rb +0 -25
  900. data/lib/stripe/services/v2/billing/meter_event_session_service.rb +0 -2
  901. data/lib/stripe/services/v2/billing/meter_event_stream_service.rb +0 -33
  902. data/lib/stripe/services/v2/core/event_destination_service.rb +0 -137
  903. data/lib/stripe/services/v2/core/event_service.rb +0 -16
  904. data/lib/stripe/services/v2/core_service.rb +1 -4
  905. data/lib/stripe/services/v2_services.rb +1 -4
  906. data/lib/stripe/services/webhook_endpoint_service.rb +0 -95
  907. data/lib/stripe/services.rb +0 -54
  908. data/lib/stripe/stripe_client.rb +8 -5
  909. data/lib/stripe/stripe_configuration.rb +2 -9
  910. data/lib/stripe/stripe_context.rb +68 -0
  911. data/lib/stripe/stripe_object.rb +34 -10
  912. data/lib/stripe/util.rb +25 -20
  913. data/lib/stripe/version.rb +1 -1
  914. data/lib/stripe.rb +3 -54
  915. data/rbi/stripe/resources/v2/core/event_notification.rbi +43 -0
  916. data/rbi/stripe/stripe_client.rbi +17 -0
  917. data/rbi/stripe.rbi +121931 -190301
  918. metadata +599 -189
  919. data/API_VERSION +0 -1
  920. data/CHANGELOG.md +0 -2780
  921. data/CODE_OF_CONDUCT.md +0 -77
  922. data/CONTRIBUTING.md +0 -25
  923. data/CONTRIBUTORS +0 -3
  924. data/Gemfile +0 -41
  925. data/History.txt +0 -1
  926. data/LICENSE +0 -21
  927. data/Makefile +0 -22
  928. data/OPENAPI_VERSION +0 -1
  929. data/README.md +0 -424
  930. data/Rakefile +0 -34
  931. data/VERSION +0 -1
  932. data/examples/README.md +0 -16
  933. data/examples/example_template.rb +0 -36
  934. data/examples/meter_event_stream.rb +0 -57
  935. data/examples/thinevent_webhook_handler.rb +0 -39
  936. data/justfile +0 -43
  937. data/lib/stripe/events/v2_core_account_closed_event.rb +0 -21
  938. data/lib/stripe/events/v2_core_account_created_event.rb +0 -21
  939. data/lib/stripe/events/v2_core_account_including_configuration_customer_capability_status_updated_event.rb +0 -23
  940. data/lib/stripe/events/v2_core_account_including_configuration_customer_updated_event.rb +0 -21
  941. data/lib/stripe/events/v2_core_account_including_configuration_merchant_capability_status_updated_event.rb +0 -23
  942. data/lib/stripe/events/v2_core_account_including_configuration_merchant_updated_event.rb +0 -21
  943. data/lib/stripe/events/v2_core_account_including_configuration_recipient_capability_status_updated_event.rb +0 -23
  944. data/lib/stripe/events/v2_core_account_including_configuration_recipient_updated_event.rb +0 -21
  945. data/lib/stripe/events/v2_core_account_including_configuration_storer_capability_status_updated_event.rb +0 -23
  946. data/lib/stripe/events/v2_core_account_including_configuration_storer_updated_event.rb +0 -21
  947. data/lib/stripe/events/v2_core_account_including_defaults_updated_event.rb +0 -21
  948. data/lib/stripe/events/v2_core_account_including_identity_updated_event.rb +0 -21
  949. data/lib/stripe/events/v2_core_account_including_requirements_updated_event.rb +0 -21
  950. data/lib/stripe/events/v2_core_account_link_returned_event.rb +0 -13
  951. data/lib/stripe/events/v2_core_account_person_created_event.rb +0 -23
  952. data/lib/stripe/events/v2_core_account_person_deleted_event.rb +0 -23
  953. data/lib/stripe/events/v2_core_account_person_updated_event.rb +0 -23
  954. data/lib/stripe/events/v2_core_account_updated_event.rb +0 -21
  955. data/lib/stripe/events/v2_money_management_adjustment_created_event.rb +0 -21
  956. data/lib/stripe/events/v2_money_management_financial_account_created_event.rb +0 -21
  957. data/lib/stripe/events/v2_money_management_financial_account_updated_event.rb +0 -21
  958. data/lib/stripe/events/v2_money_management_financial_address_activated_event.rb +0 -21
  959. data/lib/stripe/events/v2_money_management_financial_address_failed_event.rb +0 -21
  960. data/lib/stripe/events/v2_money_management_inbound_transfer_available_event.rb +0 -23
  961. data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_failed_event.rb +0 -21
  962. data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_processing_event.rb +0 -21
  963. data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_queued_event.rb +0 -21
  964. data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_returned_event.rb +0 -21
  965. data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_succeeded_event.rb +0 -21
  966. data/lib/stripe/events/v2_money_management_outbound_payment_canceled_event.rb +0 -21
  967. data/lib/stripe/events/v2_money_management_outbound_payment_created_event.rb +0 -21
  968. data/lib/stripe/events/v2_money_management_outbound_payment_failed_event.rb +0 -21
  969. data/lib/stripe/events/v2_money_management_outbound_payment_posted_event.rb +0 -21
  970. data/lib/stripe/events/v2_money_management_outbound_payment_returned_event.rb +0 -21
  971. data/lib/stripe/events/v2_money_management_outbound_payment_updated_event.rb +0 -21
  972. data/lib/stripe/events/v2_money_management_outbound_transfer_canceled_event.rb +0 -21
  973. data/lib/stripe/events/v2_money_management_outbound_transfer_created_event.rb +0 -21
  974. data/lib/stripe/events/v2_money_management_outbound_transfer_failed_event.rb +0 -21
  975. data/lib/stripe/events/v2_money_management_outbound_transfer_posted_event.rb +0 -21
  976. data/lib/stripe/events/v2_money_management_outbound_transfer_returned_event.rb +0 -21
  977. data/lib/stripe/events/v2_money_management_outbound_transfer_updated_event.rb +0 -21
  978. data/lib/stripe/events/v2_money_management_payout_method_updated_event.rb +0 -21
  979. data/lib/stripe/events/v2_money_management_received_credit_available_event.rb +0 -23
  980. data/lib/stripe/events/v2_money_management_received_credit_failed_event.rb +0 -21
  981. data/lib/stripe/events/v2_money_management_received_credit_returned_event.rb +0 -21
  982. data/lib/stripe/events/v2_money_management_received_credit_succeeded_event.rb +0 -21
  983. data/lib/stripe/events/v2_money_management_received_debit_canceled_event.rb +0 -21
  984. data/lib/stripe/events/v2_money_management_received_debit_failed_event.rb +0 -21
  985. data/lib/stripe/events/v2_money_management_received_debit_pending_event.rb +0 -21
  986. data/lib/stripe/events/v2_money_management_received_debit_succeeded_event.rb +0 -21
  987. data/lib/stripe/events/v2_money_management_received_debit_updated_event.rb +0 -21
  988. data/lib/stripe/events/v2_money_management_transaction_created_event.rb +0 -21
  989. data/lib/stripe/events/v2_money_management_transaction_updated_event.rb +0 -21
  990. data/lib/stripe/events/v2_payments_off_session_payment_authorization_attempt_failed_event.rb +0 -21
  991. data/lib/stripe/events/v2_payments_off_session_payment_authorization_attempt_started_event.rb +0 -22
  992. data/lib/stripe/events/v2_payments_off_session_payment_canceled_event.rb +0 -21
  993. data/lib/stripe/events/v2_payments_off_session_payment_created_event.rb +0 -21
  994. data/lib/stripe/events/v2_payments_off_session_payment_failed_event.rb +0 -21
  995. data/lib/stripe/events/v2_payments_off_session_payment_succeeded_event.rb +0 -21
  996. data/lib/stripe/resources/account_notice.rb +0 -123
  997. data/lib/stripe/resources/billing/meter_usage.rb +0 -23
  998. data/lib/stripe/resources/billing/meter_usage_row.rb +0 -28
  999. data/lib/stripe/resources/capital/financing_offer.rb +0 -179
  1000. data/lib/stripe/resources/capital/financing_summary.rb +0 -55
  1001. data/lib/stripe/resources/capital/financing_transaction.rb +0 -114
  1002. data/lib/stripe/resources/financial_connections/account_inferred_balance.rb +0 -27
  1003. data/lib/stripe/resources/financial_connections/institution.rb +0 -92
  1004. data/lib/stripe/resources/fx_quote.rb +0 -186
  1005. data/lib/stripe/resources/issuing/credit_underwriting_record.rb +0 -602
  1006. data/lib/stripe/resources/issuing/dispute_settlement_detail.rb +0 -82
  1007. data/lib/stripe/resources/issuing/fraud_liability_debit.rb +0 -86
  1008. data/lib/stripe/resources/issuing/settlement.rb +0 -53
  1009. data/lib/stripe/resources/margin.rb +0 -115
  1010. data/lib/stripe/resources/order.rb +0 -2958
  1011. data/lib/stripe/resources/payment_attempt_record.rb +0 -1181
  1012. data/lib/stripe/resources/payment_intent_amount_details_line_item.rb +0 -72
  1013. data/lib/stripe/resources/payment_record.rb +0 -1727
  1014. data/lib/stripe/resources/privacy/redaction_job.rb +0 -298
  1015. data/lib/stripe/resources/privacy/redaction_job_validation_error.rb +0 -33
  1016. data/lib/stripe/resources/quote_line.rb +0 -274
  1017. data/lib/stripe/resources/quote_preview_invoice.rb +0 -680
  1018. data/lib/stripe/resources/quote_preview_subscription_schedule.rb +0 -395
  1019. data/lib/stripe/resources/tax/association.rb +0 -66
  1020. data/lib/stripe/resources/tax/form.rb +0 -211
  1021. data/lib/stripe/resources/terminal/onboarding_link.rb +0 -84
  1022. data/lib/stripe/resources/terminal/reader_collected_data.rb +0 -31
  1023. data/lib/stripe/resources/v2/core/account.rb +0 -1938
  1024. data/lib/stripe/resources/v2/core/account_link.rb +0 -72
  1025. data/lib/stripe/resources/v2/core/person.rb +0 -276
  1026. data/lib/stripe/resources/v2/core/vault/gb_bank_account.rb +0 -74
  1027. data/lib/stripe/resources/v2/core/vault/us_bank_account.rb +0 -39
  1028. data/lib/stripe/resources/v2/event.rb +0 -41
  1029. data/lib/stripe/resources/v2/event_destination.rb +0 -73
  1030. data/lib/stripe/resources/v2/financial_address_credit_simulation.rb +0 -20
  1031. data/lib/stripe/resources/v2/financial_address_generated_microdeposits.rb +0 -22
  1032. data/lib/stripe/resources/v2/money_management/adjustment.rb +0 -51
  1033. data/lib/stripe/resources/v2/money_management/financial_account.rb +0 -79
  1034. data/lib/stripe/resources/v2/money_management/financial_address.rb +0 -68
  1035. data/lib/stripe/resources/v2/money_management/inbound_transfer.rb +0 -94
  1036. data/lib/stripe/resources/v2/money_management/outbound_payment.rb +0 -129
  1037. data/lib/stripe/resources/v2/money_management/outbound_payment_quote.rb +0 -82
  1038. data/lib/stripe/resources/v2/money_management/outbound_setup_intent.rb +0 -45
  1039. data/lib/stripe/resources/v2/money_management/outbound_transfer.rb +0 -117
  1040. data/lib/stripe/resources/v2/money_management/payout_method.rb +0 -77
  1041. data/lib/stripe/resources/v2/money_management/payout_methods_bank_account_spec.rb +0 -49
  1042. data/lib/stripe/resources/v2/money_management/received_credit.rb +0 -122
  1043. data/lib/stripe/resources/v2/money_management/received_debit.rb +0 -84
  1044. data/lib/stripe/resources/v2/money_management/transaction.rb +0 -80
  1045. data/lib/stripe/resources/v2/money_management/transaction_entry.rb +0 -70
  1046. data/lib/stripe/resources/v2/payments/off_session_payment.rb +0 -89
  1047. data/lib/stripe/services/account_notice_service.rb +0 -101
  1048. data/lib/stripe/services/billing/meter_usage_service.rb +0 -76
  1049. data/lib/stripe/services/capital/financing_offer_service.rb +0 -112
  1050. data/lib/stripe/services/capital/financing_summary_service.rb +0 -28
  1051. data/lib/stripe/services/capital/financing_transaction_service.rb +0 -79
  1052. data/lib/stripe/services/capital_service.rb +0 -15
  1053. data/lib/stripe/services/external_account_service.rb +0 -317
  1054. data/lib/stripe/services/financial_connections/account_inferred_balance_service.rb +0 -37
  1055. data/lib/stripe/services/financial_connections/institution_service.rb +0 -57
  1056. data/lib/stripe/services/fx_quote_service.rb +0 -123
  1057. data/lib/stripe/services/issuing/credit_underwriting_record_service.rb +0 -504
  1058. data/lib/stripe/services/issuing/dispute_settlement_detail_service.rb +0 -66
  1059. data/lib/stripe/services/issuing/fraud_liability_debit_service.rb +0 -83
  1060. data/lib/stripe/services/margin_service.rb +0 -119
  1061. data/lib/stripe/services/order_service.rb +0 -2388
  1062. data/lib/stripe/services/payment_attempt_record_service.rb +0 -52
  1063. data/lib/stripe/services/payment_record_service.rb +0 -562
  1064. data/lib/stripe/services/privacy/redaction_job_service.rb +0 -240
  1065. data/lib/stripe/services/privacy/redaction_job_validation_error_service.rb +0 -37
  1066. data/lib/stripe/services/privacy_service.rb +0 -13
  1067. data/lib/stripe/services/tax/association_service.rb +0 -31
  1068. data/lib/stripe/services/tax/form_service.rb +0 -100
  1069. data/lib/stripe/services/terminal/onboarding_link_service.rb +0 -56
  1070. data/lib/stripe/services/terminal/reader_collected_data_service.rb +0 -28
  1071. data/lib/stripe/services/v2/core/account_link_service.rb +0 -114
  1072. data/lib/stripe/services/v2/core/account_service.rb +0 -4536
  1073. data/lib/stripe/services/v2/core/accounts/person_service.rb +0 -1045
  1074. data/lib/stripe/services/v2/core/vault/gb_bank_account_service.rb +0 -130
  1075. data/lib/stripe/services/v2/core/vault/us_bank_account_service.rb +0 -107
  1076. data/lib/stripe/services/v2/core/vault_service.rb +0 -18
  1077. data/lib/stripe/services/v2/money_management/adjustment_service.rb +0 -74
  1078. data/lib/stripe/services/v2/money_management/financial_account_service.rb +0 -119
  1079. data/lib/stripe/services/v2/money_management/financial_address_service.rb +0 -82
  1080. data/lib/stripe/services/v2/money_management/inbound_transfer_service.rb +0 -125
  1081. data/lib/stripe/services/v2/money_management/outbound_payment_quote_service.rb +0 -95
  1082. data/lib/stripe/services/v2/money_management/outbound_payment_service.rb +0 -199
  1083. data/lib/stripe/services/v2/money_management/outbound_setup_intent_service.rb +0 -235
  1084. data/lib/stripe/services/v2/money_management/outbound_transfer_service.rb +0 -172
  1085. data/lib/stripe/services/v2/money_management/payout_method_service.rb +0 -90
  1086. data/lib/stripe/services/v2/money_management/payout_methods_bank_account_spec_service.rb +0 -32
  1087. data/lib/stripe/services/v2/money_management/received_credit_service.rb +0 -70
  1088. data/lib/stripe/services/v2/money_management/received_debit_service.rb +0 -43
  1089. data/lib/stripe/services/v2/money_management/transaction_entry_service.rb +0 -69
  1090. data/lib/stripe/services/v2/money_management/transaction_service.rb +0 -73
  1091. data/lib/stripe/services/v2/money_management_service.rb +0 -31
  1092. data/lib/stripe/services/v2/payment_service.rb +0 -15
  1093. data/lib/stripe/services/v2/payments/off_session_payment_service.rb +0 -152
  1094. data/lib/stripe/services/v2/test_helper_service.rb +0 -15
  1095. data/lib/stripe/services/v2/test_helpers/financial_address_service.rb +0 -53
  1096. data/lib/stripe/thin_event.rb +0 -37
  1097. data/stripe.gemspec +0 -47
@@ -13,4716 +13,6 @@ module Stripe
13
13
  @persons = Stripe::AccountPersonService.new(@requestor)
14
14
  end
15
15
 
16
- class DeleteParams < Stripe::RequestParams; end
17
-
18
- class RetrieveParams < Stripe::RequestParams
19
- # Specifies which fields in the response should be expanded.
20
- attr_accessor :expand
21
-
22
- def initialize(expand: nil)
23
- @expand = expand
24
- end
25
- end
26
-
27
- class UpdateParams < Stripe::RequestParams
28
- class BankAccount < Stripe::RequestParams
29
- # Attribute for param field object
30
- attr_accessor :object
31
- # The name of the person or business that owns the bank account.This field is required when attaching the bank account to a `Customer` object.
32
- attr_accessor :account_holder_name
33
- # The type of entity that holds the account. It can be `company` or `individual`. This field is required when attaching the bank account to a `Customer` object.
34
- attr_accessor :account_holder_type
35
- # The account number for the bank account, in string form. Must be a checking account.
36
- attr_accessor :account_number
37
- # The country in which the bank account is located.
38
- attr_accessor :country
39
- # The currency the bank account is in. This must be a country/currency pairing that [Stripe supports.](docs/payouts)
40
- attr_accessor :currency
41
- # The routing number, sort code, or other country-appropriate institution number for the bank account. For US bank accounts, this is required and should be the ACH routing number, not the wire routing number. If you are providing an IBAN for `account_number`, this field is not required.
42
- attr_accessor :routing_number
43
-
44
- def initialize(
45
- object: nil,
46
- account_holder_name: nil,
47
- account_holder_type: nil,
48
- account_number: nil,
49
- country: nil,
50
- currency: nil,
51
- routing_number: nil
52
- )
53
- @object = object
54
- @account_holder_name = account_holder_name
55
- @account_holder_type = account_holder_type
56
- @account_number = account_number
57
- @country = country
58
- @currency = currency
59
- @routing_number = routing_number
60
- end
61
- end
62
-
63
- class BusinessProfile < Stripe::RequestParams
64
- class AnnualRevenue < Stripe::RequestParams
65
- # A non-negative integer representing the amount in the [smallest currency unit](/currencies#zero-decimal).
66
- attr_accessor :amount
67
- # Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).
68
- attr_accessor :currency
69
- # The close-out date of the preceding fiscal year in ISO 8601 format. E.g. 2023-12-31 for the 31st of December, 2023.
70
- attr_accessor :fiscal_year_end
71
-
72
- def initialize(amount: nil, currency: nil, fiscal_year_end: nil)
73
- @amount = amount
74
- @currency = currency
75
- @fiscal_year_end = fiscal_year_end
76
- end
77
- end
78
-
79
- class MonthlyEstimatedRevenue < Stripe::RequestParams
80
- # A non-negative integer representing how much to charge in the [smallest currency unit](/currencies#zero-decimal).
81
- attr_accessor :amount
82
- # Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).
83
- attr_accessor :currency
84
-
85
- def initialize(amount: nil, currency: nil)
86
- @amount = amount
87
- @currency = currency
88
- end
89
- end
90
-
91
- class SupportAddress < Stripe::RequestParams
92
- # City, district, suburb, town, or village.
93
- attr_accessor :city
94
- # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
95
- attr_accessor :country
96
- # Address line 1 (e.g., street, PO Box, or company name).
97
- attr_accessor :line1
98
- # Address line 2 (e.g., apartment, suite, unit, or building).
99
- attr_accessor :line2
100
- # ZIP or postal code.
101
- attr_accessor :postal_code
102
- # State, county, province, or region.
103
- attr_accessor :state
104
-
105
- def initialize(
106
- city: nil,
107
- country: nil,
108
- line1: nil,
109
- line2: nil,
110
- postal_code: nil,
111
- state: nil
112
- )
113
- @city = city
114
- @country = country
115
- @line1 = line1
116
- @line2 = line2
117
- @postal_code = postal_code
118
- @state = state
119
- end
120
- end
121
- # The applicant's gross annual revenue for its preceding fiscal year.
122
- attr_accessor :annual_revenue
123
- # An estimated upper bound of employees, contractors, vendors, etc. currently working for the business.
124
- attr_accessor :estimated_worker_count
125
- # [The merchant category code for the account](/connect/setting-mcc). MCCs are used to classify businesses based on the goods or services they provide.
126
- attr_accessor :mcc
127
- # Whether the business is a minority-owned, women-owned, and/or LGBTQI+ -owned business.
128
- attr_accessor :minority_owned_business_designation
129
- # An estimate of the monthly revenue of the business. Only accepted for accounts in Brazil and India.
130
- attr_accessor :monthly_estimated_revenue
131
- # The customer-facing business name.
132
- attr_accessor :name
133
- # Internal-only description of the product sold by, or service provided by, the business. Used by Stripe for risk and underwriting purposes.
134
- attr_accessor :product_description
135
- # A publicly available mailing address for sending support issues to.
136
- attr_accessor :support_address
137
- # A publicly available email address for sending support issues to.
138
- attr_accessor :support_email
139
- # A publicly available phone number to call with support issues.
140
- attr_accessor :support_phone
141
- # A publicly available website for handling support issues.
142
- attr_accessor :support_url
143
- # The business's publicly available website.
144
- attr_accessor :url
145
-
146
- def initialize(
147
- annual_revenue: nil,
148
- estimated_worker_count: nil,
149
- mcc: nil,
150
- minority_owned_business_designation: nil,
151
- monthly_estimated_revenue: nil,
152
- name: nil,
153
- product_description: nil,
154
- support_address: nil,
155
- support_email: nil,
156
- support_phone: nil,
157
- support_url: nil,
158
- url: nil
159
- )
160
- @annual_revenue = annual_revenue
161
- @estimated_worker_count = estimated_worker_count
162
- @mcc = mcc
163
- @minority_owned_business_designation = minority_owned_business_designation
164
- @monthly_estimated_revenue = monthly_estimated_revenue
165
- @name = name
166
- @product_description = product_description
167
- @support_address = support_address
168
- @support_email = support_email
169
- @support_phone = support_phone
170
- @support_url = support_url
171
- @url = url
172
- end
173
- end
174
-
175
- class Capabilities < Stripe::RequestParams
176
- class AcssDebitPayments < Stripe::RequestParams
177
- # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
178
- attr_accessor :requested
179
-
180
- def initialize(requested: nil)
181
- @requested = requested
182
- end
183
- end
184
-
185
- class AffirmPayments < Stripe::RequestParams
186
- # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
187
- attr_accessor :requested
188
-
189
- def initialize(requested: nil)
190
- @requested = requested
191
- end
192
- end
193
-
194
- class AfterpayClearpayPayments < Stripe::RequestParams
195
- # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
196
- attr_accessor :requested
197
-
198
- def initialize(requested: nil)
199
- @requested = requested
200
- end
201
- end
202
-
203
- class AlmaPayments < Stripe::RequestParams
204
- # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
205
- attr_accessor :requested
206
-
207
- def initialize(requested: nil)
208
- @requested = requested
209
- end
210
- end
211
-
212
- class AmazonPayPayments < Stripe::RequestParams
213
- # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
214
- attr_accessor :requested
215
-
216
- def initialize(requested: nil)
217
- @requested = requested
218
- end
219
- end
220
-
221
- class AuBecsDebitPayments < Stripe::RequestParams
222
- # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
223
- attr_accessor :requested
224
-
225
- def initialize(requested: nil)
226
- @requested = requested
227
- end
228
- end
229
-
230
- class AutomaticIndirectTax < Stripe::RequestParams
231
- # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
232
- attr_accessor :requested
233
-
234
- def initialize(requested: nil)
235
- @requested = requested
236
- end
237
- end
238
-
239
- class BacsDebitPayments < Stripe::RequestParams
240
- # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
241
- attr_accessor :requested
242
-
243
- def initialize(requested: nil)
244
- @requested = requested
245
- end
246
- end
247
-
248
- class BancontactPayments < Stripe::RequestParams
249
- # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
250
- attr_accessor :requested
251
-
252
- def initialize(requested: nil)
253
- @requested = requested
254
- end
255
- end
256
-
257
- class BankTransferPayments < Stripe::RequestParams
258
- # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
259
- attr_accessor :requested
260
-
261
- def initialize(requested: nil)
262
- @requested = requested
263
- end
264
- end
265
-
266
- class BilliePayments < Stripe::RequestParams
267
- # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
268
- attr_accessor :requested
269
-
270
- def initialize(requested: nil)
271
- @requested = requested
272
- end
273
- end
274
-
275
- class BlikPayments < Stripe::RequestParams
276
- # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
277
- attr_accessor :requested
278
-
279
- def initialize(requested: nil)
280
- @requested = requested
281
- end
282
- end
283
-
284
- class BoletoPayments < Stripe::RequestParams
285
- # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
286
- attr_accessor :requested
287
-
288
- def initialize(requested: nil)
289
- @requested = requested
290
- end
291
- end
292
-
293
- class CardIssuing < Stripe::RequestParams
294
- # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
295
- attr_accessor :requested
296
-
297
- def initialize(requested: nil)
298
- @requested = requested
299
- end
300
- end
301
-
302
- class CardPayments < Stripe::RequestParams
303
- # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
304
- attr_accessor :requested
305
-
306
- def initialize(requested: nil)
307
- @requested = requested
308
- end
309
- end
310
-
311
- class CartesBancairesPayments < Stripe::RequestParams
312
- # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
313
- attr_accessor :requested
314
-
315
- def initialize(requested: nil)
316
- @requested = requested
317
- end
318
- end
319
-
320
- class CashappPayments < Stripe::RequestParams
321
- # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
322
- attr_accessor :requested
323
-
324
- def initialize(requested: nil)
325
- @requested = requested
326
- end
327
- end
328
-
329
- class CryptoPayments < Stripe::RequestParams
330
- # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
331
- attr_accessor :requested
332
-
333
- def initialize(requested: nil)
334
- @requested = requested
335
- end
336
- end
337
-
338
- class EpsPayments < Stripe::RequestParams
339
- # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
340
- attr_accessor :requested
341
-
342
- def initialize(requested: nil)
343
- @requested = requested
344
- end
345
- end
346
-
347
- class FpxPayments < Stripe::RequestParams
348
- # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
349
- attr_accessor :requested
350
-
351
- def initialize(requested: nil)
352
- @requested = requested
353
- end
354
- end
355
-
356
- class GbBankTransferPayments < Stripe::RequestParams
357
- # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
358
- attr_accessor :requested
359
-
360
- def initialize(requested: nil)
361
- @requested = requested
362
- end
363
- end
364
-
365
- class GiropayPayments < Stripe::RequestParams
366
- # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
367
- attr_accessor :requested
368
-
369
- def initialize(requested: nil)
370
- @requested = requested
371
- end
372
- end
373
-
374
- class GopayPayments < Stripe::RequestParams
375
- # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
376
- attr_accessor :requested
377
-
378
- def initialize(requested: nil)
379
- @requested = requested
380
- end
381
- end
382
-
383
- class GrabpayPayments < Stripe::RequestParams
384
- # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
385
- attr_accessor :requested
386
-
387
- def initialize(requested: nil)
388
- @requested = requested
389
- end
390
- end
391
-
392
- class IdBankTransferPayments < Stripe::RequestParams
393
- # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
394
- attr_accessor :requested
395
-
396
- def initialize(requested: nil)
397
- @requested = requested
398
- end
399
- end
400
-
401
- class IdBankTransferPaymentsBca < Stripe::RequestParams
402
- # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
403
- attr_accessor :requested
404
-
405
- def initialize(requested: nil)
406
- @requested = requested
407
- end
408
- end
409
-
410
- class IdealPayments < Stripe::RequestParams
411
- # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
412
- attr_accessor :requested
413
-
414
- def initialize(requested: nil)
415
- @requested = requested
416
- end
417
- end
418
-
419
- class IndiaInternationalPayments < Stripe::RequestParams
420
- # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
421
- attr_accessor :requested
422
-
423
- def initialize(requested: nil)
424
- @requested = requested
425
- end
426
- end
427
-
428
- class JcbPayments < Stripe::RequestParams
429
- # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
430
- attr_accessor :requested
431
-
432
- def initialize(requested: nil)
433
- @requested = requested
434
- end
435
- end
436
-
437
- class JpBankTransferPayments < Stripe::RequestParams
438
- # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
439
- attr_accessor :requested
440
-
441
- def initialize(requested: nil)
442
- @requested = requested
443
- end
444
- end
445
-
446
- class KakaoPayPayments < Stripe::RequestParams
447
- # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
448
- attr_accessor :requested
449
-
450
- def initialize(requested: nil)
451
- @requested = requested
452
- end
453
- end
454
-
455
- class KlarnaPayments < Stripe::RequestParams
456
- # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
457
- attr_accessor :requested
458
-
459
- def initialize(requested: nil)
460
- @requested = requested
461
- end
462
- end
463
-
464
- class KonbiniPayments < Stripe::RequestParams
465
- # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
466
- attr_accessor :requested
467
-
468
- def initialize(requested: nil)
469
- @requested = requested
470
- end
471
- end
472
-
473
- class KrCardPayments < Stripe::RequestParams
474
- # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
475
- attr_accessor :requested
476
-
477
- def initialize(requested: nil)
478
- @requested = requested
479
- end
480
- end
481
-
482
- class LegacyPayments < Stripe::RequestParams
483
- # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
484
- attr_accessor :requested
485
-
486
- def initialize(requested: nil)
487
- @requested = requested
488
- end
489
- end
490
-
491
- class LinkPayments < Stripe::RequestParams
492
- # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
493
- attr_accessor :requested
494
-
495
- def initialize(requested: nil)
496
- @requested = requested
497
- end
498
- end
499
-
500
- class MbWayPayments < Stripe::RequestParams
501
- # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
502
- attr_accessor :requested
503
-
504
- def initialize(requested: nil)
505
- @requested = requested
506
- end
507
- end
508
-
509
- class MobilepayPayments < Stripe::RequestParams
510
- # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
511
- attr_accessor :requested
512
-
513
- def initialize(requested: nil)
514
- @requested = requested
515
- end
516
- end
517
-
518
- class MultibancoPayments < Stripe::RequestParams
519
- # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
520
- attr_accessor :requested
521
-
522
- def initialize(requested: nil)
523
- @requested = requested
524
- end
525
- end
526
-
527
- class MxBankTransferPayments < Stripe::RequestParams
528
- # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
529
- attr_accessor :requested
530
-
531
- def initialize(requested: nil)
532
- @requested = requested
533
- end
534
- end
535
-
536
- class NaverPayPayments < Stripe::RequestParams
537
- # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
538
- attr_accessor :requested
539
-
540
- def initialize(requested: nil)
541
- @requested = requested
542
- end
543
- end
544
-
545
- class NzBankAccountBecsDebitPayments < Stripe::RequestParams
546
- # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
547
- attr_accessor :requested
548
-
549
- def initialize(requested: nil)
550
- @requested = requested
551
- end
552
- end
553
-
554
- class OxxoPayments < Stripe::RequestParams
555
- # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
556
- attr_accessor :requested
557
-
558
- def initialize(requested: nil)
559
- @requested = requested
560
- end
561
- end
562
-
563
- class P24Payments < Stripe::RequestParams
564
- # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
565
- attr_accessor :requested
566
-
567
- def initialize(requested: nil)
568
- @requested = requested
569
- end
570
- end
571
-
572
- class PayByBankPayments < Stripe::RequestParams
573
- # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
574
- attr_accessor :requested
575
-
576
- def initialize(requested: nil)
577
- @requested = requested
578
- end
579
- end
580
-
581
- class PaycoPayments < Stripe::RequestParams
582
- # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
583
- attr_accessor :requested
584
-
585
- def initialize(requested: nil)
586
- @requested = requested
587
- end
588
- end
589
-
590
- class PaynowPayments < Stripe::RequestParams
591
- # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
592
- attr_accessor :requested
593
-
594
- def initialize(requested: nil)
595
- @requested = requested
596
- end
597
- end
598
-
599
- class PaypalPayments < Stripe::RequestParams
600
- # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
601
- attr_accessor :requested
602
-
603
- def initialize(requested: nil)
604
- @requested = requested
605
- end
606
- end
607
-
608
- class PaytoPayments < Stripe::RequestParams
609
- # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
610
- attr_accessor :requested
611
-
612
- def initialize(requested: nil)
613
- @requested = requested
614
- end
615
- end
616
-
617
- class PixPayments < Stripe::RequestParams
618
- # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
619
- attr_accessor :requested
620
-
621
- def initialize(requested: nil)
622
- @requested = requested
623
- end
624
- end
625
-
626
- class PromptpayPayments < Stripe::RequestParams
627
- # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
628
- attr_accessor :requested
629
-
630
- def initialize(requested: nil)
631
- @requested = requested
632
- end
633
- end
634
-
635
- class QrisPayments < Stripe::RequestParams
636
- # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
637
- attr_accessor :requested
638
-
639
- def initialize(requested: nil)
640
- @requested = requested
641
- end
642
- end
643
-
644
- class RechnungPayments < Stripe::RequestParams
645
- # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
646
- attr_accessor :requested
647
-
648
- def initialize(requested: nil)
649
- @requested = requested
650
- end
651
- end
652
-
653
- class RevolutPayPayments < Stripe::RequestParams
654
- # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
655
- attr_accessor :requested
656
-
657
- def initialize(requested: nil)
658
- @requested = requested
659
- end
660
- end
661
-
662
- class SamsungPayPayments < Stripe::RequestParams
663
- # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
664
- attr_accessor :requested
665
-
666
- def initialize(requested: nil)
667
- @requested = requested
668
- end
669
- end
670
-
671
- class SatispayPayments < Stripe::RequestParams
672
- # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
673
- attr_accessor :requested
674
-
675
- def initialize(requested: nil)
676
- @requested = requested
677
- end
678
- end
679
-
680
- class SepaBankTransferPayments < Stripe::RequestParams
681
- # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
682
- attr_accessor :requested
683
-
684
- def initialize(requested: nil)
685
- @requested = requested
686
- end
687
- end
688
-
689
- class SepaDebitPayments < Stripe::RequestParams
690
- # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
691
- attr_accessor :requested
692
-
693
- def initialize(requested: nil)
694
- @requested = requested
695
- end
696
- end
697
-
698
- class ShopeepayPayments < Stripe::RequestParams
699
- # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
700
- attr_accessor :requested
701
-
702
- def initialize(requested: nil)
703
- @requested = requested
704
- end
705
- end
706
-
707
- class SofortPayments < Stripe::RequestParams
708
- # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
709
- attr_accessor :requested
710
-
711
- def initialize(requested: nil)
712
- @requested = requested
713
- end
714
- end
715
-
716
- class StripeBalancePayments < Stripe::RequestParams
717
- # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
718
- attr_accessor :requested
719
-
720
- def initialize(requested: nil)
721
- @requested = requested
722
- end
723
- end
724
-
725
- class SwishPayments < Stripe::RequestParams
726
- # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
727
- attr_accessor :requested
728
-
729
- def initialize(requested: nil)
730
- @requested = requested
731
- end
732
- end
733
-
734
- class TaxReportingUs1099K < Stripe::RequestParams
735
- # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
736
- attr_accessor :requested
737
-
738
- def initialize(requested: nil)
739
- @requested = requested
740
- end
741
- end
742
-
743
- class TaxReportingUs1099Misc < Stripe::RequestParams
744
- # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
745
- attr_accessor :requested
746
-
747
- def initialize(requested: nil)
748
- @requested = requested
749
- end
750
- end
751
-
752
- class Transfers < Stripe::RequestParams
753
- # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
754
- attr_accessor :requested
755
-
756
- def initialize(requested: nil)
757
- @requested = requested
758
- end
759
- end
760
-
761
- class Treasury < Stripe::RequestParams
762
- # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
763
- attr_accessor :requested
764
-
765
- def initialize(requested: nil)
766
- @requested = requested
767
- end
768
- end
769
-
770
- class TreasuryEvolve < Stripe::RequestParams
771
- # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
772
- attr_accessor :requested
773
-
774
- def initialize(requested: nil)
775
- @requested = requested
776
- end
777
- end
778
-
779
- class TreasuryFifthThird < Stripe::RequestParams
780
- # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
781
- attr_accessor :requested
782
-
783
- def initialize(requested: nil)
784
- @requested = requested
785
- end
786
- end
787
-
788
- class TreasuryGoldmanSachs < Stripe::RequestParams
789
- # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
790
- attr_accessor :requested
791
-
792
- def initialize(requested: nil)
793
- @requested = requested
794
- end
795
- end
796
-
797
- class TwintPayments < Stripe::RequestParams
798
- # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
799
- attr_accessor :requested
800
-
801
- def initialize(requested: nil)
802
- @requested = requested
803
- end
804
- end
805
-
806
- class UsBankAccountAchPayments < Stripe::RequestParams
807
- # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
808
- attr_accessor :requested
809
-
810
- def initialize(requested: nil)
811
- @requested = requested
812
- end
813
- end
814
-
815
- class UsBankTransferPayments < Stripe::RequestParams
816
- # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
817
- attr_accessor :requested
818
-
819
- def initialize(requested: nil)
820
- @requested = requested
821
- end
822
- end
823
-
824
- class ZipPayments < Stripe::RequestParams
825
- # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
826
- attr_accessor :requested
827
-
828
- def initialize(requested: nil)
829
- @requested = requested
830
- end
831
- end
832
- # The acss_debit_payments capability.
833
- attr_accessor :acss_debit_payments
834
- # The affirm_payments capability.
835
- attr_accessor :affirm_payments
836
- # The afterpay_clearpay_payments capability.
837
- attr_accessor :afterpay_clearpay_payments
838
- # The alma_payments capability.
839
- attr_accessor :alma_payments
840
- # The amazon_pay_payments capability.
841
- attr_accessor :amazon_pay_payments
842
- # The au_becs_debit_payments capability.
843
- attr_accessor :au_becs_debit_payments
844
- # The automatic_indirect_tax capability.
845
- attr_accessor :automatic_indirect_tax
846
- # The bacs_debit_payments capability.
847
- attr_accessor :bacs_debit_payments
848
- # The bancontact_payments capability.
849
- attr_accessor :bancontact_payments
850
- # The bank_transfer_payments capability.
851
- attr_accessor :bank_transfer_payments
852
- # The billie_payments capability.
853
- attr_accessor :billie_payments
854
- # The blik_payments capability.
855
- attr_accessor :blik_payments
856
- # The boleto_payments capability.
857
- attr_accessor :boleto_payments
858
- # The card_issuing capability.
859
- attr_accessor :card_issuing
860
- # The card_payments capability.
861
- attr_accessor :card_payments
862
- # The cartes_bancaires_payments capability.
863
- attr_accessor :cartes_bancaires_payments
864
- # The cashapp_payments capability.
865
- attr_accessor :cashapp_payments
866
- # The crypto_payments capability.
867
- attr_accessor :crypto_payments
868
- # The eps_payments capability.
869
- attr_accessor :eps_payments
870
- # The fpx_payments capability.
871
- attr_accessor :fpx_payments
872
- # The gb_bank_transfer_payments capability.
873
- attr_accessor :gb_bank_transfer_payments
874
- # The giropay_payments capability.
875
- attr_accessor :giropay_payments
876
- # The gopay_payments capability.
877
- attr_accessor :gopay_payments
878
- # The grabpay_payments capability.
879
- attr_accessor :grabpay_payments
880
- # The id_bank_transfer_payments capability.
881
- attr_accessor :id_bank_transfer_payments
882
- # The id_bank_transfer_payments_bca capability.
883
- attr_accessor :id_bank_transfer_payments_bca
884
- # The ideal_payments capability.
885
- attr_accessor :ideal_payments
886
- # The india_international_payments capability.
887
- attr_accessor :india_international_payments
888
- # The jcb_payments capability.
889
- attr_accessor :jcb_payments
890
- # The jp_bank_transfer_payments capability.
891
- attr_accessor :jp_bank_transfer_payments
892
- # The kakao_pay_payments capability.
893
- attr_accessor :kakao_pay_payments
894
- # The klarna_payments capability.
895
- attr_accessor :klarna_payments
896
- # The konbini_payments capability.
897
- attr_accessor :konbini_payments
898
- # The kr_card_payments capability.
899
- attr_accessor :kr_card_payments
900
- # The legacy_payments capability.
901
- attr_accessor :legacy_payments
902
- # The link_payments capability.
903
- attr_accessor :link_payments
904
- # The mb_way_payments capability.
905
- attr_accessor :mb_way_payments
906
- # The mobilepay_payments capability.
907
- attr_accessor :mobilepay_payments
908
- # The multibanco_payments capability.
909
- attr_accessor :multibanco_payments
910
- # The mx_bank_transfer_payments capability.
911
- attr_accessor :mx_bank_transfer_payments
912
- # The naver_pay_payments capability.
913
- attr_accessor :naver_pay_payments
914
- # The nz_bank_account_becs_debit_payments capability.
915
- attr_accessor :nz_bank_account_becs_debit_payments
916
- # The oxxo_payments capability.
917
- attr_accessor :oxxo_payments
918
- # The p24_payments capability.
919
- attr_accessor :p24_payments
920
- # The pay_by_bank_payments capability.
921
- attr_accessor :pay_by_bank_payments
922
- # The payco_payments capability.
923
- attr_accessor :payco_payments
924
- # The paynow_payments capability.
925
- attr_accessor :paynow_payments
926
- # The paypal_payments capability.
927
- attr_accessor :paypal_payments
928
- # The payto_payments capability.
929
- attr_accessor :payto_payments
930
- # The pix_payments capability.
931
- attr_accessor :pix_payments
932
- # The promptpay_payments capability.
933
- attr_accessor :promptpay_payments
934
- # The qris_payments capability.
935
- attr_accessor :qris_payments
936
- # The rechnung_payments capability.
937
- attr_accessor :rechnung_payments
938
- # The revolut_pay_payments capability.
939
- attr_accessor :revolut_pay_payments
940
- # The samsung_pay_payments capability.
941
- attr_accessor :samsung_pay_payments
942
- # The satispay_payments capability.
943
- attr_accessor :satispay_payments
944
- # The sepa_bank_transfer_payments capability.
945
- attr_accessor :sepa_bank_transfer_payments
946
- # The sepa_debit_payments capability.
947
- attr_accessor :sepa_debit_payments
948
- # The shopeepay_payments capability.
949
- attr_accessor :shopeepay_payments
950
- # The sofort_payments capability.
951
- attr_accessor :sofort_payments
952
- # The stripe_balance_payments capability.
953
- attr_accessor :stripe_balance_payments
954
- # The swish_payments capability.
955
- attr_accessor :swish_payments
956
- # The tax_reporting_us_1099_k capability.
957
- attr_accessor :tax_reporting_us_1099_k
958
- # The tax_reporting_us_1099_misc capability.
959
- attr_accessor :tax_reporting_us_1099_misc
960
- # The transfers capability.
961
- attr_accessor :transfers
962
- # The treasury capability.
963
- attr_accessor :treasury
964
- # The treasury_evolve capability.
965
- attr_accessor :treasury_evolve
966
- # The treasury_fifth_third capability.
967
- attr_accessor :treasury_fifth_third
968
- # The treasury_goldman_sachs capability.
969
- attr_accessor :treasury_goldman_sachs
970
- # The twint_payments capability.
971
- attr_accessor :twint_payments
972
- # The us_bank_account_ach_payments capability.
973
- attr_accessor :us_bank_account_ach_payments
974
- # The us_bank_transfer_payments capability.
975
- attr_accessor :us_bank_transfer_payments
976
- # The zip_payments capability.
977
- attr_accessor :zip_payments
978
-
979
- def initialize(
980
- acss_debit_payments: nil,
981
- affirm_payments: nil,
982
- afterpay_clearpay_payments: nil,
983
- alma_payments: nil,
984
- amazon_pay_payments: nil,
985
- au_becs_debit_payments: nil,
986
- automatic_indirect_tax: nil,
987
- bacs_debit_payments: nil,
988
- bancontact_payments: nil,
989
- bank_transfer_payments: nil,
990
- billie_payments: nil,
991
- blik_payments: nil,
992
- boleto_payments: nil,
993
- card_issuing: nil,
994
- card_payments: nil,
995
- cartes_bancaires_payments: nil,
996
- cashapp_payments: nil,
997
- crypto_payments: nil,
998
- eps_payments: nil,
999
- fpx_payments: nil,
1000
- gb_bank_transfer_payments: nil,
1001
- giropay_payments: nil,
1002
- gopay_payments: nil,
1003
- grabpay_payments: nil,
1004
- id_bank_transfer_payments: nil,
1005
- id_bank_transfer_payments_bca: nil,
1006
- ideal_payments: nil,
1007
- india_international_payments: nil,
1008
- jcb_payments: nil,
1009
- jp_bank_transfer_payments: nil,
1010
- kakao_pay_payments: nil,
1011
- klarna_payments: nil,
1012
- konbini_payments: nil,
1013
- kr_card_payments: nil,
1014
- legacy_payments: nil,
1015
- link_payments: nil,
1016
- mb_way_payments: nil,
1017
- mobilepay_payments: nil,
1018
- multibanco_payments: nil,
1019
- mx_bank_transfer_payments: nil,
1020
- naver_pay_payments: nil,
1021
- nz_bank_account_becs_debit_payments: nil,
1022
- oxxo_payments: nil,
1023
- p24_payments: nil,
1024
- pay_by_bank_payments: nil,
1025
- payco_payments: nil,
1026
- paynow_payments: nil,
1027
- paypal_payments: nil,
1028
- payto_payments: nil,
1029
- pix_payments: nil,
1030
- promptpay_payments: nil,
1031
- qris_payments: nil,
1032
- rechnung_payments: nil,
1033
- revolut_pay_payments: nil,
1034
- samsung_pay_payments: nil,
1035
- satispay_payments: nil,
1036
- sepa_bank_transfer_payments: nil,
1037
- sepa_debit_payments: nil,
1038
- shopeepay_payments: nil,
1039
- sofort_payments: nil,
1040
- stripe_balance_payments: nil,
1041
- swish_payments: nil,
1042
- tax_reporting_us_1099_k: nil,
1043
- tax_reporting_us_1099_misc: nil,
1044
- transfers: nil,
1045
- treasury: nil,
1046
- treasury_evolve: nil,
1047
- treasury_fifth_third: nil,
1048
- treasury_goldman_sachs: nil,
1049
- twint_payments: nil,
1050
- us_bank_account_ach_payments: nil,
1051
- us_bank_transfer_payments: nil,
1052
- zip_payments: nil
1053
- )
1054
- @acss_debit_payments = acss_debit_payments
1055
- @affirm_payments = affirm_payments
1056
- @afterpay_clearpay_payments = afterpay_clearpay_payments
1057
- @alma_payments = alma_payments
1058
- @amazon_pay_payments = amazon_pay_payments
1059
- @au_becs_debit_payments = au_becs_debit_payments
1060
- @automatic_indirect_tax = automatic_indirect_tax
1061
- @bacs_debit_payments = bacs_debit_payments
1062
- @bancontact_payments = bancontact_payments
1063
- @bank_transfer_payments = bank_transfer_payments
1064
- @billie_payments = billie_payments
1065
- @blik_payments = blik_payments
1066
- @boleto_payments = boleto_payments
1067
- @card_issuing = card_issuing
1068
- @card_payments = card_payments
1069
- @cartes_bancaires_payments = cartes_bancaires_payments
1070
- @cashapp_payments = cashapp_payments
1071
- @crypto_payments = crypto_payments
1072
- @eps_payments = eps_payments
1073
- @fpx_payments = fpx_payments
1074
- @gb_bank_transfer_payments = gb_bank_transfer_payments
1075
- @giropay_payments = giropay_payments
1076
- @gopay_payments = gopay_payments
1077
- @grabpay_payments = grabpay_payments
1078
- @id_bank_transfer_payments = id_bank_transfer_payments
1079
- @id_bank_transfer_payments_bca = id_bank_transfer_payments_bca
1080
- @ideal_payments = ideal_payments
1081
- @india_international_payments = india_international_payments
1082
- @jcb_payments = jcb_payments
1083
- @jp_bank_transfer_payments = jp_bank_transfer_payments
1084
- @kakao_pay_payments = kakao_pay_payments
1085
- @klarna_payments = klarna_payments
1086
- @konbini_payments = konbini_payments
1087
- @kr_card_payments = kr_card_payments
1088
- @legacy_payments = legacy_payments
1089
- @link_payments = link_payments
1090
- @mb_way_payments = mb_way_payments
1091
- @mobilepay_payments = mobilepay_payments
1092
- @multibanco_payments = multibanco_payments
1093
- @mx_bank_transfer_payments = mx_bank_transfer_payments
1094
- @naver_pay_payments = naver_pay_payments
1095
- @nz_bank_account_becs_debit_payments = nz_bank_account_becs_debit_payments
1096
- @oxxo_payments = oxxo_payments
1097
- @p24_payments = p24_payments
1098
- @pay_by_bank_payments = pay_by_bank_payments
1099
- @payco_payments = payco_payments
1100
- @paynow_payments = paynow_payments
1101
- @paypal_payments = paypal_payments
1102
- @payto_payments = payto_payments
1103
- @pix_payments = pix_payments
1104
- @promptpay_payments = promptpay_payments
1105
- @qris_payments = qris_payments
1106
- @rechnung_payments = rechnung_payments
1107
- @revolut_pay_payments = revolut_pay_payments
1108
- @samsung_pay_payments = samsung_pay_payments
1109
- @satispay_payments = satispay_payments
1110
- @sepa_bank_transfer_payments = sepa_bank_transfer_payments
1111
- @sepa_debit_payments = sepa_debit_payments
1112
- @shopeepay_payments = shopeepay_payments
1113
- @sofort_payments = sofort_payments
1114
- @stripe_balance_payments = stripe_balance_payments
1115
- @swish_payments = swish_payments
1116
- @tax_reporting_us_1099_k = tax_reporting_us_1099_k
1117
- @tax_reporting_us_1099_misc = tax_reporting_us_1099_misc
1118
- @transfers = transfers
1119
- @treasury = treasury
1120
- @treasury_evolve = treasury_evolve
1121
- @treasury_fifth_third = treasury_fifth_third
1122
- @treasury_goldman_sachs = treasury_goldman_sachs
1123
- @twint_payments = twint_payments
1124
- @us_bank_account_ach_payments = us_bank_account_ach_payments
1125
- @us_bank_transfer_payments = us_bank_transfer_payments
1126
- @zip_payments = zip_payments
1127
- end
1128
- end
1129
-
1130
- class Card < Stripe::RequestParams
1131
- # Attribute for param field object
1132
- attr_accessor :object
1133
- # Attribute for param field address_city
1134
- attr_accessor :address_city
1135
- # Attribute for param field address_country
1136
- attr_accessor :address_country
1137
- # Attribute for param field address_line1
1138
- attr_accessor :address_line1
1139
- # Attribute for param field address_line2
1140
- attr_accessor :address_line2
1141
- # Attribute for param field address_state
1142
- attr_accessor :address_state
1143
- # Attribute for param field address_zip
1144
- attr_accessor :address_zip
1145
- # Attribute for param field currency
1146
- attr_accessor :currency
1147
- # Attribute for param field cvc
1148
- attr_accessor :cvc
1149
- # Attribute for param field exp_month
1150
- attr_accessor :exp_month
1151
- # Attribute for param field exp_year
1152
- attr_accessor :exp_year
1153
- # Attribute for param field name
1154
- attr_accessor :name
1155
- # Attribute for param field number
1156
- attr_accessor :number
1157
- # Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format.
1158
- attr_accessor :metadata
1159
- # Attribute for param field default_for_currency
1160
- attr_accessor :default_for_currency
1161
-
1162
- def initialize(
1163
- object: nil,
1164
- address_city: nil,
1165
- address_country: nil,
1166
- address_line1: nil,
1167
- address_line2: nil,
1168
- address_state: nil,
1169
- address_zip: nil,
1170
- currency: nil,
1171
- cvc: nil,
1172
- exp_month: nil,
1173
- exp_year: nil,
1174
- name: nil,
1175
- number: nil,
1176
- metadata: nil,
1177
- default_for_currency: nil
1178
- )
1179
- @object = object
1180
- @address_city = address_city
1181
- @address_country = address_country
1182
- @address_line1 = address_line1
1183
- @address_line2 = address_line2
1184
- @address_state = address_state
1185
- @address_zip = address_zip
1186
- @currency = currency
1187
- @cvc = cvc
1188
- @exp_month = exp_month
1189
- @exp_year = exp_year
1190
- @name = name
1191
- @number = number
1192
- @metadata = metadata
1193
- @default_for_currency = default_for_currency
1194
- end
1195
- end
1196
-
1197
- class CardToken < Stripe::RequestParams
1198
- # Attribute for param field object
1199
- attr_accessor :object
1200
- # Attribute for param field currency
1201
- attr_accessor :currency
1202
- # Attribute for param field token
1203
- attr_accessor :token
1204
-
1205
- def initialize(object: nil, currency: nil, token: nil)
1206
- @object = object
1207
- @currency = currency
1208
- @token = token
1209
- end
1210
- end
1211
-
1212
- class Company < Stripe::RequestParams
1213
- class Address < Stripe::RequestParams
1214
- # City, district, suburb, town, or village.
1215
- attr_accessor :city
1216
- # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
1217
- attr_accessor :country
1218
- # Address line 1 (e.g., street, PO Box, or company name).
1219
- attr_accessor :line1
1220
- # Address line 2 (e.g., apartment, suite, unit, or building).
1221
- attr_accessor :line2
1222
- # ZIP or postal code.
1223
- attr_accessor :postal_code
1224
- # State, county, province, or region.
1225
- attr_accessor :state
1226
-
1227
- def initialize(
1228
- city: nil,
1229
- country: nil,
1230
- line1: nil,
1231
- line2: nil,
1232
- postal_code: nil,
1233
- state: nil
1234
- )
1235
- @city = city
1236
- @country = country
1237
- @line1 = line1
1238
- @line2 = line2
1239
- @postal_code = postal_code
1240
- @state = state
1241
- end
1242
- end
1243
-
1244
- class AddressKana < Stripe::RequestParams
1245
- # City or ward.
1246
- attr_accessor :city
1247
- # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
1248
- attr_accessor :country
1249
- # Block or building number.
1250
- attr_accessor :line1
1251
- # Building details.
1252
- attr_accessor :line2
1253
- # Postal code.
1254
- attr_accessor :postal_code
1255
- # Prefecture.
1256
- attr_accessor :state
1257
- # Town or cho-me.
1258
- attr_accessor :town
1259
-
1260
- def initialize(
1261
- city: nil,
1262
- country: nil,
1263
- line1: nil,
1264
- line2: nil,
1265
- postal_code: nil,
1266
- state: nil,
1267
- town: nil
1268
- )
1269
- @city = city
1270
- @country = country
1271
- @line1 = line1
1272
- @line2 = line2
1273
- @postal_code = postal_code
1274
- @state = state
1275
- @town = town
1276
- end
1277
- end
1278
-
1279
- class AddressKanji < Stripe::RequestParams
1280
- # City or ward.
1281
- attr_accessor :city
1282
- # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
1283
- attr_accessor :country
1284
- # Block or building number.
1285
- attr_accessor :line1
1286
- # Building details.
1287
- attr_accessor :line2
1288
- # Postal code.
1289
- attr_accessor :postal_code
1290
- # Prefecture.
1291
- attr_accessor :state
1292
- # Town or cho-me.
1293
- attr_accessor :town
1294
-
1295
- def initialize(
1296
- city: nil,
1297
- country: nil,
1298
- line1: nil,
1299
- line2: nil,
1300
- postal_code: nil,
1301
- state: nil,
1302
- town: nil
1303
- )
1304
- @city = city
1305
- @country = country
1306
- @line1 = line1
1307
- @line2 = line2
1308
- @postal_code = postal_code
1309
- @state = state
1310
- @town = town
1311
- end
1312
- end
1313
-
1314
- class DirectorshipDeclaration < Stripe::RequestParams
1315
- # The Unix timestamp marking when the directorship declaration attestation was made.
1316
- attr_accessor :date
1317
- # The IP address from which the directorship declaration attestation was made.
1318
- attr_accessor :ip
1319
- # The user agent of the browser from which the directorship declaration attestation was made.
1320
- attr_accessor :user_agent
1321
-
1322
- def initialize(date: nil, ip: nil, user_agent: nil)
1323
- @date = date
1324
- @ip = ip
1325
- @user_agent = user_agent
1326
- end
1327
- end
1328
-
1329
- class OwnershipDeclaration < Stripe::RequestParams
1330
- # The Unix timestamp marking when the beneficial owner attestation was made.
1331
- attr_accessor :date
1332
- # The IP address from which the beneficial owner attestation was made.
1333
- attr_accessor :ip
1334
- # The user agent of the browser from which the beneficial owner attestation was made.
1335
- attr_accessor :user_agent
1336
-
1337
- def initialize(date: nil, ip: nil, user_agent: nil)
1338
- @date = date
1339
- @ip = ip
1340
- @user_agent = user_agent
1341
- end
1342
- end
1343
-
1344
- class RegistrationDate < Stripe::RequestParams
1345
- # The day of registration, between 1 and 31.
1346
- attr_accessor :day
1347
- # The month of registration, between 1 and 12.
1348
- attr_accessor :month
1349
- # The four-digit year of registration.
1350
- attr_accessor :year
1351
-
1352
- def initialize(day: nil, month: nil, year: nil)
1353
- @day = day
1354
- @month = month
1355
- @year = year
1356
- end
1357
- end
1358
-
1359
- class Verification < Stripe::RequestParams
1360
- class Document < Stripe::RequestParams
1361
- # The back of a document returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `additional_verification`. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size.
1362
- attr_accessor :back
1363
- # The front of a document returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `additional_verification`. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size.
1364
- attr_accessor :front
1365
-
1366
- def initialize(back: nil, front: nil)
1367
- @back = back
1368
- @front = front
1369
- end
1370
- end
1371
- # A document verifying the business.
1372
- attr_accessor :document
1373
-
1374
- def initialize(document: nil)
1375
- @document = document
1376
- end
1377
- end
1378
- # The company's primary address.
1379
- attr_accessor :address
1380
- # The Kana variation of the company's primary address (Japan only).
1381
- attr_accessor :address_kana
1382
- # The Kanji variation of the company's primary address (Japan only).
1383
- attr_accessor :address_kanji
1384
- # Whether the company's directors have been provided. Set this Boolean to `true` after creating all the company's directors with [the Persons API](/api/persons) for accounts with a `relationship.director` requirement. This value is not automatically set to `true` after creating directors, so it needs to be updated to indicate all directors have been provided.
1385
- attr_accessor :directors_provided
1386
- # This hash is used to attest that the directors information provided to Stripe is both current and correct.
1387
- attr_accessor :directorship_declaration
1388
- # Whether the company's executives have been provided. Set this Boolean to `true` after creating all the company's executives with [the Persons API](/api/persons) for accounts with a `relationship.executive` requirement.
1389
- attr_accessor :executives_provided
1390
- # The export license ID number of the company, also referred as Import Export Code (India only).
1391
- attr_accessor :export_license_id
1392
- # The purpose code to use for export transactions (India only).
1393
- attr_accessor :export_purpose_code
1394
- # The company's legal name.
1395
- attr_accessor :name
1396
- # The Kana variation of the company's legal name (Japan only).
1397
- attr_accessor :name_kana
1398
- # The Kanji variation of the company's legal name (Japan only).
1399
- attr_accessor :name_kanji
1400
- # Whether the company's owners have been provided. Set this Boolean to `true` after creating all the company's owners with [the Persons API](/api/persons) for accounts with a `relationship.owner` requirement.
1401
- attr_accessor :owners_provided
1402
- # This hash is used to attest that the beneficial owner information provided to Stripe is both current and correct.
1403
- attr_accessor :ownership_declaration
1404
- # This value is used to determine if a business is exempt from providing ultimate beneficial owners. See [this support article](https://support.stripe.com/questions/exemption-from-providing-ownership-details) and [changelog](https://docs.stripe.com/changelog/acacia/2025-01-27/ownership-exemption-reason-accounts-api) for more details.
1405
- attr_accessor :ownership_exemption_reason
1406
- # The company's phone number (used for verification).
1407
- attr_accessor :phone
1408
- # Attribute for param field registration_date
1409
- attr_accessor :registration_date
1410
- # The identification number given to a company when it is registered or incorporated, if distinct from the identification number used for filing taxes. (Examples are the CIN for companies and LLP IN for partnerships in India, and the Company Registration Number in Hong Kong).
1411
- attr_accessor :registration_number
1412
- # The category identifying the legal structure of the company or legal entity. See [Business structure](/connect/identity-verification#business-structure) for more details. Pass an empty string to unset this value.
1413
- attr_accessor :structure
1414
- # The business ID number of the company, as appropriate for the company’s country. (Examples are an Employer ID Number in the U.S., a Business Number in Canada, or a Company Number in the UK.)
1415
- attr_accessor :tax_id
1416
- # The jurisdiction in which the `tax_id` is registered (Germany-based companies only).
1417
- attr_accessor :tax_id_registrar
1418
- # The VAT number of the company.
1419
- attr_accessor :vat_id
1420
- # Information on the verification state of the company.
1421
- attr_accessor :verification
1422
-
1423
- def initialize(
1424
- address: nil,
1425
- address_kana: nil,
1426
- address_kanji: nil,
1427
- directors_provided: nil,
1428
- directorship_declaration: nil,
1429
- executives_provided: nil,
1430
- export_license_id: nil,
1431
- export_purpose_code: nil,
1432
- name: nil,
1433
- name_kana: nil,
1434
- name_kanji: nil,
1435
- owners_provided: nil,
1436
- ownership_declaration: nil,
1437
- ownership_exemption_reason: nil,
1438
- phone: nil,
1439
- registration_date: nil,
1440
- registration_number: nil,
1441
- structure: nil,
1442
- tax_id: nil,
1443
- tax_id_registrar: nil,
1444
- vat_id: nil,
1445
- verification: nil
1446
- )
1447
- @address = address
1448
- @address_kana = address_kana
1449
- @address_kanji = address_kanji
1450
- @directors_provided = directors_provided
1451
- @directorship_declaration = directorship_declaration
1452
- @executives_provided = executives_provided
1453
- @export_license_id = export_license_id
1454
- @export_purpose_code = export_purpose_code
1455
- @name = name
1456
- @name_kana = name_kana
1457
- @name_kanji = name_kanji
1458
- @owners_provided = owners_provided
1459
- @ownership_declaration = ownership_declaration
1460
- @ownership_exemption_reason = ownership_exemption_reason
1461
- @phone = phone
1462
- @registration_date = registration_date
1463
- @registration_number = registration_number
1464
- @structure = structure
1465
- @tax_id = tax_id
1466
- @tax_id_registrar = tax_id_registrar
1467
- @vat_id = vat_id
1468
- @verification = verification
1469
- end
1470
- end
1471
-
1472
- class Documents < Stripe::RequestParams
1473
- class BankAccountOwnershipVerification < Stripe::RequestParams
1474
- # One or more document ids returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `account_requirement`.
1475
- attr_accessor :files
1476
-
1477
- def initialize(files: nil)
1478
- @files = files
1479
- end
1480
- end
1481
-
1482
- class CompanyLicense < Stripe::RequestParams
1483
- # One or more document ids returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `account_requirement`.
1484
- attr_accessor :files
1485
-
1486
- def initialize(files: nil)
1487
- @files = files
1488
- end
1489
- end
1490
-
1491
- class CompanyMemorandumOfAssociation < Stripe::RequestParams
1492
- # One or more document ids returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `account_requirement`.
1493
- attr_accessor :files
1494
-
1495
- def initialize(files: nil)
1496
- @files = files
1497
- end
1498
- end
1499
-
1500
- class CompanyMinisterialDecree < Stripe::RequestParams
1501
- # One or more document ids returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `account_requirement`.
1502
- attr_accessor :files
1503
-
1504
- def initialize(files: nil)
1505
- @files = files
1506
- end
1507
- end
1508
-
1509
- class CompanyRegistrationVerification < Stripe::RequestParams
1510
- # One or more document ids returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `account_requirement`.
1511
- attr_accessor :files
1512
-
1513
- def initialize(files: nil)
1514
- @files = files
1515
- end
1516
- end
1517
-
1518
- class CompanyTaxIdVerification < Stripe::RequestParams
1519
- # One or more document ids returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `account_requirement`.
1520
- attr_accessor :files
1521
-
1522
- def initialize(files: nil)
1523
- @files = files
1524
- end
1525
- end
1526
-
1527
- class ProofOfAddress < Stripe::RequestParams
1528
- # One or more document ids returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `account_requirement`.
1529
- attr_accessor :files
1530
-
1531
- def initialize(files: nil)
1532
- @files = files
1533
- end
1534
- end
1535
-
1536
- class ProofOfRegistration < Stripe::RequestParams
1537
- # One or more document ids returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `account_requirement`.
1538
- attr_accessor :files
1539
-
1540
- def initialize(files: nil)
1541
- @files = files
1542
- end
1543
- end
1544
-
1545
- class ProofOfUltimateBeneficialOwnership < Stripe::RequestParams
1546
- # One or more document ids returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `account_requirement`.
1547
- attr_accessor :files
1548
-
1549
- def initialize(files: nil)
1550
- @files = files
1551
- end
1552
- end
1553
- # One or more documents that support the [Bank account ownership verification](https://support.stripe.com/questions/bank-account-ownership-verification) requirement. Must be a document associated with the account’s primary active bank account that displays the last 4 digits of the account number, either a statement or a check.
1554
- attr_accessor :bank_account_ownership_verification
1555
- # One or more documents that demonstrate proof of a company's license to operate.
1556
- attr_accessor :company_license
1557
- # One or more documents showing the company's Memorandum of Association.
1558
- attr_accessor :company_memorandum_of_association
1559
- # (Certain countries only) One or more documents showing the ministerial decree legalizing the company's establishment.
1560
- attr_accessor :company_ministerial_decree
1561
- # One or more documents that demonstrate proof of a company's registration with the appropriate local authorities.
1562
- attr_accessor :company_registration_verification
1563
- # One or more documents that demonstrate proof of a company's tax ID.
1564
- attr_accessor :company_tax_id_verification
1565
- # One or more documents that demonstrate proof of address.
1566
- attr_accessor :proof_of_address
1567
- # One or more documents showing the company’s proof of registration with the national business registry.
1568
- attr_accessor :proof_of_registration
1569
- # One or more documents that demonstrate proof of ultimate beneficial ownership.
1570
- attr_accessor :proof_of_ultimate_beneficial_ownership
1571
-
1572
- def initialize(
1573
- bank_account_ownership_verification: nil,
1574
- company_license: nil,
1575
- company_memorandum_of_association: nil,
1576
- company_ministerial_decree: nil,
1577
- company_registration_verification: nil,
1578
- company_tax_id_verification: nil,
1579
- proof_of_address: nil,
1580
- proof_of_registration: nil,
1581
- proof_of_ultimate_beneficial_ownership: nil
1582
- )
1583
- @bank_account_ownership_verification = bank_account_ownership_verification
1584
- @company_license = company_license
1585
- @company_memorandum_of_association = company_memorandum_of_association
1586
- @company_ministerial_decree = company_ministerial_decree
1587
- @company_registration_verification = company_registration_verification
1588
- @company_tax_id_verification = company_tax_id_verification
1589
- @proof_of_address = proof_of_address
1590
- @proof_of_registration = proof_of_registration
1591
- @proof_of_ultimate_beneficial_ownership = proof_of_ultimate_beneficial_ownership
1592
- end
1593
- end
1594
-
1595
- class Groups < Stripe::RequestParams
1596
- # The group the account is in to determine their payments pricing, and null if the account is on customized pricing. [See the Platform pricing tool documentation](https://stripe.com/docs/connect/platform-pricing-tools) for details.
1597
- attr_accessor :payments_pricing
1598
-
1599
- def initialize(payments_pricing: nil)
1600
- @payments_pricing = payments_pricing
1601
- end
1602
- end
1603
-
1604
- class Individual < Stripe::RequestParams
1605
- class Address < Stripe::RequestParams
1606
- # City, district, suburb, town, or village.
1607
- attr_accessor :city
1608
- # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
1609
- attr_accessor :country
1610
- # Address line 1 (e.g., street, PO Box, or company name).
1611
- attr_accessor :line1
1612
- # Address line 2 (e.g., apartment, suite, unit, or building).
1613
- attr_accessor :line2
1614
- # ZIP or postal code.
1615
- attr_accessor :postal_code
1616
- # State, county, province, or region.
1617
- attr_accessor :state
1618
-
1619
- def initialize(
1620
- city: nil,
1621
- country: nil,
1622
- line1: nil,
1623
- line2: nil,
1624
- postal_code: nil,
1625
- state: nil
1626
- )
1627
- @city = city
1628
- @country = country
1629
- @line1 = line1
1630
- @line2 = line2
1631
- @postal_code = postal_code
1632
- @state = state
1633
- end
1634
- end
1635
-
1636
- class AddressKana < Stripe::RequestParams
1637
- # City or ward.
1638
- attr_accessor :city
1639
- # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
1640
- attr_accessor :country
1641
- # Block or building number.
1642
- attr_accessor :line1
1643
- # Building details.
1644
- attr_accessor :line2
1645
- # Postal code.
1646
- attr_accessor :postal_code
1647
- # Prefecture.
1648
- attr_accessor :state
1649
- # Town or cho-me.
1650
- attr_accessor :town
1651
-
1652
- def initialize(
1653
- city: nil,
1654
- country: nil,
1655
- line1: nil,
1656
- line2: nil,
1657
- postal_code: nil,
1658
- state: nil,
1659
- town: nil
1660
- )
1661
- @city = city
1662
- @country = country
1663
- @line1 = line1
1664
- @line2 = line2
1665
- @postal_code = postal_code
1666
- @state = state
1667
- @town = town
1668
- end
1669
- end
1670
-
1671
- class AddressKanji < Stripe::RequestParams
1672
- # City or ward.
1673
- attr_accessor :city
1674
- # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
1675
- attr_accessor :country
1676
- # Block or building number.
1677
- attr_accessor :line1
1678
- # Building details.
1679
- attr_accessor :line2
1680
- # Postal code.
1681
- attr_accessor :postal_code
1682
- # Prefecture.
1683
- attr_accessor :state
1684
- # Town or cho-me.
1685
- attr_accessor :town
1686
-
1687
- def initialize(
1688
- city: nil,
1689
- country: nil,
1690
- line1: nil,
1691
- line2: nil,
1692
- postal_code: nil,
1693
- state: nil,
1694
- town: nil
1695
- )
1696
- @city = city
1697
- @country = country
1698
- @line1 = line1
1699
- @line2 = line2
1700
- @postal_code = postal_code
1701
- @state = state
1702
- @town = town
1703
- end
1704
- end
1705
-
1706
- class Dob < Stripe::RequestParams
1707
- # The day of birth, between 1 and 31.
1708
- attr_accessor :day
1709
- # The month of birth, between 1 and 12.
1710
- attr_accessor :month
1711
- # The four-digit year of birth.
1712
- attr_accessor :year
1713
-
1714
- def initialize(day: nil, month: nil, year: nil)
1715
- @day = day
1716
- @month = month
1717
- @year = year
1718
- end
1719
- end
1720
-
1721
- class RegisteredAddress < Stripe::RequestParams
1722
- # City, district, suburb, town, or village.
1723
- attr_accessor :city
1724
- # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
1725
- attr_accessor :country
1726
- # Address line 1 (e.g., street, PO Box, or company name).
1727
- attr_accessor :line1
1728
- # Address line 2 (e.g., apartment, suite, unit, or building).
1729
- attr_accessor :line2
1730
- # ZIP or postal code.
1731
- attr_accessor :postal_code
1732
- # State, county, province, or region.
1733
- attr_accessor :state
1734
-
1735
- def initialize(
1736
- city: nil,
1737
- country: nil,
1738
- line1: nil,
1739
- line2: nil,
1740
- postal_code: nil,
1741
- state: nil
1742
- )
1743
- @city = city
1744
- @country = country
1745
- @line1 = line1
1746
- @line2 = line2
1747
- @postal_code = postal_code
1748
- @state = state
1749
- end
1750
- end
1751
-
1752
- class Relationship < Stripe::RequestParams
1753
- # Whether the person is a director of the account's legal entity. Directors are typically members of the governing board of the company, or responsible for ensuring the company meets its regulatory obligations.
1754
- attr_accessor :director
1755
- # Whether the person has significant responsibility to control, manage, or direct the organization.
1756
- attr_accessor :executive
1757
- # Whether the person is an owner of the account’s legal entity.
1758
- attr_accessor :owner
1759
- # The percent owned by the person of the account's legal entity.
1760
- attr_accessor :percent_ownership
1761
- # The person's title (e.g., CEO, Support Engineer).
1762
- attr_accessor :title
1763
-
1764
- def initialize(
1765
- director: nil,
1766
- executive: nil,
1767
- owner: nil,
1768
- percent_ownership: nil,
1769
- title: nil
1770
- )
1771
- @director = director
1772
- @executive = executive
1773
- @owner = owner
1774
- @percent_ownership = percent_ownership
1775
- @title = title
1776
- end
1777
- end
1778
-
1779
- class Verification < Stripe::RequestParams
1780
- class AdditionalDocument < Stripe::RequestParams
1781
- # The back of an ID returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `identity_document`. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size.
1782
- attr_accessor :back
1783
- # The front of an ID returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `identity_document`. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size.
1784
- attr_accessor :front
1785
-
1786
- def initialize(back: nil, front: nil)
1787
- @back = back
1788
- @front = front
1789
- end
1790
- end
1791
-
1792
- class Document < Stripe::RequestParams
1793
- # The back of an ID returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `identity_document`. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size.
1794
- attr_accessor :back
1795
- # The front of an ID returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `identity_document`. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size.
1796
- attr_accessor :front
1797
-
1798
- def initialize(back: nil, front: nil)
1799
- @back = back
1800
- @front = front
1801
- end
1802
- end
1803
- # A document showing address, either a passport, local ID card, or utility bill from a well-known utility company.
1804
- attr_accessor :additional_document
1805
- # An identifying document, either a passport or local ID card.
1806
- attr_accessor :document
1807
-
1808
- def initialize(additional_document: nil, document: nil)
1809
- @additional_document = additional_document
1810
- @document = document
1811
- end
1812
- end
1813
- # The individual's primary address.
1814
- attr_accessor :address
1815
- # The Kana variation of the individual's primary address (Japan only).
1816
- attr_accessor :address_kana
1817
- # The Kanji variation of the individual's primary address (Japan only).
1818
- attr_accessor :address_kanji
1819
- # The individual's date of birth.
1820
- attr_accessor :dob
1821
- # The individual's email address.
1822
- attr_accessor :email
1823
- # The individual's first name.
1824
- attr_accessor :first_name
1825
- # The Kana variation of the individual's first name (Japan only).
1826
- attr_accessor :first_name_kana
1827
- # The Kanji variation of the individual's first name (Japan only).
1828
- attr_accessor :first_name_kanji
1829
- # A list of alternate names or aliases that the individual is known by.
1830
- attr_accessor :full_name_aliases
1831
- # The individual's gender
1832
- attr_accessor :gender
1833
- # The government-issued ID number of the individual, as appropriate for the representative's country. (Examples are a Social Security Number in the U.S., or a Social Insurance Number in Canada). Instead of the number itself, you can also provide a [PII token created with Stripe.js](/js/tokens/create_token?type=pii).
1834
- attr_accessor :id_number
1835
- # The government-issued secondary ID number of the individual, as appropriate for the representative's country, will be used for enhanced verification checks. In Thailand, this would be the laser code found on the back of an ID card. Instead of the number itself, you can also provide a [PII token created with Stripe.js](/js/tokens/create_token?type=pii).
1836
- attr_accessor :id_number_secondary
1837
- # The individual's last name.
1838
- attr_accessor :last_name
1839
- # The Kana variation of the individual's last name (Japan only).
1840
- attr_accessor :last_name_kana
1841
- # The Kanji variation of the individual's last name (Japan only).
1842
- attr_accessor :last_name_kanji
1843
- # The individual's maiden name.
1844
- attr_accessor :maiden_name
1845
- # Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.
1846
- attr_accessor :metadata
1847
- # The individual's phone number.
1848
- attr_accessor :phone
1849
- # Indicates if the person or any of their representatives, family members, or other closely related persons, declares that they hold or have held an important public job or function, in any jurisdiction.
1850
- attr_accessor :political_exposure
1851
- # The individual's registered address.
1852
- attr_accessor :registered_address
1853
- # Describes the person’s relationship to the account.
1854
- attr_accessor :relationship
1855
- # The last four digits of the individual's Social Security Number (U.S. only).
1856
- attr_accessor :ssn_last_4
1857
- # The individual's verification document information.
1858
- attr_accessor :verification
1859
-
1860
- def initialize(
1861
- address: nil,
1862
- address_kana: nil,
1863
- address_kanji: nil,
1864
- dob: nil,
1865
- email: nil,
1866
- first_name: nil,
1867
- first_name_kana: nil,
1868
- first_name_kanji: nil,
1869
- full_name_aliases: nil,
1870
- gender: nil,
1871
- id_number: nil,
1872
- id_number_secondary: nil,
1873
- last_name: nil,
1874
- last_name_kana: nil,
1875
- last_name_kanji: nil,
1876
- maiden_name: nil,
1877
- metadata: nil,
1878
- phone: nil,
1879
- political_exposure: nil,
1880
- registered_address: nil,
1881
- relationship: nil,
1882
- ssn_last_4: nil,
1883
- verification: nil
1884
- )
1885
- @address = address
1886
- @address_kana = address_kana
1887
- @address_kanji = address_kanji
1888
- @dob = dob
1889
- @email = email
1890
- @first_name = first_name
1891
- @first_name_kana = first_name_kana
1892
- @first_name_kanji = first_name_kanji
1893
- @full_name_aliases = full_name_aliases
1894
- @gender = gender
1895
- @id_number = id_number
1896
- @id_number_secondary = id_number_secondary
1897
- @last_name = last_name
1898
- @last_name_kana = last_name_kana
1899
- @last_name_kanji = last_name_kanji
1900
- @maiden_name = maiden_name
1901
- @metadata = metadata
1902
- @phone = phone
1903
- @political_exposure = political_exposure
1904
- @registered_address = registered_address
1905
- @relationship = relationship
1906
- @ssn_last_4 = ssn_last_4
1907
- @verification = verification
1908
- end
1909
- end
1910
-
1911
- class RiskControls < Stripe::RequestParams
1912
- class Charges < Stripe::RequestParams
1913
- # To request to pause a risk control, pass `true`. To request to unpause a risk control, pass `false`.
1914
- # There can be a delay before the risk control is paused or unpaused.
1915
- attr_accessor :pause_requested
1916
-
1917
- def initialize(pause_requested: nil)
1918
- @pause_requested = pause_requested
1919
- end
1920
- end
1921
-
1922
- class Payouts < Stripe::RequestParams
1923
- # To request to pause a risk control, pass `true`. To request to unpause a risk control, pass `false`.
1924
- # There can be a delay before the risk control is paused or unpaused.
1925
- attr_accessor :pause_requested
1926
-
1927
- def initialize(pause_requested: nil)
1928
- @pause_requested = pause_requested
1929
- end
1930
- end
1931
- # Represents the risk control status of charges. Please see [this page for more details](https://stripe.com/docs/connect/pausing-payments-or-payouts-on-connected-accounts).
1932
- attr_accessor :charges
1933
- # Represents the risk control status of payouts. Please see [this page for more details](https://stripe.com/docs/connect/pausing-payments-or-payouts-on-connected-accounts).
1934
- attr_accessor :payouts
1935
-
1936
- def initialize(charges: nil, payouts: nil)
1937
- @charges = charges
1938
- @payouts = payouts
1939
- end
1940
- end
1941
-
1942
- class Settings < Stripe::RequestParams
1943
- class BacsDebitPayments < Stripe::RequestParams
1944
- # The Bacs Direct Debit Display Name for this account. For payments made with Bacs Direct Debit, this name appears on the mandate as the statement descriptor. Mobile banking apps display it as the name of the business. To use custom branding, set the Bacs Direct Debit Display Name during or right after creation. Custom branding incurs an additional monthly fee for the platform. If you don't set the display name before requesting Bacs capability, it's automatically set as "Stripe" and the account is onboarded to Stripe branding, which is free.
1945
- attr_accessor :display_name
1946
-
1947
- def initialize(display_name: nil)
1948
- @display_name = display_name
1949
- end
1950
- end
1951
-
1952
- class BankBcaOnboarding < Stripe::RequestParams
1953
- # Bank BCA business account holder name
1954
- attr_accessor :account_holder_name
1955
- # Bank BCA business account number
1956
- attr_accessor :business_account_number
1957
-
1958
- def initialize(account_holder_name: nil, business_account_number: nil)
1959
- @account_holder_name = account_holder_name
1960
- @business_account_number = business_account_number
1961
- end
1962
- end
1963
-
1964
- class Branding < Stripe::RequestParams
1965
- # (ID of a [file upload](https://stripe.com/docs/guides/file-upload)) An icon for the account. Must be square and at least 128px x 128px.
1966
- attr_accessor :icon
1967
- # (ID of a [file upload](https://stripe.com/docs/guides/file-upload)) A logo for the account that will be used in Checkout instead of the icon and without the account's name next to it if provided. Must be at least 128px x 128px.
1968
- attr_accessor :logo
1969
- # A CSS hex color value representing the primary branding color for this account.
1970
- attr_accessor :primary_color
1971
- # A CSS hex color value representing the secondary branding color for this account.
1972
- attr_accessor :secondary_color
1973
-
1974
- def initialize(icon: nil, logo: nil, primary_color: nil, secondary_color: nil)
1975
- @icon = icon
1976
- @logo = logo
1977
- @primary_color = primary_color
1978
- @secondary_color = secondary_color
1979
- end
1980
- end
1981
-
1982
- class Capital < Stripe::RequestParams
1983
- # Per-currency mapping of user-selected destination accounts used to pay out loans.
1984
- attr_accessor :payout_destination
1985
- # Per-currency mapping of all destination accounts eligible to receive Capital financing payouts.
1986
- attr_accessor :payout_destination_selector
1987
-
1988
- def initialize(payout_destination: nil, payout_destination_selector: nil)
1989
- @payout_destination = payout_destination
1990
- @payout_destination_selector = payout_destination_selector
1991
- end
1992
- end
1993
-
1994
- class CardIssuing < Stripe::RequestParams
1995
- class TosAcceptance < Stripe::RequestParams
1996
- # The Unix timestamp marking when the account representative accepted the service agreement.
1997
- attr_accessor :date
1998
- # The IP address from which the account representative accepted the service agreement.
1999
- attr_accessor :ip
2000
- # The user agent of the browser from which the account representative accepted the service agreement.
2001
- attr_accessor :user_agent
2002
-
2003
- def initialize(date: nil, ip: nil, user_agent: nil)
2004
- @date = date
2005
- @ip = ip
2006
- @user_agent = user_agent
2007
- end
2008
- end
2009
- # Details on the account's acceptance of the [Stripe Issuing Terms and Disclosures](/issuing/connect/tos_acceptance).
2010
- attr_accessor :tos_acceptance
2011
-
2012
- def initialize(tos_acceptance: nil)
2013
- @tos_acceptance = tos_acceptance
2014
- end
2015
- end
2016
-
2017
- class CardPayments < Stripe::RequestParams
2018
- class DeclineOn < Stripe::RequestParams
2019
- # Whether Stripe automatically declines charges with an incorrect ZIP or postal code. This setting only applies when a ZIP or postal code is provided and they fail bank verification.
2020
- attr_accessor :avs_failure
2021
- # Whether Stripe automatically declines charges with an incorrect CVC. This setting only applies when a CVC is provided and it fails bank verification.
2022
- attr_accessor :cvc_failure
2023
-
2024
- def initialize(avs_failure: nil, cvc_failure: nil)
2025
- @avs_failure = avs_failure
2026
- @cvc_failure = cvc_failure
2027
- end
2028
- end
2029
- # Automatically declines certain charge types regardless of whether the card issuer accepted or declined the charge.
2030
- attr_accessor :decline_on
2031
- # The default text that appears on credit card statements when a charge is made. This field prefixes any dynamic `statement_descriptor` specified on the charge. `statement_descriptor_prefix` is useful for maximizing descriptor space for the dynamic portion.
2032
- attr_accessor :statement_descriptor_prefix
2033
- # The Kana variation of the default text that appears on credit card statements when a charge is made (Japan only). This field prefixes any dynamic `statement_descriptor_suffix_kana` specified on the charge. `statement_descriptor_prefix_kana` is useful for maximizing descriptor space for the dynamic portion.
2034
- attr_accessor :statement_descriptor_prefix_kana
2035
- # The Kanji variation of the default text that appears on credit card statements when a charge is made (Japan only). This field prefixes any dynamic `statement_descriptor_suffix_kanji` specified on the charge. `statement_descriptor_prefix_kanji` is useful for maximizing descriptor space for the dynamic portion.
2036
- attr_accessor :statement_descriptor_prefix_kanji
2037
-
2038
- def initialize(
2039
- decline_on: nil,
2040
- statement_descriptor_prefix: nil,
2041
- statement_descriptor_prefix_kana: nil,
2042
- statement_descriptor_prefix_kanji: nil
2043
- )
2044
- @decline_on = decline_on
2045
- @statement_descriptor_prefix = statement_descriptor_prefix
2046
- @statement_descriptor_prefix_kana = statement_descriptor_prefix_kana
2047
- @statement_descriptor_prefix_kanji = statement_descriptor_prefix_kanji
2048
- end
2049
- end
2050
-
2051
- class Invoices < Stripe::RequestParams
2052
- # The list of default Account Tax IDs to automatically include on invoices. Account Tax IDs get added when an invoice is finalized.
2053
- attr_accessor :default_account_tax_ids
2054
- # Whether payment methods should be saved when a payment is completed for a one-time invoices on a hosted invoice page.
2055
- attr_accessor :hosted_payment_method_save
2056
-
2057
- def initialize(default_account_tax_ids: nil, hosted_payment_method_save: nil)
2058
- @default_account_tax_ids = default_account_tax_ids
2059
- @hosted_payment_method_save = hosted_payment_method_save
2060
- end
2061
- end
2062
-
2063
- class Payments < Stripe::RequestParams
2064
- # The default text that appears on statements for non-card charges outside of Japan. For card charges, if you don't set a `statement_descriptor_prefix`, this text is also used as the statement descriptor prefix. In that case, if concatenating the statement descriptor suffix causes the combined statement descriptor to exceed 22 characters, we truncate the `statement_descriptor` text to limit the full descriptor to 22 characters. For more information about statement descriptors and their requirements, see the [account settings documentation](https://docs.stripe.com/get-started/account/statement-descriptors).
2065
- attr_accessor :statement_descriptor
2066
- # The Kana variation of `statement_descriptor` used for charges in Japan. Japanese statement descriptors have [special requirements](https://docs.stripe.com/get-started/account/statement-descriptors#set-japanese-statement-descriptors).
2067
- attr_accessor :statement_descriptor_kana
2068
- # The Kanji variation of `statement_descriptor` used for charges in Japan. Japanese statement descriptors have [special requirements](https://docs.stripe.com/get-started/account/statement-descriptors#set-japanese-statement-descriptors).
2069
- attr_accessor :statement_descriptor_kanji
2070
-
2071
- def initialize(
2072
- statement_descriptor: nil,
2073
- statement_descriptor_kana: nil,
2074
- statement_descriptor_kanji: nil
2075
- )
2076
- @statement_descriptor = statement_descriptor
2077
- @statement_descriptor_kana = statement_descriptor_kana
2078
- @statement_descriptor_kanji = statement_descriptor_kanji
2079
- end
2080
- end
2081
-
2082
- class Payouts < Stripe::RequestParams
2083
- class Schedule < Stripe::RequestParams
2084
- # The number of days charge funds are held before being paid out. May also be set to `minimum`, representing the lowest available value for the account country. Default is `minimum`. The `delay_days` parameter remains at the last configured value if `interval` is `manual`. [Learn more about controlling payout delay days](/connect/manage-payout-schedule).
2085
- attr_accessor :delay_days
2086
- # How frequently available funds are paid out. One of: `daily`, `manual`, `weekly`, or `monthly`. Default is `daily`.
2087
- attr_accessor :interval
2088
- # The day of the month when available funds are paid out, specified as a number between 1--31. Payouts nominally scheduled between the 29th and 31st of the month are instead sent on the last day of a shorter month. Required and applicable only if `interval` is `monthly`.
2089
- attr_accessor :monthly_anchor
2090
- # The days of the month when available funds are paid out, specified as an array of numbers between 1--31. Payouts nominally scheduled between the 29th and 31st of the month are instead sent on the last day of a shorter month. Required and applicable only if `interval` is `monthly` and `monthly_anchor` is not set.
2091
- attr_accessor :monthly_payout_days
2092
- # The day of the week when available funds are paid out, specified as `monday`, `tuesday`, etc. (required and applicable only if `interval` is `weekly`.)
2093
- attr_accessor :weekly_anchor
2094
- # The days of the week when available funds are paid out, specified as an array, e.g., [`monday`, `tuesday`]. (required and applicable only if `interval` is `weekly` and `weekly_anchor` is not set.)
2095
- attr_accessor :weekly_payout_days
2096
-
2097
- def initialize(
2098
- delay_days: nil,
2099
- interval: nil,
2100
- monthly_anchor: nil,
2101
- monthly_payout_days: nil,
2102
- weekly_anchor: nil,
2103
- weekly_payout_days: nil
2104
- )
2105
- @delay_days = delay_days
2106
- @interval = interval
2107
- @monthly_anchor = monthly_anchor
2108
- @monthly_payout_days = monthly_payout_days
2109
- @weekly_anchor = weekly_anchor
2110
- @weekly_payout_days = weekly_payout_days
2111
- end
2112
- end
2113
- # A Boolean indicating whether Stripe should try to reclaim negative balances from an attached bank account. For details, see [Understanding Connect Account Balances](/connect/account-balances).
2114
- attr_accessor :debit_negative_balances
2115
- # Details on when funds from charges are available, and when they are paid out to an external account. For details, see our [Setting Bank and Debit Card Payouts](/connect/bank-transfers#payout-information) documentation.
2116
- attr_accessor :schedule
2117
- # The text that appears on the bank account statement for payouts. If not set, this defaults to the platform's bank descriptor as set in the Dashboard.
2118
- attr_accessor :statement_descriptor
2119
-
2120
- def initialize(debit_negative_balances: nil, schedule: nil, statement_descriptor: nil)
2121
- @debit_negative_balances = debit_negative_balances
2122
- @schedule = schedule
2123
- @statement_descriptor = statement_descriptor
2124
- end
2125
- end
2126
-
2127
- class TaxForms < Stripe::RequestParams
2128
- # Whether the account opted out of receiving their tax forms by postal delivery.
2129
- attr_accessor :consented_to_paperless_delivery
2130
-
2131
- def initialize(consented_to_paperless_delivery: nil)
2132
- @consented_to_paperless_delivery = consented_to_paperless_delivery
2133
- end
2134
- end
2135
-
2136
- class Treasury < Stripe::RequestParams
2137
- class TosAcceptance < Stripe::RequestParams
2138
- # The Unix timestamp marking when the account representative accepted the service agreement.
2139
- attr_accessor :date
2140
- # The IP address from which the account representative accepted the service agreement.
2141
- attr_accessor :ip
2142
- # The user agent of the browser from which the account representative accepted the service agreement.
2143
- attr_accessor :user_agent
2144
-
2145
- def initialize(date: nil, ip: nil, user_agent: nil)
2146
- @date = date
2147
- @ip = ip
2148
- @user_agent = user_agent
2149
- end
2150
- end
2151
- # Details on the account's acceptance of the Stripe Treasury Services Agreement.
2152
- attr_accessor :tos_acceptance
2153
-
2154
- def initialize(tos_acceptance: nil)
2155
- @tos_acceptance = tos_acceptance
2156
- end
2157
- end
2158
- # Settings specific to Bacs Direct Debit payments.
2159
- attr_accessor :bacs_debit_payments
2160
- # Settings specific to bank BCA onboarding for Indonesia bank transfers payments method.
2161
- attr_accessor :bank_bca_onboarding
2162
- # Settings used to apply the account's branding to email receipts, invoices, Checkout, and other products.
2163
- attr_accessor :branding
2164
- # Settings specific to the account's use of the Capital product.
2165
- attr_accessor :capital
2166
- # Settings specific to the account's use of the Card Issuing product.
2167
- attr_accessor :card_issuing
2168
- # Settings specific to card charging on the account.
2169
- attr_accessor :card_payments
2170
- # Settings specific to the account's use of Invoices.
2171
- attr_accessor :invoices
2172
- # Settings that apply across payment methods for charging on the account.
2173
- attr_accessor :payments
2174
- # Settings specific to the account's payouts.
2175
- attr_accessor :payouts
2176
- # Settings specific to the account's tax forms.
2177
- attr_accessor :tax_forms
2178
- # Settings specific to the account's Treasury FinancialAccounts.
2179
- attr_accessor :treasury
2180
-
2181
- def initialize(
2182
- bacs_debit_payments: nil,
2183
- bank_bca_onboarding: nil,
2184
- branding: nil,
2185
- capital: nil,
2186
- card_issuing: nil,
2187
- card_payments: nil,
2188
- invoices: nil,
2189
- payments: nil,
2190
- payouts: nil,
2191
- tax_forms: nil,
2192
- treasury: nil
2193
- )
2194
- @bacs_debit_payments = bacs_debit_payments
2195
- @bank_bca_onboarding = bank_bca_onboarding
2196
- @branding = branding
2197
- @capital = capital
2198
- @card_issuing = card_issuing
2199
- @card_payments = card_payments
2200
- @invoices = invoices
2201
- @payments = payments
2202
- @payouts = payouts
2203
- @tax_forms = tax_forms
2204
- @treasury = treasury
2205
- end
2206
- end
2207
-
2208
- class TosAcceptance < Stripe::RequestParams
2209
- # The Unix timestamp marking when the account representative accepted their service agreement.
2210
- attr_accessor :date
2211
- # The IP address from which the account representative accepted their service agreement.
2212
- attr_accessor :ip
2213
- # The user's service agreement type.
2214
- attr_accessor :service_agreement
2215
- # The user agent of the browser from which the account representative accepted their service agreement.
2216
- attr_accessor :user_agent
2217
-
2218
- def initialize(date: nil, ip: nil, service_agreement: nil, user_agent: nil)
2219
- @date = date
2220
- @ip = ip
2221
- @service_agreement = service_agreement
2222
- @user_agent = user_agent
2223
- end
2224
- end
2225
- # An [account token](https://stripe.com/docs/api#create_account_token), used to securely provide details to the account.
2226
- attr_accessor :account_token
2227
- # Business information about the account.
2228
- attr_accessor :business_profile
2229
- # The business type. Once you create an [Account Link](/api/account_links) or [Account Session](/api/account_sessions), this property can only be updated for accounts where [controller.requirement_collection](/api/accounts/object#account_object-controller-requirement_collection) is `application`, which includes Custom accounts.
2230
- attr_accessor :business_type
2231
- # Each key of the dictionary represents a capability, and each capability
2232
- # maps to its settings (for example, whether it has been requested or not). Each
2233
- # capability is inactive until you have provided its specific
2234
- # requirements and Stripe has verified them. An account might have some
2235
- # of its requested capabilities be active and some be inactive.
2236
- #
2237
- # Required when [account.controller.stripe_dashboard.type](/api/accounts/create#create_account-controller-dashboard-type)
2238
- # is `none`, which includes Custom accounts.
2239
- attr_accessor :capabilities
2240
- # Information about the company or business. This field is available for any `business_type`. Once you create an [Account Link](/api/account_links) or [Account Session](/api/account_sessions), this property can only be updated for accounts where [controller.requirement_collection](/api/accounts/object#account_object-controller-requirement_collection) is `application`, which includes Custom accounts.
2241
- attr_accessor :company
2242
- # Three-letter ISO currency code representing the default currency for the account. This must be a currency that [Stripe supports in the account's country](https://docs.stripe.com/payouts).
2243
- attr_accessor :default_currency
2244
- # Documents that may be submitted to satisfy various informational requests.
2245
- attr_accessor :documents
2246
- # The email address of the account holder. This is only to make the account easier to identify to you. If [controller.requirement_collection](/api/accounts/object#account_object-controller-requirement_collection) is `application`, which includes Custom accounts, Stripe doesn't email the account without your consent.
2247
- attr_accessor :email
2248
- # Specifies which fields in the response should be expanded.
2249
- attr_accessor :expand
2250
- # A card or bank account to attach to the account for receiving [payouts](/connect/bank-debit-card-payouts) (you won’t be able to use it for top-ups). You can provide either a token, like the ones returned by [Stripe.js](/js), or a dictionary, as documented in the `external_account` parameter for [bank account](/api#account_create_bank_account) creation. <br><br>By default, providing an external account sets it as the new default external account for its currency, and deletes the old default if one exists. To add additional external accounts without replacing the existing default for the currency, use the [bank account](/api#account_create_bank_account) or [card creation](/api#account_create_card) APIs. After you create an [Account Link](/api/account_links) or [Account Session](/api/account_sessions), this property can only be updated for accounts where [controller.requirement_collection](/api/accounts/object#account_object-controller-requirement_collection) is `application`, which includes Custom accounts.
2251
- attr_accessor :external_account
2252
- # A hash of account group type to tokens. These are account groups this account should be added to.
2253
- attr_accessor :groups
2254
- # Information about the person represented by the account. This field is null unless `business_type` is set to `individual`. Once you create an [Account Link](/api/account_links) or [Account Session](/api/account_sessions), this property can only be updated for accounts where [controller.requirement_collection](/api/accounts/object#account_object-controller-requirement_collection) is `application`, which includes Custom accounts.
2255
- attr_accessor :individual
2256
- # Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.
2257
- attr_accessor :metadata
2258
- # A hash to configure risk controls on the account. Please see [this page for more details](/connect/pausing-payments-or-payouts-on-connected-accounts).
2259
- attr_accessor :risk_controls
2260
- # Options for customizing how the account functions within Stripe.
2261
- attr_accessor :settings
2262
- # Details on the account's acceptance of the [Stripe Services Agreement](/connect/updating-accounts#tos-acceptance). This property can only be updated for accounts where [controller.requirement_collection](/api/accounts/object#account_object-controller-requirement_collection) is `application`, which includes Custom accounts. This property defaults to a `full` service agreement when empty.
2263
- attr_accessor :tos_acceptance
2264
-
2265
- def initialize(
2266
- account_token: nil,
2267
- business_profile: nil,
2268
- business_type: nil,
2269
- capabilities: nil,
2270
- company: nil,
2271
- default_currency: nil,
2272
- documents: nil,
2273
- email: nil,
2274
- expand: nil,
2275
- external_account: nil,
2276
- groups: nil,
2277
- individual: nil,
2278
- metadata: nil,
2279
- risk_controls: nil,
2280
- settings: nil,
2281
- tos_acceptance: nil
2282
- )
2283
- @account_token = account_token
2284
- @business_profile = business_profile
2285
- @business_type = business_type
2286
- @capabilities = capabilities
2287
- @company = company
2288
- @default_currency = default_currency
2289
- @documents = documents
2290
- @email = email
2291
- @expand = expand
2292
- @external_account = external_account
2293
- @groups = groups
2294
- @individual = individual
2295
- @metadata = metadata
2296
- @risk_controls = risk_controls
2297
- @settings = settings
2298
- @tos_acceptance = tos_acceptance
2299
- end
2300
- end
2301
-
2302
- class RetrieveCurrentParams < Stripe::RequestParams
2303
- # Specifies which fields in the response should be expanded.
2304
- attr_accessor :expand
2305
-
2306
- def initialize(expand: nil)
2307
- @expand = expand
2308
- end
2309
- end
2310
-
2311
- class ListParams < Stripe::RequestParams
2312
- class Created < Stripe::RequestParams
2313
- # Minimum value to filter by (exclusive)
2314
- attr_accessor :gt
2315
- # Minimum value to filter by (inclusive)
2316
- attr_accessor :gte
2317
- # Maximum value to filter by (exclusive)
2318
- attr_accessor :lt
2319
- # Maximum value to filter by (inclusive)
2320
- attr_accessor :lte
2321
-
2322
- def initialize(gt: nil, gte: nil, lt: nil, lte: nil)
2323
- @gt = gt
2324
- @gte = gte
2325
- @lt = lt
2326
- @lte = lte
2327
- end
2328
- end
2329
- # Only return connected accounts that were created during the given date interval.
2330
- attr_accessor :created
2331
- # A cursor for use in pagination. `ending_before` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with `obj_bar`, your subsequent call can include `ending_before=obj_bar` in order to fetch the previous page of the list.
2332
- attr_accessor :ending_before
2333
- # Specifies which fields in the response should be expanded.
2334
- attr_accessor :expand
2335
- # A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.
2336
- attr_accessor :limit
2337
- # A cursor for use in pagination. `starting_after` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending with `obj_foo`, your subsequent call can include `starting_after=obj_foo` in order to fetch the next page of the list.
2338
- attr_accessor :starting_after
2339
-
2340
- def initialize(created: nil, ending_before: nil, expand: nil, limit: nil, starting_after: nil)
2341
- @created = created
2342
- @ending_before = ending_before
2343
- @expand = expand
2344
- @limit = limit
2345
- @starting_after = starting_after
2346
- end
2347
- end
2348
-
2349
- class CreateParams < Stripe::RequestParams
2350
- class BankAccount < Stripe::RequestParams
2351
- # Attribute for param field object
2352
- attr_accessor :object
2353
- # The name of the person or business that owns the bank account.This field is required when attaching the bank account to a `Customer` object.
2354
- attr_accessor :account_holder_name
2355
- # The type of entity that holds the account. It can be `company` or `individual`. This field is required when attaching the bank account to a `Customer` object.
2356
- attr_accessor :account_holder_type
2357
- # The account number for the bank account, in string form. Must be a checking account.
2358
- attr_accessor :account_number
2359
- # The country in which the bank account is located.
2360
- attr_accessor :country
2361
- # The currency the bank account is in. This must be a country/currency pairing that [Stripe supports.](docs/payouts)
2362
- attr_accessor :currency
2363
- # The routing number, sort code, or other country-appropriate institution number for the bank account. For US bank accounts, this is required and should be the ACH routing number, not the wire routing number. If you are providing an IBAN for `account_number`, this field is not required.
2364
- attr_accessor :routing_number
2365
-
2366
- def initialize(
2367
- object: nil,
2368
- account_holder_name: nil,
2369
- account_holder_type: nil,
2370
- account_number: nil,
2371
- country: nil,
2372
- currency: nil,
2373
- routing_number: nil
2374
- )
2375
- @object = object
2376
- @account_holder_name = account_holder_name
2377
- @account_holder_type = account_holder_type
2378
- @account_number = account_number
2379
- @country = country
2380
- @currency = currency
2381
- @routing_number = routing_number
2382
- end
2383
- end
2384
-
2385
- class BusinessProfile < Stripe::RequestParams
2386
- class AnnualRevenue < Stripe::RequestParams
2387
- # A non-negative integer representing the amount in the [smallest currency unit](/currencies#zero-decimal).
2388
- attr_accessor :amount
2389
- # Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).
2390
- attr_accessor :currency
2391
- # The close-out date of the preceding fiscal year in ISO 8601 format. E.g. 2023-12-31 for the 31st of December, 2023.
2392
- attr_accessor :fiscal_year_end
2393
-
2394
- def initialize(amount: nil, currency: nil, fiscal_year_end: nil)
2395
- @amount = amount
2396
- @currency = currency
2397
- @fiscal_year_end = fiscal_year_end
2398
- end
2399
- end
2400
-
2401
- class MonthlyEstimatedRevenue < Stripe::RequestParams
2402
- # A non-negative integer representing how much to charge in the [smallest currency unit](/currencies#zero-decimal).
2403
- attr_accessor :amount
2404
- # Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).
2405
- attr_accessor :currency
2406
-
2407
- def initialize(amount: nil, currency: nil)
2408
- @amount = amount
2409
- @currency = currency
2410
- end
2411
- end
2412
-
2413
- class SupportAddress < Stripe::RequestParams
2414
- # City, district, suburb, town, or village.
2415
- attr_accessor :city
2416
- # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
2417
- attr_accessor :country
2418
- # Address line 1 (e.g., street, PO Box, or company name).
2419
- attr_accessor :line1
2420
- # Address line 2 (e.g., apartment, suite, unit, or building).
2421
- attr_accessor :line2
2422
- # ZIP or postal code.
2423
- attr_accessor :postal_code
2424
- # State, county, province, or region.
2425
- attr_accessor :state
2426
-
2427
- def initialize(
2428
- city: nil,
2429
- country: nil,
2430
- line1: nil,
2431
- line2: nil,
2432
- postal_code: nil,
2433
- state: nil
2434
- )
2435
- @city = city
2436
- @country = country
2437
- @line1 = line1
2438
- @line2 = line2
2439
- @postal_code = postal_code
2440
- @state = state
2441
- end
2442
- end
2443
- # The applicant's gross annual revenue for its preceding fiscal year.
2444
- attr_accessor :annual_revenue
2445
- # An estimated upper bound of employees, contractors, vendors, etc. currently working for the business.
2446
- attr_accessor :estimated_worker_count
2447
- # [The merchant category code for the account](/connect/setting-mcc). MCCs are used to classify businesses based on the goods or services they provide.
2448
- attr_accessor :mcc
2449
- # Whether the business is a minority-owned, women-owned, and/or LGBTQI+ -owned business.
2450
- attr_accessor :minority_owned_business_designation
2451
- # An estimate of the monthly revenue of the business. Only accepted for accounts in Brazil and India.
2452
- attr_accessor :monthly_estimated_revenue
2453
- # The customer-facing business name.
2454
- attr_accessor :name
2455
- # Internal-only description of the product sold by, or service provided by, the business. Used by Stripe for risk and underwriting purposes.
2456
- attr_accessor :product_description
2457
- # A publicly available mailing address for sending support issues to.
2458
- attr_accessor :support_address
2459
- # A publicly available email address for sending support issues to.
2460
- attr_accessor :support_email
2461
- # A publicly available phone number to call with support issues.
2462
- attr_accessor :support_phone
2463
- # A publicly available website for handling support issues.
2464
- attr_accessor :support_url
2465
- # The business's publicly available website.
2466
- attr_accessor :url
2467
-
2468
- def initialize(
2469
- annual_revenue: nil,
2470
- estimated_worker_count: nil,
2471
- mcc: nil,
2472
- minority_owned_business_designation: nil,
2473
- monthly_estimated_revenue: nil,
2474
- name: nil,
2475
- product_description: nil,
2476
- support_address: nil,
2477
- support_email: nil,
2478
- support_phone: nil,
2479
- support_url: nil,
2480
- url: nil
2481
- )
2482
- @annual_revenue = annual_revenue
2483
- @estimated_worker_count = estimated_worker_count
2484
- @mcc = mcc
2485
- @minority_owned_business_designation = minority_owned_business_designation
2486
- @monthly_estimated_revenue = monthly_estimated_revenue
2487
- @name = name
2488
- @product_description = product_description
2489
- @support_address = support_address
2490
- @support_email = support_email
2491
- @support_phone = support_phone
2492
- @support_url = support_url
2493
- @url = url
2494
- end
2495
- end
2496
-
2497
- class Capabilities < Stripe::RequestParams
2498
- class AcssDebitPayments < Stripe::RequestParams
2499
- # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
2500
- attr_accessor :requested
2501
-
2502
- def initialize(requested: nil)
2503
- @requested = requested
2504
- end
2505
- end
2506
-
2507
- class AffirmPayments < Stripe::RequestParams
2508
- # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
2509
- attr_accessor :requested
2510
-
2511
- def initialize(requested: nil)
2512
- @requested = requested
2513
- end
2514
- end
2515
-
2516
- class AfterpayClearpayPayments < Stripe::RequestParams
2517
- # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
2518
- attr_accessor :requested
2519
-
2520
- def initialize(requested: nil)
2521
- @requested = requested
2522
- end
2523
- end
2524
-
2525
- class AlmaPayments < Stripe::RequestParams
2526
- # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
2527
- attr_accessor :requested
2528
-
2529
- def initialize(requested: nil)
2530
- @requested = requested
2531
- end
2532
- end
2533
-
2534
- class AmazonPayPayments < Stripe::RequestParams
2535
- # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
2536
- attr_accessor :requested
2537
-
2538
- def initialize(requested: nil)
2539
- @requested = requested
2540
- end
2541
- end
2542
-
2543
- class AuBecsDebitPayments < Stripe::RequestParams
2544
- # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
2545
- attr_accessor :requested
2546
-
2547
- def initialize(requested: nil)
2548
- @requested = requested
2549
- end
2550
- end
2551
-
2552
- class AutomaticIndirectTax < Stripe::RequestParams
2553
- # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
2554
- attr_accessor :requested
2555
-
2556
- def initialize(requested: nil)
2557
- @requested = requested
2558
- end
2559
- end
2560
-
2561
- class BacsDebitPayments < Stripe::RequestParams
2562
- # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
2563
- attr_accessor :requested
2564
-
2565
- def initialize(requested: nil)
2566
- @requested = requested
2567
- end
2568
- end
2569
-
2570
- class BancontactPayments < Stripe::RequestParams
2571
- # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
2572
- attr_accessor :requested
2573
-
2574
- def initialize(requested: nil)
2575
- @requested = requested
2576
- end
2577
- end
2578
-
2579
- class BankTransferPayments < Stripe::RequestParams
2580
- # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
2581
- attr_accessor :requested
2582
-
2583
- def initialize(requested: nil)
2584
- @requested = requested
2585
- end
2586
- end
2587
-
2588
- class BilliePayments < Stripe::RequestParams
2589
- # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
2590
- attr_accessor :requested
2591
-
2592
- def initialize(requested: nil)
2593
- @requested = requested
2594
- end
2595
- end
2596
-
2597
- class BlikPayments < Stripe::RequestParams
2598
- # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
2599
- attr_accessor :requested
2600
-
2601
- def initialize(requested: nil)
2602
- @requested = requested
2603
- end
2604
- end
2605
-
2606
- class BoletoPayments < Stripe::RequestParams
2607
- # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
2608
- attr_accessor :requested
2609
-
2610
- def initialize(requested: nil)
2611
- @requested = requested
2612
- end
2613
- end
2614
-
2615
- class CardIssuing < Stripe::RequestParams
2616
- # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
2617
- attr_accessor :requested
2618
-
2619
- def initialize(requested: nil)
2620
- @requested = requested
2621
- end
2622
- end
2623
-
2624
- class CardPayments < Stripe::RequestParams
2625
- # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
2626
- attr_accessor :requested
2627
-
2628
- def initialize(requested: nil)
2629
- @requested = requested
2630
- end
2631
- end
2632
-
2633
- class CartesBancairesPayments < Stripe::RequestParams
2634
- # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
2635
- attr_accessor :requested
2636
-
2637
- def initialize(requested: nil)
2638
- @requested = requested
2639
- end
2640
- end
2641
-
2642
- class CashappPayments < Stripe::RequestParams
2643
- # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
2644
- attr_accessor :requested
2645
-
2646
- def initialize(requested: nil)
2647
- @requested = requested
2648
- end
2649
- end
2650
-
2651
- class CryptoPayments < Stripe::RequestParams
2652
- # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
2653
- attr_accessor :requested
2654
-
2655
- def initialize(requested: nil)
2656
- @requested = requested
2657
- end
2658
- end
2659
-
2660
- class EpsPayments < Stripe::RequestParams
2661
- # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
2662
- attr_accessor :requested
2663
-
2664
- def initialize(requested: nil)
2665
- @requested = requested
2666
- end
2667
- end
2668
-
2669
- class FpxPayments < Stripe::RequestParams
2670
- # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
2671
- attr_accessor :requested
2672
-
2673
- def initialize(requested: nil)
2674
- @requested = requested
2675
- end
2676
- end
2677
-
2678
- class GbBankTransferPayments < Stripe::RequestParams
2679
- # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
2680
- attr_accessor :requested
2681
-
2682
- def initialize(requested: nil)
2683
- @requested = requested
2684
- end
2685
- end
2686
-
2687
- class GiropayPayments < Stripe::RequestParams
2688
- # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
2689
- attr_accessor :requested
2690
-
2691
- def initialize(requested: nil)
2692
- @requested = requested
2693
- end
2694
- end
2695
-
2696
- class GopayPayments < Stripe::RequestParams
2697
- # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
2698
- attr_accessor :requested
2699
-
2700
- def initialize(requested: nil)
2701
- @requested = requested
2702
- end
2703
- end
2704
-
2705
- class GrabpayPayments < Stripe::RequestParams
2706
- # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
2707
- attr_accessor :requested
2708
-
2709
- def initialize(requested: nil)
2710
- @requested = requested
2711
- end
2712
- end
2713
-
2714
- class IdBankTransferPayments < Stripe::RequestParams
2715
- # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
2716
- attr_accessor :requested
2717
-
2718
- def initialize(requested: nil)
2719
- @requested = requested
2720
- end
2721
- end
2722
-
2723
- class IdBankTransferPaymentsBca < Stripe::RequestParams
2724
- # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
2725
- attr_accessor :requested
2726
-
2727
- def initialize(requested: nil)
2728
- @requested = requested
2729
- end
2730
- end
2731
-
2732
- class IdealPayments < Stripe::RequestParams
2733
- # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
2734
- attr_accessor :requested
2735
-
2736
- def initialize(requested: nil)
2737
- @requested = requested
2738
- end
2739
- end
2740
-
2741
- class IndiaInternationalPayments < Stripe::RequestParams
2742
- # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
2743
- attr_accessor :requested
2744
-
2745
- def initialize(requested: nil)
2746
- @requested = requested
2747
- end
2748
- end
2749
-
2750
- class JcbPayments < Stripe::RequestParams
2751
- # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
2752
- attr_accessor :requested
2753
-
2754
- def initialize(requested: nil)
2755
- @requested = requested
2756
- end
2757
- end
2758
-
2759
- class JpBankTransferPayments < Stripe::RequestParams
2760
- # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
2761
- attr_accessor :requested
2762
-
2763
- def initialize(requested: nil)
2764
- @requested = requested
2765
- end
2766
- end
2767
-
2768
- class KakaoPayPayments < Stripe::RequestParams
2769
- # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
2770
- attr_accessor :requested
2771
-
2772
- def initialize(requested: nil)
2773
- @requested = requested
2774
- end
2775
- end
2776
-
2777
- class KlarnaPayments < Stripe::RequestParams
2778
- # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
2779
- attr_accessor :requested
2780
-
2781
- def initialize(requested: nil)
2782
- @requested = requested
2783
- end
2784
- end
2785
-
2786
- class KonbiniPayments < Stripe::RequestParams
2787
- # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
2788
- attr_accessor :requested
2789
-
2790
- def initialize(requested: nil)
2791
- @requested = requested
2792
- end
2793
- end
2794
-
2795
- class KrCardPayments < Stripe::RequestParams
2796
- # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
2797
- attr_accessor :requested
2798
-
2799
- def initialize(requested: nil)
2800
- @requested = requested
2801
- end
2802
- end
2803
-
2804
- class LegacyPayments < Stripe::RequestParams
2805
- # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
2806
- attr_accessor :requested
2807
-
2808
- def initialize(requested: nil)
2809
- @requested = requested
2810
- end
2811
- end
2812
-
2813
- class LinkPayments < Stripe::RequestParams
2814
- # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
2815
- attr_accessor :requested
2816
-
2817
- def initialize(requested: nil)
2818
- @requested = requested
2819
- end
2820
- end
2821
-
2822
- class MbWayPayments < Stripe::RequestParams
2823
- # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
2824
- attr_accessor :requested
2825
-
2826
- def initialize(requested: nil)
2827
- @requested = requested
2828
- end
2829
- end
2830
-
2831
- class MobilepayPayments < Stripe::RequestParams
2832
- # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
2833
- attr_accessor :requested
2834
-
2835
- def initialize(requested: nil)
2836
- @requested = requested
2837
- end
2838
- end
2839
-
2840
- class MultibancoPayments < Stripe::RequestParams
2841
- # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
2842
- attr_accessor :requested
2843
-
2844
- def initialize(requested: nil)
2845
- @requested = requested
2846
- end
2847
- end
2848
-
2849
- class MxBankTransferPayments < Stripe::RequestParams
2850
- # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
2851
- attr_accessor :requested
2852
-
2853
- def initialize(requested: nil)
2854
- @requested = requested
2855
- end
2856
- end
2857
-
2858
- class NaverPayPayments < Stripe::RequestParams
2859
- # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
2860
- attr_accessor :requested
2861
-
2862
- def initialize(requested: nil)
2863
- @requested = requested
2864
- end
2865
- end
2866
-
2867
- class NzBankAccountBecsDebitPayments < Stripe::RequestParams
2868
- # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
2869
- attr_accessor :requested
2870
-
2871
- def initialize(requested: nil)
2872
- @requested = requested
2873
- end
2874
- end
2875
-
2876
- class OxxoPayments < Stripe::RequestParams
2877
- # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
2878
- attr_accessor :requested
2879
-
2880
- def initialize(requested: nil)
2881
- @requested = requested
2882
- end
2883
- end
2884
-
2885
- class P24Payments < Stripe::RequestParams
2886
- # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
2887
- attr_accessor :requested
2888
-
2889
- def initialize(requested: nil)
2890
- @requested = requested
2891
- end
2892
- end
2893
-
2894
- class PayByBankPayments < Stripe::RequestParams
2895
- # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
2896
- attr_accessor :requested
2897
-
2898
- def initialize(requested: nil)
2899
- @requested = requested
2900
- end
2901
- end
2902
-
2903
- class PaycoPayments < Stripe::RequestParams
2904
- # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
2905
- attr_accessor :requested
2906
-
2907
- def initialize(requested: nil)
2908
- @requested = requested
2909
- end
2910
- end
2911
-
2912
- class PaynowPayments < Stripe::RequestParams
2913
- # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
2914
- attr_accessor :requested
2915
-
2916
- def initialize(requested: nil)
2917
- @requested = requested
2918
- end
2919
- end
2920
-
2921
- class PaypalPayments < Stripe::RequestParams
2922
- # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
2923
- attr_accessor :requested
2924
-
2925
- def initialize(requested: nil)
2926
- @requested = requested
2927
- end
2928
- end
2929
-
2930
- class PaytoPayments < Stripe::RequestParams
2931
- # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
2932
- attr_accessor :requested
2933
-
2934
- def initialize(requested: nil)
2935
- @requested = requested
2936
- end
2937
- end
2938
-
2939
- class PixPayments < Stripe::RequestParams
2940
- # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
2941
- attr_accessor :requested
2942
-
2943
- def initialize(requested: nil)
2944
- @requested = requested
2945
- end
2946
- end
2947
-
2948
- class PromptpayPayments < Stripe::RequestParams
2949
- # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
2950
- attr_accessor :requested
2951
-
2952
- def initialize(requested: nil)
2953
- @requested = requested
2954
- end
2955
- end
2956
-
2957
- class QrisPayments < Stripe::RequestParams
2958
- # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
2959
- attr_accessor :requested
2960
-
2961
- def initialize(requested: nil)
2962
- @requested = requested
2963
- end
2964
- end
2965
-
2966
- class RechnungPayments < Stripe::RequestParams
2967
- # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
2968
- attr_accessor :requested
2969
-
2970
- def initialize(requested: nil)
2971
- @requested = requested
2972
- end
2973
- end
2974
-
2975
- class RevolutPayPayments < Stripe::RequestParams
2976
- # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
2977
- attr_accessor :requested
2978
-
2979
- def initialize(requested: nil)
2980
- @requested = requested
2981
- end
2982
- end
2983
-
2984
- class SamsungPayPayments < Stripe::RequestParams
2985
- # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
2986
- attr_accessor :requested
2987
-
2988
- def initialize(requested: nil)
2989
- @requested = requested
2990
- end
2991
- end
2992
-
2993
- class SatispayPayments < Stripe::RequestParams
2994
- # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
2995
- attr_accessor :requested
2996
-
2997
- def initialize(requested: nil)
2998
- @requested = requested
2999
- end
3000
- end
3001
-
3002
- class SepaBankTransferPayments < Stripe::RequestParams
3003
- # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
3004
- attr_accessor :requested
3005
-
3006
- def initialize(requested: nil)
3007
- @requested = requested
3008
- end
3009
- end
3010
-
3011
- class SepaDebitPayments < Stripe::RequestParams
3012
- # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
3013
- attr_accessor :requested
3014
-
3015
- def initialize(requested: nil)
3016
- @requested = requested
3017
- end
3018
- end
3019
-
3020
- class ShopeepayPayments < Stripe::RequestParams
3021
- # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
3022
- attr_accessor :requested
3023
-
3024
- def initialize(requested: nil)
3025
- @requested = requested
3026
- end
3027
- end
3028
-
3029
- class SofortPayments < Stripe::RequestParams
3030
- # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
3031
- attr_accessor :requested
3032
-
3033
- def initialize(requested: nil)
3034
- @requested = requested
3035
- end
3036
- end
3037
-
3038
- class StripeBalancePayments < Stripe::RequestParams
3039
- # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
3040
- attr_accessor :requested
3041
-
3042
- def initialize(requested: nil)
3043
- @requested = requested
3044
- end
3045
- end
3046
-
3047
- class SwishPayments < Stripe::RequestParams
3048
- # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
3049
- attr_accessor :requested
3050
-
3051
- def initialize(requested: nil)
3052
- @requested = requested
3053
- end
3054
- end
3055
-
3056
- class TaxReportingUs1099K < Stripe::RequestParams
3057
- # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
3058
- attr_accessor :requested
3059
-
3060
- def initialize(requested: nil)
3061
- @requested = requested
3062
- end
3063
- end
3064
-
3065
- class TaxReportingUs1099Misc < Stripe::RequestParams
3066
- # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
3067
- attr_accessor :requested
3068
-
3069
- def initialize(requested: nil)
3070
- @requested = requested
3071
- end
3072
- end
3073
-
3074
- class Transfers < Stripe::RequestParams
3075
- # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
3076
- attr_accessor :requested
3077
-
3078
- def initialize(requested: nil)
3079
- @requested = requested
3080
- end
3081
- end
3082
-
3083
- class Treasury < Stripe::RequestParams
3084
- # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
3085
- attr_accessor :requested
3086
-
3087
- def initialize(requested: nil)
3088
- @requested = requested
3089
- end
3090
- end
3091
-
3092
- class TreasuryEvolve < Stripe::RequestParams
3093
- # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
3094
- attr_accessor :requested
3095
-
3096
- def initialize(requested: nil)
3097
- @requested = requested
3098
- end
3099
- end
3100
-
3101
- class TreasuryFifthThird < Stripe::RequestParams
3102
- # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
3103
- attr_accessor :requested
3104
-
3105
- def initialize(requested: nil)
3106
- @requested = requested
3107
- end
3108
- end
3109
-
3110
- class TreasuryGoldmanSachs < Stripe::RequestParams
3111
- # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
3112
- attr_accessor :requested
3113
-
3114
- def initialize(requested: nil)
3115
- @requested = requested
3116
- end
3117
- end
3118
-
3119
- class TwintPayments < Stripe::RequestParams
3120
- # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
3121
- attr_accessor :requested
3122
-
3123
- def initialize(requested: nil)
3124
- @requested = requested
3125
- end
3126
- end
3127
-
3128
- class UsBankAccountAchPayments < Stripe::RequestParams
3129
- # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
3130
- attr_accessor :requested
3131
-
3132
- def initialize(requested: nil)
3133
- @requested = requested
3134
- end
3135
- end
3136
-
3137
- class UsBankTransferPayments < Stripe::RequestParams
3138
- # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
3139
- attr_accessor :requested
3140
-
3141
- def initialize(requested: nil)
3142
- @requested = requested
3143
- end
3144
- end
3145
-
3146
- class ZipPayments < Stripe::RequestParams
3147
- # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
3148
- attr_accessor :requested
3149
-
3150
- def initialize(requested: nil)
3151
- @requested = requested
3152
- end
3153
- end
3154
- # The acss_debit_payments capability.
3155
- attr_accessor :acss_debit_payments
3156
- # The affirm_payments capability.
3157
- attr_accessor :affirm_payments
3158
- # The afterpay_clearpay_payments capability.
3159
- attr_accessor :afterpay_clearpay_payments
3160
- # The alma_payments capability.
3161
- attr_accessor :alma_payments
3162
- # The amazon_pay_payments capability.
3163
- attr_accessor :amazon_pay_payments
3164
- # The au_becs_debit_payments capability.
3165
- attr_accessor :au_becs_debit_payments
3166
- # The automatic_indirect_tax capability.
3167
- attr_accessor :automatic_indirect_tax
3168
- # The bacs_debit_payments capability.
3169
- attr_accessor :bacs_debit_payments
3170
- # The bancontact_payments capability.
3171
- attr_accessor :bancontact_payments
3172
- # The bank_transfer_payments capability.
3173
- attr_accessor :bank_transfer_payments
3174
- # The billie_payments capability.
3175
- attr_accessor :billie_payments
3176
- # The blik_payments capability.
3177
- attr_accessor :blik_payments
3178
- # The boleto_payments capability.
3179
- attr_accessor :boleto_payments
3180
- # The card_issuing capability.
3181
- attr_accessor :card_issuing
3182
- # The card_payments capability.
3183
- attr_accessor :card_payments
3184
- # The cartes_bancaires_payments capability.
3185
- attr_accessor :cartes_bancaires_payments
3186
- # The cashapp_payments capability.
3187
- attr_accessor :cashapp_payments
3188
- # The crypto_payments capability.
3189
- attr_accessor :crypto_payments
3190
- # The eps_payments capability.
3191
- attr_accessor :eps_payments
3192
- # The fpx_payments capability.
3193
- attr_accessor :fpx_payments
3194
- # The gb_bank_transfer_payments capability.
3195
- attr_accessor :gb_bank_transfer_payments
3196
- # The giropay_payments capability.
3197
- attr_accessor :giropay_payments
3198
- # The gopay_payments capability.
3199
- attr_accessor :gopay_payments
3200
- # The grabpay_payments capability.
3201
- attr_accessor :grabpay_payments
3202
- # The id_bank_transfer_payments capability.
3203
- attr_accessor :id_bank_transfer_payments
3204
- # The id_bank_transfer_payments_bca capability.
3205
- attr_accessor :id_bank_transfer_payments_bca
3206
- # The ideal_payments capability.
3207
- attr_accessor :ideal_payments
3208
- # The india_international_payments capability.
3209
- attr_accessor :india_international_payments
3210
- # The jcb_payments capability.
3211
- attr_accessor :jcb_payments
3212
- # The jp_bank_transfer_payments capability.
3213
- attr_accessor :jp_bank_transfer_payments
3214
- # The kakao_pay_payments capability.
3215
- attr_accessor :kakao_pay_payments
3216
- # The klarna_payments capability.
3217
- attr_accessor :klarna_payments
3218
- # The konbini_payments capability.
3219
- attr_accessor :konbini_payments
3220
- # The kr_card_payments capability.
3221
- attr_accessor :kr_card_payments
3222
- # The legacy_payments capability.
3223
- attr_accessor :legacy_payments
3224
- # The link_payments capability.
3225
- attr_accessor :link_payments
3226
- # The mb_way_payments capability.
3227
- attr_accessor :mb_way_payments
3228
- # The mobilepay_payments capability.
3229
- attr_accessor :mobilepay_payments
3230
- # The multibanco_payments capability.
3231
- attr_accessor :multibanco_payments
3232
- # The mx_bank_transfer_payments capability.
3233
- attr_accessor :mx_bank_transfer_payments
3234
- # The naver_pay_payments capability.
3235
- attr_accessor :naver_pay_payments
3236
- # The nz_bank_account_becs_debit_payments capability.
3237
- attr_accessor :nz_bank_account_becs_debit_payments
3238
- # The oxxo_payments capability.
3239
- attr_accessor :oxxo_payments
3240
- # The p24_payments capability.
3241
- attr_accessor :p24_payments
3242
- # The pay_by_bank_payments capability.
3243
- attr_accessor :pay_by_bank_payments
3244
- # The payco_payments capability.
3245
- attr_accessor :payco_payments
3246
- # The paynow_payments capability.
3247
- attr_accessor :paynow_payments
3248
- # The paypal_payments capability.
3249
- attr_accessor :paypal_payments
3250
- # The payto_payments capability.
3251
- attr_accessor :payto_payments
3252
- # The pix_payments capability.
3253
- attr_accessor :pix_payments
3254
- # The promptpay_payments capability.
3255
- attr_accessor :promptpay_payments
3256
- # The qris_payments capability.
3257
- attr_accessor :qris_payments
3258
- # The rechnung_payments capability.
3259
- attr_accessor :rechnung_payments
3260
- # The revolut_pay_payments capability.
3261
- attr_accessor :revolut_pay_payments
3262
- # The samsung_pay_payments capability.
3263
- attr_accessor :samsung_pay_payments
3264
- # The satispay_payments capability.
3265
- attr_accessor :satispay_payments
3266
- # The sepa_bank_transfer_payments capability.
3267
- attr_accessor :sepa_bank_transfer_payments
3268
- # The sepa_debit_payments capability.
3269
- attr_accessor :sepa_debit_payments
3270
- # The shopeepay_payments capability.
3271
- attr_accessor :shopeepay_payments
3272
- # The sofort_payments capability.
3273
- attr_accessor :sofort_payments
3274
- # The stripe_balance_payments capability.
3275
- attr_accessor :stripe_balance_payments
3276
- # The swish_payments capability.
3277
- attr_accessor :swish_payments
3278
- # The tax_reporting_us_1099_k capability.
3279
- attr_accessor :tax_reporting_us_1099_k
3280
- # The tax_reporting_us_1099_misc capability.
3281
- attr_accessor :tax_reporting_us_1099_misc
3282
- # The transfers capability.
3283
- attr_accessor :transfers
3284
- # The treasury capability.
3285
- attr_accessor :treasury
3286
- # The treasury_evolve capability.
3287
- attr_accessor :treasury_evolve
3288
- # The treasury_fifth_third capability.
3289
- attr_accessor :treasury_fifth_third
3290
- # The treasury_goldman_sachs capability.
3291
- attr_accessor :treasury_goldman_sachs
3292
- # The twint_payments capability.
3293
- attr_accessor :twint_payments
3294
- # The us_bank_account_ach_payments capability.
3295
- attr_accessor :us_bank_account_ach_payments
3296
- # The us_bank_transfer_payments capability.
3297
- attr_accessor :us_bank_transfer_payments
3298
- # The zip_payments capability.
3299
- attr_accessor :zip_payments
3300
-
3301
- def initialize(
3302
- acss_debit_payments: nil,
3303
- affirm_payments: nil,
3304
- afterpay_clearpay_payments: nil,
3305
- alma_payments: nil,
3306
- amazon_pay_payments: nil,
3307
- au_becs_debit_payments: nil,
3308
- automatic_indirect_tax: nil,
3309
- bacs_debit_payments: nil,
3310
- bancontact_payments: nil,
3311
- bank_transfer_payments: nil,
3312
- billie_payments: nil,
3313
- blik_payments: nil,
3314
- boleto_payments: nil,
3315
- card_issuing: nil,
3316
- card_payments: nil,
3317
- cartes_bancaires_payments: nil,
3318
- cashapp_payments: nil,
3319
- crypto_payments: nil,
3320
- eps_payments: nil,
3321
- fpx_payments: nil,
3322
- gb_bank_transfer_payments: nil,
3323
- giropay_payments: nil,
3324
- gopay_payments: nil,
3325
- grabpay_payments: nil,
3326
- id_bank_transfer_payments: nil,
3327
- id_bank_transfer_payments_bca: nil,
3328
- ideal_payments: nil,
3329
- india_international_payments: nil,
3330
- jcb_payments: nil,
3331
- jp_bank_transfer_payments: nil,
3332
- kakao_pay_payments: nil,
3333
- klarna_payments: nil,
3334
- konbini_payments: nil,
3335
- kr_card_payments: nil,
3336
- legacy_payments: nil,
3337
- link_payments: nil,
3338
- mb_way_payments: nil,
3339
- mobilepay_payments: nil,
3340
- multibanco_payments: nil,
3341
- mx_bank_transfer_payments: nil,
3342
- naver_pay_payments: nil,
3343
- nz_bank_account_becs_debit_payments: nil,
3344
- oxxo_payments: nil,
3345
- p24_payments: nil,
3346
- pay_by_bank_payments: nil,
3347
- payco_payments: nil,
3348
- paynow_payments: nil,
3349
- paypal_payments: nil,
3350
- payto_payments: nil,
3351
- pix_payments: nil,
3352
- promptpay_payments: nil,
3353
- qris_payments: nil,
3354
- rechnung_payments: nil,
3355
- revolut_pay_payments: nil,
3356
- samsung_pay_payments: nil,
3357
- satispay_payments: nil,
3358
- sepa_bank_transfer_payments: nil,
3359
- sepa_debit_payments: nil,
3360
- shopeepay_payments: nil,
3361
- sofort_payments: nil,
3362
- stripe_balance_payments: nil,
3363
- swish_payments: nil,
3364
- tax_reporting_us_1099_k: nil,
3365
- tax_reporting_us_1099_misc: nil,
3366
- transfers: nil,
3367
- treasury: nil,
3368
- treasury_evolve: nil,
3369
- treasury_fifth_third: nil,
3370
- treasury_goldman_sachs: nil,
3371
- twint_payments: nil,
3372
- us_bank_account_ach_payments: nil,
3373
- us_bank_transfer_payments: nil,
3374
- zip_payments: nil
3375
- )
3376
- @acss_debit_payments = acss_debit_payments
3377
- @affirm_payments = affirm_payments
3378
- @afterpay_clearpay_payments = afterpay_clearpay_payments
3379
- @alma_payments = alma_payments
3380
- @amazon_pay_payments = amazon_pay_payments
3381
- @au_becs_debit_payments = au_becs_debit_payments
3382
- @automatic_indirect_tax = automatic_indirect_tax
3383
- @bacs_debit_payments = bacs_debit_payments
3384
- @bancontact_payments = bancontact_payments
3385
- @bank_transfer_payments = bank_transfer_payments
3386
- @billie_payments = billie_payments
3387
- @blik_payments = blik_payments
3388
- @boleto_payments = boleto_payments
3389
- @card_issuing = card_issuing
3390
- @card_payments = card_payments
3391
- @cartes_bancaires_payments = cartes_bancaires_payments
3392
- @cashapp_payments = cashapp_payments
3393
- @crypto_payments = crypto_payments
3394
- @eps_payments = eps_payments
3395
- @fpx_payments = fpx_payments
3396
- @gb_bank_transfer_payments = gb_bank_transfer_payments
3397
- @giropay_payments = giropay_payments
3398
- @gopay_payments = gopay_payments
3399
- @grabpay_payments = grabpay_payments
3400
- @id_bank_transfer_payments = id_bank_transfer_payments
3401
- @id_bank_transfer_payments_bca = id_bank_transfer_payments_bca
3402
- @ideal_payments = ideal_payments
3403
- @india_international_payments = india_international_payments
3404
- @jcb_payments = jcb_payments
3405
- @jp_bank_transfer_payments = jp_bank_transfer_payments
3406
- @kakao_pay_payments = kakao_pay_payments
3407
- @klarna_payments = klarna_payments
3408
- @konbini_payments = konbini_payments
3409
- @kr_card_payments = kr_card_payments
3410
- @legacy_payments = legacy_payments
3411
- @link_payments = link_payments
3412
- @mb_way_payments = mb_way_payments
3413
- @mobilepay_payments = mobilepay_payments
3414
- @multibanco_payments = multibanco_payments
3415
- @mx_bank_transfer_payments = mx_bank_transfer_payments
3416
- @naver_pay_payments = naver_pay_payments
3417
- @nz_bank_account_becs_debit_payments = nz_bank_account_becs_debit_payments
3418
- @oxxo_payments = oxxo_payments
3419
- @p24_payments = p24_payments
3420
- @pay_by_bank_payments = pay_by_bank_payments
3421
- @payco_payments = payco_payments
3422
- @paynow_payments = paynow_payments
3423
- @paypal_payments = paypal_payments
3424
- @payto_payments = payto_payments
3425
- @pix_payments = pix_payments
3426
- @promptpay_payments = promptpay_payments
3427
- @qris_payments = qris_payments
3428
- @rechnung_payments = rechnung_payments
3429
- @revolut_pay_payments = revolut_pay_payments
3430
- @samsung_pay_payments = samsung_pay_payments
3431
- @satispay_payments = satispay_payments
3432
- @sepa_bank_transfer_payments = sepa_bank_transfer_payments
3433
- @sepa_debit_payments = sepa_debit_payments
3434
- @shopeepay_payments = shopeepay_payments
3435
- @sofort_payments = sofort_payments
3436
- @stripe_balance_payments = stripe_balance_payments
3437
- @swish_payments = swish_payments
3438
- @tax_reporting_us_1099_k = tax_reporting_us_1099_k
3439
- @tax_reporting_us_1099_misc = tax_reporting_us_1099_misc
3440
- @transfers = transfers
3441
- @treasury = treasury
3442
- @treasury_evolve = treasury_evolve
3443
- @treasury_fifth_third = treasury_fifth_third
3444
- @treasury_goldman_sachs = treasury_goldman_sachs
3445
- @twint_payments = twint_payments
3446
- @us_bank_account_ach_payments = us_bank_account_ach_payments
3447
- @us_bank_transfer_payments = us_bank_transfer_payments
3448
- @zip_payments = zip_payments
3449
- end
3450
- end
3451
-
3452
- class Card < Stripe::RequestParams
3453
- # Attribute for param field object
3454
- attr_accessor :object
3455
- # Attribute for param field address_city
3456
- attr_accessor :address_city
3457
- # Attribute for param field address_country
3458
- attr_accessor :address_country
3459
- # Attribute for param field address_line1
3460
- attr_accessor :address_line1
3461
- # Attribute for param field address_line2
3462
- attr_accessor :address_line2
3463
- # Attribute for param field address_state
3464
- attr_accessor :address_state
3465
- # Attribute for param field address_zip
3466
- attr_accessor :address_zip
3467
- # Attribute for param field currency
3468
- attr_accessor :currency
3469
- # Attribute for param field cvc
3470
- attr_accessor :cvc
3471
- # Attribute for param field exp_month
3472
- attr_accessor :exp_month
3473
- # Attribute for param field exp_year
3474
- attr_accessor :exp_year
3475
- # Attribute for param field name
3476
- attr_accessor :name
3477
- # Attribute for param field number
3478
- attr_accessor :number
3479
- # Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format.
3480
- attr_accessor :metadata
3481
- # Attribute for param field default_for_currency
3482
- attr_accessor :default_for_currency
3483
-
3484
- def initialize(
3485
- object: nil,
3486
- address_city: nil,
3487
- address_country: nil,
3488
- address_line1: nil,
3489
- address_line2: nil,
3490
- address_state: nil,
3491
- address_zip: nil,
3492
- currency: nil,
3493
- cvc: nil,
3494
- exp_month: nil,
3495
- exp_year: nil,
3496
- name: nil,
3497
- number: nil,
3498
- metadata: nil,
3499
- default_for_currency: nil
3500
- )
3501
- @object = object
3502
- @address_city = address_city
3503
- @address_country = address_country
3504
- @address_line1 = address_line1
3505
- @address_line2 = address_line2
3506
- @address_state = address_state
3507
- @address_zip = address_zip
3508
- @currency = currency
3509
- @cvc = cvc
3510
- @exp_month = exp_month
3511
- @exp_year = exp_year
3512
- @name = name
3513
- @number = number
3514
- @metadata = metadata
3515
- @default_for_currency = default_for_currency
3516
- end
3517
- end
3518
-
3519
- class CardToken < Stripe::RequestParams
3520
- # Attribute for param field object
3521
- attr_accessor :object
3522
- # Attribute for param field currency
3523
- attr_accessor :currency
3524
- # Attribute for param field token
3525
- attr_accessor :token
3526
-
3527
- def initialize(object: nil, currency: nil, token: nil)
3528
- @object = object
3529
- @currency = currency
3530
- @token = token
3531
- end
3532
- end
3533
-
3534
- class Company < Stripe::RequestParams
3535
- class Address < Stripe::RequestParams
3536
- # City, district, suburb, town, or village.
3537
- attr_accessor :city
3538
- # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
3539
- attr_accessor :country
3540
- # Address line 1 (e.g., street, PO Box, or company name).
3541
- attr_accessor :line1
3542
- # Address line 2 (e.g., apartment, suite, unit, or building).
3543
- attr_accessor :line2
3544
- # ZIP or postal code.
3545
- attr_accessor :postal_code
3546
- # State, county, province, or region.
3547
- attr_accessor :state
3548
-
3549
- def initialize(
3550
- city: nil,
3551
- country: nil,
3552
- line1: nil,
3553
- line2: nil,
3554
- postal_code: nil,
3555
- state: nil
3556
- )
3557
- @city = city
3558
- @country = country
3559
- @line1 = line1
3560
- @line2 = line2
3561
- @postal_code = postal_code
3562
- @state = state
3563
- end
3564
- end
3565
-
3566
- class AddressKana < Stripe::RequestParams
3567
- # City or ward.
3568
- attr_accessor :city
3569
- # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
3570
- attr_accessor :country
3571
- # Block or building number.
3572
- attr_accessor :line1
3573
- # Building details.
3574
- attr_accessor :line2
3575
- # Postal code.
3576
- attr_accessor :postal_code
3577
- # Prefecture.
3578
- attr_accessor :state
3579
- # Town or cho-me.
3580
- attr_accessor :town
3581
-
3582
- def initialize(
3583
- city: nil,
3584
- country: nil,
3585
- line1: nil,
3586
- line2: nil,
3587
- postal_code: nil,
3588
- state: nil,
3589
- town: nil
3590
- )
3591
- @city = city
3592
- @country = country
3593
- @line1 = line1
3594
- @line2 = line2
3595
- @postal_code = postal_code
3596
- @state = state
3597
- @town = town
3598
- end
3599
- end
3600
-
3601
- class AddressKanji < Stripe::RequestParams
3602
- # City or ward.
3603
- attr_accessor :city
3604
- # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
3605
- attr_accessor :country
3606
- # Block or building number.
3607
- attr_accessor :line1
3608
- # Building details.
3609
- attr_accessor :line2
3610
- # Postal code.
3611
- attr_accessor :postal_code
3612
- # Prefecture.
3613
- attr_accessor :state
3614
- # Town or cho-me.
3615
- attr_accessor :town
3616
-
3617
- def initialize(
3618
- city: nil,
3619
- country: nil,
3620
- line1: nil,
3621
- line2: nil,
3622
- postal_code: nil,
3623
- state: nil,
3624
- town: nil
3625
- )
3626
- @city = city
3627
- @country = country
3628
- @line1 = line1
3629
- @line2 = line2
3630
- @postal_code = postal_code
3631
- @state = state
3632
- @town = town
3633
- end
3634
- end
3635
-
3636
- class DirectorshipDeclaration < Stripe::RequestParams
3637
- # The Unix timestamp marking when the directorship declaration attestation was made.
3638
- attr_accessor :date
3639
- # The IP address from which the directorship declaration attestation was made.
3640
- attr_accessor :ip
3641
- # The user agent of the browser from which the directorship declaration attestation was made.
3642
- attr_accessor :user_agent
3643
-
3644
- def initialize(date: nil, ip: nil, user_agent: nil)
3645
- @date = date
3646
- @ip = ip
3647
- @user_agent = user_agent
3648
- end
3649
- end
3650
-
3651
- class OwnershipDeclaration < Stripe::RequestParams
3652
- # The Unix timestamp marking when the beneficial owner attestation was made.
3653
- attr_accessor :date
3654
- # The IP address from which the beneficial owner attestation was made.
3655
- attr_accessor :ip
3656
- # The user agent of the browser from which the beneficial owner attestation was made.
3657
- attr_accessor :user_agent
3658
-
3659
- def initialize(date: nil, ip: nil, user_agent: nil)
3660
- @date = date
3661
- @ip = ip
3662
- @user_agent = user_agent
3663
- end
3664
- end
3665
-
3666
- class RegistrationDate < Stripe::RequestParams
3667
- # The day of registration, between 1 and 31.
3668
- attr_accessor :day
3669
- # The month of registration, between 1 and 12.
3670
- attr_accessor :month
3671
- # The four-digit year of registration.
3672
- attr_accessor :year
3673
-
3674
- def initialize(day: nil, month: nil, year: nil)
3675
- @day = day
3676
- @month = month
3677
- @year = year
3678
- end
3679
- end
3680
-
3681
- class Verification < Stripe::RequestParams
3682
- class Document < Stripe::RequestParams
3683
- # The back of a document returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `additional_verification`. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size.
3684
- attr_accessor :back
3685
- # The front of a document returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `additional_verification`. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size.
3686
- attr_accessor :front
3687
-
3688
- def initialize(back: nil, front: nil)
3689
- @back = back
3690
- @front = front
3691
- end
3692
- end
3693
- # A document verifying the business.
3694
- attr_accessor :document
3695
-
3696
- def initialize(document: nil)
3697
- @document = document
3698
- end
3699
- end
3700
- # The company's primary address.
3701
- attr_accessor :address
3702
- # The Kana variation of the company's primary address (Japan only).
3703
- attr_accessor :address_kana
3704
- # The Kanji variation of the company's primary address (Japan only).
3705
- attr_accessor :address_kanji
3706
- # Whether the company's directors have been provided. Set this Boolean to `true` after creating all the company's directors with [the Persons API](/api/persons) for accounts with a `relationship.director` requirement. This value is not automatically set to `true` after creating directors, so it needs to be updated to indicate all directors have been provided.
3707
- attr_accessor :directors_provided
3708
- # This hash is used to attest that the directors information provided to Stripe is both current and correct.
3709
- attr_accessor :directorship_declaration
3710
- # Whether the company's executives have been provided. Set this Boolean to `true` after creating all the company's executives with [the Persons API](/api/persons) for accounts with a `relationship.executive` requirement.
3711
- attr_accessor :executives_provided
3712
- # The export license ID number of the company, also referred as Import Export Code (India only).
3713
- attr_accessor :export_license_id
3714
- # The purpose code to use for export transactions (India only).
3715
- attr_accessor :export_purpose_code
3716
- # The company's legal name.
3717
- attr_accessor :name
3718
- # The Kana variation of the company's legal name (Japan only).
3719
- attr_accessor :name_kana
3720
- # The Kanji variation of the company's legal name (Japan only).
3721
- attr_accessor :name_kanji
3722
- # Whether the company's owners have been provided. Set this Boolean to `true` after creating all the company's owners with [the Persons API](/api/persons) for accounts with a `relationship.owner` requirement.
3723
- attr_accessor :owners_provided
3724
- # This hash is used to attest that the beneficial owner information provided to Stripe is both current and correct.
3725
- attr_accessor :ownership_declaration
3726
- # This value is used to determine if a business is exempt from providing ultimate beneficial owners. See [this support article](https://support.stripe.com/questions/exemption-from-providing-ownership-details) and [changelog](https://docs.stripe.com/changelog/acacia/2025-01-27/ownership-exemption-reason-accounts-api) for more details.
3727
- attr_accessor :ownership_exemption_reason
3728
- # The company's phone number (used for verification).
3729
- attr_accessor :phone
3730
- # When the business was incorporated or registered.
3731
- attr_accessor :registration_date
3732
- # The identification number given to a company when it is registered or incorporated, if distinct from the identification number used for filing taxes. (Examples are the CIN for companies and LLP IN for partnerships in India, and the Company Registration Number in Hong Kong).
3733
- attr_accessor :registration_number
3734
- # The category identifying the legal structure of the company or legal entity. See [Business structure](/connect/identity-verification#business-structure) for more details. Pass an empty string to unset this value.
3735
- attr_accessor :structure
3736
- # The business ID number of the company, as appropriate for the company’s country. (Examples are an Employer ID Number in the U.S., a Business Number in Canada, or a Company Number in the UK.)
3737
- attr_accessor :tax_id
3738
- # The jurisdiction in which the `tax_id` is registered (Germany-based companies only).
3739
- attr_accessor :tax_id_registrar
3740
- # The VAT number of the company.
3741
- attr_accessor :vat_id
3742
- # Information on the verification state of the company.
3743
- attr_accessor :verification
3744
-
3745
- def initialize(
3746
- address: nil,
3747
- address_kana: nil,
3748
- address_kanji: nil,
3749
- directors_provided: nil,
3750
- directorship_declaration: nil,
3751
- executives_provided: nil,
3752
- export_license_id: nil,
3753
- export_purpose_code: nil,
3754
- name: nil,
3755
- name_kana: nil,
3756
- name_kanji: nil,
3757
- owners_provided: nil,
3758
- ownership_declaration: nil,
3759
- ownership_exemption_reason: nil,
3760
- phone: nil,
3761
- registration_date: nil,
3762
- registration_number: nil,
3763
- structure: nil,
3764
- tax_id: nil,
3765
- tax_id_registrar: nil,
3766
- vat_id: nil,
3767
- verification: nil
3768
- )
3769
- @address = address
3770
- @address_kana = address_kana
3771
- @address_kanji = address_kanji
3772
- @directors_provided = directors_provided
3773
- @directorship_declaration = directorship_declaration
3774
- @executives_provided = executives_provided
3775
- @export_license_id = export_license_id
3776
- @export_purpose_code = export_purpose_code
3777
- @name = name
3778
- @name_kana = name_kana
3779
- @name_kanji = name_kanji
3780
- @owners_provided = owners_provided
3781
- @ownership_declaration = ownership_declaration
3782
- @ownership_exemption_reason = ownership_exemption_reason
3783
- @phone = phone
3784
- @registration_date = registration_date
3785
- @registration_number = registration_number
3786
- @structure = structure
3787
- @tax_id = tax_id
3788
- @tax_id_registrar = tax_id_registrar
3789
- @vat_id = vat_id
3790
- @verification = verification
3791
- end
3792
- end
3793
-
3794
- class Controller < Stripe::RequestParams
3795
- class Application < Stripe::RequestParams
3796
- # Whether the controller is liable for losses on this account. For details, see [Understanding Connect Account Balances](https://stripe.com/docs/connect/account-balances).
3797
- attr_accessor :loss_liable
3798
- # Whether the controller owns onboarding for this account.
3799
- attr_accessor :onboarding_owner
3800
- # Whether the controller has pricing controls for this account.
3801
- attr_accessor :pricing_controls
3802
-
3803
- def initialize(loss_liable: nil, onboarding_owner: nil, pricing_controls: nil)
3804
- @loss_liable = loss_liable
3805
- @onboarding_owner = onboarding_owner
3806
- @pricing_controls = pricing_controls
3807
- end
3808
- end
3809
-
3810
- class Dashboard < Stripe::RequestParams
3811
- # Whether this account should have access to the full Stripe Dashboard (`full`), to the Express Dashboard (`express`), or to no Stripe-hosted dashboard (`none`). Defaults to `full`.
3812
- attr_accessor :type
3813
-
3814
- def initialize(type: nil)
3815
- @type = type
3816
- end
3817
- end
3818
-
3819
- class Fees < Stripe::RequestParams
3820
- # A value indicating the responsible payer of Stripe fees on this account. Defaults to `account`. Learn more about [fee behavior on connected accounts](https://docs.stripe.com/connect/direct-charges-fee-payer-behavior).
3821
- attr_accessor :payer
3822
-
3823
- def initialize(payer: nil)
3824
- @payer = payer
3825
- end
3826
- end
3827
-
3828
- class Losses < Stripe::RequestParams
3829
- # A value indicating who is liable when this account can't pay back negative balances resulting from payments. Defaults to `stripe`.
3830
- attr_accessor :payments
3831
-
3832
- def initialize(payments: nil)
3833
- @payments = payments
3834
- end
3835
- end
3836
-
3837
- class StripeDashboard < Stripe::RequestParams
3838
- # Whether this account should have access to the full Stripe Dashboard (`full`), to the Express Dashboard (`express`), or to no Stripe-hosted dashboard (`none`). Defaults to `full`.
3839
- attr_accessor :type
3840
-
3841
- def initialize(type: nil)
3842
- @type = type
3843
- end
3844
- end
3845
- # A hash of configuration describing the Connect application that controls the account.
3846
- attr_accessor :application
3847
- # Properties of the account's dashboard.
3848
- attr_accessor :dashboard
3849
- # A hash of configuration for who pays Stripe fees for product usage on this account.
3850
- attr_accessor :fees
3851
- # A hash of configuration for products that have negative balance liability, and whether Stripe or a Connect application is responsible for them.
3852
- attr_accessor :losses
3853
- # A value indicating responsibility for collecting updated information when requirements on the account are due or change. Defaults to `stripe`.
3854
- attr_accessor :requirement_collection
3855
- # A hash of configuration for Stripe-hosted dashboards.
3856
- attr_accessor :stripe_dashboard
3857
-
3858
- def initialize(
3859
- application: nil,
3860
- dashboard: nil,
3861
- fees: nil,
3862
- losses: nil,
3863
- requirement_collection: nil,
3864
- stripe_dashboard: nil
3865
- )
3866
- @application = application
3867
- @dashboard = dashboard
3868
- @fees = fees
3869
- @losses = losses
3870
- @requirement_collection = requirement_collection
3871
- @stripe_dashboard = stripe_dashboard
3872
- end
3873
- end
3874
-
3875
- class Documents < Stripe::RequestParams
3876
- class BankAccountOwnershipVerification < Stripe::RequestParams
3877
- # One or more document ids returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `account_requirement`.
3878
- attr_accessor :files
3879
-
3880
- def initialize(files: nil)
3881
- @files = files
3882
- end
3883
- end
3884
-
3885
- class CompanyLicense < Stripe::RequestParams
3886
- # One or more document ids returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `account_requirement`.
3887
- attr_accessor :files
3888
-
3889
- def initialize(files: nil)
3890
- @files = files
3891
- end
3892
- end
3893
-
3894
- class CompanyMemorandumOfAssociation < Stripe::RequestParams
3895
- # One or more document ids returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `account_requirement`.
3896
- attr_accessor :files
3897
-
3898
- def initialize(files: nil)
3899
- @files = files
3900
- end
3901
- end
3902
-
3903
- class CompanyMinisterialDecree < Stripe::RequestParams
3904
- # One or more document ids returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `account_requirement`.
3905
- attr_accessor :files
3906
-
3907
- def initialize(files: nil)
3908
- @files = files
3909
- end
3910
- end
3911
-
3912
- class CompanyRegistrationVerification < Stripe::RequestParams
3913
- # One or more document ids returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `account_requirement`.
3914
- attr_accessor :files
3915
-
3916
- def initialize(files: nil)
3917
- @files = files
3918
- end
3919
- end
3920
-
3921
- class CompanyTaxIdVerification < Stripe::RequestParams
3922
- # One or more document ids returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `account_requirement`.
3923
- attr_accessor :files
3924
-
3925
- def initialize(files: nil)
3926
- @files = files
3927
- end
3928
- end
3929
-
3930
- class ProofOfAddress < Stripe::RequestParams
3931
- # One or more document ids returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `account_requirement`.
3932
- attr_accessor :files
3933
-
3934
- def initialize(files: nil)
3935
- @files = files
3936
- end
3937
- end
3938
-
3939
- class ProofOfRegistration < Stripe::RequestParams
3940
- # One or more document ids returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `account_requirement`.
3941
- attr_accessor :files
3942
-
3943
- def initialize(files: nil)
3944
- @files = files
3945
- end
3946
- end
3947
-
3948
- class ProofOfUltimateBeneficialOwnership < Stripe::RequestParams
3949
- # One or more document ids returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `account_requirement`.
3950
- attr_accessor :files
3951
-
3952
- def initialize(files: nil)
3953
- @files = files
3954
- end
3955
- end
3956
- # One or more documents that support the [Bank account ownership verification](https://support.stripe.com/questions/bank-account-ownership-verification) requirement. Must be a document associated with the account’s primary active bank account that displays the last 4 digits of the account number, either a statement or a check.
3957
- attr_accessor :bank_account_ownership_verification
3958
- # One or more documents that demonstrate proof of a company's license to operate.
3959
- attr_accessor :company_license
3960
- # One or more documents showing the company's Memorandum of Association.
3961
- attr_accessor :company_memorandum_of_association
3962
- # (Certain countries only) One or more documents showing the ministerial decree legalizing the company's establishment.
3963
- attr_accessor :company_ministerial_decree
3964
- # One or more documents that demonstrate proof of a company's registration with the appropriate local authorities.
3965
- attr_accessor :company_registration_verification
3966
- # One or more documents that demonstrate proof of a company's tax ID.
3967
- attr_accessor :company_tax_id_verification
3968
- # One or more documents that demonstrate proof of address.
3969
- attr_accessor :proof_of_address
3970
- # One or more documents showing the company’s proof of registration with the national business registry.
3971
- attr_accessor :proof_of_registration
3972
- # One or more documents that demonstrate proof of ultimate beneficial ownership.
3973
- attr_accessor :proof_of_ultimate_beneficial_ownership
3974
-
3975
- def initialize(
3976
- bank_account_ownership_verification: nil,
3977
- company_license: nil,
3978
- company_memorandum_of_association: nil,
3979
- company_ministerial_decree: nil,
3980
- company_registration_verification: nil,
3981
- company_tax_id_verification: nil,
3982
- proof_of_address: nil,
3983
- proof_of_registration: nil,
3984
- proof_of_ultimate_beneficial_ownership: nil
3985
- )
3986
- @bank_account_ownership_verification = bank_account_ownership_verification
3987
- @company_license = company_license
3988
- @company_memorandum_of_association = company_memorandum_of_association
3989
- @company_ministerial_decree = company_ministerial_decree
3990
- @company_registration_verification = company_registration_verification
3991
- @company_tax_id_verification = company_tax_id_verification
3992
- @proof_of_address = proof_of_address
3993
- @proof_of_registration = proof_of_registration
3994
- @proof_of_ultimate_beneficial_ownership = proof_of_ultimate_beneficial_ownership
3995
- end
3996
- end
3997
-
3998
- class Groups < Stripe::RequestParams
3999
- # The group the account is in to determine their payments pricing, and null if the account is on customized pricing. [See the Platform pricing tool documentation](https://stripe.com/docs/connect/platform-pricing-tools) for details.
4000
- attr_accessor :payments_pricing
4001
-
4002
- def initialize(payments_pricing: nil)
4003
- @payments_pricing = payments_pricing
4004
- end
4005
- end
4006
-
4007
- class Individual < Stripe::RequestParams
4008
- class Address < Stripe::RequestParams
4009
- # City, district, suburb, town, or village.
4010
- attr_accessor :city
4011
- # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
4012
- attr_accessor :country
4013
- # Address line 1 (e.g., street, PO Box, or company name).
4014
- attr_accessor :line1
4015
- # Address line 2 (e.g., apartment, suite, unit, or building).
4016
- attr_accessor :line2
4017
- # ZIP or postal code.
4018
- attr_accessor :postal_code
4019
- # State, county, province, or region.
4020
- attr_accessor :state
4021
-
4022
- def initialize(
4023
- city: nil,
4024
- country: nil,
4025
- line1: nil,
4026
- line2: nil,
4027
- postal_code: nil,
4028
- state: nil
4029
- )
4030
- @city = city
4031
- @country = country
4032
- @line1 = line1
4033
- @line2 = line2
4034
- @postal_code = postal_code
4035
- @state = state
4036
- end
4037
- end
4038
-
4039
- class AddressKana < Stripe::RequestParams
4040
- # City or ward.
4041
- attr_accessor :city
4042
- # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
4043
- attr_accessor :country
4044
- # Block or building number.
4045
- attr_accessor :line1
4046
- # Building details.
4047
- attr_accessor :line2
4048
- # Postal code.
4049
- attr_accessor :postal_code
4050
- # Prefecture.
4051
- attr_accessor :state
4052
- # Town or cho-me.
4053
- attr_accessor :town
4054
-
4055
- def initialize(
4056
- city: nil,
4057
- country: nil,
4058
- line1: nil,
4059
- line2: nil,
4060
- postal_code: nil,
4061
- state: nil,
4062
- town: nil
4063
- )
4064
- @city = city
4065
- @country = country
4066
- @line1 = line1
4067
- @line2 = line2
4068
- @postal_code = postal_code
4069
- @state = state
4070
- @town = town
4071
- end
4072
- end
4073
-
4074
- class AddressKanji < Stripe::RequestParams
4075
- # City or ward.
4076
- attr_accessor :city
4077
- # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
4078
- attr_accessor :country
4079
- # Block or building number.
4080
- attr_accessor :line1
4081
- # Building details.
4082
- attr_accessor :line2
4083
- # Postal code.
4084
- attr_accessor :postal_code
4085
- # Prefecture.
4086
- attr_accessor :state
4087
- # Town or cho-me.
4088
- attr_accessor :town
4089
-
4090
- def initialize(
4091
- city: nil,
4092
- country: nil,
4093
- line1: nil,
4094
- line2: nil,
4095
- postal_code: nil,
4096
- state: nil,
4097
- town: nil
4098
- )
4099
- @city = city
4100
- @country = country
4101
- @line1 = line1
4102
- @line2 = line2
4103
- @postal_code = postal_code
4104
- @state = state
4105
- @town = town
4106
- end
4107
- end
4108
-
4109
- class Dob < Stripe::RequestParams
4110
- # The day of birth, between 1 and 31.
4111
- attr_accessor :day
4112
- # The month of birth, between 1 and 12.
4113
- attr_accessor :month
4114
- # The four-digit year of birth.
4115
- attr_accessor :year
4116
-
4117
- def initialize(day: nil, month: nil, year: nil)
4118
- @day = day
4119
- @month = month
4120
- @year = year
4121
- end
4122
- end
4123
-
4124
- class RegisteredAddress < Stripe::RequestParams
4125
- # City, district, suburb, town, or village.
4126
- attr_accessor :city
4127
- # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
4128
- attr_accessor :country
4129
- # Address line 1 (e.g., street, PO Box, or company name).
4130
- attr_accessor :line1
4131
- # Address line 2 (e.g., apartment, suite, unit, or building).
4132
- attr_accessor :line2
4133
- # ZIP or postal code.
4134
- attr_accessor :postal_code
4135
- # State, county, province, or region.
4136
- attr_accessor :state
4137
-
4138
- def initialize(
4139
- city: nil,
4140
- country: nil,
4141
- line1: nil,
4142
- line2: nil,
4143
- postal_code: nil,
4144
- state: nil
4145
- )
4146
- @city = city
4147
- @country = country
4148
- @line1 = line1
4149
- @line2 = line2
4150
- @postal_code = postal_code
4151
- @state = state
4152
- end
4153
- end
4154
-
4155
- class Relationship < Stripe::RequestParams
4156
- # Whether the person is a director of the account's legal entity. Directors are typically members of the governing board of the company, or responsible for ensuring the company meets its regulatory obligations.
4157
- attr_accessor :director
4158
- # Whether the person has significant responsibility to control, manage, or direct the organization.
4159
- attr_accessor :executive
4160
- # Whether the person is an owner of the account’s legal entity.
4161
- attr_accessor :owner
4162
- # The percent owned by the person of the account's legal entity.
4163
- attr_accessor :percent_ownership
4164
- # The person's title (e.g., CEO, Support Engineer).
4165
- attr_accessor :title
4166
-
4167
- def initialize(
4168
- director: nil,
4169
- executive: nil,
4170
- owner: nil,
4171
- percent_ownership: nil,
4172
- title: nil
4173
- )
4174
- @director = director
4175
- @executive = executive
4176
- @owner = owner
4177
- @percent_ownership = percent_ownership
4178
- @title = title
4179
- end
4180
- end
4181
-
4182
- class Verification < Stripe::RequestParams
4183
- class AdditionalDocument < Stripe::RequestParams
4184
- # The back of an ID returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `identity_document`. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size.
4185
- attr_accessor :back
4186
- # The front of an ID returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `identity_document`. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size.
4187
- attr_accessor :front
4188
-
4189
- def initialize(back: nil, front: nil)
4190
- @back = back
4191
- @front = front
4192
- end
4193
- end
4194
-
4195
- class Document < Stripe::RequestParams
4196
- # The back of an ID returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `identity_document`. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size.
4197
- attr_accessor :back
4198
- # The front of an ID returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `identity_document`. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size.
4199
- attr_accessor :front
4200
-
4201
- def initialize(back: nil, front: nil)
4202
- @back = back
4203
- @front = front
4204
- end
4205
- end
4206
- # A document showing address, either a passport, local ID card, or utility bill from a well-known utility company.
4207
- attr_accessor :additional_document
4208
- # An identifying document, either a passport or local ID card.
4209
- attr_accessor :document
4210
-
4211
- def initialize(additional_document: nil, document: nil)
4212
- @additional_document = additional_document
4213
- @document = document
4214
- end
4215
- end
4216
- # The individual's primary address.
4217
- attr_accessor :address
4218
- # The Kana variation of the individual's primary address (Japan only).
4219
- attr_accessor :address_kana
4220
- # The Kanji variation of the individual's primary address (Japan only).
4221
- attr_accessor :address_kanji
4222
- # The individual's date of birth.
4223
- attr_accessor :dob
4224
- # The individual's email address.
4225
- attr_accessor :email
4226
- # The individual's first name.
4227
- attr_accessor :first_name
4228
- # The Kana variation of the individual's first name (Japan only).
4229
- attr_accessor :first_name_kana
4230
- # The Kanji variation of the individual's first name (Japan only).
4231
- attr_accessor :first_name_kanji
4232
- # A list of alternate names or aliases that the individual is known by.
4233
- attr_accessor :full_name_aliases
4234
- # The individual's gender
4235
- attr_accessor :gender
4236
- # The government-issued ID number of the individual, as appropriate for the representative's country. (Examples are a Social Security Number in the U.S., or a Social Insurance Number in Canada). Instead of the number itself, you can also provide a [PII token created with Stripe.js](/js/tokens/create_token?type=pii).
4237
- attr_accessor :id_number
4238
- # The government-issued secondary ID number of the individual, as appropriate for the representative's country, will be used for enhanced verification checks. In Thailand, this would be the laser code found on the back of an ID card. Instead of the number itself, you can also provide a [PII token created with Stripe.js](/js/tokens/create_token?type=pii).
4239
- attr_accessor :id_number_secondary
4240
- # The individual's last name.
4241
- attr_accessor :last_name
4242
- # The Kana variation of the individual's last name (Japan only).
4243
- attr_accessor :last_name_kana
4244
- # The Kanji variation of the individual's last name (Japan only).
4245
- attr_accessor :last_name_kanji
4246
- # The individual's maiden name.
4247
- attr_accessor :maiden_name
4248
- # Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.
4249
- attr_accessor :metadata
4250
- # The individual's phone number.
4251
- attr_accessor :phone
4252
- # Indicates if the person or any of their representatives, family members, or other closely related persons, declares that they hold or have held an important public job or function, in any jurisdiction.
4253
- attr_accessor :political_exposure
4254
- # The individual's registered address.
4255
- attr_accessor :registered_address
4256
- # Describes the person’s relationship to the account.
4257
- attr_accessor :relationship
4258
- # The last four digits of the individual's Social Security Number (U.S. only).
4259
- attr_accessor :ssn_last_4
4260
- # The individual's verification document information.
4261
- attr_accessor :verification
4262
-
4263
- def initialize(
4264
- address: nil,
4265
- address_kana: nil,
4266
- address_kanji: nil,
4267
- dob: nil,
4268
- email: nil,
4269
- first_name: nil,
4270
- first_name_kana: nil,
4271
- first_name_kanji: nil,
4272
- full_name_aliases: nil,
4273
- gender: nil,
4274
- id_number: nil,
4275
- id_number_secondary: nil,
4276
- last_name: nil,
4277
- last_name_kana: nil,
4278
- last_name_kanji: nil,
4279
- maiden_name: nil,
4280
- metadata: nil,
4281
- phone: nil,
4282
- political_exposure: nil,
4283
- registered_address: nil,
4284
- relationship: nil,
4285
- ssn_last_4: nil,
4286
- verification: nil
4287
- )
4288
- @address = address
4289
- @address_kana = address_kana
4290
- @address_kanji = address_kanji
4291
- @dob = dob
4292
- @email = email
4293
- @first_name = first_name
4294
- @first_name_kana = first_name_kana
4295
- @first_name_kanji = first_name_kanji
4296
- @full_name_aliases = full_name_aliases
4297
- @gender = gender
4298
- @id_number = id_number
4299
- @id_number_secondary = id_number_secondary
4300
- @last_name = last_name
4301
- @last_name_kana = last_name_kana
4302
- @last_name_kanji = last_name_kanji
4303
- @maiden_name = maiden_name
4304
- @metadata = metadata
4305
- @phone = phone
4306
- @political_exposure = political_exposure
4307
- @registered_address = registered_address
4308
- @relationship = relationship
4309
- @ssn_last_4 = ssn_last_4
4310
- @verification = verification
4311
- end
4312
- end
4313
-
4314
- class RiskControls < Stripe::RequestParams
4315
- class Charges < Stripe::RequestParams
4316
- # To request to pause a risk control, pass `true`. To request to unpause a risk control, pass `false`.
4317
- # There can be a delay before the risk control is paused or unpaused.
4318
- attr_accessor :pause_requested
4319
-
4320
- def initialize(pause_requested: nil)
4321
- @pause_requested = pause_requested
4322
- end
4323
- end
4324
-
4325
- class Payouts < Stripe::RequestParams
4326
- # To request to pause a risk control, pass `true`. To request to unpause a risk control, pass `false`.
4327
- # There can be a delay before the risk control is paused or unpaused.
4328
- attr_accessor :pause_requested
4329
-
4330
- def initialize(pause_requested: nil)
4331
- @pause_requested = pause_requested
4332
- end
4333
- end
4334
- # Represents the risk control status of charges. Please see [this page for more details](https://stripe.com/docs/connect/pausing-payments-or-payouts-on-connected-accounts).
4335
- attr_accessor :charges
4336
- # Represents the risk control status of payouts. Please see [this page for more details](https://stripe.com/docs/connect/pausing-payments-or-payouts-on-connected-accounts).
4337
- attr_accessor :payouts
4338
-
4339
- def initialize(charges: nil, payouts: nil)
4340
- @charges = charges
4341
- @payouts = payouts
4342
- end
4343
- end
4344
-
4345
- class Settings < Stripe::RequestParams
4346
- class BacsDebitPayments < Stripe::RequestParams
4347
- # The Bacs Direct Debit Display Name for this account. For payments made with Bacs Direct Debit, this name appears on the mandate as the statement descriptor. Mobile banking apps display it as the name of the business. To use custom branding, set the Bacs Direct Debit Display Name during or right after creation. Custom branding incurs an additional monthly fee for the platform. If you don't set the display name before requesting Bacs capability, it's automatically set as "Stripe" and the account is onboarded to Stripe branding, which is free.
4348
- attr_accessor :display_name
4349
-
4350
- def initialize(display_name: nil)
4351
- @display_name = display_name
4352
- end
4353
- end
4354
-
4355
- class BankBcaOnboarding < Stripe::RequestParams
4356
- # Bank BCA business account holder name
4357
- attr_accessor :account_holder_name
4358
- # Bank BCA business account number
4359
- attr_accessor :business_account_number
4360
-
4361
- def initialize(account_holder_name: nil, business_account_number: nil)
4362
- @account_holder_name = account_holder_name
4363
- @business_account_number = business_account_number
4364
- end
4365
- end
4366
-
4367
- class Branding < Stripe::RequestParams
4368
- # (ID of a [file upload](https://stripe.com/docs/guides/file-upload)) An icon for the account. Must be square and at least 128px x 128px.
4369
- attr_accessor :icon
4370
- # (ID of a [file upload](https://stripe.com/docs/guides/file-upload)) A logo for the account that will be used in Checkout instead of the icon and without the account's name next to it if provided. Must be at least 128px x 128px.
4371
- attr_accessor :logo
4372
- # A CSS hex color value representing the primary branding color for this account.
4373
- attr_accessor :primary_color
4374
- # A CSS hex color value representing the secondary branding color for this account.
4375
- attr_accessor :secondary_color
4376
-
4377
- def initialize(icon: nil, logo: nil, primary_color: nil, secondary_color: nil)
4378
- @icon = icon
4379
- @logo = logo
4380
- @primary_color = primary_color
4381
- @secondary_color = secondary_color
4382
- end
4383
- end
4384
-
4385
- class Capital < Stripe::RequestParams
4386
- # Per-currency mapping of user-selected destination accounts used to pay out loans.
4387
- attr_accessor :payout_destination
4388
- # Per-currency mapping of all destination accounts eligible to receive Capital financing payouts.
4389
- attr_accessor :payout_destination_selector
4390
-
4391
- def initialize(payout_destination: nil, payout_destination_selector: nil)
4392
- @payout_destination = payout_destination
4393
- @payout_destination_selector = payout_destination_selector
4394
- end
4395
- end
4396
-
4397
- class CardIssuing < Stripe::RequestParams
4398
- class TosAcceptance < Stripe::RequestParams
4399
- # The Unix timestamp marking when the account representative accepted the service agreement.
4400
- attr_accessor :date
4401
- # The IP address from which the account representative accepted the service agreement.
4402
- attr_accessor :ip
4403
- # The user agent of the browser from which the account representative accepted the service agreement.
4404
- attr_accessor :user_agent
4405
-
4406
- def initialize(date: nil, ip: nil, user_agent: nil)
4407
- @date = date
4408
- @ip = ip
4409
- @user_agent = user_agent
4410
- end
4411
- end
4412
- # Details on the account's acceptance of the [Stripe Issuing Terms and Disclosures](/issuing/connect/tos_acceptance).
4413
- attr_accessor :tos_acceptance
4414
-
4415
- def initialize(tos_acceptance: nil)
4416
- @tos_acceptance = tos_acceptance
4417
- end
4418
- end
4419
-
4420
- class CardPayments < Stripe::RequestParams
4421
- class DeclineOn < Stripe::RequestParams
4422
- # Whether Stripe automatically declines charges with an incorrect ZIP or postal code. This setting only applies when a ZIP or postal code is provided and they fail bank verification.
4423
- attr_accessor :avs_failure
4424
- # Whether Stripe automatically declines charges with an incorrect CVC. This setting only applies when a CVC is provided and it fails bank verification.
4425
- attr_accessor :cvc_failure
4426
-
4427
- def initialize(avs_failure: nil, cvc_failure: nil)
4428
- @avs_failure = avs_failure
4429
- @cvc_failure = cvc_failure
4430
- end
4431
- end
4432
- # Automatically declines certain charge types regardless of whether the card issuer accepted or declined the charge.
4433
- attr_accessor :decline_on
4434
- # The default text that appears on credit card statements when a charge is made. This field prefixes any dynamic `statement_descriptor` specified on the charge. `statement_descriptor_prefix` is useful for maximizing descriptor space for the dynamic portion.
4435
- attr_accessor :statement_descriptor_prefix
4436
- # The Kana variation of the default text that appears on credit card statements when a charge is made (Japan only). This field prefixes any dynamic `statement_descriptor_suffix_kana` specified on the charge. `statement_descriptor_prefix_kana` is useful for maximizing descriptor space for the dynamic portion.
4437
- attr_accessor :statement_descriptor_prefix_kana
4438
- # The Kanji variation of the default text that appears on credit card statements when a charge is made (Japan only). This field prefixes any dynamic `statement_descriptor_suffix_kanji` specified on the charge. `statement_descriptor_prefix_kanji` is useful for maximizing descriptor space for the dynamic portion.
4439
- attr_accessor :statement_descriptor_prefix_kanji
4440
-
4441
- def initialize(
4442
- decline_on: nil,
4443
- statement_descriptor_prefix: nil,
4444
- statement_descriptor_prefix_kana: nil,
4445
- statement_descriptor_prefix_kanji: nil
4446
- )
4447
- @decline_on = decline_on
4448
- @statement_descriptor_prefix = statement_descriptor_prefix
4449
- @statement_descriptor_prefix_kana = statement_descriptor_prefix_kana
4450
- @statement_descriptor_prefix_kanji = statement_descriptor_prefix_kanji
4451
- end
4452
- end
4453
-
4454
- class Invoices < Stripe::RequestParams
4455
- # Whether payment methods should be saved when a payment is completed for a one-time invoices on a hosted invoice page.
4456
- attr_accessor :hosted_payment_method_save
4457
-
4458
- def initialize(hosted_payment_method_save: nil)
4459
- @hosted_payment_method_save = hosted_payment_method_save
4460
- end
4461
- end
4462
-
4463
- class Payments < Stripe::RequestParams
4464
- # The default text that appears on statements for non-card charges outside of Japan. For card charges, if you don't set a `statement_descriptor_prefix`, this text is also used as the statement descriptor prefix. In that case, if concatenating the statement descriptor suffix causes the combined statement descriptor to exceed 22 characters, we truncate the `statement_descriptor` text to limit the full descriptor to 22 characters. For more information about statement descriptors and their requirements, see the [account settings documentation](https://docs.stripe.com/get-started/account/statement-descriptors).
4465
- attr_accessor :statement_descriptor
4466
- # The Kana variation of `statement_descriptor` used for charges in Japan. Japanese statement descriptors have [special requirements](https://docs.stripe.com/get-started/account/statement-descriptors#set-japanese-statement-descriptors).
4467
- attr_accessor :statement_descriptor_kana
4468
- # The Kanji variation of `statement_descriptor` used for charges in Japan. Japanese statement descriptors have [special requirements](https://docs.stripe.com/get-started/account/statement-descriptors#set-japanese-statement-descriptors).
4469
- attr_accessor :statement_descriptor_kanji
4470
-
4471
- def initialize(
4472
- statement_descriptor: nil,
4473
- statement_descriptor_kana: nil,
4474
- statement_descriptor_kanji: nil
4475
- )
4476
- @statement_descriptor = statement_descriptor
4477
- @statement_descriptor_kana = statement_descriptor_kana
4478
- @statement_descriptor_kanji = statement_descriptor_kanji
4479
- end
4480
- end
4481
-
4482
- class Payouts < Stripe::RequestParams
4483
- class Schedule < Stripe::RequestParams
4484
- # The number of days charge funds are held before being paid out. May also be set to `minimum`, representing the lowest available value for the account country. Default is `minimum`. The `delay_days` parameter remains at the last configured value if `interval` is `manual`. [Learn more about controlling payout delay days](/connect/manage-payout-schedule).
4485
- attr_accessor :delay_days
4486
- # How frequently available funds are paid out. One of: `daily`, `manual`, `weekly`, or `monthly`. Default is `daily`.
4487
- attr_accessor :interval
4488
- # The day of the month when available funds are paid out, specified as a number between 1--31. Payouts nominally scheduled between the 29th and 31st of the month are instead sent on the last day of a shorter month. Required and applicable only if `interval` is `monthly`.
4489
- attr_accessor :monthly_anchor
4490
- # The days of the month when available funds are paid out, specified as an array of numbers between 1--31. Payouts nominally scheduled between the 29th and 31st of the month are instead sent on the last day of a shorter month. Required and applicable only if `interval` is `monthly` and `monthly_anchor` is not set.
4491
- attr_accessor :monthly_payout_days
4492
- # The day of the week when available funds are paid out, specified as `monday`, `tuesday`, etc. (required and applicable only if `interval` is `weekly`.)
4493
- attr_accessor :weekly_anchor
4494
- # The days of the week when available funds are paid out, specified as an array, e.g., [`monday`, `tuesday`]. (required and applicable only if `interval` is `weekly` and `weekly_anchor` is not set.)
4495
- attr_accessor :weekly_payout_days
4496
-
4497
- def initialize(
4498
- delay_days: nil,
4499
- interval: nil,
4500
- monthly_anchor: nil,
4501
- monthly_payout_days: nil,
4502
- weekly_anchor: nil,
4503
- weekly_payout_days: nil
4504
- )
4505
- @delay_days = delay_days
4506
- @interval = interval
4507
- @monthly_anchor = monthly_anchor
4508
- @monthly_payout_days = monthly_payout_days
4509
- @weekly_anchor = weekly_anchor
4510
- @weekly_payout_days = weekly_payout_days
4511
- end
4512
- end
4513
- # A Boolean indicating whether Stripe should try to reclaim negative balances from an attached bank account. For details, see [Understanding Connect Account Balances](/connect/account-balances).
4514
- attr_accessor :debit_negative_balances
4515
- # Details on when funds from charges are available, and when they are paid out to an external account. For details, see our [Setting Bank and Debit Card Payouts](/connect/bank-transfers#payout-information) documentation.
4516
- attr_accessor :schedule
4517
- # The text that appears on the bank account statement for payouts. If not set, this defaults to the platform's bank descriptor as set in the Dashboard.
4518
- attr_accessor :statement_descriptor
4519
-
4520
- def initialize(debit_negative_balances: nil, schedule: nil, statement_descriptor: nil)
4521
- @debit_negative_balances = debit_negative_balances
4522
- @schedule = schedule
4523
- @statement_descriptor = statement_descriptor
4524
- end
4525
- end
4526
-
4527
- class TaxForms < Stripe::RequestParams
4528
- # Whether the account opted out of receiving their tax forms by postal delivery.
4529
- attr_accessor :consented_to_paperless_delivery
4530
-
4531
- def initialize(consented_to_paperless_delivery: nil)
4532
- @consented_to_paperless_delivery = consented_to_paperless_delivery
4533
- end
4534
- end
4535
-
4536
- class Treasury < Stripe::RequestParams
4537
- class TosAcceptance < Stripe::RequestParams
4538
- # The Unix timestamp marking when the account representative accepted the service agreement.
4539
- attr_accessor :date
4540
- # The IP address from which the account representative accepted the service agreement.
4541
- attr_accessor :ip
4542
- # The user agent of the browser from which the account representative accepted the service agreement.
4543
- attr_accessor :user_agent
4544
-
4545
- def initialize(date: nil, ip: nil, user_agent: nil)
4546
- @date = date
4547
- @ip = ip
4548
- @user_agent = user_agent
4549
- end
4550
- end
4551
- # Details on the account's acceptance of the Stripe Treasury Services Agreement.
4552
- attr_accessor :tos_acceptance
4553
-
4554
- def initialize(tos_acceptance: nil)
4555
- @tos_acceptance = tos_acceptance
4556
- end
4557
- end
4558
- # Settings specific to Bacs Direct Debit.
4559
- attr_accessor :bacs_debit_payments
4560
- # Settings specific to bank BCA onboarding for Indonesia bank transfers payments method.
4561
- attr_accessor :bank_bca_onboarding
4562
- # Settings used to apply the account's branding to email receipts, invoices, Checkout, and other products.
4563
- attr_accessor :branding
4564
- # Settings specific to the account's use of the Capital product.
4565
- attr_accessor :capital
4566
- # Settings specific to the account's use of the Card Issuing product.
4567
- attr_accessor :card_issuing
4568
- # Settings specific to card charging on the account.
4569
- attr_accessor :card_payments
4570
- # Settings specific to the account’s use of Invoices.
4571
- attr_accessor :invoices
4572
- # Settings that apply across payment methods for charging on the account.
4573
- attr_accessor :payments
4574
- # Settings specific to the account's payouts.
4575
- attr_accessor :payouts
4576
- # Settings specific to the account's tax forms.
4577
- attr_accessor :tax_forms
4578
- # Settings specific to the account's Treasury FinancialAccounts.
4579
- attr_accessor :treasury
4580
-
4581
- def initialize(
4582
- bacs_debit_payments: nil,
4583
- bank_bca_onboarding: nil,
4584
- branding: nil,
4585
- capital: nil,
4586
- card_issuing: nil,
4587
- card_payments: nil,
4588
- invoices: nil,
4589
- payments: nil,
4590
- payouts: nil,
4591
- tax_forms: nil,
4592
- treasury: nil
4593
- )
4594
- @bacs_debit_payments = bacs_debit_payments
4595
- @bank_bca_onboarding = bank_bca_onboarding
4596
- @branding = branding
4597
- @capital = capital
4598
- @card_issuing = card_issuing
4599
- @card_payments = card_payments
4600
- @invoices = invoices
4601
- @payments = payments
4602
- @payouts = payouts
4603
- @tax_forms = tax_forms
4604
- @treasury = treasury
4605
- end
4606
- end
4607
-
4608
- class TosAcceptance < Stripe::RequestParams
4609
- # The Unix timestamp marking when the account representative accepted their service agreement.
4610
- attr_accessor :date
4611
- # The IP address from which the account representative accepted their service agreement.
4612
- attr_accessor :ip
4613
- # The user's service agreement type.
4614
- attr_accessor :service_agreement
4615
- # The user agent of the browser from which the account representative accepted their service agreement.
4616
- attr_accessor :user_agent
4617
-
4618
- def initialize(date: nil, ip: nil, service_agreement: nil, user_agent: nil)
4619
- @date = date
4620
- @ip = ip
4621
- @service_agreement = service_agreement
4622
- @user_agent = user_agent
4623
- end
4624
- end
4625
- # An [account token](https://stripe.com/docs/api#create_account_token), used to securely provide details to the account.
4626
- attr_accessor :account_token
4627
- # Business information about the account.
4628
- attr_accessor :business_profile
4629
- # The business type. Once you create an [Account Link](/api/account_links) or [Account Session](/api/account_sessions), this property can only be updated for accounts where [controller.requirement_collection](/api/accounts/object#account_object-controller-requirement_collection) is `application`, which includes Custom accounts.
4630
- attr_accessor :business_type
4631
- # Each key of the dictionary represents a capability, and each capability
4632
- # maps to its settings (for example, whether it has been requested or not). Each
4633
- # capability is inactive until you have provided its specific
4634
- # requirements and Stripe has verified them. An account might have some
4635
- # of its requested capabilities be active and some be inactive.
4636
- #
4637
- # Required when [account.controller.stripe_dashboard.type](/api/accounts/create#create_account-controller-dashboard-type)
4638
- # is `none`, which includes Custom accounts.
4639
- attr_accessor :capabilities
4640
- # Information about the company or business. This field is available for any `business_type`. Once you create an [Account Link](/api/account_links) or [Account Session](/api/account_sessions), this property can only be updated for accounts where [controller.requirement_collection](/api/accounts/object#account_object-controller-requirement_collection) is `application`, which includes Custom accounts.
4641
- attr_accessor :company
4642
- # A hash of configuration describing the account controller's attributes.
4643
- attr_accessor :controller
4644
- # The country in which the account holder resides, or in which the business is legally established. This should be an ISO 3166-1 alpha-2 country code. For example, if you are in the United States and the business for which you're creating an account is legally represented in Canada, you would use `CA` as the country for the account being created. Available countries include [Stripe's global markets](https://stripe.com/global) as well as countries where [cross-border payouts](https://stripe.com/docs/connect/cross-border-payouts) are supported.
4645
- attr_accessor :country
4646
- # Three-letter ISO currency code representing the default currency for the account. This must be a currency that [Stripe supports in the account's country](https://docs.stripe.com/payouts).
4647
- attr_accessor :default_currency
4648
- # Documents that may be submitted to satisfy various informational requests.
4649
- attr_accessor :documents
4650
- # The email address of the account holder. This is only to make the account easier to identify to you. If [controller.requirement_collection](/api/accounts/object#account_object-controller-requirement_collection) is `application`, which includes Custom accounts, Stripe doesn't email the account without your consent.
4651
- attr_accessor :email
4652
- # Specifies which fields in the response should be expanded.
4653
- attr_accessor :expand
4654
- # A card or bank account to attach to the account for receiving [payouts](/connect/bank-debit-card-payouts) (you won’t be able to use it for top-ups). You can provide either a token, like the ones returned by [Stripe.js](/js), or a dictionary, as documented in the `external_account` parameter for [bank account](/api#account_create_bank_account) creation. <br><br>By default, providing an external account sets it as the new default external account for its currency, and deletes the old default if one exists. To add additional external accounts without replacing the existing default for the currency, use the [bank account](/api#account_create_bank_account) or [card creation](/api#account_create_card) APIs. After you create an [Account Link](/api/account_links) or [Account Session](/api/account_sessions), this property can only be updated for accounts where [controller.requirement_collection](/api/accounts/object#account_object-controller-requirement_collection) is `application`, which includes Custom accounts.
4655
- attr_accessor :external_account
4656
- # A hash of account group type to tokens. These are account groups this account should be added to.
4657
- attr_accessor :groups
4658
- # Information about the person represented by the account. This field is null unless `business_type` is set to `individual`. Once you create an [Account Link](/api/account_links) or [Account Session](/api/account_sessions), this property can only be updated for accounts where [controller.requirement_collection](/api/accounts/object#account_object-controller-requirement_collection) is `application`, which includes Custom accounts.
4659
- attr_accessor :individual
4660
- # Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.
4661
- attr_accessor :metadata
4662
- # A hash to configure risk controls on the account. Please see [this page for more details](/connect/pausing-payments-or-payouts-on-connected-accounts).
4663
- attr_accessor :risk_controls
4664
- # Options for customizing how the account functions within Stripe.
4665
- attr_accessor :settings
4666
- # Details on the account's acceptance of the [Stripe Services Agreement](/connect/updating-accounts#tos-acceptance). This property can only be updated for accounts where [controller.requirement_collection](/api/accounts/object#account_object-controller-requirement_collection) is `application`, which includes Custom accounts. This property defaults to a `full` service agreement when empty.
4667
- attr_accessor :tos_acceptance
4668
- # The type of Stripe account to create. May be one of `custom`, `express` or `standard`.
4669
- attr_accessor :type
4670
-
4671
- def initialize(
4672
- account_token: nil,
4673
- business_profile: nil,
4674
- business_type: nil,
4675
- capabilities: nil,
4676
- company: nil,
4677
- controller: nil,
4678
- country: nil,
4679
- default_currency: nil,
4680
- documents: nil,
4681
- email: nil,
4682
- expand: nil,
4683
- external_account: nil,
4684
- groups: nil,
4685
- individual: nil,
4686
- metadata: nil,
4687
- risk_controls: nil,
4688
- settings: nil,
4689
- tos_acceptance: nil,
4690
- type: nil
4691
- )
4692
- @account_token = account_token
4693
- @business_profile = business_profile
4694
- @business_type = business_type
4695
- @capabilities = capabilities
4696
- @company = company
4697
- @controller = controller
4698
- @country = country
4699
- @default_currency = default_currency
4700
- @documents = documents
4701
- @email = email
4702
- @expand = expand
4703
- @external_account = external_account
4704
- @groups = groups
4705
- @individual = individual
4706
- @metadata = metadata
4707
- @risk_controls = risk_controls
4708
- @settings = settings
4709
- @tos_acceptance = tos_acceptance
4710
- @type = type
4711
- end
4712
- end
4713
-
4714
- class RejectParams < Stripe::RequestParams
4715
- # Specifies which fields in the response should be expanded.
4716
- attr_accessor :expand
4717
- # The reason for rejecting the account. Can be `fraud`, `terms_of_service`, or `other`.
4718
- attr_accessor :reason
4719
-
4720
- def initialize(expand: nil, reason: nil)
4721
- @expand = expand
4722
- @reason = reason
4723
- end
4724
- end
4725
-
4726
16
  # With [Connect](https://docs.stripe.com/docs/connect), you can create Stripe accounts for your users.
4727
17
  # To do this, you'll first need to [register your platform](https://dashboard.stripe.com/account/applications/settings).
4728
18
  #