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