stripe 15.4.0 → 15.5.0.pre.beta.2

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 (597) hide show
  1. checksums.yaml +4 -4
  2. data/API_VERSION +1 -1
  3. data/CHANGELOG.md +1639 -662
  4. data/OPENAPI_VERSION +1 -1
  5. data/VERSION +1 -1
  6. data/lib/stripe/api_requestor.rb +32 -0
  7. data/lib/stripe/api_version.rb +1 -2
  8. data/lib/stripe/errors.rb +60 -0
  9. data/lib/stripe/event_types.rb +102 -0
  10. data/lib/stripe/events/v2_core_account_closed_event.rb +21 -0
  11. data/lib/stripe/events/v2_core_account_created_event.rb +21 -0
  12. data/lib/stripe/events/v2_core_account_including_configuration_customer_capability_status_updated_event.rb +23 -0
  13. data/lib/stripe/events/v2_core_account_including_configuration_customer_updated_event.rb +21 -0
  14. data/lib/stripe/events/v2_core_account_including_configuration_merchant_capability_status_updated_event.rb +23 -0
  15. data/lib/stripe/events/v2_core_account_including_configuration_merchant_updated_event.rb +21 -0
  16. data/lib/stripe/events/v2_core_account_including_configuration_recipient_capability_status_updated_event.rb +23 -0
  17. data/lib/stripe/events/v2_core_account_including_configuration_recipient_updated_event.rb +21 -0
  18. data/lib/stripe/events/v2_core_account_including_configuration_storer_capability_status_updated_event.rb +23 -0
  19. data/lib/stripe/events/v2_core_account_including_configuration_storer_updated_event.rb +21 -0
  20. data/lib/stripe/events/v2_core_account_including_defaults_updated_event.rb +21 -0
  21. data/lib/stripe/events/v2_core_account_including_identity_updated_event.rb +21 -0
  22. data/lib/stripe/events/v2_core_account_including_requirements_updated_event.rb +21 -0
  23. data/lib/stripe/events/v2_core_account_link_returned_event.rb +13 -0
  24. data/lib/stripe/events/v2_core_account_person_created_event.rb +23 -0
  25. data/lib/stripe/events/v2_core_account_person_deleted_event.rb +23 -0
  26. data/lib/stripe/events/v2_core_account_person_updated_event.rb +23 -0
  27. data/lib/stripe/events/v2_core_account_updated_event.rb +21 -0
  28. data/lib/stripe/events/v2_money_management_adjustment_created_event.rb +21 -0
  29. data/lib/stripe/events/v2_money_management_financial_account_created_event.rb +21 -0
  30. data/lib/stripe/events/v2_money_management_financial_account_updated_event.rb +21 -0
  31. data/lib/stripe/events/v2_money_management_financial_address_activated_event.rb +21 -0
  32. data/lib/stripe/events/v2_money_management_financial_address_failed_event.rb +21 -0
  33. data/lib/stripe/events/v2_money_management_inbound_transfer_available_event.rb +23 -0
  34. data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_failed_event.rb +21 -0
  35. data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_processing_event.rb +21 -0
  36. data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_queued_event.rb +21 -0
  37. data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_returned_event.rb +21 -0
  38. data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_succeeded_event.rb +21 -0
  39. data/lib/stripe/events/v2_money_management_outbound_payment_canceled_event.rb +21 -0
  40. data/lib/stripe/events/v2_money_management_outbound_payment_created_event.rb +21 -0
  41. data/lib/stripe/events/v2_money_management_outbound_payment_failed_event.rb +21 -0
  42. data/lib/stripe/events/v2_money_management_outbound_payment_posted_event.rb +21 -0
  43. data/lib/stripe/events/v2_money_management_outbound_payment_returned_event.rb +21 -0
  44. data/lib/stripe/events/v2_money_management_outbound_payment_updated_event.rb +21 -0
  45. data/lib/stripe/events/v2_money_management_outbound_transfer_canceled_event.rb +21 -0
  46. data/lib/stripe/events/v2_money_management_outbound_transfer_created_event.rb +21 -0
  47. data/lib/stripe/events/v2_money_management_outbound_transfer_failed_event.rb +21 -0
  48. data/lib/stripe/events/v2_money_management_outbound_transfer_posted_event.rb +21 -0
  49. data/lib/stripe/events/v2_money_management_outbound_transfer_returned_event.rb +21 -0
  50. data/lib/stripe/events/v2_money_management_outbound_transfer_updated_event.rb +21 -0
  51. data/lib/stripe/events/v2_money_management_payout_method_updated_event.rb +21 -0
  52. data/lib/stripe/events/v2_money_management_received_credit_available_event.rb +23 -0
  53. data/lib/stripe/events/v2_money_management_received_credit_failed_event.rb +21 -0
  54. data/lib/stripe/events/v2_money_management_received_credit_returned_event.rb +21 -0
  55. data/lib/stripe/events/v2_money_management_received_credit_succeeded_event.rb +21 -0
  56. data/lib/stripe/events/v2_money_management_received_debit_canceled_event.rb +21 -0
  57. data/lib/stripe/events/v2_money_management_received_debit_failed_event.rb +21 -0
  58. data/lib/stripe/events/v2_money_management_received_debit_pending_event.rb +21 -0
  59. data/lib/stripe/events/v2_money_management_received_debit_succeeded_event.rb +21 -0
  60. data/lib/stripe/events/v2_money_management_received_debit_updated_event.rb +21 -0
  61. data/lib/stripe/events/v2_money_management_transaction_created_event.rb +21 -0
  62. data/lib/stripe/events/v2_money_management_transaction_updated_event.rb +21 -0
  63. data/lib/stripe/events/v2_payments_off_session_payment_authorization_attempt_failed_event.rb +21 -0
  64. data/lib/stripe/events/v2_payments_off_session_payment_authorization_attempt_started_event.rb +22 -0
  65. data/lib/stripe/events/v2_payments_off_session_payment_canceled_event.rb +21 -0
  66. data/lib/stripe/events/v2_payments_off_session_payment_created_event.rb +21 -0
  67. data/lib/stripe/events/v2_payments_off_session_payment_failed_event.rb +21 -0
  68. data/lib/stripe/events/v2_payments_off_session_payment_succeeded_event.rb +21 -0
  69. data/lib/stripe/object_types.rb +53 -0
  70. data/lib/stripe/resources/account.rb +653 -1
  71. data/lib/stripe/resources/account_notice.rb +123 -0
  72. data/lib/stripe/resources/account_session.rb +256 -1
  73. data/lib/stripe/resources/balance_settings.rb +105 -0
  74. data/lib/stripe/resources/billing/credit_balance_summary.rb +2 -0
  75. data/lib/stripe/resources/billing/credit_balance_transaction.rb +4 -0
  76. data/lib/stripe/resources/billing/credit_grant.rb +10 -0
  77. data/lib/stripe/resources/billing/meter_usage.rb +23 -0
  78. data/lib/stripe/resources/billing/meter_usage_row.rb +28 -0
  79. data/lib/stripe/resources/billing_portal/session.rb +6 -0
  80. data/lib/stripe/resources/capital/financing_offer.rb +179 -0
  81. data/lib/stripe/resources/capital/financing_summary.rb +55 -0
  82. data/lib/stripe/resources/capital/financing_transaction.rb +114 -0
  83. data/lib/stripe/resources/card.rb +2 -0
  84. data/lib/stripe/resources/cash_balance.rb +2 -0
  85. data/lib/stripe/resources/charge.rb +1538 -0
  86. data/lib/stripe/resources/checkout/session.rb +399 -3
  87. data/lib/stripe/resources/confirmation_token.rb +170 -0
  88. data/lib/stripe/resources/coupon.rb +30 -1
  89. data/lib/stripe/resources/credit_note.rb +6 -0
  90. data/lib/stripe/resources/credit_note_line_item.rb +9 -0
  91. data/lib/stripe/resources/customer.rb +2 -0
  92. data/lib/stripe/resources/customer_balance_transaction.rb +2 -0
  93. data/lib/stripe/resources/customer_cash_balance_transaction.rb +2 -0
  94. data/lib/stripe/resources/customer_session.rb +6 -1
  95. data/lib/stripe/resources/discount.rb +2 -0
  96. data/lib/stripe/resources/dispute.rb +11 -0
  97. data/lib/stripe/resources/event.rb +31 -0
  98. data/lib/stripe/resources/financial_connections/account.rb +22 -1
  99. data/lib/stripe/resources/financial_connections/account_inferred_balance.rb +27 -0
  100. data/lib/stripe/resources/financial_connections/institution.rb +92 -0
  101. data/lib/stripe/resources/financial_connections/session.rb +62 -2
  102. data/lib/stripe/resources/fx_quote.rb +186 -0
  103. data/lib/stripe/resources/identity/verification_session.rb +10 -0
  104. data/lib/stripe/resources/invoice.rb +1140 -16
  105. data/lib/stripe/resources/invoice_item.rb +78 -2
  106. data/lib/stripe/resources/invoice_line_item.rb +55 -1
  107. data/lib/stripe/resources/invoice_payment.rb +6 -1
  108. data/lib/stripe/resources/issuing/cardholder.rb +2 -1
  109. data/lib/stripe/resources/issuing/credit_underwriting_record.rb +602 -0
  110. data/lib/stripe/resources/issuing/dispute_settlement_detail.rb +82 -0
  111. data/lib/stripe/resources/issuing/fraud_liability_debit.rb +86 -0
  112. data/lib/stripe/resources/issuing/settlement.rb +53 -0
  113. data/lib/stripe/resources/issuing/transaction.rb +6 -0
  114. data/lib/stripe/resources/line_item.rb +37 -0
  115. data/lib/stripe/resources/mandate.rb +24 -0
  116. data/lib/stripe/resources/margin.rb +115 -0
  117. data/lib/stripe/resources/order.rb +2958 -0
  118. data/lib/stripe/resources/payment_attempt_record.rb +1101 -0
  119. data/lib/stripe/resources/payment_intent.rb +9469 -3712
  120. data/lib/stripe/resources/payment_intent_amount_details_line_item.rb +72 -0
  121. data/lib/stripe/resources/payment_method.rb +192 -1
  122. data/lib/stripe/resources/payment_method_configuration.rb +295 -0
  123. data/lib/stripe/resources/payment_record.rb +1630 -0
  124. data/lib/stripe/resources/payout.rb +6 -0
  125. data/lib/stripe/resources/price.rb +30 -0
  126. data/lib/stripe/resources/privacy/redaction_job.rb +298 -0
  127. data/lib/stripe/resources/privacy/redaction_job_validation_error.rb +33 -0
  128. data/lib/stripe/resources/promotion_code.rb +10 -0
  129. data/lib/stripe/resources/quote.rb +2038 -7
  130. data/lib/stripe/resources/quote_line.rb +274 -0
  131. data/lib/stripe/resources/quote_preview_invoice.rb +680 -0
  132. data/lib/stripe/resources/quote_preview_subscription_schedule.rb +371 -0
  133. data/lib/stripe/resources/refund.rb +9 -0
  134. data/lib/stripe/resources/setup_attempt.rb +21 -0
  135. data/lib/stripe/resources/setup_intent.rb +578 -9
  136. data/lib/stripe/resources/source.rb +29 -0
  137. data/lib/stripe/resources/subscription.rb +365 -9
  138. data/lib/stripe/resources/subscription_item.rb +84 -3
  139. data/lib/stripe/resources/subscription_schedule.rb +1007 -10
  140. data/lib/stripe/resources/tax/association.rb +66 -0
  141. data/lib/stripe/resources/tax/form.rb +211 -0
  142. data/lib/stripe/resources/tax_id.rb +12 -2
  143. data/lib/stripe/resources/terminal/onboarding_link.rb +84 -0
  144. data/lib/stripe/resources/terminal/reader.rb +8 -0
  145. data/lib/stripe/resources/terminal/reader_collected_data.rb +31 -0
  146. data/lib/stripe/resources/transfer.rb +6 -0
  147. data/lib/stripe/resources/treasury/financial_account.rb +22 -3
  148. data/lib/stripe/resources/treasury/financial_account_features.rb +2 -0
  149. data/lib/stripe/resources/treasury/outbound_transfer.rb +37 -0
  150. data/lib/stripe/resources/treasury/received_credit.rb +38 -1
  151. data/lib/stripe/resources/treasury/received_debit.rb +40 -1
  152. data/lib/stripe/resources/v2/core/account.rb +1930 -0
  153. data/lib/stripe/resources/v2/core/account_link.rb +72 -0
  154. data/lib/stripe/resources/v2/core/person.rb +276 -0
  155. data/lib/stripe/resources/v2/core/vault/gb_bank_account.rb +74 -0
  156. data/lib/stripe/resources/v2/core/vault/us_bank_account.rb +39 -0
  157. data/lib/stripe/resources/v2/financial_address_credit_simulation.rb +20 -0
  158. data/lib/stripe/resources/v2/financial_address_generated_microdeposits.rb +22 -0
  159. data/lib/stripe/resources/v2/money_management/adjustment.rb +51 -0
  160. data/lib/stripe/resources/v2/money_management/financial_account.rb +77 -0
  161. data/lib/stripe/resources/v2/money_management/financial_address.rb +68 -0
  162. data/lib/stripe/resources/v2/money_management/inbound_transfer.rb +94 -0
  163. data/lib/stripe/resources/v2/money_management/outbound_payment.rb +129 -0
  164. data/lib/stripe/resources/v2/money_management/outbound_payment_quote.rb +82 -0
  165. data/lib/stripe/resources/v2/money_management/outbound_setup_intent.rb +45 -0
  166. data/lib/stripe/resources/v2/money_management/outbound_transfer.rb +117 -0
  167. data/lib/stripe/resources/v2/money_management/payout_method.rb +77 -0
  168. data/lib/stripe/resources/v2/money_management/payout_methods_bank_account_spec.rb +49 -0
  169. data/lib/stripe/resources/v2/money_management/received_credit.rb +122 -0
  170. data/lib/stripe/resources/v2/money_management/received_debit.rb +84 -0
  171. data/lib/stripe/resources/v2/money_management/transaction.rb +78 -0
  172. data/lib/stripe/resources/v2/money_management/transaction_entry.rb +68 -0
  173. data/lib/stripe/resources/v2/payments/off_session_payment.rb +89 -0
  174. data/lib/stripe/resources.rb +109 -0
  175. data/lib/stripe/services/account_notice_service.rb +101 -0
  176. data/lib/stripe/services/account_service.rb +562 -1
  177. data/lib/stripe/services/account_session_service.rb +226 -1
  178. data/lib/stripe/services/balance_settings_service.rb +96 -0
  179. data/lib/stripe/services/billing/credit_balance_summary_service.rb +4 -1
  180. data/lib/stripe/services/billing/credit_balance_transaction_service.rb +4 -0
  181. data/lib/stripe/services/billing/credit_grant_service.rb +8 -0
  182. data/lib/stripe/services/billing/meter_usage_service.rb +76 -0
  183. data/lib/stripe/services/billing_portal/session_service.rb +4 -0
  184. data/lib/stripe/services/billing_service.rb +2 -1
  185. data/lib/stripe/services/capital/financing_offer_service.rb +112 -0
  186. data/lib/stripe/services/capital/financing_summary_service.rb +28 -0
  187. data/lib/stripe/services/capital/financing_transaction_service.rb +79 -0
  188. data/lib/stripe/services/capital_service.rb +15 -0
  189. data/lib/stripe/services/charge_service.rb +1418 -0
  190. data/lib/stripe/services/checkout/session_service.rb +316 -3
  191. data/lib/stripe/services/coupon_service.rb +17 -1
  192. data/lib/stripe/services/credit_note_service.rb +4 -0
  193. data/lib/stripe/services/customer_session_service.rb +4 -1
  194. data/{rbi/stripe/services/account_external_account_service.rbi → lib/stripe/services/external_account_service.rb} +135 -122
  195. data/{rbi/stripe/services/tax/transaction_line_item_service.rbi → lib/stripe/services/financial_connections/account_inferred_balance_service.rb} +21 -17
  196. data/lib/stripe/services/financial_connections/account_service.rb +7 -2
  197. data/{rbi/stripe/services/climate/supplier_service.rbi → lib/stripe/services/financial_connections/institution_service.rb} +36 -25
  198. data/lib/stripe/services/financial_connections/session_service.rb +34 -2
  199. data/lib/stripe/services/financial_connections_service.rb +2 -1
  200. data/lib/stripe/services/fx_quote_service.rb +123 -0
  201. data/lib/stripe/services/identity/verification_session_service.rb +8 -0
  202. data/lib/stripe/services/invoice_item_service.rb +74 -2
  203. data/lib/stripe/services/invoice_line_item_service.rb +33 -1
  204. data/lib/stripe/services/invoice_payment_service.rb +4 -1
  205. data/lib/stripe/services/invoice_service.rb +1074 -16
  206. data/lib/stripe/services/issuing/cardholder_service.rb +2 -1
  207. data/lib/stripe/services/issuing/credit_underwriting_record_service.rb +504 -0
  208. data/lib/stripe/services/issuing/dispute_settlement_detail_service.rb +66 -0
  209. data/lib/stripe/services/issuing/fraud_liability_debit_service.rb +83 -0
  210. data/lib/stripe/services/issuing/transaction_service.rb +4 -0
  211. data/lib/stripe/services/issuing_service.rb +5 -1
  212. data/lib/stripe/services/margin_service.rb +119 -0
  213. data/{rbi/stripe/services/source_transaction_service.rbi → lib/stripe/services/order_line_item_service.rb} +20 -16
  214. data/lib/stripe/services/order_service.rb +2388 -0
  215. data/lib/stripe/services/payment_attempt_record_service.rb +49 -0
  216. data/{rbi/stripe/services/quote_line_item_service.rbi → lib/stripe/services/payment_intent_amount_details_line_item_service.rb} +20 -16
  217. data/lib/stripe/services/payment_intent_service.rb +5724 -435
  218. data/lib/stripe/services/payment_method_configuration_service.rb +210 -0
  219. data/lib/stripe/services/payment_method_service.rb +120 -1
  220. data/lib/stripe/services/payment_record_service.rb +542 -0
  221. data/lib/stripe/services/payout_service.rb +4 -0
  222. data/lib/stripe/services/price_service.rb +19 -0
  223. data/lib/stripe/services/privacy/redaction_job_service.rb +240 -0
  224. data/{rbi/stripe/services/tax/calculation_line_item_service.rbi → lib/stripe/services/privacy/redaction_job_validation_error_service.rb} +21 -17
  225. data/lib/stripe/services/privacy_service.rb +13 -0
  226. data/lib/stripe/services/promotion_code_service.rb +8 -0
  227. data/{rbi/stripe/services/credit_note_line_item_service.rbi → lib/stripe/services/quote_line_service.rb} +20 -16
  228. data/{rbi/stripe/services/payment_link_line_item_service.rbi → lib/stripe/services/quote_preview_invoice_service.rb} +20 -16
  229. data/lib/stripe/services/quote_preview_subscription_schedule_service.rb +35 -0
  230. data/lib/stripe/services/quote_service.rb +1723 -8
  231. data/lib/stripe/services/setup_intent_service.rb +538 -9
  232. data/lib/stripe/services/subscription_item_service.rb +75 -3
  233. data/lib/stripe/services/subscription_schedule_service.rb +911 -10
  234. data/lib/stripe/services/subscription_service.rb +309 -9
  235. data/lib/stripe/services/tax/association_service.rb +31 -0
  236. data/lib/stripe/services/tax/form_service.rb +100 -0
  237. data/lib/stripe/services/tax_id_service.rb +8 -2
  238. data/lib/stripe/services/tax_service.rb +3 -1
  239. data/lib/stripe/services/terminal/onboarding_link_service.rb +56 -0
  240. data/lib/stripe/services/terminal/reader_collected_data_service.rb +28 -0
  241. data/lib/stripe/services/terminal_service.rb +3 -1
  242. data/lib/stripe/services/test_helpers/confirmation_token_service.rb +97 -0
  243. data/lib/stripe/services/test_helpers/treasury/received_credit_service.rb +25 -1
  244. data/lib/stripe/services/test_helpers/treasury/received_debit_service.rb +25 -1
  245. data/lib/stripe/services/transfer_service.rb +4 -0
  246. data/lib/stripe/services/treasury/financial_account_features_service.rb +4 -1
  247. data/lib/stripe/services/treasury/financial_account_service.rb +16 -2
  248. data/lib/stripe/services/treasury/outbound_transfer_service.rb +24 -0
  249. data/lib/stripe/services/v1_services.rb +11 -1
  250. data/lib/stripe/services/v2/core/account_link_service.rb +114 -0
  251. data/lib/stripe/services/v2/core/account_service.rb +4522 -0
  252. data/lib/stripe/services/v2/core/accounts/person_service.rb +1045 -0
  253. data/lib/stripe/services/v2/core/vault/gb_bank_account_service.rb +130 -0
  254. data/lib/stripe/services/v2/core/vault/us_bank_account_service.rb +107 -0
  255. data/lib/stripe/services/v2/core/vault_service.rb +18 -0
  256. data/lib/stripe/services/v2/core_service.rb +4 -1
  257. data/lib/stripe/services/v2/money_management/adjustment_service.rb +74 -0
  258. data/lib/stripe/services/v2/money_management/financial_account_service.rb +116 -0
  259. data/lib/stripe/services/v2/money_management/financial_address_service.rb +82 -0
  260. data/lib/stripe/services/v2/money_management/inbound_transfer_service.rb +125 -0
  261. data/lib/stripe/services/v2/money_management/outbound_payment_quote_service.rb +95 -0
  262. data/lib/stripe/services/v2/money_management/outbound_payment_service.rb +199 -0
  263. data/lib/stripe/services/v2/money_management/outbound_setup_intent_service.rb +235 -0
  264. data/lib/stripe/services/v2/money_management/outbound_transfer_service.rb +172 -0
  265. data/lib/stripe/services/v2/money_management/payout_method_service.rb +90 -0
  266. data/lib/stripe/services/v2/money_management/payout_methods_bank_account_spec_service.rb +32 -0
  267. data/lib/stripe/services/v2/money_management/received_credit_service.rb +70 -0
  268. data/lib/stripe/services/v2/money_management/received_debit_service.rb +43 -0
  269. data/lib/stripe/services/v2/money_management/transaction_entry_service.rb +69 -0
  270. data/lib/stripe/services/v2/money_management/transaction_service.rb +73 -0
  271. data/lib/stripe/services/v2/money_management_service.rb +31 -0
  272. data/lib/stripe/services/v2/payment_service.rb +15 -0
  273. data/lib/stripe/services/v2/payments/off_session_payment_service.rb +152 -0
  274. data/lib/stripe/services/v2/test_helper_service.rb +15 -0
  275. data/lib/stripe/services/v2/test_helpers/financial_address_service.rb +53 -0
  276. data/lib/stripe/services/v2_services.rb +4 -1
  277. data/lib/stripe/services.rb +55 -0
  278. data/lib/stripe/stripe_configuration.rb +3 -1
  279. data/lib/stripe/stripe_object.rb +1 -1
  280. data/lib/stripe/util.rb +7 -1
  281. data/lib/stripe/version.rb +1 -1
  282. data/lib/stripe.rb +53 -0
  283. data/rbi/stripe.rbi +199145 -0
  284. data/stripe.gemspec +4 -1
  285. metadata +169 -324
  286. data/rbi/stripe/resources/account.rbi +0 -4995
  287. data/rbi/stripe/resources/account_link.rbi +0 -76
  288. data/rbi/stripe/resources/account_session.rbi +0 -1074
  289. data/rbi/stripe/resources/apple_pay_domain.rbi +0 -88
  290. data/rbi/stripe/resources/application.rbi +0 -20
  291. data/rbi/stripe/resources/application_fee.rbi +0 -118
  292. data/rbi/stripe/resources/application_fee_refund.rbi +0 -37
  293. data/rbi/stripe/resources/apps/secret.rbi +0 -195
  294. data/rbi/stripe/resources/balance.rbi +0 -235
  295. data/rbi/stripe/resources/balance_transaction.rbi +0 -147
  296. data/rbi/stripe/resources/bank_account.rbi +0 -127
  297. data/rbi/stripe/resources/billing/alert.rbi +0 -201
  298. data/rbi/stripe/resources/billing/alert_triggered.rbi +0 -28
  299. data/rbi/stripe/resources/billing/credit_balance_summary.rbi +0 -63
  300. data/rbi/stripe/resources/billing/credit_balance_transaction.rbi +0 -147
  301. data/rbi/stripe/resources/billing/credit_grant.rbi +0 -291
  302. data/rbi/stripe/resources/billing/meter.rbi +0 -226
  303. data/rbi/stripe/resources/billing/meter_event.rbi +0 -64
  304. data/rbi/stripe/resources/billing/meter_event_adjustment.rbi +0 -64
  305. data/rbi/stripe/resources/billing/meter_event_summary.rbi +0 -35
  306. data/rbi/stripe/resources/billing_portal/configuration.rbi +0 -703
  307. data/rbi/stripe/resources/billing_portal/session.rbi +0 -345
  308. data/rbi/stripe/resources/capability.rbi +0 -125
  309. data/rbi/stripe/resources/card.rbi +0 -125
  310. data/rbi/stripe/resources/cash_balance.rbi +0 -32
  311. data/rbi/stripe/resources/charge.rbi +0 -2089
  312. data/rbi/stripe/resources/checkout/session.rbi +0 -4095
  313. data/rbi/stripe/resources/climate/order.rbi +0 -245
  314. data/rbi/stripe/resources/climate/product.rbi +0 -75
  315. data/rbi/stripe/resources/climate/supplier.rbi +0 -72
  316. data/rbi/stripe/resources/confirmation_token.rbi +0 -1818
  317. data/rbi/stripe/resources/connect_collection_transfer.rbi +0 -26
  318. data/rbi/stripe/resources/country_spec.rbi +0 -85
  319. data/rbi/stripe/resources/coupon.rbi +0 -250
  320. data/rbi/stripe/resources/credit_note.rbi +0 -752
  321. data/rbi/stripe/resources/credit_note_line_item.rbi +0 -101
  322. data/rbi/stripe/resources/customer.rbi +0 -1005
  323. data/rbi/stripe/resources/customer_balance_transaction.rbi +0 -56
  324. data/rbi/stripe/resources/customer_cash_balance_transaction.rbi +0 -151
  325. data/rbi/stripe/resources/customer_session.rbi +0 -200
  326. data/rbi/stripe/resources/discount.rbi +0 -53
  327. data/rbi/stripe/resources/dispute.rbi +0 -761
  328. data/rbi/stripe/resources/entitlements/active_entitlement.rbi +0 -58
  329. data/rbi/stripe/resources/entitlements/active_entitlement_summary.rbi +0 -23
  330. data/rbi/stripe/resources/entitlements/feature.rbi +0 -117
  331. data/rbi/stripe/resources/ephemeral_key.rbi +0 -44
  332. data/rbi/stripe/resources/event.rbi +0 -137
  333. data/rbi/stripe/resources/exchange_rate.rbi +0 -66
  334. data/rbi/stripe/resources/file.rbi +0 -143
  335. data/rbi/stripe/resources/file_link.rbi +0 -141
  336. data/rbi/stripe/resources/financial_connections/account.rbi +0 -339
  337. data/rbi/stripe/resources/financial_connections/account_owner.rbi +0 -35
  338. data/rbi/stripe/resources/financial_connections/account_ownership.rbi +0 -23
  339. data/rbi/stripe/resources/financial_connections/session.rbi +0 -123
  340. data/rbi/stripe/resources/financial_connections/transaction.rbi +0 -124
  341. data/rbi/stripe/resources/forwarding/request.rbi +0 -216
  342. data/rbi/stripe/resources/funding_instructions.rbi +0 -437
  343. data/rbi/stripe/resources/identity/verification_report.rbi +0 -360
  344. data/rbi/stripe/resources/identity/verification_session.rbi +0 -564
  345. data/rbi/stripe/resources/invoice.rbi +0 -3858
  346. data/rbi/stripe/resources/invoice_item.rbi +0 -470
  347. data/rbi/stripe/resources/invoice_line_item.rbi +0 -432
  348. data/rbi/stripe/resources/invoice_payment.rbi +0 -121
  349. data/rbi/stripe/resources/invoice_rendering_template.rbi +0 -104
  350. data/rbi/stripe/resources/issuing/authorization.rbi +0 -1283
  351. data/rbi/stripe/resources/issuing/card.rbi +0 -741
  352. data/rbi/stripe/resources/issuing/cardholder.rbi +0 -744
  353. data/rbi/stripe/resources/issuing/dispute.rbi +0 -913
  354. data/rbi/stripe/resources/issuing/personalization_design.rbi +0 -338
  355. data/rbi/stripe/resources/issuing/physical_bundle.rbi +0 -79
  356. data/rbi/stripe/resources/issuing/token.rbi +0 -226
  357. data/rbi/stripe/resources/issuing/transaction.rbi +0 -1061
  358. data/rbi/stripe/resources/line_item.rbi +0 -72
  359. data/rbi/stripe/resources/login_link.rbi +0 -19
  360. data/rbi/stripe/resources/mandate.rbi +0 -191
  361. data/rbi/stripe/resources/payment_intent.rbi +0 -9997
  362. data/rbi/stripe/resources/payment_link.rbi +0 -1893
  363. data/rbi/stripe/resources/payment_method.rbi +0 -1770
  364. data/rbi/stripe/resources/payment_method_configuration.rbi +0 -3550
  365. data/rbi/stripe/resources/payment_method_domain.rbi +0 -228
  366. data/rbi/stripe/resources/payout.rbi +0 -300
  367. data/rbi/stripe/resources/person.rbi +0 -401
  368. data/rbi/stripe/resources/plan.rbi +0 -371
  369. data/rbi/stripe/resources/price.rbi +0 -694
  370. data/rbi/stripe/resources/product.rbi +0 -555
  371. data/rbi/stripe/resources/product_feature.rbi +0 -26
  372. data/rbi/stripe/resources/promotion_code.rbi +0 -261
  373. data/rbi/stripe/resources/quote.rbi +0 -1145
  374. data/rbi/stripe/resources/radar/early_fraud_warning.rbi +0 -98
  375. data/rbi/stripe/resources/radar/value_list.rbi +0 -168
  376. data/rbi/stripe/resources/radar/value_list_item.rbi +0 -129
  377. data/rbi/stripe/resources/refund.rbi +0 -523
  378. data/rbi/stripe/resources/reporting/report_run.rbi +0 -191
  379. data/rbi/stripe/resources/reporting/report_type.rbi +0 -57
  380. data/rbi/stripe/resources/reserve_transaction.rbi +0 -23
  381. data/rbi/stripe/resources/reversal.rbi +0 -51
  382. data/rbi/stripe/resources/review.rbi +0 -154
  383. data/rbi/stripe/resources/setup_attempt.rbi +0 -477
  384. data/rbi/stripe/resources/setup_intent.rbi +0 -3978
  385. data/rbi/stripe/resources/shipping_rate.rbi +0 -305
  386. data/rbi/stripe/resources/sigma/scheduled_query_run.rbi +0 -75
  387. data/rbi/stripe/resources/source.rbi +0 -1496
  388. data/rbi/stripe/resources/source_mandate_notification.rbi +0 -77
  389. data/rbi/stripe/resources/source_transaction.rbi +0 -127
  390. data/rbi/stripe/resources/subscription.rbi +0 -2080
  391. data/rbi/stripe/resources/subscription_item.rbi +0 -404
  392. data/rbi/stripe/resources/subscription_schedule.rbi +0 -1673
  393. data/rbi/stripe/resources/tax/calculation.rbi +0 -478
  394. data/rbi/stripe/resources/tax/calculation_line_item.rbi +0 -91
  395. data/rbi/stripe/resources/tax/registration.rbi +0 -3216
  396. data/rbi/stripe/resources/tax/settings.rbi +0 -141
  397. data/rbi/stripe/resources/tax/transaction.rbi +0 -351
  398. data/rbi/stripe/resources/tax/transaction_line_item.rbi +0 -54
  399. data/rbi/stripe/resources/tax_code.rbi +0 -44
  400. data/rbi/stripe/resources/tax_deducted_at_source.rbi +0 -23
  401. data/rbi/stripe/resources/tax_id.rbi +0 -165
  402. data/rbi/stripe/resources/tax_rate.rbi +0 -239
  403. data/rbi/stripe/resources/terminal/configuration.rbi +0 -1595
  404. data/rbi/stripe/resources/terminal/connection_token.rbi +0 -37
  405. data/rbi/stripe/resources/terminal/location.rbi +0 -222
  406. data/rbi/stripe/resources/terminal/reader.rbi +0 -994
  407. data/rbi/stripe/resources/test_helpers/test_clock.rbi +0 -132
  408. data/rbi/stripe/resources/token.rbi +0 -1283
  409. data/rbi/stripe/resources/topup.rbi +0 -222
  410. data/rbi/stripe/resources/transfer.rbi +0 -199
  411. data/rbi/stripe/resources/treasury/credit_reversal.rbi +0 -119
  412. data/rbi/stripe/resources/treasury/debit_reversal.rbi +0 -131
  413. data/rbi/stripe/resources/treasury/financial_account.rbi +0 -869
  414. data/rbi/stripe/resources/treasury/financial_account_features.rbi +0 -260
  415. data/rbi/stripe/resources/treasury/inbound_transfer.rbi +0 -295
  416. data/rbi/stripe/resources/treasury/outbound_payment.rbi +0 -592
  417. data/rbi/stripe/resources/treasury/outbound_transfer.rbi +0 -431
  418. data/rbi/stripe/resources/treasury/received_credit.rbi +0 -302
  419. data/rbi/stripe/resources/treasury/received_debit.rbi +0 -256
  420. data/rbi/stripe/resources/treasury/transaction.rbi +0 -215
  421. data/rbi/stripe/resources/treasury/transaction_entry.rbi +0 -192
  422. data/rbi/stripe/resources/v2/amount.rbi +0 -14
  423. data/rbi/stripe/resources/v2/billing/meter_event.rbi +0 -37
  424. data/rbi/stripe/resources/v2/billing/meter_event_adjustment.rbi +0 -41
  425. data/rbi/stripe/resources/v2/billing/meter_event_session.rbi +0 -31
  426. data/rbi/stripe/resources/v2/event.rbi +0 -48
  427. data/rbi/stripe/resources/v2/event_destination.rbi +0 -91
  428. data/rbi/stripe/resources/webhook_endpoint.rbi +0 -168
  429. data/rbi/stripe/services/account_capability_service.rbi +0 -51
  430. data/rbi/stripe/services/account_link_service.rbi +0 -60
  431. data/rbi/stripe/services/account_login_link_service.rbi +0 -22
  432. data/rbi/stripe/services/account_person_service.rbi +0 -1011
  433. data/rbi/stripe/services/account_service.rbi +0 -4281
  434. data/rbi/stripe/services/account_session_service.rbi +0 -685
  435. data/rbi/stripe/services/apple_pay_domain_service.rbi +0 -76
  436. data/rbi/stripe/services/application_fee_refund_service.rbi +0 -93
  437. data/rbi/stripe/services/application_fee_service.rbi +0 -78
  438. data/rbi/stripe/services/apps/secret_service.rbi +0 -151
  439. data/rbi/stripe/services/apps_service.rbi +0 -9
  440. data/rbi/stripe/services/balance_service.rbi +0 -21
  441. data/rbi/stripe/services/balance_transaction_service.rbi +0 -93
  442. data/rbi/stripe/services/billing/alert_service.rbi +0 -152
  443. data/rbi/stripe/services/billing/credit_balance_summary_service.rbi +0 -68
  444. data/rbi/stripe/services/billing/credit_balance_transaction_service.rbi +0 -59
  445. data/rbi/stripe/services/billing/credit_grant_service.rbi +0 -211
  446. data/rbi/stripe/services/billing/meter_event_adjustment_service.rbi +0 -42
  447. data/rbi/stripe/services/billing/meter_event_service.rbi +0 -42
  448. data/rbi/stripe/services/billing/meter_event_summary_service.rbi +0 -54
  449. data/rbi/stripe/services/billing/meter_service.rbi +0 -163
  450. data/rbi/stripe/services/billing_portal/configuration_service.rbi +0 -555
  451. data/rbi/stripe/services/billing_portal/session_service.rbi +0 -204
  452. data/rbi/stripe/services/billing_portal_service.rbi +0 -10
  453. data/rbi/stripe/services/billing_service.rbi +0 -15
  454. data/rbi/stripe/services/charge_service.rbi +0 -448
  455. data/rbi/stripe/services/checkout/session_line_item_service.rbi +0 -33
  456. data/rbi/stripe/services/checkout/session_service.rbi +0 -2690
  457. data/rbi/stripe/services/checkout_service.rbi +0 -9
  458. data/rbi/stripe/services/climate/order_service.rbi +0 -142
  459. data/rbi/stripe/services/climate/product_service.rbi +0 -46
  460. data/rbi/stripe/services/climate_service.rbi +0 -11
  461. data/rbi/stripe/services/confirmation_token_service.rbi +0 -20
  462. data/rbi/stripe/services/country_spec_service.rbi +0 -44
  463. data/rbi/stripe/services/coupon_service.rbi +0 -194
  464. data/rbi/stripe/services/credit_note_preview_lines_service.rbi +0 -167
  465. data/rbi/stripe/services/credit_note_service.rbi +0 -415
  466. data/rbi/stripe/services/customer_balance_transaction_service.rbi +0 -92
  467. data/rbi/stripe/services/customer_cash_balance_service.rbi +0 -45
  468. data/rbi/stripe/services/customer_cash_balance_transaction_service.rbi +0 -44
  469. data/rbi/stripe/services/customer_funding_instructions_service.rbi +0 -59
  470. data/rbi/stripe/services/customer_payment_method_service.rbi +0 -57
  471. data/rbi/stripe/services/customer_payment_source_service.rbi +0 -232
  472. data/rbi/stripe/services/customer_service.rbi +0 -647
  473. data/rbi/stripe/services/customer_session_service.rbi +0 -116
  474. data/rbi/stripe/services/customer_tax_id_service.rbi +0 -70
  475. data/rbi/stripe/services/dispute_service.rbi +0 -424
  476. data/rbi/stripe/services/entitlements/active_entitlement_service.rbi +0 -55
  477. data/rbi/stripe/services/entitlements/feature_service.rbi +0 -107
  478. data/rbi/stripe/services/entitlements_service.rbi +0 -10
  479. data/rbi/stripe/services/ephemeral_key_service.rbi +0 -53
  480. data/rbi/stripe/services/event_service.rbi +0 -83
  481. data/rbi/stripe/services/exchange_rate_service.rbi +0 -44
  482. data/rbi/stripe/services/file_link_service.rbi +0 -124
  483. data/rbi/stripe/services/file_service.rbi +0 -116
  484. data/rbi/stripe/services/financial_connections/account_owner_service.rbi +0 -42
  485. data/rbi/stripe/services/financial_connections/account_service.rbi +0 -133
  486. data/rbi/stripe/services/financial_connections/session_service.rbi +0 -88
  487. data/rbi/stripe/services/financial_connections/transaction_service.rbi +0 -92
  488. data/rbi/stripe/services/financial_connections_service.rbi +0 -11
  489. data/rbi/stripe/services/forwarding/request_service.rbi +0 -134
  490. data/rbi/stripe/services/forwarding_service.rbi +0 -9
  491. data/rbi/stripe/services/identity/verification_report_service.rbi +0 -87
  492. data/rbi/stripe/services/identity/verification_session_service.rbi +0 -339
  493. data/rbi/stripe/services/identity_service.rbi +0 -10
  494. data/rbi/stripe/services/invoice_item_service.rbi +0 -366
  495. data/rbi/stripe/services/invoice_line_item_service.rbi +0 -259
  496. data/rbi/stripe/services/invoice_payment_service.rbi +0 -71
  497. data/rbi/stripe/services/invoice_rendering_template_service.rbi +0 -82
  498. data/rbi/stripe/services/invoice_service.rbi +0 -3027
  499. data/rbi/stripe/services/issuing/authorization_service.rbi +0 -146
  500. data/rbi/stripe/services/issuing/card_service.rbi +0 -495
  501. data/rbi/stripe/services/issuing/cardholder_service.rbi +0 -587
  502. data/rbi/stripe/services/issuing/dispute_service.rbi +0 -707
  503. data/rbi/stripe/services/issuing/personalization_design_service.rbi +0 -243
  504. data/rbi/stripe/services/issuing/physical_bundle_service.rbi +0 -59
  505. data/rbi/stripe/services/issuing/token_service.rbi +0 -99
  506. data/rbi/stripe/services/issuing/transaction_service.rbi +0 -105
  507. data/rbi/stripe/services/issuing_service.rbi +0 -16
  508. data/rbi/stripe/services/mandate_service.rbi +0 -20
  509. data/rbi/stripe/services/payment_intent_service.rbi +0 -7994
  510. data/rbi/stripe/services/payment_link_service.rbi +0 -1441
  511. data/rbi/stripe/services/payment_method_configuration_service.rbi +0 -2487
  512. data/rbi/stripe/services/payment_method_domain_service.rbi +0 -112
  513. data/rbi/stripe/services/payment_method_service.rbi +0 -781
  514. data/rbi/stripe/services/payout_service.rbi +0 -205
  515. data/rbi/stripe/services/plan_service.rbi +0 -282
  516. data/rbi/stripe/services/price_service.rbi +0 -546
  517. data/rbi/stripe/services/product_feature_service.rbi +0 -67
  518. data/rbi/stripe/services/product_service.rbi +0 -477
  519. data/rbi/stripe/services/promotion_code_service.rbi +0 -214
  520. data/rbi/stripe/services/quote_computed_upfront_line_items_service.rbi +0 -31
  521. data/rbi/stripe/services/quote_service.rbi +0 -699
  522. data/rbi/stripe/services/radar/early_fraud_warning_service.rbi +0 -85
  523. data/rbi/stripe/services/radar/value_list_item_service.rbi +0 -109
  524. data/rbi/stripe/services/radar/value_list_service.rbi +0 -141
  525. data/rbi/stripe/services/radar_service.rbi +0 -11
  526. data/rbi/stripe/services/refund_service.rbi +0 -185
  527. data/rbi/stripe/services/reporting/report_run_service.rbi +0 -135
  528. data/rbi/stripe/services/reporting/report_type_service.rbi +0 -35
  529. data/rbi/stripe/services/reporting_service.rbi +0 -10
  530. data/rbi/stripe/services/review_service.rbi +0 -84
  531. data/rbi/stripe/services/setup_attempt_service.rbi +0 -65
  532. data/rbi/stripe/services/setup_intent_service.rbi +0 -3709
  533. data/rbi/stripe/services/shipping_rate_service.rbi +0 -241
  534. data/rbi/stripe/services/sigma/scheduled_query_run_service.rbi +0 -46
  535. data/rbi/stripe/services/sigma_service.rbi +0 -9
  536. data/rbi/stripe/services/source_service.rbi +0 -663
  537. data/rbi/stripe/services/subscription_item_service.rbi +0 -350
  538. data/rbi/stripe/services/subscription_schedule_service.rbi +0 -1333
  539. data/rbi/stripe/services/subscription_service.rbi +0 -1684
  540. data/rbi/stripe/services/tax/calculation_service.rbi +0 -234
  541. data/rbi/stripe/services/tax/registration_service.rbi +0 -2278
  542. data/rbi/stripe/services/tax/settings_service.rbi +0 -93
  543. data/rbi/stripe/services/tax/transaction_service.rbi +0 -146
  544. data/rbi/stripe/services/tax_code_service.rbi +0 -44
  545. data/rbi/stripe/services/tax_id_service.rbi +0 -110
  546. data/rbi/stripe/services/tax_rate_service.rbi +0 -185
  547. data/rbi/stripe/services/tax_service.rbi +0 -12
  548. data/rbi/stripe/services/terminal/configuration_service.rbi +0 -1286
  549. data/rbi/stripe/services/terminal/connection_token_service.rbi +0 -25
  550. data/rbi/stripe/services/terminal/location_service.rbi +0 -182
  551. data/rbi/stripe/services/terminal/reader_service.rbi +0 -540
  552. data/rbi/stripe/services/terminal_service.rbi +0 -12
  553. data/rbi/stripe/services/test_helpers/confirmation_token_service.rbi +0 -746
  554. data/rbi/stripe/services/test_helpers/customer_service.rbi +0 -33
  555. data/rbi/stripe/services/test_helpers/issuing/authorization_service.rbi +0 -848
  556. data/rbi/stripe/services/test_helpers/issuing/card_service.rbi +0 -76
  557. data/rbi/stripe/services/test_helpers/issuing/personalization_design_service.rbi +0 -69
  558. data/rbi/stripe/services/test_helpers/issuing/transaction_service.rbi +0 -711
  559. data/rbi/stripe/services/test_helpers/issuing_service.rbi +0 -14
  560. data/rbi/stripe/services/test_helpers/refund_service.rbi +0 -22
  561. data/rbi/stripe/services/test_helpers/terminal/reader_service.rbi +0 -93
  562. data/rbi/stripe/services/test_helpers/terminal_service.rbi +0 -11
  563. data/rbi/stripe/services/test_helpers/test_clock_service.rbi +0 -90
  564. data/rbi/stripe/services/test_helpers/treasury/inbound_transfer_service.rbi +0 -64
  565. data/rbi/stripe/services/test_helpers/treasury/outbound_payment_service.rbi +0 -125
  566. data/rbi/stripe/services/test_helpers/treasury/outbound_transfer_service.rbi +0 -125
  567. data/rbi/stripe/services/test_helpers/treasury/received_credit_service.rbi +0 -87
  568. data/rbi/stripe/services/test_helpers/treasury/received_debit_service.rbi +0 -87
  569. data/rbi/stripe/services/test_helpers/treasury_service.rbi +0 -15
  570. data/rbi/stripe/services/test_helpers_service.rbi +0 -15
  571. data/rbi/stripe/services/token_service.rbi +0 -1257
  572. data/rbi/stripe/services/topup_service.rbi +0 -176
  573. data/rbi/stripe/services/transfer_reversal_service.rbi +0 -101
  574. data/rbi/stripe/services/transfer_service.rbi +0 -152
  575. data/rbi/stripe/services/treasury/credit_reversal_service.rbi +0 -84
  576. data/rbi/stripe/services/treasury/debit_reversal_service.rbi +0 -88
  577. data/rbi/stripe/services/treasury/financial_account_features_service.rbi +0 -198
  578. data/rbi/stripe/services/treasury/financial_account_service.rbi +0 -566
  579. data/rbi/stripe/services/treasury/inbound_transfer_service.rbi +0 -117
  580. data/rbi/stripe/services/treasury/outbound_payment_service.rbi +0 -304
  581. data/rbi/stripe/services/treasury/outbound_transfer_service.rbi +0 -157
  582. data/rbi/stripe/services/treasury/received_credit_service.rbi +0 -72
  583. data/rbi/stripe/services/treasury/received_debit_service.rbi +0 -59
  584. data/rbi/stripe/services/treasury/transaction_entry_service.rbi +0 -111
  585. data/rbi/stripe/services/treasury/transaction_service.rbi +0 -122
  586. data/rbi/stripe/services/treasury_service.rbi +0 -18
  587. data/rbi/stripe/services/v1_services.rbi +0 -77
  588. data/rbi/stripe/services/v2/billing/meter_event_adjustment_service.rbi +0 -39
  589. data/rbi/stripe/services/v2/billing/meter_event_service.rbi +0 -42
  590. data/rbi/stripe/services/v2/billing/meter_event_session_service.rbi +0 -18
  591. data/rbi/stripe/services/v2/billing/meter_event_stream_service.rbi +0 -55
  592. data/rbi/stripe/services/v2/billing_service.rbi +0 -14
  593. data/rbi/stripe/services/v2/core/event_destination_service.rbi +0 -192
  594. data/rbi/stripe/services/v2/core/event_service.rbi +0 -36
  595. data/rbi/stripe/services/v2/core_service.rbi +0 -12
  596. data/rbi/stripe/services/v2_services.rbi +0 -10
  597. data/rbi/stripe/services/webhook_endpoint_service.rbi +0 -129
@@ -0,0 +1,1930 @@
1
+ # File generated from our OpenAPI spec
2
+ # frozen_string_literal: true
3
+
4
+ module Stripe
5
+ module V2
6
+ module Core
7
+ # A V2 Account is a representation of a company or individual that a Stripe user does business with. Accounts contain the contact details, Legal Entity information, and configuration required to enable the Account for use across Stripe products.
8
+ class Account < APIResource
9
+ OBJECT_NAME = "v2.core.account"
10
+ def self.object_name
11
+ "v2.core.account"
12
+ end
13
+
14
+ class Configuration < Stripe::StripeObject
15
+ class Customer < Stripe::StripeObject
16
+ class AutomaticIndirectTax < Stripe::StripeObject
17
+ class Location < Stripe::StripeObject
18
+ # The identified tax country of the customer.
19
+ attr_reader :country
20
+ # The identified tax state, county, province, or region of the customer.
21
+ attr_reader :state
22
+ end
23
+ # Describes the customer's tax exemption status, which is `none`, `exempt`, or `reverse`. When set to reverse, invoice and receipt PDFs include the following text: “Reverse charge”.
24
+ attr_reader :exempt
25
+ # A recent IP address of the customer used for tax reporting and tax location inference.
26
+ attr_reader :ip_address
27
+ # The customer’s identified tax location - uses `location_source`. Will only be rendered if the `automatic_indirect_tax` feature is requested and `active`.
28
+ attr_reader :location
29
+ # The data source used to identify the customer's tax location - defaults to 'identity_address'. Will only be used for automatic tax calculation on the customer's Invoices and Subscriptions.
30
+ attr_reader :location_source
31
+ end
32
+
33
+ class Billing < Stripe::StripeObject
34
+ class Invoice < Stripe::StripeObject
35
+ class CustomField < Stripe::StripeObject
36
+ # The name of the custom field. This may be up to 40 characters.
37
+ attr_reader :name
38
+ # The value of the custom field. This may be up to 140 characters. When updating, pass an empty string to remove previously-defined values.
39
+ attr_reader :value
40
+ end
41
+
42
+ class Rendering < Stripe::StripeObject
43
+ # How line-item prices and amounts will be displayed with respect to tax on invoice PDFs. One of exclude_tax or include_inclusive_tax. include_inclusive_tax will include inclusive tax (and exclude exclusive tax) in invoice PDF amounts. exclude_tax will exclude all tax (inclusive and exclusive alike) from invoice PDF amounts.
44
+ attr_reader :amount_tax_display
45
+ # ID of the invoice rendering template to use for future invoices.
46
+ attr_reader :template
47
+ end
48
+ # The list of up to 4 default custom fields to be displayed on invoices for this customer. When updating, pass an empty string to remove previously-defined fields.
49
+ attr_reader :custom_fields
50
+ # Default footer to be displayed on invoices for this customer.
51
+ attr_reader :footer
52
+ # The sequence to be used on the customer's next invoice. Defaults to 1.
53
+ attr_reader :next_sequence
54
+ # The prefix for the customer used to generate unique invoice numbers. Must be 3–12 uppercase letters or numbers.
55
+ attr_reader :prefix
56
+ # Default options for invoice PDF rendering for this customer.
57
+ attr_reader :rendering
58
+ end
59
+ # ID of a payment method that’s attached to the customer, to be used as the customer’s default payment method for invoices and subscriptions.
60
+ attr_reader :default_payment_method
61
+ # Default settings used on invoices for this customer.
62
+ attr_reader :invoice
63
+ end
64
+
65
+ class Capabilities < Stripe::StripeObject
66
+ class AutomaticIndirectTax < Stripe::StripeObject
67
+ class StatusDetail < Stripe::StripeObject
68
+ # Machine-readable code explaining the reason for the Capability to be in its current status.
69
+ attr_reader :code
70
+ # Machine-readable code explaining how to make the Capability active.
71
+ attr_reader :resolution
72
+ end
73
+ # Whether the Capability has been requested.
74
+ attr_reader :requested
75
+ # The status of the Capability.
76
+ attr_reader :status
77
+ # Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
78
+ attr_reader :status_details
79
+ end
80
+ # Generates requirements for enabling automatic indirect tax calculation on this customer's invoices or subscriptions. Recommended to request this capability if planning to enable automatic tax calculation on this customer's invoices or subscriptions. Uses the `location_source` field.
81
+ attr_reader :automatic_indirect_tax
82
+ end
83
+
84
+ class Shipping < Stripe::StripeObject
85
+ class Address < Stripe::StripeObject
86
+ # City, district, suburb, town, or village.
87
+ attr_reader :city
88
+ # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
89
+ attr_reader :country
90
+ # Address line 1 (e.g., street, PO Box, or company name).
91
+ attr_reader :line1
92
+ # Address line 2 (e.g., apartment, suite, unit, or building).
93
+ attr_reader :line2
94
+ # ZIP or postal code.
95
+ attr_reader :postal_code
96
+ # State, county, province, or region.
97
+ attr_reader :state
98
+ end
99
+ # Customer shipping address.
100
+ attr_reader :address
101
+ # Customer name.
102
+ attr_reader :name
103
+ # Customer phone (including extension).
104
+ attr_reader :phone
105
+ end
106
+ # Automatic indirect tax settings to be used when automatic tax calculation is enabled on the customer's invoices, subscriptions, checkout sessions, or payment links. Surfaces if automatic tax calculation is possible given the current customer location information.
107
+ attr_reader :automatic_indirect_tax
108
+ # Billing settings - default settings used for this customer in Billing flows such as Invoices and Subscriptions.
109
+ attr_reader :billing
110
+ # Capabilities that have been requested on the Customer Configuration.
111
+ attr_reader :capabilities
112
+ # The customer's shipping information. Appears on invoices emailed to this customer.
113
+ attr_reader :shipping
114
+ # ID of the test clock to attach to the customer. Can only be set on testmode Accounts, and when the Customer Configuration is first set on an Account.
115
+ attr_reader :test_clock
116
+ end
117
+
118
+ class Merchant < Stripe::StripeObject
119
+ class BacsDebitPayments < Stripe::StripeObject
120
+ # Display name for Bacs debit payments.
121
+ attr_reader :display_name
122
+ # Service user number for Bacs debit payments.
123
+ attr_reader :service_user_number
124
+ end
125
+
126
+ class Branding < Stripe::StripeObject
127
+ # ID of a [file upload](https://docs.stripe.com/api/persons/update#create_file): An icon for the merchant. Must be square and at least 128px x 128px.
128
+ attr_reader :icon
129
+ # ID of a [file upload](https://docs.stripe.com/api/persons/update#create_file): A logo for the merchant that will be used in Checkout instead of the icon and without the merchant's name next to it if provided. Must be at least 128px x 128px.
130
+ attr_reader :logo
131
+ # A CSS hex color value representing the primary branding color for the merchant.
132
+ attr_reader :primary_color
133
+ # A CSS hex color value representing the secondary branding color for the merchant.
134
+ attr_reader :secondary_color
135
+ end
136
+
137
+ class Capabilities < Stripe::StripeObject
138
+ class AchDebitPayments < Stripe::StripeObject
139
+ class StatusDetail < Stripe::StripeObject
140
+ # Machine-readable code explaining the reason for the Capability to be in its current status.
141
+ attr_reader :code
142
+ # Machine-readable code explaining how to make the Capability active.
143
+ attr_reader :resolution
144
+ end
145
+ # Whether the Capability has been requested.
146
+ attr_reader :requested
147
+ # The status of the Capability.
148
+ attr_reader :status
149
+ # Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
150
+ attr_reader :status_details
151
+ end
152
+
153
+ class AcssDebitPayments < Stripe::StripeObject
154
+ class StatusDetail < Stripe::StripeObject
155
+ # Machine-readable code explaining the reason for the Capability to be in its current status.
156
+ attr_reader :code
157
+ # Machine-readable code explaining how to make the Capability active.
158
+ attr_reader :resolution
159
+ end
160
+ # Whether the Capability has been requested.
161
+ attr_reader :requested
162
+ # The status of the Capability.
163
+ attr_reader :status
164
+ # Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
165
+ attr_reader :status_details
166
+ end
167
+
168
+ class AffirmPayments < Stripe::StripeObject
169
+ class StatusDetail < Stripe::StripeObject
170
+ # Machine-readable code explaining the reason for the Capability to be in its current status.
171
+ attr_reader :code
172
+ # Machine-readable code explaining how to make the Capability active.
173
+ attr_reader :resolution
174
+ end
175
+ # Whether the Capability has been requested.
176
+ attr_reader :requested
177
+ # The status of the Capability.
178
+ attr_reader :status
179
+ # Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
180
+ attr_reader :status_details
181
+ end
182
+
183
+ class AfterpayClearpayPayments < Stripe::StripeObject
184
+ class StatusDetail < Stripe::StripeObject
185
+ # Machine-readable code explaining the reason for the Capability to be in its current status.
186
+ attr_reader :code
187
+ # Machine-readable code explaining how to make the Capability active.
188
+ attr_reader :resolution
189
+ end
190
+ # Whether the Capability has been requested.
191
+ attr_reader :requested
192
+ # The status of the Capability.
193
+ attr_reader :status
194
+ # Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
195
+ attr_reader :status_details
196
+ end
197
+
198
+ class AlmaPayments < Stripe::StripeObject
199
+ class StatusDetail < Stripe::StripeObject
200
+ # Machine-readable code explaining the reason for the Capability to be in its current status.
201
+ attr_reader :code
202
+ # Machine-readable code explaining how to make the Capability active.
203
+ attr_reader :resolution
204
+ end
205
+ # Whether the Capability has been requested.
206
+ attr_reader :requested
207
+ # The status of the Capability.
208
+ attr_reader :status
209
+ # Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
210
+ attr_reader :status_details
211
+ end
212
+
213
+ class AmazonPayPayments < Stripe::StripeObject
214
+ class StatusDetail < Stripe::StripeObject
215
+ # Machine-readable code explaining the reason for the Capability to be in its current status.
216
+ attr_reader :code
217
+ # Machine-readable code explaining how to make the Capability active.
218
+ attr_reader :resolution
219
+ end
220
+ # Whether the Capability has been requested.
221
+ attr_reader :requested
222
+ # The status of the Capability.
223
+ attr_reader :status
224
+ # Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
225
+ attr_reader :status_details
226
+ end
227
+
228
+ class AuBecsDebitPayments < Stripe::StripeObject
229
+ class StatusDetail < Stripe::StripeObject
230
+ # Machine-readable code explaining the reason for the Capability to be in its current status.
231
+ attr_reader :code
232
+ # Machine-readable code explaining how to make the Capability active.
233
+ attr_reader :resolution
234
+ end
235
+ # Whether the Capability has been requested.
236
+ attr_reader :requested
237
+ # The status of the Capability.
238
+ attr_reader :status
239
+ # Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
240
+ attr_reader :status_details
241
+ end
242
+
243
+ class BacsDebitPayments < Stripe::StripeObject
244
+ class StatusDetail < Stripe::StripeObject
245
+ # Machine-readable code explaining the reason for the Capability to be in its current status.
246
+ attr_reader :code
247
+ # Machine-readable code explaining how to make the Capability active.
248
+ attr_reader :resolution
249
+ end
250
+ # Whether the Capability has been requested.
251
+ attr_reader :requested
252
+ # The status of the Capability.
253
+ attr_reader :status
254
+ # Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
255
+ attr_reader :status_details
256
+ end
257
+
258
+ class BancontactPayments < Stripe::StripeObject
259
+ class StatusDetail < Stripe::StripeObject
260
+ # Machine-readable code explaining the reason for the Capability to be in its current status.
261
+ attr_reader :code
262
+ # Machine-readable code explaining how to make the Capability active.
263
+ attr_reader :resolution
264
+ end
265
+ # Whether the Capability has been requested.
266
+ attr_reader :requested
267
+ # The status of the Capability.
268
+ attr_reader :status
269
+ # Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
270
+ attr_reader :status_details
271
+ end
272
+
273
+ class BlikPayments < Stripe::StripeObject
274
+ class StatusDetail < Stripe::StripeObject
275
+ # Machine-readable code explaining the reason for the Capability to be in its current status.
276
+ attr_reader :code
277
+ # Machine-readable code explaining how to make the Capability active.
278
+ attr_reader :resolution
279
+ end
280
+ # Whether the Capability has been requested.
281
+ attr_reader :requested
282
+ # The status of the Capability.
283
+ attr_reader :status
284
+ # Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
285
+ attr_reader :status_details
286
+ end
287
+
288
+ class BoletoPayments < Stripe::StripeObject
289
+ class StatusDetail < Stripe::StripeObject
290
+ # Machine-readable code explaining the reason for the Capability to be in its current status.
291
+ attr_reader :code
292
+ # Machine-readable code explaining how to make the Capability active.
293
+ attr_reader :resolution
294
+ end
295
+ # Whether the Capability has been requested.
296
+ attr_reader :requested
297
+ # The status of the Capability.
298
+ attr_reader :status
299
+ # Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
300
+ attr_reader :status_details
301
+ end
302
+
303
+ class CardPayments < Stripe::StripeObject
304
+ class StatusDetail < Stripe::StripeObject
305
+ # Machine-readable code explaining the reason for the Capability to be in its current status.
306
+ attr_reader :code
307
+ # Machine-readable code explaining how to make the Capability active.
308
+ attr_reader :resolution
309
+ end
310
+ # Whether the Capability has been requested.
311
+ attr_reader :requested
312
+ # The status of the Capability.
313
+ attr_reader :status
314
+ # Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
315
+ attr_reader :status_details
316
+ end
317
+
318
+ class CartesBancairesPayments < Stripe::StripeObject
319
+ class StatusDetail < Stripe::StripeObject
320
+ # Machine-readable code explaining the reason for the Capability to be in its current status.
321
+ attr_reader :code
322
+ # Machine-readable code explaining how to make the Capability active.
323
+ attr_reader :resolution
324
+ end
325
+ # Whether the Capability has been requested.
326
+ attr_reader :requested
327
+ # The status of the Capability.
328
+ attr_reader :status
329
+ # Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
330
+ attr_reader :status_details
331
+ end
332
+
333
+ class CashappPayments < Stripe::StripeObject
334
+ class StatusDetail < Stripe::StripeObject
335
+ # Machine-readable code explaining the reason for the Capability to be in its current status.
336
+ attr_reader :code
337
+ # Machine-readable code explaining how to make the Capability active.
338
+ attr_reader :resolution
339
+ end
340
+ # Whether the Capability has been requested.
341
+ attr_reader :requested
342
+ # The status of the Capability.
343
+ attr_reader :status
344
+ # Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
345
+ attr_reader :status_details
346
+ end
347
+
348
+ class EpsPayments < Stripe::StripeObject
349
+ class StatusDetail < Stripe::StripeObject
350
+ # Machine-readable code explaining the reason for the Capability to be in its current status.
351
+ attr_reader :code
352
+ # Machine-readable code explaining how to make the Capability active.
353
+ attr_reader :resolution
354
+ end
355
+ # Whether the Capability has been requested.
356
+ attr_reader :requested
357
+ # The status of the Capability.
358
+ attr_reader :status
359
+ # Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
360
+ attr_reader :status_details
361
+ end
362
+
363
+ class FpxPayments < Stripe::StripeObject
364
+ class StatusDetail < Stripe::StripeObject
365
+ # Machine-readable code explaining the reason for the Capability to be in its current status.
366
+ attr_reader :code
367
+ # Machine-readable code explaining how to make the Capability active.
368
+ attr_reader :resolution
369
+ end
370
+ # Whether the Capability has been requested.
371
+ attr_reader :requested
372
+ # The status of the Capability.
373
+ attr_reader :status
374
+ # Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
375
+ attr_reader :status_details
376
+ end
377
+
378
+ class GbBankTransferPayments < Stripe::StripeObject
379
+ class StatusDetail < Stripe::StripeObject
380
+ # Machine-readable code explaining the reason for the Capability to be in its current status.
381
+ attr_reader :code
382
+ # Machine-readable code explaining how to make the Capability active.
383
+ attr_reader :resolution
384
+ end
385
+ # Whether the Capability has been requested.
386
+ attr_reader :requested
387
+ # The status of the Capability.
388
+ attr_reader :status
389
+ # Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
390
+ attr_reader :status_details
391
+ end
392
+
393
+ class GrabpayPayments < Stripe::StripeObject
394
+ class StatusDetail < Stripe::StripeObject
395
+ # Machine-readable code explaining the reason for the Capability to be in its current status.
396
+ attr_reader :code
397
+ # Machine-readable code explaining how to make the Capability active.
398
+ attr_reader :resolution
399
+ end
400
+ # Whether the Capability has been requested.
401
+ attr_reader :requested
402
+ # The status of the Capability.
403
+ attr_reader :status
404
+ # Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
405
+ attr_reader :status_details
406
+ end
407
+
408
+ class IdealPayments < Stripe::StripeObject
409
+ class StatusDetail < Stripe::StripeObject
410
+ # Machine-readable code explaining the reason for the Capability to be in its current status.
411
+ attr_reader :code
412
+ # Machine-readable code explaining how to make the Capability active.
413
+ attr_reader :resolution
414
+ end
415
+ # Whether the Capability has been requested.
416
+ attr_reader :requested
417
+ # The status of the Capability.
418
+ attr_reader :status
419
+ # Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
420
+ attr_reader :status_details
421
+ end
422
+
423
+ class JcbPayments < Stripe::StripeObject
424
+ class StatusDetail < Stripe::StripeObject
425
+ # Machine-readable code explaining the reason for the Capability to be in its current status.
426
+ attr_reader :code
427
+ # Machine-readable code explaining how to make the Capability active.
428
+ attr_reader :resolution
429
+ end
430
+ # Whether the Capability has been requested.
431
+ attr_reader :requested
432
+ # The status of the Capability.
433
+ attr_reader :status
434
+ # Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
435
+ attr_reader :status_details
436
+ end
437
+
438
+ class JpBankTransferPayments < Stripe::StripeObject
439
+ class StatusDetail < Stripe::StripeObject
440
+ # Machine-readable code explaining the reason for the Capability to be in its current status.
441
+ attr_reader :code
442
+ # Machine-readable code explaining how to make the Capability active.
443
+ attr_reader :resolution
444
+ end
445
+ # Whether the Capability has been requested.
446
+ attr_reader :requested
447
+ # The status of the Capability.
448
+ attr_reader :status
449
+ # Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
450
+ attr_reader :status_details
451
+ end
452
+
453
+ class KakaoPayPayments < Stripe::StripeObject
454
+ class StatusDetail < Stripe::StripeObject
455
+ # Machine-readable code explaining the reason for the Capability to be in its current status.
456
+ attr_reader :code
457
+ # Machine-readable code explaining how to make the Capability active.
458
+ attr_reader :resolution
459
+ end
460
+ # Whether the Capability has been requested.
461
+ attr_reader :requested
462
+ # The status of the Capability.
463
+ attr_reader :status
464
+ # Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
465
+ attr_reader :status_details
466
+ end
467
+
468
+ class KlarnaPayments < Stripe::StripeObject
469
+ class StatusDetail < Stripe::StripeObject
470
+ # Machine-readable code explaining the reason for the Capability to be in its current status.
471
+ attr_reader :code
472
+ # Machine-readable code explaining how to make the Capability active.
473
+ attr_reader :resolution
474
+ end
475
+ # Whether the Capability has been requested.
476
+ attr_reader :requested
477
+ # The status of the Capability.
478
+ attr_reader :status
479
+ # Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
480
+ attr_reader :status_details
481
+ end
482
+
483
+ class KonbiniPayments < Stripe::StripeObject
484
+ class StatusDetail < Stripe::StripeObject
485
+ # Machine-readable code explaining the reason for the Capability to be in its current status.
486
+ attr_reader :code
487
+ # Machine-readable code explaining how to make the Capability active.
488
+ attr_reader :resolution
489
+ end
490
+ # Whether the Capability has been requested.
491
+ attr_reader :requested
492
+ # The status of the Capability.
493
+ attr_reader :status
494
+ # Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
495
+ attr_reader :status_details
496
+ end
497
+
498
+ class KrCardPayments < Stripe::StripeObject
499
+ class StatusDetail < Stripe::StripeObject
500
+ # Machine-readable code explaining the reason for the Capability to be in its current status.
501
+ attr_reader :code
502
+ # Machine-readable code explaining how to make the Capability active.
503
+ attr_reader :resolution
504
+ end
505
+ # Whether the Capability has been requested.
506
+ attr_reader :requested
507
+ # The status of the Capability.
508
+ attr_reader :status
509
+ # Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
510
+ attr_reader :status_details
511
+ end
512
+
513
+ class LinkPayments < Stripe::StripeObject
514
+ class StatusDetail < Stripe::StripeObject
515
+ # Machine-readable code explaining the reason for the Capability to be in its current status.
516
+ attr_reader :code
517
+ # Machine-readable code explaining how to make the Capability active.
518
+ attr_reader :resolution
519
+ end
520
+ # Whether the Capability has been requested.
521
+ attr_reader :requested
522
+ # The status of the Capability.
523
+ attr_reader :status
524
+ # Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
525
+ attr_reader :status_details
526
+ end
527
+
528
+ class MobilepayPayments < Stripe::StripeObject
529
+ class StatusDetail < Stripe::StripeObject
530
+ # Machine-readable code explaining the reason for the Capability to be in its current status.
531
+ attr_reader :code
532
+ # Machine-readable code explaining how to make the Capability active.
533
+ attr_reader :resolution
534
+ end
535
+ # Whether the Capability has been requested.
536
+ attr_reader :requested
537
+ # The status of the Capability.
538
+ attr_reader :status
539
+ # Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
540
+ attr_reader :status_details
541
+ end
542
+
543
+ class MultibancoPayments < Stripe::StripeObject
544
+ class StatusDetail < Stripe::StripeObject
545
+ # Machine-readable code explaining the reason for the Capability to be in its current status.
546
+ attr_reader :code
547
+ # Machine-readable code explaining how to make the Capability active.
548
+ attr_reader :resolution
549
+ end
550
+ # Whether the Capability has been requested.
551
+ attr_reader :requested
552
+ # The status of the Capability.
553
+ attr_reader :status
554
+ # Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
555
+ attr_reader :status_details
556
+ end
557
+
558
+ class MxBankTransferPayments < Stripe::StripeObject
559
+ class StatusDetail < Stripe::StripeObject
560
+ # Machine-readable code explaining the reason for the Capability to be in its current status.
561
+ attr_reader :code
562
+ # Machine-readable code explaining how to make the Capability active.
563
+ attr_reader :resolution
564
+ end
565
+ # Whether the Capability has been requested.
566
+ attr_reader :requested
567
+ # The status of the Capability.
568
+ attr_reader :status
569
+ # Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
570
+ attr_reader :status_details
571
+ end
572
+
573
+ class NaverPayPayments < Stripe::StripeObject
574
+ class StatusDetail < Stripe::StripeObject
575
+ # Machine-readable code explaining the reason for the Capability to be in its current status.
576
+ attr_reader :code
577
+ # Machine-readable code explaining how to make the Capability active.
578
+ attr_reader :resolution
579
+ end
580
+ # Whether the Capability has been requested.
581
+ attr_reader :requested
582
+ # The status of the Capability.
583
+ attr_reader :status
584
+ # Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
585
+ attr_reader :status_details
586
+ end
587
+
588
+ class OxxoPayments < Stripe::StripeObject
589
+ class StatusDetail < Stripe::StripeObject
590
+ # Machine-readable code explaining the reason for the Capability to be in its current status.
591
+ attr_reader :code
592
+ # Machine-readable code explaining how to make the Capability active.
593
+ attr_reader :resolution
594
+ end
595
+ # Whether the Capability has been requested.
596
+ attr_reader :requested
597
+ # The status of the Capability.
598
+ attr_reader :status
599
+ # Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
600
+ attr_reader :status_details
601
+ end
602
+
603
+ class P24Payments < Stripe::StripeObject
604
+ class StatusDetail < Stripe::StripeObject
605
+ # Machine-readable code explaining the reason for the Capability to be in its current status.
606
+ attr_reader :code
607
+ # Machine-readable code explaining how to make the Capability active.
608
+ attr_reader :resolution
609
+ end
610
+ # Whether the Capability has been requested.
611
+ attr_reader :requested
612
+ # The status of the Capability.
613
+ attr_reader :status
614
+ # Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
615
+ attr_reader :status_details
616
+ end
617
+
618
+ class PayByBankPayments < Stripe::StripeObject
619
+ class StatusDetail < Stripe::StripeObject
620
+ # Machine-readable code explaining the reason for the Capability to be in its current status.
621
+ attr_reader :code
622
+ # Machine-readable code explaining how to make the Capability active.
623
+ attr_reader :resolution
624
+ end
625
+ # Whether the Capability has been requested.
626
+ attr_reader :requested
627
+ # The status of the Capability.
628
+ attr_reader :status
629
+ # Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
630
+ attr_reader :status_details
631
+ end
632
+
633
+ class PaycoPayments < Stripe::StripeObject
634
+ class StatusDetail < Stripe::StripeObject
635
+ # Machine-readable code explaining the reason for the Capability to be in its current status.
636
+ attr_reader :code
637
+ # Machine-readable code explaining how to make the Capability active.
638
+ attr_reader :resolution
639
+ end
640
+ # Whether the Capability has been requested.
641
+ attr_reader :requested
642
+ # The status of the Capability.
643
+ attr_reader :status
644
+ # Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
645
+ attr_reader :status_details
646
+ end
647
+
648
+ class PaynowPayments < Stripe::StripeObject
649
+ class StatusDetail < Stripe::StripeObject
650
+ # Machine-readable code explaining the reason for the Capability to be in its current status.
651
+ attr_reader :code
652
+ # Machine-readable code explaining how to make the Capability active.
653
+ attr_reader :resolution
654
+ end
655
+ # Whether the Capability has been requested.
656
+ attr_reader :requested
657
+ # The status of the Capability.
658
+ attr_reader :status
659
+ # Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
660
+ attr_reader :status_details
661
+ end
662
+
663
+ class PromptpayPayments < Stripe::StripeObject
664
+ class StatusDetail < Stripe::StripeObject
665
+ # Machine-readable code explaining the reason for the Capability to be in its current status.
666
+ attr_reader :code
667
+ # Machine-readable code explaining how to make the Capability active.
668
+ attr_reader :resolution
669
+ end
670
+ # Whether the Capability has been requested.
671
+ attr_reader :requested
672
+ # The status of the Capability.
673
+ attr_reader :status
674
+ # Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
675
+ attr_reader :status_details
676
+ end
677
+
678
+ class RevolutPayPayments < Stripe::StripeObject
679
+ class StatusDetail < Stripe::StripeObject
680
+ # Machine-readable code explaining the reason for the Capability to be in its current status.
681
+ attr_reader :code
682
+ # Machine-readable code explaining how to make the Capability active.
683
+ attr_reader :resolution
684
+ end
685
+ # Whether the Capability has been requested.
686
+ attr_reader :requested
687
+ # The status of the Capability.
688
+ attr_reader :status
689
+ # Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
690
+ attr_reader :status_details
691
+ end
692
+
693
+ class SamsungPayPayments < Stripe::StripeObject
694
+ class StatusDetail < Stripe::StripeObject
695
+ # Machine-readable code explaining the reason for the Capability to be in its current status.
696
+ attr_reader :code
697
+ # Machine-readable code explaining how to make the Capability active.
698
+ attr_reader :resolution
699
+ end
700
+ # Whether the Capability has been requested.
701
+ attr_reader :requested
702
+ # The status of the Capability.
703
+ attr_reader :status
704
+ # Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
705
+ attr_reader :status_details
706
+ end
707
+
708
+ class SepaBankTransferPayments < Stripe::StripeObject
709
+ class StatusDetail < Stripe::StripeObject
710
+ # Machine-readable code explaining the reason for the Capability to be in its current status.
711
+ attr_reader :code
712
+ # Machine-readable code explaining how to make the Capability active.
713
+ attr_reader :resolution
714
+ end
715
+ # Whether the Capability has been requested.
716
+ attr_reader :requested
717
+ # The status of the Capability.
718
+ attr_reader :status
719
+ # Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
720
+ attr_reader :status_details
721
+ end
722
+
723
+ class SepaDebitPayments < Stripe::StripeObject
724
+ class StatusDetail < Stripe::StripeObject
725
+ # Machine-readable code explaining the reason for the Capability to be in its current status.
726
+ attr_reader :code
727
+ # Machine-readable code explaining how to make the Capability active.
728
+ attr_reader :resolution
729
+ end
730
+ # Whether the Capability has been requested.
731
+ attr_reader :requested
732
+ # The status of the Capability.
733
+ attr_reader :status
734
+ # Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
735
+ attr_reader :status_details
736
+ end
737
+
738
+ class StripeBalance < Stripe::StripeObject
739
+ class Payouts < Stripe::StripeObject
740
+ class StatusDetail < Stripe::StripeObject
741
+ # Machine-readable code explaining the reason for the Capability to be in its current status.
742
+ attr_reader :code
743
+ # Machine-readable code explaining how to make the Capability active.
744
+ attr_reader :resolution
745
+ end
746
+ # Whether the Capability has been requested.
747
+ attr_reader :requested
748
+ # The status of the Capability.
749
+ attr_reader :status
750
+ # Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
751
+ attr_reader :status_details
752
+ end
753
+ # Allows the account to do payouts using their Stripe Balance (/v1/balance).
754
+ attr_reader :payouts
755
+ end
756
+
757
+ class SwishPayments < Stripe::StripeObject
758
+ class StatusDetail < Stripe::StripeObject
759
+ # Machine-readable code explaining the reason for the Capability to be in its current status.
760
+ attr_reader :code
761
+ # Machine-readable code explaining how to make the Capability active.
762
+ attr_reader :resolution
763
+ end
764
+ # Whether the Capability has been requested.
765
+ attr_reader :requested
766
+ # The status of the Capability.
767
+ attr_reader :status
768
+ # Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
769
+ attr_reader :status_details
770
+ end
771
+
772
+ class TwintPayments < Stripe::StripeObject
773
+ class StatusDetail < Stripe::StripeObject
774
+ # Machine-readable code explaining the reason for the Capability to be in its current status.
775
+ attr_reader :code
776
+ # Machine-readable code explaining how to make the Capability active.
777
+ attr_reader :resolution
778
+ end
779
+ # Whether the Capability has been requested.
780
+ attr_reader :requested
781
+ # The status of the Capability.
782
+ attr_reader :status
783
+ # Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
784
+ attr_reader :status_details
785
+ end
786
+
787
+ class UsBankTransferPayments < Stripe::StripeObject
788
+ class StatusDetail < Stripe::StripeObject
789
+ # Machine-readable code explaining the reason for the Capability to be in its current status.
790
+ attr_reader :code
791
+ # Machine-readable code explaining how to make the Capability active.
792
+ attr_reader :resolution
793
+ end
794
+ # Whether the Capability has been requested.
795
+ attr_reader :requested
796
+ # The status of the Capability.
797
+ attr_reader :status
798
+ # Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
799
+ attr_reader :status_details
800
+ end
801
+
802
+ class ZipPayments < Stripe::StripeObject
803
+ class StatusDetail < Stripe::StripeObject
804
+ # Machine-readable code explaining the reason for the Capability to be in its current status.
805
+ attr_reader :code
806
+ # Machine-readable code explaining how to make the Capability active.
807
+ attr_reader :resolution
808
+ end
809
+ # Whether the Capability has been requested.
810
+ attr_reader :requested
811
+ # The status of the Capability.
812
+ attr_reader :status
813
+ # Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
814
+ attr_reader :status_details
815
+ end
816
+ # Allow the merchant to process ACH debit payments.
817
+ attr_reader :ach_debit_payments
818
+ # Allow the merchant to process ACSS debit payments.
819
+ attr_reader :acss_debit_payments
820
+ # Allow the merchant to process Affirm payments.
821
+ attr_reader :affirm_payments
822
+ # Allow the merchant to process Afterpay/Clearpay payments.
823
+ attr_reader :afterpay_clearpay_payments
824
+ # Allow the merchant to process Alma payments.
825
+ attr_reader :alma_payments
826
+ # Allow the merchant to process Amazon Pay payments.
827
+ attr_reader :amazon_pay_payments
828
+ # Allow the merchant to process Australian BECS Direct Debit payments.
829
+ attr_reader :au_becs_debit_payments
830
+ # Allow the merchant to process BACS Direct Debit payments.
831
+ attr_reader :bacs_debit_payments
832
+ # Allow the merchant to process Bancontact payments.
833
+ attr_reader :bancontact_payments
834
+ # Allow the merchant to process BLIK payments.
835
+ attr_reader :blik_payments
836
+ # Allow the merchant to process Boleto payments.
837
+ attr_reader :boleto_payments
838
+ # Allow the merchant to collect card payments.
839
+ attr_reader :card_payments
840
+ # Allow the merchant to process Cartes Bancaires payments.
841
+ attr_reader :cartes_bancaires_payments
842
+ # Allow the merchant to process Cash App payments.
843
+ attr_reader :cashapp_payments
844
+ # Allow the merchant to process EPS payments.
845
+ attr_reader :eps_payments
846
+ # Allow the merchant to process FPX payments.
847
+ attr_reader :fpx_payments
848
+ # Allow the merchant to process UK bank transfer payments.
849
+ attr_reader :gb_bank_transfer_payments
850
+ # Allow the merchant to process GrabPay payments.
851
+ attr_reader :grabpay_payments
852
+ # Allow the merchant to process iDEAL payments.
853
+ attr_reader :ideal_payments
854
+ # Allow the merchant to process JCB card payments.
855
+ attr_reader :jcb_payments
856
+ # Allow the merchant to process Japanese bank transfer payments.
857
+ attr_reader :jp_bank_transfer_payments
858
+ # Allow the merchant to process Kakao Pay payments.
859
+ attr_reader :kakao_pay_payments
860
+ # Allow the merchant to process Klarna payments.
861
+ attr_reader :klarna_payments
862
+ # Allow the merchant to process Konbini convenience store payments.
863
+ attr_reader :konbini_payments
864
+ # Allow the merchant to process Korean card payments.
865
+ attr_reader :kr_card_payments
866
+ # Allow the merchant to process Link payments.
867
+ attr_reader :link_payments
868
+ # Allow the merchant to process MobilePay payments.
869
+ attr_reader :mobilepay_payments
870
+ # Allow the merchant to process Multibanco payments.
871
+ attr_reader :multibanco_payments
872
+ # Allow the merchant to process Mexican bank transfer payments.
873
+ attr_reader :mx_bank_transfer_payments
874
+ # Allow the merchant to process Naver Pay payments.
875
+ attr_reader :naver_pay_payments
876
+ # Allow the merchant to process OXXO payments.
877
+ attr_reader :oxxo_payments
878
+ # Allow the merchant to process Przelewy24 (P24) payments.
879
+ attr_reader :p24_payments
880
+ # Allow the merchant to process Pay by Bank payments.
881
+ attr_reader :pay_by_bank_payments
882
+ # Allow the merchant to process PAYCO payments.
883
+ attr_reader :payco_payments
884
+ # Allow the merchant to process PayNow payments.
885
+ attr_reader :paynow_payments
886
+ # Allow the merchant to process PromptPay payments.
887
+ attr_reader :promptpay_payments
888
+ # Allow the merchant to process Revolut Pay payments.
889
+ attr_reader :revolut_pay_payments
890
+ # Allow the merchant to process Samsung Pay payments.
891
+ attr_reader :samsung_pay_payments
892
+ # Allow the merchant to process SEPA bank transfer payments.
893
+ attr_reader :sepa_bank_transfer_payments
894
+ # Allow the merchant to process SEPA Direct Debit payments.
895
+ attr_reader :sepa_debit_payments
896
+ # Capabilities that enable the merchant to manage their Stripe Balance (/v1/balance).
897
+ attr_reader :stripe_balance
898
+ # Allow the merchant to process Swish payments.
899
+ attr_reader :swish_payments
900
+ # Allow the merchant to process TWINT payments.
901
+ attr_reader :twint_payments
902
+ # Allow the merchant to process US bank transfer payments.
903
+ attr_reader :us_bank_transfer_payments
904
+ # Allow the merchant to process Zip payments.
905
+ attr_reader :zip_payments
906
+ end
907
+
908
+ class CardPayments < Stripe::StripeObject
909
+ class DeclineOn < Stripe::StripeObject
910
+ # 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.
911
+ attr_reader :avs_failure
912
+ # Whether Stripe automatically declines charges with an incorrect CVC. This setting only applies when a CVC is provided and it fails bank verification.
913
+ attr_reader :cvc_failure
914
+ end
915
+ # Automatically declines certain charge types regardless of whether the card issuer accepted or declined the charge.
916
+ attr_reader :decline_on
917
+ end
918
+
919
+ class SepaDebitPayments < Stripe::StripeObject
920
+ # Creditor ID for SEPA debit payments.
921
+ attr_reader :creditor_id
922
+ end
923
+
924
+ class StatementDescriptor < Stripe::StripeObject
925
+ # 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 Merchant Configuration settings documentation.
926
+ attr_reader :descriptor
927
+ # Default text that appears on statements for card charges outside of Japan, prefixing any dynamic statement_descriptor_suffix specified on the charge. To maximize space for the dynamic part of the descriptor, keep this text short. If you don’t specify this value, statement_descriptor is used as the prefix. For more information about statement descriptors and their requirements, see the Merchant Configuration settings documentation.
928
+ attr_reader :prefix
929
+ end
930
+
931
+ class Support < Stripe::StripeObject
932
+ class Address < Stripe::StripeObject
933
+ # City, district, suburb, town, or village.
934
+ attr_reader :city
935
+ # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
936
+ attr_reader :country
937
+ # Address line 1 (e.g., street, PO Box, or company name).
938
+ attr_reader :line1
939
+ # Address line 2 (e.g., apartment, suite, unit, or building).
940
+ attr_reader :line2
941
+ # ZIP or postal code.
942
+ attr_reader :postal_code
943
+ # State, county, province, or region.
944
+ attr_reader :state
945
+ # Town or cho-me.
946
+ attr_reader :town
947
+ end
948
+ # A publicly available mailing address for sending support issues to.
949
+ attr_reader :address
950
+ # A publicly available email address for sending support issues to.
951
+ attr_reader :email
952
+ # A publicly available phone number to call with support issues.
953
+ attr_reader :phone
954
+ # A publicly available website for handling support issues.
955
+ attr_reader :url
956
+ end
957
+ # Settings used for Bacs debit payments.
958
+ attr_reader :bacs_debit_payments
959
+ # Settings used to apply the merchant's branding to email receipts, invoices, Checkout, and other products.
960
+ attr_reader :branding
961
+ # Capabilities that have been requested on the Merchant Configuration.
962
+ attr_reader :capabilities
963
+ # Card payments settings.
964
+ attr_reader :card_payments
965
+ # The merchant category code for the merchant. MCCs are used to classify businesses based on the goods or services they provide.
966
+ attr_reader :mcc
967
+ # Settings used for SEPA debit payments.
968
+ attr_reader :sepa_debit_payments
969
+ # Statement descriptor.
970
+ attr_reader :statement_descriptor
971
+ # Publicly available contact information for sending support issues to.
972
+ attr_reader :support
973
+ end
974
+
975
+ class Recipient < Stripe::StripeObject
976
+ class Capabilities < Stripe::StripeObject
977
+ class BankAccounts < Stripe::StripeObject
978
+ class Local < Stripe::StripeObject
979
+ class StatusDetail < Stripe::StripeObject
980
+ # Machine-readable code explaining the reason for the Capability to be in its current status.
981
+ attr_reader :code
982
+ # Machine-readable code explaining how to make the Capability active.
983
+ attr_reader :resolution
984
+ end
985
+ # Whether the Capability has been requested.
986
+ attr_reader :requested
987
+ # The status of the Capability.
988
+ attr_reader :status
989
+ # Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
990
+ attr_reader :status_details
991
+ end
992
+
993
+ class Wire < Stripe::StripeObject
994
+ class StatusDetail < Stripe::StripeObject
995
+ # Machine-readable code explaining the reason for the Capability to be in its current status.
996
+ attr_reader :code
997
+ # Machine-readable code explaining how to make the Capability active.
998
+ attr_reader :resolution
999
+ end
1000
+ # Whether the Capability has been requested.
1001
+ attr_reader :requested
1002
+ # The status of the Capability.
1003
+ attr_reader :status
1004
+ # Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
1005
+ attr_reader :status_details
1006
+ end
1007
+ # Enables this Account to receive OutboundPayments to linked bank accounts over local networks.
1008
+ attr_reader :local
1009
+ # Enables this Account to receive OutboundPayments to linked bank accounts over wire.
1010
+ attr_reader :wire
1011
+ end
1012
+
1013
+ class Cards < Stripe::StripeObject
1014
+ class StatusDetail < Stripe::StripeObject
1015
+ # Machine-readable code explaining the reason for the Capability to be in its current status.
1016
+ attr_reader :code
1017
+ # Machine-readable code explaining how to make the Capability active.
1018
+ attr_reader :resolution
1019
+ end
1020
+ # Whether the Capability has been requested.
1021
+ attr_reader :requested
1022
+ # The status of the Capability.
1023
+ attr_reader :status
1024
+ # Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
1025
+ attr_reader :status_details
1026
+ end
1027
+
1028
+ class StripeBalance < Stripe::StripeObject
1029
+ class Payouts < Stripe::StripeObject
1030
+ class StatusDetail < Stripe::StripeObject
1031
+ # Machine-readable code explaining the reason for the Capability to be in its current status.
1032
+ attr_reader :code
1033
+ # Machine-readable code explaining how to make the Capability active.
1034
+ attr_reader :resolution
1035
+ end
1036
+ # Whether the Capability has been requested.
1037
+ attr_reader :requested
1038
+ # The status of the Capability.
1039
+ attr_reader :status
1040
+ # Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
1041
+ attr_reader :status_details
1042
+ end
1043
+
1044
+ class StripeTransfers < Stripe::StripeObject
1045
+ class StatusDetail < Stripe::StripeObject
1046
+ # Machine-readable code explaining the reason for the Capability to be in its current status.
1047
+ attr_reader :code
1048
+ # Machine-readable code explaining how to make the Capability active.
1049
+ attr_reader :resolution
1050
+ end
1051
+ # Whether the Capability has been requested.
1052
+ attr_reader :requested
1053
+ # The status of the Capability.
1054
+ attr_reader :status
1055
+ # Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
1056
+ attr_reader :status_details
1057
+ end
1058
+ # Allows the account to do payouts using their Stripe Balance (/v1/balance).
1059
+ attr_reader :payouts
1060
+ # Allows the account to receive /v1/transfers into their Stripe Balance (/v1/balance).
1061
+ attr_reader :stripe_transfers
1062
+ end
1063
+ # Capabilities that enable OutboundPayments to a bank account linked to this Account.
1064
+ attr_reader :bank_accounts
1065
+ # Capability that enable OutboundPayments to a debit card linked to this Account.
1066
+ attr_reader :cards
1067
+ # Capabilities that enable the recipient to manage their Stripe Balance (/v1/balance).
1068
+ attr_reader :stripe_balance
1069
+ end
1070
+
1071
+ class DefaultOutboundDestination < Stripe::StripeObject
1072
+ # The payout method ID of the default outbound destination.
1073
+ attr_reader :id
1074
+ # Closed Enum. The payout method type of the default outbound destination.
1075
+ attr_reader :type
1076
+ end
1077
+ # Capabilities that have been requested on the Recipient Configuration.
1078
+ attr_reader :capabilities
1079
+ # The payout method to be used as a default outbound destination. This will allow the PayoutMethod to be omitted on OutboundPayments made through the dashboard.
1080
+ attr_reader :default_outbound_destination
1081
+ end
1082
+
1083
+ class Storer < Stripe::StripeObject
1084
+ class Capabilities < Stripe::StripeObject
1085
+ class FinancialAddresses < Stripe::StripeObject
1086
+ class BankAccounts < Stripe::StripeObject
1087
+ class StatusDetail < Stripe::StripeObject
1088
+ # Machine-readable code explaining the reason for the Capability to be in its current status.
1089
+ attr_reader :code
1090
+ # Machine-readable code explaining how to make the Capability active.
1091
+ attr_reader :resolution
1092
+ end
1093
+ # Whether the Capability has been requested.
1094
+ attr_reader :requested
1095
+ # The status of the Capability.
1096
+ attr_reader :status
1097
+ # Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
1098
+ attr_reader :status_details
1099
+ end
1100
+ # Can provision a bank-account like financial address (VBAN) to credit/debit a FinancialAccount.
1101
+ attr_reader :bank_accounts
1102
+ end
1103
+
1104
+ class HoldsCurrencies < Stripe::StripeObject
1105
+ class Gbp < Stripe::StripeObject
1106
+ class StatusDetail < Stripe::StripeObject
1107
+ # Machine-readable code explaining the reason for the Capability to be in its current status.
1108
+ attr_reader :code
1109
+ # Machine-readable code explaining how to make the Capability active.
1110
+ attr_reader :resolution
1111
+ end
1112
+ # Whether the Capability has been requested.
1113
+ attr_reader :requested
1114
+ # The status of the Capability.
1115
+ attr_reader :status
1116
+ # Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
1117
+ attr_reader :status_details
1118
+ end
1119
+ # Can hold storage-type funds on Stripe in GBP.
1120
+ attr_reader :gbp
1121
+ end
1122
+
1123
+ class InboundTransfers < Stripe::StripeObject
1124
+ class BankAccounts < Stripe::StripeObject
1125
+ class StatusDetail < Stripe::StripeObject
1126
+ # Machine-readable code explaining the reason for the Capability to be in its current status.
1127
+ attr_reader :code
1128
+ # Machine-readable code explaining how to make the Capability active.
1129
+ attr_reader :resolution
1130
+ end
1131
+ # Whether the Capability has been requested.
1132
+ attr_reader :requested
1133
+ # The status of the Capability.
1134
+ attr_reader :status
1135
+ # Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
1136
+ attr_reader :status_details
1137
+ end
1138
+ # Can pull funds from an external bank account, owned by yourself, to a FinancialAccount.
1139
+ attr_reader :bank_accounts
1140
+ end
1141
+
1142
+ class OutboundPayments < Stripe::StripeObject
1143
+ class BankAccounts < Stripe::StripeObject
1144
+ class StatusDetail < Stripe::StripeObject
1145
+ # Machine-readable code explaining the reason for the Capability to be in its current status.
1146
+ attr_reader :code
1147
+ # Machine-readable code explaining how to make the Capability active.
1148
+ attr_reader :resolution
1149
+ end
1150
+ # Whether the Capability has been requested.
1151
+ attr_reader :requested
1152
+ # The status of the Capability.
1153
+ attr_reader :status
1154
+ # Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
1155
+ attr_reader :status_details
1156
+ end
1157
+
1158
+ class Cards < Stripe::StripeObject
1159
+ class StatusDetail < Stripe::StripeObject
1160
+ # Machine-readable code explaining the reason for the Capability to be in its current status.
1161
+ attr_reader :code
1162
+ # Machine-readable code explaining how to make the Capability active.
1163
+ attr_reader :resolution
1164
+ end
1165
+ # Whether the Capability has been requested.
1166
+ attr_reader :requested
1167
+ # The status of the Capability.
1168
+ attr_reader :status
1169
+ # Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
1170
+ attr_reader :status_details
1171
+ end
1172
+
1173
+ class FinancialAccounts < Stripe::StripeObject
1174
+ class StatusDetail < Stripe::StripeObject
1175
+ # Machine-readable code explaining the reason for the Capability to be in its current status.
1176
+ attr_reader :code
1177
+ # Machine-readable code explaining how to make the Capability active.
1178
+ attr_reader :resolution
1179
+ end
1180
+ # Whether the Capability has been requested.
1181
+ attr_reader :requested
1182
+ # The status of the Capability.
1183
+ attr_reader :status
1184
+ # Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
1185
+ attr_reader :status_details
1186
+ end
1187
+ # Can send funds from a FinancialAccount to a bank account, owned by someone else.
1188
+ attr_reader :bank_accounts
1189
+ # Can send funds from a FinancialAccount to a debit card, owned by someone else.
1190
+ attr_reader :cards
1191
+ # Can send funds from a FinancialAccount to another FinancialAccount, owned by someone else.
1192
+ attr_reader :financial_accounts
1193
+ end
1194
+
1195
+ class OutboundTransfers < Stripe::StripeObject
1196
+ class BankAccounts < Stripe::StripeObject
1197
+ class StatusDetail < Stripe::StripeObject
1198
+ # Machine-readable code explaining the reason for the Capability to be in its current status.
1199
+ attr_reader :code
1200
+ # Machine-readable code explaining how to make the Capability active.
1201
+ attr_reader :resolution
1202
+ end
1203
+ # Whether the Capability has been requested.
1204
+ attr_reader :requested
1205
+ # The status of the Capability.
1206
+ attr_reader :status
1207
+ # Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
1208
+ attr_reader :status_details
1209
+ end
1210
+
1211
+ class FinancialAccounts < Stripe::StripeObject
1212
+ class StatusDetail < Stripe::StripeObject
1213
+ # Machine-readable code explaining the reason for the Capability to be in its current status.
1214
+ attr_reader :code
1215
+ # Machine-readable code explaining how to make the Capability active.
1216
+ attr_reader :resolution
1217
+ end
1218
+ # Whether the Capability has been requested.
1219
+ attr_reader :requested
1220
+ # The status of the Capability.
1221
+ attr_reader :status
1222
+ # Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
1223
+ attr_reader :status_details
1224
+ end
1225
+ # Can send funds from a FinancialAccount, to a bank account, owned by yourself.
1226
+ attr_reader :bank_accounts
1227
+ # Can send funds from a FinancialAccount to another FinancialAccount, owned by yourself.
1228
+ attr_reader :financial_accounts
1229
+ end
1230
+ # Can provision a financial address to credit/debit a FinancialAccount.
1231
+ attr_reader :financial_addresses
1232
+ # Can hold storage-type funds on Stripe.
1233
+ attr_reader :holds_currencies
1234
+ # Can pull funds from an external source, owned by yourself, to a FinancialAccount.
1235
+ attr_reader :inbound_transfers
1236
+ # Can send funds from a FinancialAccount to a destination owned by someone else.
1237
+ attr_reader :outbound_payments
1238
+ # Can send funds from a FinancialAccount to a destination owned by yourself.
1239
+ attr_reader :outbound_transfers
1240
+ end
1241
+ # Capabilities that have been requested on the Storer Configuration.
1242
+ attr_reader :capabilities
1243
+ end
1244
+ # The Customer Configuration allows the Account to be used in inbound payment flows.
1245
+ attr_reader :customer
1246
+ # The Merchant configuration allows the Account to act as a connected account and collect payments facilitated by a Connect platform. You can add this configuration to your connected accounts only if you’ve completed onboarding as a Connect platform.
1247
+ attr_reader :merchant
1248
+ # The Recipient Configuration allows the Account to receive funds.
1249
+ attr_reader :recipient
1250
+ # The Storer Configuration allows the Account to store and move funds using stored-value FinancialAccounts.
1251
+ attr_reader :storer
1252
+ end
1253
+
1254
+ class Defaults < Stripe::StripeObject
1255
+ class Responsibilities < Stripe::StripeObject
1256
+ # A value indicating the responsible payer of a bundle of Stripe fees for pricing-control eligible products on this Account.
1257
+ attr_reader :fees_collector
1258
+ # A value indicating who is responsible for losses when this Account can’t pay back negative balances from payments.
1259
+ attr_reader :losses_collector
1260
+ end
1261
+ # 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).
1262
+ attr_reader :currency
1263
+ # The Account's preferred locales (languages), ordered by preference.
1264
+ attr_reader :locales
1265
+ # Default responsibilities held by either Stripe or the platform.
1266
+ attr_reader :responsibilities
1267
+ end
1268
+
1269
+ class Identity < Stripe::StripeObject
1270
+ class Attestations < Stripe::StripeObject
1271
+ class DirectorshipDeclaration < Stripe::StripeObject
1272
+ # The time marking when the director attestation was made. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z.
1273
+ attr_reader :date
1274
+ # The IP address from which the director attestation was made.
1275
+ attr_reader :ip
1276
+ # The user agent of the browser from which the director attestation was made.
1277
+ attr_reader :user_agent
1278
+ end
1279
+
1280
+ class OwnershipDeclaration < Stripe::StripeObject
1281
+ # The time marking when the beneficial owner attestation was made. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z.
1282
+ attr_reader :date
1283
+ # The IP address from which the beneficial owner attestation was made.
1284
+ attr_reader :ip
1285
+ # The user agent of the browser from which the beneficial owner attestation was made.
1286
+ attr_reader :user_agent
1287
+ end
1288
+
1289
+ class PersonsProvided < Stripe::StripeObject
1290
+ # Whether the company’s directors have been provided. Set this Boolean to true after creating all the company’s directors with the [Persons API](https://docs.stripe.com/api/v2/core/accounts/createperson).
1291
+ attr_reader :directors
1292
+ # Whether the company’s executives have been provided. Set this Boolean to true after creating all the company’s executives with the [Persons API](https://docs.stripe.com/api/v2/core/accounts/createperson).
1293
+ attr_reader :executives
1294
+ # Whether the company’s owners have been provided. Set this Boolean to true after creating all the company’s owners with the [Persons API](https://docs.stripe.com/api/v2/core/accounts/createperson).
1295
+ attr_reader :owners
1296
+ # Reason for why the company is exempt from providing ownership information.
1297
+ attr_reader :ownership_exemption_reason
1298
+ end
1299
+
1300
+ class TermsOfService < Stripe::StripeObject
1301
+ class Account < Stripe::StripeObject
1302
+ # The time when the Account's representative accepted the terms of service. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z.
1303
+ attr_reader :date
1304
+ # The IP address from which the Account's representative accepted the terms of service.
1305
+ attr_reader :ip
1306
+ # The user agent of the browser from which the Account's representative accepted the terms of service.
1307
+ attr_reader :user_agent
1308
+ end
1309
+
1310
+ class Storer < Stripe::StripeObject
1311
+ # The time when the Account's representative accepted the terms of service. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z.
1312
+ attr_reader :date
1313
+ # The IP address from which the Account's representative accepted the terms of service.
1314
+ attr_reader :ip
1315
+ # The user agent of the browser from which the Account's representative accepted the terms of service.
1316
+ attr_reader :user_agent
1317
+ end
1318
+ # Details on the Account's acceptance of the [Stripe Services Agreement](https://docs.stripe.com/connect/updating-accounts#tos-acceptance).
1319
+ attr_reader :account
1320
+ # Details on the Account's acceptance of Treasury-specific terms of service.
1321
+ attr_reader :storer
1322
+ end
1323
+ # This hash is used to attest that the directors information provided to Stripe is both current and correct.
1324
+ attr_reader :directorship_declaration
1325
+ # This hash is used to attest that the beneficial owner information provided to Stripe is both current and correct.
1326
+ attr_reader :ownership_declaration
1327
+ # Attestation that all Persons with a specific Relationship value have been provided.
1328
+ attr_reader :persons_provided
1329
+ # Attestations of accepted terms of service agreements.
1330
+ attr_reader :terms_of_service
1331
+ end
1332
+
1333
+ class BusinessDetails < Stripe::StripeObject
1334
+ class Address < Stripe::StripeObject
1335
+ # City, district, suburb, town, or village.
1336
+ attr_reader :city
1337
+ # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
1338
+ attr_reader :country
1339
+ # Address line 1 (e.g., street, PO Box, or company name).
1340
+ attr_reader :line1
1341
+ # Address line 2 (e.g., apartment, suite, unit, or building).
1342
+ attr_reader :line2
1343
+ # ZIP or postal code.
1344
+ attr_reader :postal_code
1345
+ # State, county, province, or region.
1346
+ attr_reader :state
1347
+ # Town or cho-me.
1348
+ attr_reader :town
1349
+ end
1350
+
1351
+ class AnnualRevenue < Stripe::StripeObject
1352
+ # A non-negative integer representing the amount in the smallest currency unit.
1353
+ attr_reader :amount
1354
+ # The close-out date of the preceding fiscal year in ISO 8601 format. E.g. 2023-12-31 for the 31st of December, 2023.
1355
+ attr_reader :fiscal_year_end
1356
+ end
1357
+
1358
+ class Documents < Stripe::StripeObject
1359
+ class BankAccountOwnershipVerification < Stripe::StripeObject
1360
+ # One or more document IDs returned by a [file upload](https://docs.stripe.com/api/persons/update#create_file) with a purpose value of `account_requirement`.
1361
+ attr_reader :files
1362
+ # The format of the document. Currently supports `files` only.
1363
+ attr_reader :type
1364
+ end
1365
+
1366
+ class CompanyLicense < Stripe::StripeObject
1367
+ # One or more document IDs returned by a [file upload](https://docs.stripe.com/api/persons/update#create_file) with a purpose value of `account_requirement`.
1368
+ attr_reader :files
1369
+ # The format of the document. Currently supports `files` only.
1370
+ attr_reader :type
1371
+ end
1372
+
1373
+ class CompanyMemorandumOfAssociation < Stripe::StripeObject
1374
+ # One or more document IDs returned by a [file upload](https://docs.stripe.com/api/persons/update#create_file) with a purpose value of `account_requirement`.
1375
+ attr_reader :files
1376
+ # The format of the document. Currently supports `files` only.
1377
+ attr_reader :type
1378
+ end
1379
+
1380
+ class CompanyMinisterialDecree < Stripe::StripeObject
1381
+ # One or more document IDs returned by a [file upload](https://docs.stripe.com/api/persons/update#create_file) with a purpose value of `account_requirement`.
1382
+ attr_reader :files
1383
+ # The format of the document. Currently supports `files` only.
1384
+ attr_reader :type
1385
+ end
1386
+
1387
+ class CompanyRegistrationVerification < Stripe::StripeObject
1388
+ # One or more document IDs returned by a [file upload](https://docs.stripe.com/api/persons/update#create_file) with a purpose value of `account_requirement`.
1389
+ attr_reader :files
1390
+ # The format of the document. Currently supports `files` only.
1391
+ attr_reader :type
1392
+ end
1393
+
1394
+ class CompanyTaxIdVerification < Stripe::StripeObject
1395
+ # One or more document IDs returned by a [file upload](https://docs.stripe.com/api/persons/update#create_file) with a purpose value of `account_requirement`.
1396
+ attr_reader :files
1397
+ # The format of the document. Currently supports `files` only.
1398
+ attr_reader :type
1399
+ end
1400
+
1401
+ class PrimaryVerification < Stripe::StripeObject
1402
+ class FrontBack < Stripe::StripeObject
1403
+ # A [file upload](https://docs.stripe.com/api/persons/update#create_file) token representing the back of the verification document. The purpose of the uploaded file should be '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.
1404
+ attr_reader :back
1405
+ # A [file upload](https://docs.stripe.com/api/persons/update#create_file) token representing the front of the verification document. The purpose of the uploaded file should be '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.
1406
+ attr_reader :front
1407
+ end
1408
+ # The [file upload](https://docs.stripe.com/api/persons/update#create_file) tokens for the front and back of the verification document.
1409
+ attr_reader :front_back
1410
+ # The format of the verification document. Currently supports `front_back` only.
1411
+ attr_reader :type
1412
+ end
1413
+
1414
+ class ProofOfAddress < Stripe::StripeObject
1415
+ # One or more document IDs returned by a [file upload](https://docs.stripe.com/api/persons/update#create_file) with a purpose value of `account_requirement`.
1416
+ attr_reader :files
1417
+ # The format of the document. Currently supports `files` only.
1418
+ attr_reader :type
1419
+ end
1420
+
1421
+ class ProofOfRegistration < Stripe::StripeObject
1422
+ # One or more document IDs returned by a [file upload](https://docs.stripe.com/api/persons/update#create_file) with a purpose value of `account_requirement`.
1423
+ attr_reader :files
1424
+ # The format of the document. Currently supports `files` only.
1425
+ attr_reader :type
1426
+ end
1427
+
1428
+ class ProofOfUltimateBeneficialOwnership < Stripe::StripeObject
1429
+ # One or more document IDs returned by a [file upload](https://docs.stripe.com/api/persons/update#create_file) with a purpose value of `account_requirement`.
1430
+ attr_reader :files
1431
+ # The format of the document. Currently supports `files` only.
1432
+ attr_reader :type
1433
+ end
1434
+ # One or more documents that support the 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.
1435
+ attr_reader :bank_account_ownership_verification
1436
+ # One or more documents that demonstrate proof of a company’s license to operate.
1437
+ attr_reader :company_license
1438
+ # One or more documents showing the company’s Memorandum of Association.
1439
+ attr_reader :company_memorandum_of_association
1440
+ # Certain countries only: One or more documents showing the ministerial decree legalizing the company’s establishment.
1441
+ attr_reader :company_ministerial_decree
1442
+ # One or more documents that demonstrate proof of a company’s registration with the appropriate local authorities.
1443
+ attr_reader :company_registration_verification
1444
+ # One or more documents that demonstrate proof of a company’s tax ID.
1445
+ attr_reader :company_tax_id_verification
1446
+ # A document verifying the business.
1447
+ attr_reader :primary_verification
1448
+ # One or more documents that demonstrate proof of address.
1449
+ attr_reader :proof_of_address
1450
+ # One or more documents showing the company’s proof of registration with the national business registry.
1451
+ attr_reader :proof_of_registration
1452
+ # One or more documents that demonstrate proof of ultimate beneficial ownership.
1453
+ attr_reader :proof_of_ultimate_beneficial_ownership
1454
+ end
1455
+
1456
+ class IdNumber < Stripe::StripeObject
1457
+ # The registrar of the ID number (Only valid for DE ID number types).
1458
+ attr_reader :registrar
1459
+ # Open Enum. The ID number type of a business entity.
1460
+ attr_reader :type
1461
+ end
1462
+
1463
+ class MonthlyEstimatedRevenue < Stripe::StripeObject
1464
+ # A non-negative integer representing the amount in the smallest currency unit.
1465
+ attr_reader :amount
1466
+ end
1467
+
1468
+ class ScriptAddresses < Stripe::StripeObject
1469
+ class Kana < Stripe::StripeObject
1470
+ # City, district, suburb, town, or village.
1471
+ attr_reader :city
1472
+ # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
1473
+ attr_reader :country
1474
+ # Address line 1 (e.g., street, PO Box, or company name).
1475
+ attr_reader :line1
1476
+ # Address line 2 (e.g., apartment, suite, unit, or building).
1477
+ attr_reader :line2
1478
+ # ZIP or postal code.
1479
+ attr_reader :postal_code
1480
+ # State, county, province, or region.
1481
+ attr_reader :state
1482
+ # Town or cho-me.
1483
+ attr_reader :town
1484
+ end
1485
+
1486
+ class Kanji < Stripe::StripeObject
1487
+ # City, district, suburb, town, or village.
1488
+ attr_reader :city
1489
+ # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
1490
+ attr_reader :country
1491
+ # Address line 1 (e.g., street, PO Box, or company name).
1492
+ attr_reader :line1
1493
+ # Address line 2 (e.g., apartment, suite, unit, or building).
1494
+ attr_reader :line2
1495
+ # ZIP or postal code.
1496
+ attr_reader :postal_code
1497
+ # State, county, province, or region.
1498
+ attr_reader :state
1499
+ # Town or cho-me.
1500
+ attr_reader :town
1501
+ end
1502
+ # Kana Address.
1503
+ attr_reader :kana
1504
+ # Kanji Address.
1505
+ attr_reader :kanji
1506
+ end
1507
+
1508
+ class ScriptNames < Stripe::StripeObject
1509
+ class Kana < Stripe::StripeObject
1510
+ # Registered name of the business.
1511
+ attr_reader :registered_name
1512
+ end
1513
+
1514
+ class Kanji < Stripe::StripeObject
1515
+ # Registered name of the business.
1516
+ attr_reader :registered_name
1517
+ end
1518
+ # Kana name.
1519
+ attr_reader :kana
1520
+ # Kanji name.
1521
+ attr_reader :kanji
1522
+ end
1523
+ # The company’s primary address.
1524
+ attr_reader :address
1525
+ # The business gross annual revenue for its preceding fiscal year.
1526
+ attr_reader :annual_revenue
1527
+ # Documents that may be submitted to satisfy various informational requests.
1528
+ attr_reader :documents
1529
+ # The company’s legal name.
1530
+ attr_reader :doing_business_as
1531
+ # An estimated upper bound of employees, contractors, vendors, etc. currently working for the business.
1532
+ attr_reader :estimated_worker_count
1533
+ # The provided ID numbers of a business entity.
1534
+ attr_reader :id_numbers
1535
+ # An estimate of the monthly revenue of the business.
1536
+ attr_reader :monthly_estimated_revenue
1537
+ # The company’s phone number (used for verification).
1538
+ attr_reader :phone
1539
+ # Internal-only description of the product sold or service provided by the business. It’s used by Stripe for risk and underwriting purposes.
1540
+ attr_reader :product_description
1541
+ # The business legal name.
1542
+ attr_reader :registered_name
1543
+ # The business registration address of the business entity in non latin script.
1544
+ attr_reader :script_addresses
1545
+ # The business legal name in non latin script.
1546
+ attr_reader :script_names
1547
+ # The category identifying the legal structure of the business.
1548
+ attr_reader :structure
1549
+ # The business's publicly available website.
1550
+ attr_reader :url
1551
+ end
1552
+
1553
+ class Individual < Stripe::StripeObject
1554
+ class AdditionalAddress < Stripe::StripeObject
1555
+ # City, district, suburb, town, or village.
1556
+ attr_reader :city
1557
+ # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
1558
+ attr_reader :country
1559
+ # Address line 1 (e.g., street, PO Box, or company name).
1560
+ attr_reader :line1
1561
+ # Address line 2 (e.g., apartment, suite, unit, or building).
1562
+ attr_reader :line2
1563
+ # ZIP or postal code.
1564
+ attr_reader :postal_code
1565
+ # Purpose of additional address.
1566
+ attr_reader :purpose
1567
+ # State, county, province, or region.
1568
+ attr_reader :state
1569
+ # Town or cho-me.
1570
+ attr_reader :town
1571
+ end
1572
+
1573
+ class AdditionalName < Stripe::StripeObject
1574
+ # The individual's full name.
1575
+ attr_reader :full_name
1576
+ # The individual's first or given name.
1577
+ attr_reader :given_name
1578
+ # The purpose or type of the additional name.
1579
+ attr_reader :purpose
1580
+ # The individual's last or family name.
1581
+ attr_reader :surname
1582
+ end
1583
+
1584
+ class AdditionalTermsOfService < Stripe::StripeObject
1585
+ class Account < Stripe::StripeObject
1586
+ # The time when the Account's representative accepted the terms of service. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z.
1587
+ attr_reader :date
1588
+ # The IP address from which the Account's representative accepted the terms of service.
1589
+ attr_reader :ip
1590
+ # The user agent of the browser from which the Account's representative accepted the terms of service.
1591
+ attr_reader :user_agent
1592
+ end
1593
+ # Stripe terms of service agreement.
1594
+ attr_reader :account
1595
+ end
1596
+
1597
+ class Address < Stripe::StripeObject
1598
+ # City, district, suburb, town, or village.
1599
+ attr_reader :city
1600
+ # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
1601
+ attr_reader :country
1602
+ # Address line 1 (e.g., street, PO Box, or company name).
1603
+ attr_reader :line1
1604
+ # Address line 2 (e.g., apartment, suite, unit, or building).
1605
+ attr_reader :line2
1606
+ # ZIP or postal code.
1607
+ attr_reader :postal_code
1608
+ # State, county, province, or region.
1609
+ attr_reader :state
1610
+ # Town or cho-me.
1611
+ attr_reader :town
1612
+ end
1613
+
1614
+ class DateOfBirth < Stripe::StripeObject
1615
+ # The day of birth, between 1 and 31.
1616
+ attr_reader :day
1617
+ # The month of birth, between 1 and 12.
1618
+ attr_reader :month
1619
+ # The four-digit year of birth.
1620
+ attr_reader :year
1621
+ end
1622
+
1623
+ class Documents < Stripe::StripeObject
1624
+ class CompanyAuthorization < Stripe::StripeObject
1625
+ # One or more document IDs returned by a [file upload](https://docs.stripe.com/api/persons/update#create_file) with a purpose value of `account_requirement`.
1626
+ attr_reader :files
1627
+ # The format of the document. Currently supports `files` only.
1628
+ attr_reader :type
1629
+ end
1630
+
1631
+ class Passport < Stripe::StripeObject
1632
+ # One or more document IDs returned by a [file upload](https://docs.stripe.com/api/persons/update#create_file) with a purpose value of `account_requirement`.
1633
+ attr_reader :files
1634
+ # The format of the document. Currently supports `files` only.
1635
+ attr_reader :type
1636
+ end
1637
+
1638
+ class PrimaryVerification < Stripe::StripeObject
1639
+ class FrontBack < Stripe::StripeObject
1640
+ # A [file upload](https://docs.stripe.com/api/persons/update#create_file) token representing the back of the verification document. The purpose of the uploaded file should be '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.
1641
+ attr_reader :back
1642
+ # A [file upload](https://docs.stripe.com/api/persons/update#create_file) token representing the front of the verification document. The purpose of the uploaded file should be '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.
1643
+ attr_reader :front
1644
+ end
1645
+ # The [file upload](https://docs.stripe.com/api/persons/update#create_file) tokens for the front and back of the verification document.
1646
+ attr_reader :front_back
1647
+ # The format of the verification document. Currently supports `front_back` only.
1648
+ attr_reader :type
1649
+ end
1650
+
1651
+ class SecondaryVerification < Stripe::StripeObject
1652
+ class FrontBack < Stripe::StripeObject
1653
+ # A [file upload](https://docs.stripe.com/api/persons/update#create_file) token representing the back of the verification document. The purpose of the uploaded file should be '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.
1654
+ attr_reader :back
1655
+ # A [file upload](https://docs.stripe.com/api/persons/update#create_file) token representing the front of the verification document. The purpose of the uploaded file should be '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.
1656
+ attr_reader :front
1657
+ end
1658
+ # The [file upload](https://docs.stripe.com/api/persons/update#create_file) tokens for the front and back of the verification document.
1659
+ attr_reader :front_back
1660
+ # The format of the verification document. Currently supports `front_back` only.
1661
+ attr_reader :type
1662
+ end
1663
+
1664
+ class Visa < Stripe::StripeObject
1665
+ # One or more document IDs returned by a [file upload](https://docs.stripe.com/api/persons/update#create_file) with a purpose value of `account_requirement`.
1666
+ attr_reader :files
1667
+ # The format of the document. Currently supports `files` only.
1668
+ attr_reader :type
1669
+ end
1670
+ # One or more documents that demonstrate proof that this person is authorized to represent the company.
1671
+ attr_reader :company_authorization
1672
+ # One or more documents showing the person’s passport page with photo and personal data.
1673
+ attr_reader :passport
1674
+ # An identifying document showing the person's name, either a passport or local ID card.
1675
+ attr_reader :primary_verification
1676
+ # A document showing address, either a passport, local ID card, or utility bill from a well-known utility company.
1677
+ attr_reader :secondary_verification
1678
+ # One or more documents showing the person’s visa required for living in the country where they are residing.
1679
+ attr_reader :visa
1680
+ end
1681
+
1682
+ class IdNumber < Stripe::StripeObject
1683
+ # The ID number type of an individual.
1684
+ attr_reader :type
1685
+ end
1686
+
1687
+ class Relationship < Stripe::StripeObject
1688
+ # Whether the individual is an authorizer of the Account’s legal entity.
1689
+ attr_reader :authorizer
1690
+ # Whether the individual 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.
1691
+ attr_reader :director
1692
+ # Whether the individual has significant responsibility to control, manage, or direct the organization.
1693
+ attr_reader :executive
1694
+ # Whether the individual is the legal guardian of the Account’s representative.
1695
+ attr_reader :legal_guardian
1696
+ # Whether the individual is an owner of the Account’s legal entity.
1697
+ attr_reader :owner
1698
+ # The percent owned by the individual of the Account’s legal entity.
1699
+ attr_reader :percent_ownership
1700
+ # Whether the individual is authorized as the primary representative of the Account. This is the person nominated by the business to provide information about themselves, and general information about the account. There can only be one representative at any given time. At the time the account is created, this person should be set to the person responsible for opening the account.
1701
+ attr_reader :representative
1702
+ # The individual's title (e.g., CEO, Support Engineer).
1703
+ attr_reader :title
1704
+ end
1705
+
1706
+ class ScriptAddresses < Stripe::StripeObject
1707
+ class Kana < Stripe::StripeObject
1708
+ # City, district, suburb, town, or village.
1709
+ attr_reader :city
1710
+ # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
1711
+ attr_reader :country
1712
+ # Address line 1 (e.g., street, PO Box, or company name).
1713
+ attr_reader :line1
1714
+ # Address line 2 (e.g., apartment, suite, unit, or building).
1715
+ attr_reader :line2
1716
+ # ZIP or postal code.
1717
+ attr_reader :postal_code
1718
+ # State, county, province, or region.
1719
+ attr_reader :state
1720
+ # Town or cho-me.
1721
+ attr_reader :town
1722
+ end
1723
+
1724
+ class Kanji < Stripe::StripeObject
1725
+ # City, district, suburb, town, or village.
1726
+ attr_reader :city
1727
+ # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
1728
+ attr_reader :country
1729
+ # Address line 1 (e.g., street, PO Box, or company name).
1730
+ attr_reader :line1
1731
+ # Address line 2 (e.g., apartment, suite, unit, or building).
1732
+ attr_reader :line2
1733
+ # ZIP or postal code.
1734
+ attr_reader :postal_code
1735
+ # State, county, province, or region.
1736
+ attr_reader :state
1737
+ # Town or cho-me.
1738
+ attr_reader :town
1739
+ end
1740
+ # Kana Address.
1741
+ attr_reader :kana
1742
+ # Kanji Address.
1743
+ attr_reader :kanji
1744
+ end
1745
+
1746
+ class ScriptNames < Stripe::StripeObject
1747
+ class Kana < Stripe::StripeObject
1748
+ # The person's first or given name.
1749
+ attr_reader :given_name
1750
+ # The person's last or family name.
1751
+ attr_reader :surname
1752
+ end
1753
+
1754
+ class Kanji < Stripe::StripeObject
1755
+ # The person's first or given name.
1756
+ attr_reader :given_name
1757
+ # The person's last or family name.
1758
+ attr_reader :surname
1759
+ end
1760
+ # Persons name in kana script.
1761
+ attr_reader :kana
1762
+ # Persons name in kanji script.
1763
+ attr_reader :kanji
1764
+ end
1765
+ # The account ID which the individual belongs to.
1766
+ attr_reader :account
1767
+ # Additional addresses associated with the individual.
1768
+ attr_reader :additional_addresses
1769
+ # Additional names (e.g. aliases) associated with the individual.
1770
+ attr_reader :additional_names
1771
+ # Terms of service acceptances.
1772
+ attr_reader :additional_terms_of_service
1773
+ # The individual's residential address.
1774
+ attr_reader :address
1775
+ # Time at which the object was created. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z.
1776
+ attr_reader :created
1777
+ # The individual's date of birth.
1778
+ attr_reader :date_of_birth
1779
+ # Documents that may be submitted to satisfy various informational requests.
1780
+ attr_reader :documents
1781
+ # The individual's email address.
1782
+ attr_reader :email
1783
+ # The individual's first name.
1784
+ attr_reader :given_name
1785
+ # Unique identifier for the object.
1786
+ attr_reader :id
1787
+ # The identification numbers (e.g., SSN) associated with the individual.
1788
+ attr_reader :id_numbers
1789
+ # The individual's gender (International regulations require either "male” or "female").
1790
+ attr_reader :legal_gender
1791
+ # Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format.
1792
+ attr_reader :metadata
1793
+ # The countries where the individual is a national. Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
1794
+ attr_reader :nationalities
1795
+ # String representing the object's type. Objects of the same type share the same value.
1796
+ attr_reader :object
1797
+ # The individual's phone number.
1798
+ attr_reader :phone
1799
+ # Indicates if the individual 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.
1800
+ attr_reader :political_exposure
1801
+ # The relationship that this individual has with the Account's identity.
1802
+ attr_reader :relationship
1803
+ # The script addresses (e.g., non-Latin characters) associated with the individual.
1804
+ attr_reader :script_addresses
1805
+ # The script names (e.g. non-Latin characters) associated with the individual.
1806
+ attr_reader :script_names
1807
+ # The individual's last name.
1808
+ attr_reader :surname
1809
+ # Time at which the object was last updated.
1810
+ attr_reader :updated
1811
+ end
1812
+ # Attestations from the identity's key people, e.g. owners, executives, directors.
1813
+ attr_reader :attestations
1814
+ # Information about the company or business.
1815
+ attr_reader :business_details
1816
+ # 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](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country code.
1817
+ attr_reader :country
1818
+ # The entity type.
1819
+ attr_reader :entity_type
1820
+ # Information about the individual represented by the Account. This property is `null` unless `entity_type` is set to `individual`.
1821
+ attr_reader :individual
1822
+ end
1823
+
1824
+ class Requirements < Stripe::StripeObject
1825
+ class Entry < Stripe::StripeObject
1826
+ class Error < Stripe::StripeObject
1827
+ # Machine-readable code describing the error.
1828
+ attr_reader :code
1829
+ # Human-readable description of the error.
1830
+ attr_reader :description
1831
+ end
1832
+
1833
+ class Impact < Stripe::StripeObject
1834
+ class RestrictsCapability < Stripe::StripeObject
1835
+ class Deadline < Stripe::StripeObject
1836
+ # The current status of the requirement's impact.
1837
+ attr_reader :status
1838
+ end
1839
+ # The name of the Capability which will be restricted.
1840
+ attr_reader :capability
1841
+ # The configuration which specifies the Capability which will be restricted.
1842
+ attr_reader :configuration
1843
+ # Details about when in the account lifecycle the requirement must be collected by the avoid the Capability restriction.
1844
+ attr_reader :deadline
1845
+ end
1846
+ # The Capabilities that will be restricted if the requirement is not collected and satisfactory to Stripe.
1847
+ attr_reader :restricts_capabilities
1848
+ end
1849
+
1850
+ class MinimumDeadline < Stripe::StripeObject
1851
+ # The current status of the requirement's impact.
1852
+ attr_reader :status
1853
+ end
1854
+
1855
+ class Reference < Stripe::StripeObject
1856
+ # If `inquiry` is the type, the inquiry token.
1857
+ attr_reader :inquiry
1858
+ # If `resource` is the type, the resource token.
1859
+ attr_reader :resource
1860
+ # The type of the reference. An additional hash is included with a name matching the type. It contains additional information specific to the type.
1861
+ attr_reader :type
1862
+ end
1863
+
1864
+ class RequestedReason < Stripe::StripeObject
1865
+ # Machine-readable description of Stripe's reason for collecting the requirement.
1866
+ attr_reader :code
1867
+ end
1868
+ # Whether the responsibility is with the integrator or with Stripe (to review info, to wait for some condition, etc.) to action the requirement.
1869
+ attr_reader :awaiting_action_from
1870
+ # Machine-readable string describing the requirement.
1871
+ attr_reader :description
1872
+ # Descriptions of why the requirement must be collected, or why the collected information isn't satisfactory to Stripe.
1873
+ attr_reader :errors
1874
+ # A hash describing the impact of not collecting the requirement, or Stripe not being able to verify the collected information.
1875
+ attr_reader :impact
1876
+ # The soonest point when the account will be impacted by not providing the requirement.
1877
+ attr_reader :minimum_deadline
1878
+ # A reference to the location of the requirement.
1879
+ attr_reader :reference
1880
+ # A list of reasons why Stripe is collecting the requirement.
1881
+ attr_reader :requested_reasons
1882
+ end
1883
+
1884
+ class Summary < Stripe::StripeObject
1885
+ class MinimumDeadline < Stripe::StripeObject
1886
+ # The current strictest status of all requirements on the Account.
1887
+ attr_reader :status
1888
+ # The soonest RFC3339 date & time UTC value a requirement can impact the Account.
1889
+ attr_reader :time
1890
+ end
1891
+ # The soonest date and time a requirement on the Account will become `past due`. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: `2022-09-18T13:22:18.123Z`.
1892
+ attr_reader :minimum_deadline
1893
+ end
1894
+ # A value indicating responsibility for collecting requirements on this account.
1895
+ attr_reader :collector
1896
+ # A list of requirements for the Account.
1897
+ attr_reader :entries
1898
+ # An object containing an overview of requirements for the Account.
1899
+ attr_reader :summary
1900
+ end
1901
+ # Filter only accounts that have all of the configurations specified. If omitted, returns all accounts regardless of which configurations they have.
1902
+ attr_reader :applied_configurations
1903
+ # An Account Configuration which allows the Account to take on a key persona across Stripe products.
1904
+ attr_reader :configuration
1905
+ # The default contact email address for the Account. Required when configuring the account as a merchant or recipient.
1906
+ attr_reader :contact_email
1907
+ # Time at which the object was created. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z.
1908
+ attr_reader :created
1909
+ # A value indicating the Stripe dashboard this Account has access to. This will depend on which configurations are enabled for this account.
1910
+ attr_reader :dashboard
1911
+ # Default values to be used on Account Configurations.
1912
+ attr_reader :defaults
1913
+ # A descriptive name for the Account. This name will be surfaced in the Stripe Dashboard and on any invoices sent to the Account.
1914
+ attr_reader :display_name
1915
+ # Unique identifier for the Account.
1916
+ attr_reader :id
1917
+ # Information about the company, individual, and business represented by the Account.
1918
+ attr_reader :identity
1919
+ # Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format.
1920
+ attr_reader :metadata
1921
+ # String representing the object's type. Objects of the same type share the same value of the object field.
1922
+ attr_reader :object
1923
+ # Information about the requirements for the Account, including what information needs to be collected, and by when.
1924
+ attr_reader :requirements
1925
+ # Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode.
1926
+ attr_reader :livemode
1927
+ end
1928
+ end
1929
+ end
1930
+ end