# File generated from our OpenAPI spec # frozen_string_literal: true module Stripe module V2 module Core # 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. class Account < APIResource OBJECT_NAME = "v2.core.account" def self.object_name "v2.core.account" end class Configuration < Stripe::StripeObject class Customer < Stripe::StripeObject class AutomaticIndirectTax < Stripe::StripeObject class Location < Stripe::StripeObject # The customer's country as identified by Stripe Tax. attr_reader :country # The customer's state, county, province, or region as identified by Stripe Tax. attr_reader :state end # 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”. attr_reader :exempt # A recent IP address of the customer used for tax reporting and tax location inference. attr_reader :ip_address # The customer’s location as identified by Stripe Tax - uses `location_source`. Will only be rendered if the `automatic_indirect_tax` feature is requested and `active`. attr_reader :location # The data source used by Stripe Tax to identify the customer's location - defaults to 'identity_address'. Will only be used for automatic tax calculation on the customer's Invoices and Subscriptions. attr_reader :location_source end class Billing < Stripe::StripeObject class Invoice < Stripe::StripeObject class CustomField < Stripe::StripeObject # The name of the custom field. This may be up to 40 characters. attr_reader :name # The value of the custom field. This may be up to 140 characters. When updating, pass an empty string to remove previously-defined values. attr_reader :value end class Rendering < Stripe::StripeObject # 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. attr_reader :amount_tax_display # ID of the invoice rendering template to use for future invoices. attr_reader :template end # 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. attr_reader :custom_fields # Default footer to be displayed on invoices for this customer. attr_reader :footer # The sequence to be used on the customer's next invoice. Defaults to 1. attr_reader :next_sequence # The prefix for the customer used to generate unique invoice numbers. Must be 3–12 uppercase letters or numbers. attr_reader :prefix # Default options for invoice PDF rendering for this customer. attr_reader :rendering end # 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. attr_reader :default_payment_method # Default settings used on invoices for this customer. attr_reader :invoice end class Capabilities < Stripe::StripeObject class AutomaticIndirectTax < Stripe::StripeObject class StatusDetail < Stripe::StripeObject # Machine-readable code explaining the reason for the Capability to be in its current status. attr_reader :code # Machine-readable code explaining how to make the Capability active. attr_reader :resolution end # Whether the Capability has been requested. attr_reader :requested # The status of the Capability. attr_reader :status # Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`. attr_reader :status_details end # 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. attr_reader :automatic_indirect_tax end class Shipping < Stripe::StripeObject class Address < Stripe::StripeObject # City, district, suburb, town, or village. attr_reader :city # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). attr_reader :country # Address line 1 (e.g., street, PO Box, or company name). attr_reader :line1 # Address line 2 (e.g., apartment, suite, unit, or building). attr_reader :line2 # ZIP or postal code. attr_reader :postal_code # State, county, province, or region. attr_reader :state end # Customer shipping address. attr_reader :address # Customer name. attr_reader :name # Customer phone (including extension). attr_reader :phone end # 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. attr_reader :automatic_indirect_tax # Billing settings - default settings used for this customer in Billing flows such as Invoices and Subscriptions. attr_reader :billing # Capabilities that have been requested on the Customer Configuration. attr_reader :capabilities # The customer's shipping information. Appears on invoices emailed to this customer. attr_reader :shipping # 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. attr_reader :test_clock end class Merchant < Stripe::StripeObject class BacsDebitPayments < Stripe::StripeObject # Display name for Bacs debit payments. attr_reader :display_name # Service user number for Bacs debit payments. attr_reader :service_user_number end class Branding < Stripe::StripeObject # 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. attr_reader :icon # 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. attr_reader :logo # A CSS hex color value representing the primary branding color for the merchant. attr_reader :primary_color # A CSS hex color value representing the secondary branding color for the merchant. attr_reader :secondary_color end class Capabilities < Stripe::StripeObject class AchDebitPayments < Stripe::StripeObject class StatusDetail < Stripe::StripeObject # Machine-readable code explaining the reason for the Capability to be in its current status. attr_reader :code # Machine-readable code explaining how to make the Capability active. attr_reader :resolution end # Whether the Capability has been requested. attr_reader :requested # The status of the Capability. attr_reader :status # Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`. attr_reader :status_details end class AcssDebitPayments < Stripe::StripeObject class StatusDetail < Stripe::StripeObject # Machine-readable code explaining the reason for the Capability to be in its current status. attr_reader :code # Machine-readable code explaining how to make the Capability active. attr_reader :resolution end # Whether the Capability has been requested. attr_reader :requested # The status of the Capability. attr_reader :status # Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`. attr_reader :status_details end class AffirmPayments < Stripe::StripeObject class StatusDetail < Stripe::StripeObject # Machine-readable code explaining the reason for the Capability to be in its current status. attr_reader :code # Machine-readable code explaining how to make the Capability active. attr_reader :resolution end # Whether the Capability has been requested. attr_reader :requested # The status of the Capability. attr_reader :status # Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`. attr_reader :status_details end class AfterpayClearpayPayments < Stripe::StripeObject class StatusDetail < Stripe::StripeObject # Machine-readable code explaining the reason for the Capability to be in its current status. attr_reader :code # Machine-readable code explaining how to make the Capability active. attr_reader :resolution end # Whether the Capability has been requested. attr_reader :requested # The status of the Capability. attr_reader :status # Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`. attr_reader :status_details end class AlmaPayments < Stripe::StripeObject class StatusDetail < Stripe::StripeObject # Machine-readable code explaining the reason for the Capability to be in its current status. attr_reader :code # Machine-readable code explaining how to make the Capability active. attr_reader :resolution end # Whether the Capability has been requested. attr_reader :requested # The status of the Capability. attr_reader :status # Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`. attr_reader :status_details end class AmazonPayPayments < Stripe::StripeObject class StatusDetail < Stripe::StripeObject # Machine-readable code explaining the reason for the Capability to be in its current status. attr_reader :code # Machine-readable code explaining how to make the Capability active. attr_reader :resolution end # Whether the Capability has been requested. attr_reader :requested # The status of the Capability. attr_reader :status # Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`. attr_reader :status_details end class AuBecsDebitPayments < Stripe::StripeObject class StatusDetail < Stripe::StripeObject # Machine-readable code explaining the reason for the Capability to be in its current status. attr_reader :code # Machine-readable code explaining how to make the Capability active. attr_reader :resolution end # Whether the Capability has been requested. attr_reader :requested # The status of the Capability. attr_reader :status # Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`. attr_reader :status_details end class BacsDebitPayments < Stripe::StripeObject class StatusDetail < Stripe::StripeObject # Machine-readable code explaining the reason for the Capability to be in its current status. attr_reader :code # Machine-readable code explaining how to make the Capability active. attr_reader :resolution end # Whether the Capability has been requested. attr_reader :requested # The status of the Capability. attr_reader :status # Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`. attr_reader :status_details end class BancontactPayments < Stripe::StripeObject class StatusDetail < Stripe::StripeObject # Machine-readable code explaining the reason for the Capability to be in its current status. attr_reader :code # Machine-readable code explaining how to make the Capability active. attr_reader :resolution end # Whether the Capability has been requested. attr_reader :requested # The status of the Capability. attr_reader :status # Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`. attr_reader :status_details end class BlikPayments < Stripe::StripeObject class StatusDetail < Stripe::StripeObject # Machine-readable code explaining the reason for the Capability to be in its current status. attr_reader :code # Machine-readable code explaining how to make the Capability active. attr_reader :resolution end # Whether the Capability has been requested. attr_reader :requested # The status of the Capability. attr_reader :status # Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`. attr_reader :status_details end class BoletoPayments < Stripe::StripeObject class StatusDetail < Stripe::StripeObject # Machine-readable code explaining the reason for the Capability to be in its current status. attr_reader :code # Machine-readable code explaining how to make the Capability active. attr_reader :resolution end # Whether the Capability has been requested. attr_reader :requested # The status of the Capability. attr_reader :status # Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`. attr_reader :status_details end class CardPayments < Stripe::StripeObject class StatusDetail < Stripe::StripeObject # Machine-readable code explaining the reason for the Capability to be in its current status. attr_reader :code # Machine-readable code explaining how to make the Capability active. attr_reader :resolution end # Whether the Capability has been requested. attr_reader :requested # The status of the Capability. attr_reader :status # Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`. attr_reader :status_details end class CartesBancairesPayments < Stripe::StripeObject class StatusDetail < Stripe::StripeObject # Machine-readable code explaining the reason for the Capability to be in its current status. attr_reader :code # Machine-readable code explaining how to make the Capability active. attr_reader :resolution end # Whether the Capability has been requested. attr_reader :requested # The status of the Capability. attr_reader :status # Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`. attr_reader :status_details end class CashappPayments < Stripe::StripeObject class StatusDetail < Stripe::StripeObject # Machine-readable code explaining the reason for the Capability to be in its current status. attr_reader :code # Machine-readable code explaining how to make the Capability active. attr_reader :resolution end # Whether the Capability has been requested. attr_reader :requested # The status of the Capability. attr_reader :status # Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`. attr_reader :status_details end class EpsPayments < Stripe::StripeObject class StatusDetail < Stripe::StripeObject # Machine-readable code explaining the reason for the Capability to be in its current status. attr_reader :code # Machine-readable code explaining how to make the Capability active. attr_reader :resolution end # Whether the Capability has been requested. attr_reader :requested # The status of the Capability. attr_reader :status # Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`. attr_reader :status_details end class FpxPayments < Stripe::StripeObject class StatusDetail < Stripe::StripeObject # Machine-readable code explaining the reason for the Capability to be in its current status. attr_reader :code # Machine-readable code explaining how to make the Capability active. attr_reader :resolution end # Whether the Capability has been requested. attr_reader :requested # The status of the Capability. attr_reader :status # Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`. attr_reader :status_details end class GbBankTransferPayments < Stripe::StripeObject class StatusDetail < Stripe::StripeObject # Machine-readable code explaining the reason for the Capability to be in its current status. attr_reader :code # Machine-readable code explaining how to make the Capability active. attr_reader :resolution end # Whether the Capability has been requested. attr_reader :requested # The status of the Capability. attr_reader :status # Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`. attr_reader :status_details end class GrabpayPayments < Stripe::StripeObject class StatusDetail < Stripe::StripeObject # Machine-readable code explaining the reason for the Capability to be in its current status. attr_reader :code # Machine-readable code explaining how to make the Capability active. attr_reader :resolution end # Whether the Capability has been requested. attr_reader :requested # The status of the Capability. attr_reader :status # Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`. attr_reader :status_details end class IdealPayments < Stripe::StripeObject class StatusDetail < Stripe::StripeObject # Machine-readable code explaining the reason for the Capability to be in its current status. attr_reader :code # Machine-readable code explaining how to make the Capability active. attr_reader :resolution end # Whether the Capability has been requested. attr_reader :requested # The status of the Capability. attr_reader :status # Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`. attr_reader :status_details end class JcbPayments < Stripe::StripeObject class StatusDetail < Stripe::StripeObject # Machine-readable code explaining the reason for the Capability to be in its current status. attr_reader :code # Machine-readable code explaining how to make the Capability active. attr_reader :resolution end # Whether the Capability has been requested. attr_reader :requested # The status of the Capability. attr_reader :status # Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`. attr_reader :status_details end class JpBankTransferPayments < Stripe::StripeObject class StatusDetail < Stripe::StripeObject # Machine-readable code explaining the reason for the Capability to be in its current status. attr_reader :code # Machine-readable code explaining how to make the Capability active. attr_reader :resolution end # Whether the Capability has been requested. attr_reader :requested # The status of the Capability. attr_reader :status # Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`. attr_reader :status_details end class KakaoPayPayments < Stripe::StripeObject class StatusDetail < Stripe::StripeObject # Machine-readable code explaining the reason for the Capability to be in its current status. attr_reader :code # Machine-readable code explaining how to make the Capability active. attr_reader :resolution end # Whether the Capability has been requested. attr_reader :requested # The status of the Capability. attr_reader :status # Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`. attr_reader :status_details end class KlarnaPayments < Stripe::StripeObject class StatusDetail < Stripe::StripeObject # Machine-readable code explaining the reason for the Capability to be in its current status. attr_reader :code # Machine-readable code explaining how to make the Capability active. attr_reader :resolution end # Whether the Capability has been requested. attr_reader :requested # The status of the Capability. attr_reader :status # Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`. attr_reader :status_details end class KonbiniPayments < Stripe::StripeObject class StatusDetail < Stripe::StripeObject # Machine-readable code explaining the reason for the Capability to be in its current status. attr_reader :code # Machine-readable code explaining how to make the Capability active. attr_reader :resolution end # Whether the Capability has been requested. attr_reader :requested # The status of the Capability. attr_reader :status # Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`. attr_reader :status_details end class KrCardPayments < Stripe::StripeObject class StatusDetail < Stripe::StripeObject # Machine-readable code explaining the reason for the Capability to be in its current status. attr_reader :code # Machine-readable code explaining how to make the Capability active. attr_reader :resolution end # Whether the Capability has been requested. attr_reader :requested # The status of the Capability. attr_reader :status # Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`. attr_reader :status_details end class LinkPayments < Stripe::StripeObject class StatusDetail < Stripe::StripeObject # Machine-readable code explaining the reason for the Capability to be in its current status. attr_reader :code # Machine-readable code explaining how to make the Capability active. attr_reader :resolution end # Whether the Capability has been requested. attr_reader :requested # The status of the Capability. attr_reader :status # Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`. attr_reader :status_details end class MobilepayPayments < Stripe::StripeObject class StatusDetail < Stripe::StripeObject # Machine-readable code explaining the reason for the Capability to be in its current status. attr_reader :code # Machine-readable code explaining how to make the Capability active. attr_reader :resolution end # Whether the Capability has been requested. attr_reader :requested # The status of the Capability. attr_reader :status # Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`. attr_reader :status_details end class MultibancoPayments < Stripe::StripeObject class StatusDetail < Stripe::StripeObject # Machine-readable code explaining the reason for the Capability to be in its current status. attr_reader :code # Machine-readable code explaining how to make the Capability active. attr_reader :resolution end # Whether the Capability has been requested. attr_reader :requested # The status of the Capability. attr_reader :status # Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`. attr_reader :status_details end class MxBankTransferPayments < Stripe::StripeObject class StatusDetail < Stripe::StripeObject # Machine-readable code explaining the reason for the Capability to be in its current status. attr_reader :code # Machine-readable code explaining how to make the Capability active. attr_reader :resolution end # Whether the Capability has been requested. attr_reader :requested # The status of the Capability. attr_reader :status # Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`. attr_reader :status_details end class NaverPayPayments < Stripe::StripeObject class StatusDetail < Stripe::StripeObject # Machine-readable code explaining the reason for the Capability to be in its current status. attr_reader :code # Machine-readable code explaining how to make the Capability active. attr_reader :resolution end # Whether the Capability has been requested. attr_reader :requested # The status of the Capability. attr_reader :status # Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`. attr_reader :status_details end class OxxoPayments < Stripe::StripeObject class StatusDetail < Stripe::StripeObject # Machine-readable code explaining the reason for the Capability to be in its current status. attr_reader :code # Machine-readable code explaining how to make the Capability active. attr_reader :resolution end # Whether the Capability has been requested. attr_reader :requested # The status of the Capability. attr_reader :status # Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`. attr_reader :status_details end class P24Payments < Stripe::StripeObject class StatusDetail < Stripe::StripeObject # Machine-readable code explaining the reason for the Capability to be in its current status. attr_reader :code # Machine-readable code explaining how to make the Capability active. attr_reader :resolution end # Whether the Capability has been requested. attr_reader :requested # The status of the Capability. attr_reader :status # Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`. attr_reader :status_details end class PayByBankPayments < Stripe::StripeObject class StatusDetail < Stripe::StripeObject # Machine-readable code explaining the reason for the Capability to be in its current status. attr_reader :code # Machine-readable code explaining how to make the Capability active. attr_reader :resolution end # Whether the Capability has been requested. attr_reader :requested # The status of the Capability. attr_reader :status # Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`. attr_reader :status_details end class PaycoPayments < Stripe::StripeObject class StatusDetail < Stripe::StripeObject # Machine-readable code explaining the reason for the Capability to be in its current status. attr_reader :code # Machine-readable code explaining how to make the Capability active. attr_reader :resolution end # Whether the Capability has been requested. attr_reader :requested # The status of the Capability. attr_reader :status # Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`. attr_reader :status_details end class PaynowPayments < Stripe::StripeObject class StatusDetail < Stripe::StripeObject # Machine-readable code explaining the reason for the Capability to be in its current status. attr_reader :code # Machine-readable code explaining how to make the Capability active. attr_reader :resolution end # Whether the Capability has been requested. attr_reader :requested # The status of the Capability. attr_reader :status # Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`. attr_reader :status_details end class PromptpayPayments < Stripe::StripeObject class StatusDetail < Stripe::StripeObject # Machine-readable code explaining the reason for the Capability to be in its current status. attr_reader :code # Machine-readable code explaining how to make the Capability active. attr_reader :resolution end # Whether the Capability has been requested. attr_reader :requested # The status of the Capability. attr_reader :status # Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`. attr_reader :status_details end class RevolutPayPayments < Stripe::StripeObject class StatusDetail < Stripe::StripeObject # Machine-readable code explaining the reason for the Capability to be in its current status. attr_reader :code # Machine-readable code explaining how to make the Capability active. attr_reader :resolution end # Whether the Capability has been requested. attr_reader :requested # The status of the Capability. attr_reader :status # Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`. attr_reader :status_details end class SamsungPayPayments < Stripe::StripeObject class StatusDetail < Stripe::StripeObject # Machine-readable code explaining the reason for the Capability to be in its current status. attr_reader :code # Machine-readable code explaining how to make the Capability active. attr_reader :resolution end # Whether the Capability has been requested. attr_reader :requested # The status of the Capability. attr_reader :status # Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`. attr_reader :status_details end class SepaBankTransferPayments < Stripe::StripeObject class StatusDetail < Stripe::StripeObject # Machine-readable code explaining the reason for the Capability to be in its current status. attr_reader :code # Machine-readable code explaining how to make the Capability active. attr_reader :resolution end # Whether the Capability has been requested. attr_reader :requested # The status of the Capability. attr_reader :status # Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`. attr_reader :status_details end class SepaDebitPayments < Stripe::StripeObject class StatusDetail < Stripe::StripeObject # Machine-readable code explaining the reason for the Capability to be in its current status. attr_reader :code # Machine-readable code explaining how to make the Capability active. attr_reader :resolution end # Whether the Capability has been requested. attr_reader :requested # The status of the Capability. attr_reader :status # Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`. attr_reader :status_details end class StripeBalance < Stripe::StripeObject class Payouts < Stripe::StripeObject class StatusDetail < Stripe::StripeObject # Machine-readable code explaining the reason for the Capability to be in its current status. attr_reader :code # Machine-readable code explaining how to make the Capability active. attr_reader :resolution end # Whether the Capability has been requested. attr_reader :requested # The status of the Capability. attr_reader :status # Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`. attr_reader :status_details end # Allows the account to do payouts using their Stripe Balance (/v1/balance). attr_reader :payouts end class SwishPayments < Stripe::StripeObject class StatusDetail < Stripe::StripeObject # Machine-readable code explaining the reason for the Capability to be in its current status. attr_reader :code # Machine-readable code explaining how to make the Capability active. attr_reader :resolution end # Whether the Capability has been requested. attr_reader :requested # The status of the Capability. attr_reader :status # Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`. attr_reader :status_details end class TwintPayments < Stripe::StripeObject class StatusDetail < Stripe::StripeObject # Machine-readable code explaining the reason for the Capability to be in its current status. attr_reader :code # Machine-readable code explaining how to make the Capability active. attr_reader :resolution end # Whether the Capability has been requested. attr_reader :requested # The status of the Capability. attr_reader :status # Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`. attr_reader :status_details end class UsBankTransferPayments < Stripe::StripeObject class StatusDetail < Stripe::StripeObject # Machine-readable code explaining the reason for the Capability to be in its current status. attr_reader :code # Machine-readable code explaining how to make the Capability active. attr_reader :resolution end # Whether the Capability has been requested. attr_reader :requested # The status of the Capability. attr_reader :status # Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`. attr_reader :status_details end class ZipPayments < Stripe::StripeObject class StatusDetail < Stripe::StripeObject # Machine-readable code explaining the reason for the Capability to be in its current status. attr_reader :code # Machine-readable code explaining how to make the Capability active. attr_reader :resolution end # Whether the Capability has been requested. attr_reader :requested # The status of the Capability. attr_reader :status # Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`. attr_reader :status_details end # Allow the merchant to process ACH debit payments. attr_reader :ach_debit_payments # Allow the merchant to process ACSS debit payments. attr_reader :acss_debit_payments # Allow the merchant to process Affirm payments. attr_reader :affirm_payments # Allow the merchant to process Afterpay/Clearpay payments. attr_reader :afterpay_clearpay_payments # Allow the merchant to process Alma payments. attr_reader :alma_payments # Allow the merchant to process Amazon Pay payments. attr_reader :amazon_pay_payments # Allow the merchant to process Australian BECS Direct Debit payments. attr_reader :au_becs_debit_payments # Allow the merchant to process BACS Direct Debit payments. attr_reader :bacs_debit_payments # Allow the merchant to process Bancontact payments. attr_reader :bancontact_payments # Allow the merchant to process BLIK payments. attr_reader :blik_payments # Allow the merchant to process Boleto payments. attr_reader :boleto_payments # Allow the merchant to collect card payments. attr_reader :card_payments # Allow the merchant to process Cartes Bancaires payments. attr_reader :cartes_bancaires_payments # Allow the merchant to process Cash App payments. attr_reader :cashapp_payments # Allow the merchant to process EPS payments. attr_reader :eps_payments # Allow the merchant to process FPX payments. attr_reader :fpx_payments # Allow the merchant to process UK bank transfer payments. attr_reader :gb_bank_transfer_payments # Allow the merchant to process GrabPay payments. attr_reader :grabpay_payments # Allow the merchant to process iDEAL payments. attr_reader :ideal_payments # Allow the merchant to process JCB card payments. attr_reader :jcb_payments # Allow the merchant to process Japanese bank transfer payments. attr_reader :jp_bank_transfer_payments # Allow the merchant to process Kakao Pay payments. attr_reader :kakao_pay_payments # Allow the merchant to process Klarna payments. attr_reader :klarna_payments # Allow the merchant to process Konbini convenience store payments. attr_reader :konbini_payments # Allow the merchant to process Korean card payments. attr_reader :kr_card_payments # Allow the merchant to process Link payments. attr_reader :link_payments # Allow the merchant to process MobilePay payments. attr_reader :mobilepay_payments # Allow the merchant to process Multibanco payments. attr_reader :multibanco_payments # Allow the merchant to process Mexican bank transfer payments. attr_reader :mx_bank_transfer_payments # Allow the merchant to process Naver Pay payments. attr_reader :naver_pay_payments # Allow the merchant to process OXXO payments. attr_reader :oxxo_payments # Allow the merchant to process Przelewy24 (P24) payments. attr_reader :p24_payments # Allow the merchant to process Pay by Bank payments. attr_reader :pay_by_bank_payments # Allow the merchant to process PAYCO payments. attr_reader :payco_payments # Allow the merchant to process PayNow payments. attr_reader :paynow_payments # Allow the merchant to process PromptPay payments. attr_reader :promptpay_payments # Allow the merchant to process Revolut Pay payments. attr_reader :revolut_pay_payments # Allow the merchant to process Samsung Pay payments. attr_reader :samsung_pay_payments # Allow the merchant to process SEPA bank transfer payments. attr_reader :sepa_bank_transfer_payments # Allow the merchant to process SEPA Direct Debit payments. attr_reader :sepa_debit_payments # Capabilities that enable the recipient to manage their Stripe Balance (/v1/balance). attr_reader :stripe_balance # Allow the merchant to process Swish payments. attr_reader :swish_payments # Allow the merchant to process TWINT payments. attr_reader :twint_payments # Allow the merchant to process US bank transfer payments. attr_reader :us_bank_transfer_payments # Allow the merchant to process Zip payments. attr_reader :zip_payments end class CardPayments < Stripe::StripeObject class DeclineOn < Stripe::StripeObject # 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. attr_reader :avs_failure # Whether Stripe automatically declines charges with an incorrect CVC. This setting only applies when a CVC is provided and it fails bank verification. attr_reader :cvc_failure end # Automatically declines certain charge types regardless of whether the card issuer accepted or declined the charge. attr_reader :decline_on end class SepaDebitPayments < Stripe::StripeObject # Creditor ID for SEPA debit payments. attr_reader :creditor_id end class StatementDescriptor < Stripe::StripeObject # 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. attr_reader :descriptor # 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. attr_reader :prefix end class Support < Stripe::StripeObject class Address < Stripe::StripeObject # City, district, suburb, town, or village. attr_reader :city # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). attr_reader :country # Address line 1 (e.g., street, PO Box, or company name). attr_reader :line1 # Address line 2 (e.g., apartment, suite, unit, or building). attr_reader :line2 # ZIP or postal code. attr_reader :postal_code # State, county, province, or region. attr_reader :state # Town or cho-me. attr_reader :town end # A publicly available mailing address for sending support issues to. attr_reader :address # A publicly available email address for sending support issues to. attr_reader :email # A publicly available phone number to call with support issues. attr_reader :phone # A publicly available website for handling support issues. attr_reader :url end # Settings used for Bacs debit payments. attr_reader :bacs_debit_payments # Settings used to apply the merchant's branding to email receipts, invoices, Checkout, and other products. attr_reader :branding # Capabilities that have been requested on the Merchant Configuration. attr_reader :capabilities # Card payments settings. attr_reader :card_payments # The merchant category code for the merchant. MCCs are used to classify businesses based on the goods or services they provide. attr_reader :mcc # Settings used for SEPA debit payments. attr_reader :sepa_debit_payments # Statement descriptor. attr_reader :statement_descriptor # Publicly available contact information for sending support issues to. attr_reader :support end class Recipient < Stripe::StripeObject class Capabilities < Stripe::StripeObject class BankAccounts < Stripe::StripeObject class Local < Stripe::StripeObject class StatusDetail < Stripe::StripeObject # Machine-readable code explaining the reason for the Capability to be in its current status. attr_reader :code # Machine-readable code explaining how to make the Capability active. attr_reader :resolution end # Whether the Capability has been requested. attr_reader :requested # The status of the Capability. attr_reader :status # Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`. attr_reader :status_details end class Wire < Stripe::StripeObject class StatusDetail < Stripe::StripeObject # Machine-readable code explaining the reason for the Capability to be in its current status. attr_reader :code # Machine-readable code explaining how to make the Capability active. attr_reader :resolution end # Whether the Capability has been requested. attr_reader :requested # The status of the Capability. attr_reader :status # Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`. attr_reader :status_details end # Enables this Account to receive OutboundPayments to linked bank accounts over local networks. attr_reader :local # Enables this Account to receive OutboundPayments to linked bank accounts over wire. attr_reader :wire end class Cards < Stripe::StripeObject class StatusDetail < Stripe::StripeObject # Machine-readable code explaining the reason for the Capability to be in its current status. attr_reader :code # Machine-readable code explaining how to make the Capability active. attr_reader :resolution end # Whether the Capability has been requested. attr_reader :requested # The status of the Capability. attr_reader :status # Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`. attr_reader :status_details end class StripeBalance < Stripe::StripeObject class Payouts < Stripe::StripeObject class StatusDetail < Stripe::StripeObject # Machine-readable code explaining the reason for the Capability to be in its current status. attr_reader :code # Machine-readable code explaining how to make the Capability active. attr_reader :resolution end # Whether the Capability has been requested. attr_reader :requested # The status of the Capability. attr_reader :status # Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`. attr_reader :status_details end class StripeTransfers < Stripe::StripeObject class StatusDetail < Stripe::StripeObject # Machine-readable code explaining the reason for the Capability to be in its current status. attr_reader :code # Machine-readable code explaining how to make the Capability active. attr_reader :resolution end # Whether the Capability has been requested. attr_reader :requested # The status of the Capability. attr_reader :status # Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`. attr_reader :status_details end # Allows the account to do payouts using their Stripe Balance (/v1/balance). attr_reader :payouts # Allows the account to receive /v1/transfers into their Stripe Balance (/v1/balance). attr_reader :stripe_transfers end # Capabilities that enable OutboundPayments to a bank account linked to this Account. attr_reader :bank_accounts # Capability that enable OutboundPayments to a debit card linked to this Account. attr_reader :cards # Capabilities that enable the recipient to manage their Stripe Balance (/v1/balance). attr_reader :stripe_balance end class DefaultOutboundDestination < Stripe::StripeObject # The payout method ID of the default outbound destination. attr_reader :id # Closed Enum. The payout method type of the default outbound destination. attr_reader :type end # Capabilities that have been requested on the Recipient Configuration. attr_reader :capabilities # 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. attr_reader :default_outbound_destination end # The Customer Configuration allows the Account to be used in inbound payment flows. attr_reader :customer # 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. attr_reader :merchant # The Recipient Configuration allows the Account to receive funds. attr_reader :recipient end class Defaults < Stripe::StripeObject class Responsibilities < Stripe::StripeObject # A value indicating the responsible payer of a bundle of Stripe fees for pricing-control eligible products on this Account. attr_reader :fees_collector # A value indicating who is responsible for losses when this Account can’t pay back negative balances from payments. attr_reader :losses_collector end # 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). attr_reader :currency # The Account's preferred locales (languages), ordered by preference. attr_reader :locales # Default responsibilities held by either Stripe or the platform. attr_reader :responsibilities end class Identity < Stripe::StripeObject class Attestations < Stripe::StripeObject class DirectorshipDeclaration < Stripe::StripeObject # 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. attr_reader :date # The IP address from which the director attestation was made. attr_reader :ip # The user agent of the browser from which the director attestation was made. attr_reader :user_agent end class OwnershipDeclaration < Stripe::StripeObject # 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. attr_reader :date # The IP address from which the beneficial owner attestation was made. attr_reader :ip # The user agent of the browser from which the beneficial owner attestation was made. attr_reader :user_agent end class PersonsProvided < Stripe::StripeObject # 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). attr_reader :directors # 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). attr_reader :executives # 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). attr_reader :owners # Reason for why the company is exempt from providing ownership information. attr_reader :ownership_exemption_reason end class TermsOfService < Stripe::StripeObject class Account < Stripe::StripeObject # 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. attr_reader :date # The IP address from which the Account's representative accepted the terms of service. attr_reader :ip # The user agent of the browser from which the Account's representative accepted the terms of service. attr_reader :user_agent end # Details on the Account's acceptance of the [Stripe Services Agreement](https://docs.stripe.com/connect/updating-accounts#tos-acceptance). attr_reader :account end # This hash is used to attest that the directors information provided to Stripe is both current and correct. attr_reader :directorship_declaration # This hash is used to attest that the beneficial owner information provided to Stripe is both current and correct. attr_reader :ownership_declaration # Attestation that all Persons with a specific Relationship value have been provided. attr_reader :persons_provided # Attestations of accepted terms of service agreements. attr_reader :terms_of_service end class BusinessDetails < Stripe::StripeObject class Address < Stripe::StripeObject # City, district, suburb, town, or village. attr_reader :city # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). attr_reader :country # Address line 1 (e.g., street, PO Box, or company name). attr_reader :line1 # Address line 2 (e.g., apartment, suite, unit, or building). attr_reader :line2 # ZIP or postal code. attr_reader :postal_code # State, county, province, or region. attr_reader :state # Town or cho-me. attr_reader :town end class AnnualRevenue < Stripe::StripeObject # A non-negative integer representing the amount in the smallest currency unit. attr_reader :amount # The close-out date of the preceding fiscal year in ISO 8601 format. E.g. 2023-12-31 for the 31st of December, 2023. attr_reader :fiscal_year_end end class Documents < Stripe::StripeObject class BankAccountOwnershipVerification < Stripe::StripeObject # 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`. attr_reader :files # The format of the document. Currently supports `files` only. attr_reader :type end class CompanyLicense < Stripe::StripeObject # 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`. attr_reader :files # The format of the document. Currently supports `files` only. attr_reader :type end class CompanyMemorandumOfAssociation < Stripe::StripeObject # 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`. attr_reader :files # The format of the document. Currently supports `files` only. attr_reader :type end class CompanyMinisterialDecree < Stripe::StripeObject # 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`. attr_reader :files # The format of the document. Currently supports `files` only. attr_reader :type end class CompanyRegistrationVerification < Stripe::StripeObject # 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`. attr_reader :files # The format of the document. Currently supports `files` only. attr_reader :type end class CompanyTaxIdVerification < Stripe::StripeObject # 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`. attr_reader :files # The format of the document. Currently supports `files` only. attr_reader :type end class PrimaryVerification < Stripe::StripeObject class FrontBack < Stripe::StripeObject # 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. attr_reader :back # 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. attr_reader :front end # The [file upload](https://docs.stripe.com/api/persons/update#create_file) tokens for the front and back of the verification document. attr_reader :front_back # The format of the verification document. Currently supports `front_back` only. attr_reader :type end class ProofOfRegistration < Stripe::StripeObject # 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`. attr_reader :files # The format of the document. Currently supports `files` only. attr_reader :type end class ProofOfUltimateBeneficialOwnership < Stripe::StripeObject # 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`. attr_reader :files # The format of the document. Currently supports `files` only. attr_reader :type end # 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. attr_reader :bank_account_ownership_verification # One or more documents that demonstrate proof of a company’s license to operate. attr_reader :company_license # One or more documents showing the company’s Memorandum of Association. attr_reader :company_memorandum_of_association # Certain countries only: One or more documents showing the ministerial decree legalizing the company’s establishment. attr_reader :company_ministerial_decree # One or more documents that demonstrate proof of a company’s registration with the appropriate local authorities. attr_reader :company_registration_verification # One or more documents that demonstrate proof of a company’s tax ID. attr_reader :company_tax_id_verification # A document verifying the business. attr_reader :primary_verification # One or more documents showing the company’s proof of registration with the national business registry. attr_reader :proof_of_registration # One or more documents that demonstrate proof of ultimate beneficial ownership. attr_reader :proof_of_ultimate_beneficial_ownership end class IdNumber < Stripe::StripeObject # The registrar of the ID number (Only valid for DE ID number types). attr_reader :registrar # Open Enum. The ID number type of a business entity. attr_reader :type end class MonthlyEstimatedRevenue < Stripe::StripeObject # A non-negative integer representing the amount in the smallest currency unit. attr_reader :amount end class ScriptAddresses < Stripe::StripeObject class Kana < Stripe::StripeObject # City, district, suburb, town, or village. attr_reader :city # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). attr_reader :country # Address line 1 (e.g., street, PO Box, or company name). attr_reader :line1 # Address line 2 (e.g., apartment, suite, unit, or building). attr_reader :line2 # ZIP or postal code. attr_reader :postal_code # State, county, province, or region. attr_reader :state # Town or cho-me. attr_reader :town end class Kanji < Stripe::StripeObject # City, district, suburb, town, or village. attr_reader :city # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). attr_reader :country # Address line 1 (e.g., street, PO Box, or company name). attr_reader :line1 # Address line 2 (e.g., apartment, suite, unit, or building). attr_reader :line2 # ZIP or postal code. attr_reader :postal_code # State, county, province, or region. attr_reader :state # Town or cho-me. attr_reader :town end # Kana Address. attr_reader :kana # Kanji Address. attr_reader :kanji end class ScriptNames < Stripe::StripeObject class Kana < Stripe::StripeObject # Registered name of the business. attr_reader :registered_name end class Kanji < Stripe::StripeObject # Registered name of the business. attr_reader :registered_name end # Kana name. attr_reader :kana # Kanji name. attr_reader :kanji end # The company’s primary address. attr_reader :address # The business gross annual revenue for its preceding fiscal year. attr_reader :annual_revenue # Documents that may be submitted to satisfy various informational requests. attr_reader :documents # The company’s legal name. attr_reader :doing_business_as # An estimated upper bound of employees, contractors, vendors, etc. currently working for the business. attr_reader :estimated_worker_count # The provided ID numbers of a business entity. attr_reader :id_numbers # An estimate of the monthly revenue of the business. attr_reader :monthly_estimated_revenue # The company’s phone number (used for verification). attr_reader :phone # Internal-only description of the product sold or service provided by the business. It’s used by Stripe for risk and underwriting purposes. attr_reader :product_description # The business legal name. attr_reader :registered_name # The business registration address of the business entity in non latin script. attr_reader :script_addresses # The business legal name in non latin script. attr_reader :script_names # The category identifying the legal structure of the business. attr_reader :structure # The business's publicly available website. attr_reader :url end class Individual < Stripe::StripeObject class AdditionalAddress < Stripe::StripeObject # City, district, suburb, town, or village. attr_reader :city # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). attr_reader :country # Address line 1 (e.g., street, PO Box, or company name). attr_reader :line1 # Address line 2 (e.g., apartment, suite, unit, or building). attr_reader :line2 # ZIP or postal code. attr_reader :postal_code # Purpose of additional address. attr_reader :purpose # State, county, province, or region. attr_reader :state # Town or cho-me. attr_reader :town end class AdditionalName < Stripe::StripeObject # The individual's full name. attr_reader :full_name # The individual's first or given name. attr_reader :given_name # The purpose or type of the additional name. attr_reader :purpose # The individual's last or family name. attr_reader :surname end class AdditionalTermsOfService < Stripe::StripeObject class Account < Stripe::StripeObject # 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. attr_reader :date # The IP address from which the Account's representative accepted the terms of service. attr_reader :ip # The user agent of the browser from which the Account's representative accepted the terms of service. attr_reader :user_agent end # Stripe terms of service agreement. attr_reader :account end class Address < Stripe::StripeObject # City, district, suburb, town, or village. attr_reader :city # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). attr_reader :country # Address line 1 (e.g., street, PO Box, or company name). attr_reader :line1 # Address line 2 (e.g., apartment, suite, unit, or building). attr_reader :line2 # ZIP or postal code. attr_reader :postal_code # State, county, province, or region. attr_reader :state # Town or cho-me. attr_reader :town end class DateOfBirth < Stripe::StripeObject # The day of birth, between 1 and 31. attr_reader :day # The month of birth, between 1 and 12. attr_reader :month # The four-digit year of birth. attr_reader :year end class Documents < Stripe::StripeObject class CompanyAuthorization < Stripe::StripeObject # 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`. attr_reader :files # The format of the document. Currently supports `files` only. attr_reader :type end class Passport < Stripe::StripeObject # 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`. attr_reader :files # The format of the document. Currently supports `files` only. attr_reader :type end class PrimaryVerification < Stripe::StripeObject class FrontBack < Stripe::StripeObject # 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. attr_reader :back # 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. attr_reader :front end # The [file upload](https://docs.stripe.com/api/persons/update#create_file) tokens for the front and back of the verification document. attr_reader :front_back # The format of the verification document. Currently supports `front_back` only. attr_reader :type end class SecondaryVerification < Stripe::StripeObject class FrontBack < Stripe::StripeObject # 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. attr_reader :back # 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. attr_reader :front end # The [file upload](https://docs.stripe.com/api/persons/update#create_file) tokens for the front and back of the verification document. attr_reader :front_back # The format of the verification document. Currently supports `front_back` only. attr_reader :type end class Visa < Stripe::StripeObject # 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`. attr_reader :files # The format of the document. Currently supports `files` only. attr_reader :type end # One or more documents that demonstrate proof that this person is authorized to represent the company. attr_reader :company_authorization # One or more documents showing the person’s passport page with photo and personal data. attr_reader :passport # An identifying document showing the person's name, either a passport or local ID card. attr_reader :primary_verification # A document showing address, either a passport, local ID card, or utility bill from a well-known utility company. attr_reader :secondary_verification # One or more documents showing the person’s visa required for living in the country where they are residing. attr_reader :visa end class IdNumber < Stripe::StripeObject # The ID number type of an individual. attr_reader :type end class Relationship < Stripe::StripeObject # Whether the individual is an authorizer of the Account’s legal entity. attr_reader :authorizer # 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. attr_reader :director # Whether the individual has significant responsibility to control, manage, or direct the organization. attr_reader :executive # Whether the individual is the legal guardian of the Account’s representative. attr_reader :legal_guardian # Whether the individual is an owner of the Account’s legal entity. attr_reader :owner # The percent owned by the individual of the Account’s legal entity. attr_reader :percent_ownership # 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. attr_reader :representative # The individual's title (e.g., CEO, Support Engineer). attr_reader :title end class ScriptAddresses < Stripe::StripeObject class Kana < Stripe::StripeObject # City, district, suburb, town, or village. attr_reader :city # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). attr_reader :country # Address line 1 (e.g., street, PO Box, or company name). attr_reader :line1 # Address line 2 (e.g., apartment, suite, unit, or building). attr_reader :line2 # ZIP or postal code. attr_reader :postal_code # State, county, province, or region. attr_reader :state # Town or cho-me. attr_reader :town end class Kanji < Stripe::StripeObject # City, district, suburb, town, or village. attr_reader :city # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). attr_reader :country # Address line 1 (e.g., street, PO Box, or company name). attr_reader :line1 # Address line 2 (e.g., apartment, suite, unit, or building). attr_reader :line2 # ZIP or postal code. attr_reader :postal_code # State, county, province, or region. attr_reader :state # Town or cho-me. attr_reader :town end # Kana Address. attr_reader :kana # Kanji Address. attr_reader :kanji end class ScriptNames < Stripe::StripeObject class Kana < Stripe::StripeObject # The person's first or given name. attr_reader :given_name # The person's last or family name. attr_reader :surname end class Kanji < Stripe::StripeObject # The person's first or given name. attr_reader :given_name # The person's last or family name. attr_reader :surname end # Persons name in kana script. attr_reader :kana # Persons name in kanji script. attr_reader :kanji end # The account ID which the individual belongs to. attr_reader :account # Additional addresses associated with the individual. attr_reader :additional_addresses # Additional names (e.g. aliases) associated with the individual. attr_reader :additional_names # Terms of service acceptances. attr_reader :additional_terms_of_service # The individual's residential address. attr_reader :address # 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. attr_reader :created # The individual's date of birth. attr_reader :date_of_birth # Documents that may be submitted to satisfy various informational requests. attr_reader :documents # The individual's email address. attr_reader :email # The individual's first name. attr_reader :given_name # Unique identifier for the object. attr_reader :id # The identification numbers (e.g., SSN) associated with the individual. attr_reader :id_numbers # The individual's gender (International regulations require either "male” or "female"). attr_reader :legal_gender # 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. attr_reader :metadata # 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)). attr_reader :nationalities # String representing the object's type. Objects of the same type share the same value. attr_reader :object # The individual's phone number. attr_reader :phone # 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. attr_reader :political_exposure # The relationship that this individual has with the Account's identity. attr_reader :relationship # The script addresses (e.g., non-Latin characters) associated with the individual. attr_reader :script_addresses # The script names (e.g. non-Latin characters) associated with the individual. attr_reader :script_names # The individual's last name. attr_reader :surname # Time at which the object was last updated. attr_reader :updated end # Attestations from the identity's key people, e.g. owners, executives, directors. attr_reader :attestations # Information about the company or business. attr_reader :business_details # 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. attr_reader :country # The entity type. attr_reader :entity_type # Information about the individual represented by the Account. This property is `null` unless `entity_type` is set to `individual`. attr_reader :individual end class Requirements < Stripe::StripeObject class Entry < Stripe::StripeObject class Error < Stripe::StripeObject # Machine-readable code describing the error. attr_reader :code # Human-readable description of the error. attr_reader :description end class Impact < Stripe::StripeObject class RestrictsCapability < Stripe::StripeObject class Deadline < Stripe::StripeObject # The current status of the requirement's impact. attr_reader :status end # The name of the Capability which will be restricted. attr_reader :capability # The configuration which specifies the Capability which will be restricted. attr_reader :configuration # Details about when in the account lifecycle the requirement must be collected by the avoid the Capability restriction. attr_reader :deadline end # The Capabilities that will be restricted if the requirement is not collected and satisfactory to Stripe. attr_reader :restricts_capabilities end class MinimumDeadline < Stripe::StripeObject # The current status of the requirement's impact. attr_reader :status end class Reference < Stripe::StripeObject # If `inquiry` is the type, the inquiry token. attr_reader :inquiry # If `resource` is the type, the resource token. attr_reader :resource # The type of the reference. An additional hash is included with a name matching the type. It contains additional information specific to the type. attr_reader :type end class RequestedReason < Stripe::StripeObject # Machine-readable description of Stripe's reason for collecting the requirement. attr_reader :code end # Whether the responsibility is with the integrator or with Stripe (to review info, to wait for some condition, etc.) to action the requirement. attr_reader :awaiting_action_from # Machine-readable string describing the requirement. attr_reader :description # Descriptions of why the requirement must be collected, or why the collected information isn't satisfactory to Stripe. attr_reader :errors # A hash describing the impact of not collecting the requirement, or Stripe not being able to verify the collected information. attr_reader :impact # The soonest point when the account will be impacted by not providing the requirement. attr_reader :minimum_deadline # A reference to the location of the requirement. attr_reader :reference # A list of reasons why Stripe is collecting the requirement. attr_reader :requested_reasons end class Summary < Stripe::StripeObject class MinimumDeadline < Stripe::StripeObject # The current strictest status of all requirements on the Account. attr_reader :status # The soonest RFC3339 date & time UTC value a requirement can impact the Account. attr_reader :time end # 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`. attr_reader :minimum_deadline end # A value indicating responsibility for collecting requirements on this account. attr_reader :collector # A list of requirements for the Account. attr_reader :entries # An object containing an overview of requirements for the Account. attr_reader :summary end # Filter only accounts that have all of the configurations specified. If omitted, returns all accounts regardless of which configurations they have. attr_reader :applied_configurations # An Account Configuration which allows the Account to take on a key persona across Stripe products. attr_reader :configuration # The default contact email address for the Account. Required when configuring the account as a merchant or recipient. attr_reader :contact_email # 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. attr_reader :created # A value indicating the Stripe dashboard this Account has access to. This will depend on which configurations are enabled for this account. attr_reader :dashboard # Default values to be used on Account Configurations. attr_reader :defaults # A descriptive name for the Account. This name will be surfaced in the Stripe Dashboard and on any invoices sent to the Account. attr_reader :display_name # Unique identifier for the Account. attr_reader :id # Information about the company, individual, and business represented by the Account. attr_reader :identity # 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. attr_reader :metadata # String representing the object's type. Objects of the same type share the same value of the object field. attr_reader :object # Information about the requirements for the Account, including what information needs to be collected, and by when. attr_reader :requirements # Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode. attr_reader :livemode end end end end