View Source Stripe.Account (Striped v0.5.0) (generated)
This is an object representing a Stripe account. You can retrieve it to see properties on the account like its current e-mail address or if the account is enabled yet to make live charges.
Some properties, marked below, are available only to platforms that want to create and manage Express or Custom accounts.
Link to this section Summary
Types
The acss_debit_payments capability.
A document showing address, either a passport, local ID card, or utility bill from a well-known utility company.
The company's primary address.
The Kana variation of the company's primary address (Japan only).
The Kanji variation of the the individual's primary address (Japan only).
The affirm_payments capability.
The afterpay_clearpay_payments capability.
The au_becs_debit_payments capability.
The bacs_debit_payments capability.
The bancontact_payments capability.
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 voided check.
The bank_transfer_payments capability.
The blik_payments capability.
The boleto_payments capability.
Settings used to apply the account's branding to email receipts, invoices, Checkout, and other products.
Business information about the account.
Each key of the dictionary represents a capability, and each capability maps to its settings (e.g. whether it has been requested or not). Each capability will be inactive until you have provided its specific requirements and Stripe has verified them. An account may have some of its requested capabilities be active and some be inactive.
Settings specific to the account's use of the Card Issuing product.
Settings specific to card charging on the account.
The cartes_bancaires_payments capability.
Information about the company or business. This field is available for any business_type
.
One or more documents that demonstrate proof of a company's license to operate.
One or more documents showing the company's Memorandum of Association.
(Certain countries only) One or more documents showing the ministerial decree legalizing the company's establishment.
One or more documents that demonstrate proof of a company's registration with the appropriate local authorities.
One or more documents that demonstrate proof of a company's tax ID.
Automatically declines certain charge types regardless of whether the card issuer accepted or declined the charge.
An identifying document, either a passport or local ID card.
Documents that may be submitted to satisfy various informational requests.
The eps_payments capability.
The fpx_payments capability.
The giropay_payments capability.
The grabpay_payments capability.
The ideal_payments capability.
Information about the person represented by the account. This field is null unless business_type
is set to individual
.
The jcb_payments capability.
The klarna_payments capability.
The konbini_payments capability.
The legacy_payments capability.
The link_payments capability.
This hash is used to attest that the beneficial owner information provided to Stripe is both current and correct.
The oxxo_payments capability.
The p24_payments capability.
Settings that apply across payment methods for charging on the account.
The paynow_payments capability.
Settings specific to the account's payouts.
The promptpay_payments capability.
One or more documents showing the company’s proof of registration with the national business registry.
The individual's registered address.
Details on when funds from charges are available, and when they are paid out to an external account. For details, see our Setting Bank and Debit Card Payouts documentation.
The sepa_debit_payments capability.
Options for customizing how the account functions within Stripe.
The sofort_payments capability.
A publicly available mailing address for sending support issues to.
The account
type.
The tax_reporting_us_1099_k capability.
The tax_reporting_us_1099_misc capability.
Details on the account's acceptance of the Stripe Issuing Terms and Disclosures.
The transfers capability.
Settings specific to the account's Treasury FinancialAccounts.
The us_bank_account_ach_payments capability.
Information on the verification state of the company.
Functions
Returns a list of capabilities associated with the account. The capabilities are returned sorted by creation date, with the most recent capability appearing first.
With Connect, you can create Stripe accounts for your users.To do this, you’ll first need to register your platform.
With Connect, you can delete accounts you manage.
Returns a list of accounts connected to your platform via Connect. If you’re not a platform, the list is empty.
Returns a list of people associated with the account’s legal entity. The people are returned sorted by creation date, with the most recent people appearing first.
With Connect, you may flag accounts as suspicious.
Retrieves the details of an account.
Updates a connected account by setting the values of the parameters passed. Any parameters not provided are left unchanged. Most parameters can be changed only for Custom accounts. (These are marked Custom Only below.) Parameters marked Custom and Express are not supported for Standard accounts.
Link to this section Types
@type acss_debit_payments() :: %{optional(:requested) => boolean()}
The acss_debit_payments capability.
A document showing address, either a passport, local ID card, or utility bill from a well-known utility company.
@type address() :: %{ optional(:city) => binary(), optional(:country) => binary(), optional(:line1) => binary(), optional(:line2) => binary(), optional(:postal_code) => binary(), optional(:state) => binary() }
The company's primary address.
@type address_kana() :: %{ optional(:city) => binary(), optional(:country) => binary(), optional(:line1) => binary(), optional(:line2) => binary(), optional(:postal_code) => binary(), optional(:state) => binary(), optional(:town) => binary() }
The Kana variation of the company's primary address (Japan only).
@type address_kanji() :: %{ optional(:city) => binary(), optional(:country) => binary(), optional(:line1) => binary(), optional(:line2) => binary(), optional(:postal_code) => binary(), optional(:state) => binary(), optional(:town) => binary() }
The Kanji variation of the the individual's primary address (Japan only).
@type affirm_payments() :: %{optional(:requested) => boolean()}
The affirm_payments capability.
@type afterpay_clearpay_payments() :: %{optional(:requested) => boolean()}
The afterpay_clearpay_payments capability.
@type au_becs_debit_payments() :: %{optional(:requested) => boolean()}
The au_becs_debit_payments capability.
@type bacs_debit_payments() :: %{optional(:requested) => boolean()}
The bacs_debit_payments capability.
@type bancontact_payments() :: %{optional(:requested) => boolean()}
The bancontact_payments capability.
@type bank_account_ownership_verification() :: %{optional(:files) => [binary()]}
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 voided check.
@type bank_transfer_payments() :: %{optional(:requested) => boolean()}
The bank_transfer_payments capability.
@type blik_payments() :: %{optional(:requested) => boolean()}
The blik_payments capability.
@type boleto_payments() :: %{optional(:requested) => boolean()}
The boleto_payments capability.
@type branding() :: %{ optional(:icon) => binary(), optional(:logo) => binary(), optional(:primary_color) => binary(), optional(:secondary_color) => binary() }
Settings used to apply the account's branding to email receipts, invoices, Checkout, and other products.
@type business_profile() :: %{ optional(:mcc) => binary(), optional(:name) => binary(), optional(:product_description) => binary(), optional(:support_address) => support_address(), optional(:support_email) => binary(), optional(:support_phone) => binary(), optional(:support_url) => binary() | binary(), optional(:url) => binary() }
Business information about the account.
@type capabilities() :: %{ optional(:link_payments) => link_payments(), optional(:card_issuing) => card_issuing(), optional(:treasury) => treasury(), optional(:oxxo_payments) => oxxo_payments(), optional(:affirm_payments) => affirm_payments(), optional(:promptpay_payments) => promptpay_payments(), optional(:bank_transfer_payments) => bank_transfer_payments(), optional(:sofort_payments) => sofort_payments(), optional(:acss_debit_payments) => acss_debit_payments(), optional(:cartes_bancaires_payments) => cartes_bancaires_payments(), optional(:bacs_debit_payments) => bacs_debit_payments(), optional(:tax_reporting_us_1099_misc) => tax_reporting_us_1099_misc(), optional(:paynow_payments) => paynow_payments(), optional(:klarna_payments) => klarna_payments(), optional(:us_bank_account_ach_payments) => us_bank_account_ach_payments(), optional(:card_payments) => card_payments(), optional(:p24_payments) => p24_payments(), optional(:boleto_payments) => boleto_payments(), optional(:fpx_payments) => fpx_payments(), optional(:au_becs_debit_payments) => au_becs_debit_payments(), optional(:konbini_payments) => konbini_payments(), optional(:ideal_payments) => ideal_payments(), optional(:afterpay_clearpay_payments) => afterpay_clearpay_payments(), optional(:blik_payments) => blik_payments(), optional(:bancontact_payments) => bancontact_payments(), optional(:giropay_payments) => giropay_payments(), optional(:legacy_payments) => legacy_payments(), optional(:sepa_debit_payments) => sepa_debit_payments(), optional(:transfers) => transfers(), optional(:eps_payments) => eps_payments(), optional(:grabpay_payments) => grabpay_payments(), optional(:tax_reporting_us_1099_k) => tax_reporting_us_1099_k(), optional(:jcb_payments) => jcb_payments() }
Each key of the dictionary represents a capability, and each capability maps to its settings (e.g. whether it has been requested or not). Each capability will be inactive until you have provided its specific requirements and Stripe has verified them. An account may have some of its requested capabilities be active and some be inactive.
@type card_issuing() :: %{optional(:tos_acceptance) => tos_acceptance()}
Settings specific to the account's use of the Card Issuing product.
@type card_payments() :: %{ optional(:decline_on) => decline_on(), optional(:statement_descriptor_prefix) => binary(), optional(:statement_descriptor_prefix_kana) => binary() | binary(), optional(:statement_descriptor_prefix_kanji) => binary() | binary() }
Settings specific to card charging on the account.
@type cartes_bancaires_payments() :: %{optional(:requested) => boolean()}
The cartes_bancaires_payments capability.
@type company() :: %{ optional(:address) => address(), optional(:address_kana) => address_kana(), optional(:address_kanji) => address_kanji(), optional(:directors_provided) => boolean(), optional(:executives_provided) => boolean(), optional(:name) => binary(), optional(:name_kana) => binary(), optional(:name_kanji) => binary(), optional(:owners_provided) => boolean(), optional(:ownership_declaration) => ownership_declaration(), optional(:phone) => binary(), optional(:registration_number) => binary(), optional(:structure) => :free_zone_establishment | :free_zone_llc | :government_instrumentality | :governmental_unit | :incorporated_non_profit | :limited_liability_partnership | :llc | :multi_member_llc | :private_company | :private_corporation | :private_partnership | :public_company | :public_corporation | :public_partnership | :single_member_llc | :sole_establishment | :sole_proprietorship | :tax_exempt_government_instrumentality | :unincorporated_association | :unincorporated_non_profit, optional(:tax_id) => binary(), optional(:tax_id_registrar) => binary(), optional(:vat_id) => binary(), optional(:verification) => verification() }
Information about the company or business. This field is available for any business_type
.
@type company_license() :: %{optional(:files) => [binary()]}
One or more documents that demonstrate proof of a company's license to operate.
@type company_memorandum_of_association() :: %{optional(:files) => [binary()]}
One or more documents showing the company's Memorandum of Association.
@type company_ministerial_decree() :: %{optional(:files) => [binary()]}
(Certain countries only) One or more documents showing the ministerial decree legalizing the company's establishment.
@type company_registration_verification() :: %{optional(:files) => [binary()]}
One or more documents that demonstrate proof of a company's registration with the appropriate local authorities.
@type company_tax_id_verification() :: %{optional(:files) => [binary()]}
One or more documents that demonstrate proof of a company's tax ID.
Automatically declines certain charge types regardless of whether the card issuer accepted or declined the charge.
An identifying document, either a passport or local ID card.
@type documents() :: %{ optional(:bank_account_ownership_verification) => bank_account_ownership_verification(), optional(:company_license) => company_license(), optional(:company_memorandum_of_association) => company_memorandum_of_association(), optional(:company_ministerial_decree) => company_ministerial_decree(), optional(:company_registration_verification) => company_registration_verification(), optional(:company_tax_id_verification) => company_tax_id_verification(), optional(:proof_of_registration) => proof_of_registration() }
Documents that may be submitted to satisfy various informational requests.
@type eps_payments() :: %{optional(:requested) => boolean()}
The eps_payments capability.
@type fpx_payments() :: %{optional(:requested) => boolean()}
The fpx_payments capability.
@type giropay_payments() :: %{optional(:requested) => boolean()}
The giropay_payments capability.
@type grabpay_payments() :: %{optional(:requested) => boolean()}
The grabpay_payments capability.
@type ideal_payments() :: %{optional(:requested) => boolean()}
The ideal_payments capability.
@type individual() :: %{ optional(:address) => address(), optional(:address_kana) => address_kana(), optional(:address_kanji) => address_kanji(), optional(:dob) => dob() | binary(), optional(:email) => binary(), optional(:first_name) => binary(), optional(:first_name_kana) => binary(), optional(:first_name_kanji) => binary(), optional(:full_name_aliases) => [binary()] | binary(), optional(:gender) => binary(), optional(:id_number) => binary(), optional(:id_number_secondary) => binary(), optional(:last_name) => binary(), optional(:last_name_kana) => binary(), optional(:last_name_kanji) => binary(), optional(:maiden_name) => binary(), optional(:metadata) => %{optional(binary()) => binary()} | binary(), optional(:phone) => binary(), optional(:political_exposure) => :existing | :none, optional(:registered_address) => registered_address(), optional(:ssn_last_4) => binary(), optional(:verification) => verification() }
Information about the person represented by the account. This field is null unless business_type
is set to individual
.
@type jcb_payments() :: %{optional(:requested) => boolean()}
The jcb_payments capability.
@type klarna_payments() :: %{optional(:requested) => boolean()}
The klarna_payments capability.
@type konbini_payments() :: %{optional(:requested) => boolean()}
The konbini_payments capability.
@type legacy_payments() :: %{optional(:requested) => boolean()}
The legacy_payments capability.
@type link_payments() :: %{optional(:requested) => boolean()}
The link_payments capability.
@type ownership_declaration() :: %{ optional(:date) => integer(), optional(:ip) => binary(), optional(:user_agent) => binary() }
This hash is used to attest that the beneficial owner information provided to Stripe is both current and correct.
@type oxxo_payments() :: %{optional(:requested) => boolean()}
The oxxo_payments capability.
@type p24_payments() :: %{optional(:requested) => boolean()}
The p24_payments capability.
@type payments() :: %{ optional(:statement_descriptor) => binary(), optional(:statement_descriptor_kana) => binary(), optional(:statement_descriptor_kanji) => binary() }
Settings that apply across payment methods for charging on the account.
@type paynow_payments() :: %{optional(:requested) => boolean()}
The paynow_payments capability.
@type payouts() :: %{ optional(:debit_negative_balances) => boolean(), optional(:schedule) => schedule(), optional(:statement_descriptor) => binary() }
Settings specific to the account's payouts.
@type promptpay_payments() :: %{optional(:requested) => boolean()}
The promptpay_payments capability.
@type proof_of_registration() :: %{optional(:files) => [binary()]}
One or more documents showing the company’s proof of registration with the national business registry.
@type registered_address() :: %{ optional(:city) => binary(), optional(:country) => binary(), optional(:line1) => binary(), optional(:line2) => binary(), optional(:postal_code) => binary(), optional(:state) => binary() }
The individual's registered address.
@type schedule() :: %{ optional(:delay_days) => :minimum | integer(), optional(:interval) => :daily | :manual | :monthly | :weekly, optional(:monthly_anchor) => integer(), optional(:weekly_anchor) => :friday | :monday | :saturday | :sunday | :thursday | :tuesday | :wednesday }
Details on when funds from charges are available, and when they are paid out to an external account. For details, see our Setting Bank and Debit Card Payouts documentation.
@type sepa_debit_payments() :: %{optional(:requested) => boolean()}
The sepa_debit_payments capability.
@type settings() :: %{ optional(:branding) => branding(), optional(:card_issuing) => card_issuing(), optional(:card_payments) => card_payments(), optional(:payments) => payments(), optional(:payouts) => payouts(), optional(:treasury) => treasury() }
Options for customizing how the account functions within Stripe.
@type sofort_payments() :: %{optional(:requested) => boolean()}
The sofort_payments capability.
@type support_address() :: %{ optional(:city) => binary(), optional(:country) => binary(), optional(:line1) => binary(), optional(:line2) => binary(), optional(:postal_code) => binary(), optional(:state) => binary() }
A publicly available mailing address for sending support issues to.
@type t() :: %Stripe.Account{ business_profile: term() | nil, business_type: binary() | nil, capabilities: term(), charges_enabled: boolean(), company: term(), controller: term(), country: binary(), created: integer(), default_currency: binary(), details_submitted: boolean(), email: binary() | nil, external_accounts: term(), future_requirements: term(), id: binary(), individual: Stripe.Person.t(), metadata: term(), object: binary(), payouts_enabled: boolean(), requirements: term(), settings: term() | nil, tos_acceptance: term(), type: binary() }
The account
type.
business_profile
Business information about the account.business_type
The business type.capabilities
charges_enabled
Whether the account can create live charges.company
controller
country
The account's country.created
Time at which the account was connected. Measured in seconds since the Unix epoch.default_currency
Three-letter ISO currency code representing the default currency for the account. This must be a currency that Stripe supports in the account's country.details_submitted
Whether account details have been submitted. Standard accounts cannot receive payouts before this is true.email
An email address associated with the account. You can treat this as metadata: it is not used for authentication or messaging account holders.external_accounts
External accounts (bank accounts and debit cards) currently attached to this accountfuture_requirements
id
Unique identifier for the object.individual
metadata
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.object
String representing the object's type. Objects of the same type share the same value.payouts_enabled
Whether Stripe can send payouts to this account.requirements
settings
Options for customizing how the account functions within Stripe.tos_acceptance
type
The Stripe account type. Can bestandard
,express
, orcustom
.
@type tax_reporting_us_1099_k() :: %{optional(:requested) => boolean()}
The tax_reporting_us_1099_k capability.
@type tax_reporting_us_1099_misc() :: %{optional(:requested) => boolean()}
The tax_reporting_us_1099_misc capability.
@type tos_acceptance() :: %{ optional(:date) => integer(), optional(:ip) => binary(), optional(:user_agent) => binary() }
Details on the account's acceptance of the Stripe Issuing Terms and Disclosures.
@type transfers() :: %{optional(:requested) => boolean()}
The transfers capability.
@type treasury() :: %{optional(:tos_acceptance) => tos_acceptance()}
Settings specific to the account's Treasury FinancialAccounts.
@type us_bank_account_ach_payments() :: %{optional(:requested) => boolean()}
The us_bank_account_ach_payments capability.
@type verification() :: %{optional(:document) => document()}
Information on the verification state of the company.
Link to this section Functions
@spec capabilities( client :: Stripe.t(), account :: binary(), params :: %{optional(:expand) => [binary()]}, opts :: Keyword.t() ) :: {:ok, Stripe.List.t(Stripe.Capability.t())} | {:error, Stripe.ApiErrors.t()} | {:error, term()}
Returns a list of capabilities associated with the account. The capabilities are returned sorted by creation date, with the most recent capability appearing first.
Details
- Method:
get
- Path:
/v1/accounts/{account}/capabilities
@spec create( client :: Stripe.t(), params :: %{ optional(:account_token) => binary(), optional(:business_profile) => business_profile(), optional(:business_type) => :company | :government_entity | :individual | :non_profit, optional(:capabilities) => capabilities(), optional(:company) => company(), optional(:country) => binary(), optional(:default_currency) => binary(), optional(:documents) => documents(), optional(:email) => binary(), optional(:expand) => [binary()], optional(:external_account) => binary(), optional(:individual) => individual(), optional(:metadata) => %{optional(binary()) => binary()} | binary(), optional(:settings) => settings(), optional(:tos_acceptance) => tos_acceptance(), optional(:type) => :custom | :express | :standard }, opts :: Keyword.t() ) :: {:ok, t()} | {:error, Stripe.ApiErrors.t()} | {:error, term()}
With Connect, you can create Stripe accounts for your users.To do this, you’ll first need to register your platform.
Details
- Method:
post
- Path:
/v1/accounts
@spec delete(client :: Stripe.t(), account :: binary(), opts :: Keyword.t()) :: {:ok, Stripe.DeletedAccount.t()} | {:error, Stripe.ApiErrors.t()} | {:error, term()}
With Connect, you can delete accounts you manage.
Accounts created using test-mode keys can be deleted at any time. Standard accounts created using live-mode keys cannot be deleted. Custom or Express accounts created using live-mode keys can only be deleted once all balances are zero.
If you want to delete your own account, use the account information tab in your account settings instead.
Details
- Method:
delete
- Path:
/v1/accounts/{account}
@spec list( client :: Stripe.t(), params :: %{ optional(:created) => created() | integer(), optional(:ending_before) => binary(), optional(:expand) => [binary()], optional(:limit) => integer(), optional(:starting_after) => binary() }, opts :: Keyword.t() ) :: {:ok, Stripe.List.t(t())} | {:error, Stripe.ApiErrors.t()} | {:error, term()}
Returns a list of accounts connected to your platform via Connect. If you’re not a platform, the list is empty.
Details
- Method:
get
- Path:
/v1/accounts
@spec persons( client :: Stripe.t(), account :: binary(), params :: %{ optional(:ending_before) => binary(), optional(:expand) => [binary()], optional(:limit) => integer(), optional(:relationship) => relationship(), optional(:starting_after) => binary() }, opts :: Keyword.t() ) :: {:ok, Stripe.List.t(Stripe.Person.t())} | {:error, Stripe.ApiErrors.t()} | {:error, term()}
Returns a list of people associated with the account’s legal entity. The people are returned sorted by creation date, with the most recent people appearing first.
Details
- Method:
get
- Path:
/v1/accounts/{account}/persons
@spec reject( client :: Stripe.t(), account :: binary(), params :: %{optional(:expand) => [binary()], optional(:reason) => binary()}, opts :: Keyword.t() ) :: {:ok, t()} | {:error, Stripe.ApiErrors.t()} | {:error, term()}
With Connect, you may flag accounts as suspicious.
Test-mode Custom and Express accounts can be rejected at any time. Accounts created using live-mode keys may only be rejected once all balances are zero.
Details
- Method:
post
- Path:
/v1/accounts/{account}/reject
@spec retrieve( client :: Stripe.t(), params :: %{optional(:expand) => [binary()]}, opts :: Keyword.t() ) :: {:ok, t()} | {:error, Stripe.ApiErrors.t()} | {:error, term()}
Retrieves the details of an account.
Details
- Method:
get
- Path:
/v1/account
@spec update( client :: Stripe.t(), account :: binary(), params :: %{ optional(:account_token) => binary(), optional(:business_profile) => business_profile(), optional(:business_type) => :company | :government_entity | :individual | :non_profit, optional(:capabilities) => capabilities(), optional(:company) => company(), optional(:default_currency) => binary(), optional(:documents) => documents(), optional(:email) => binary(), optional(:expand) => [binary()], optional(:external_account) => binary(), optional(:individual) => individual(), optional(:metadata) => %{optional(binary()) => binary()} | binary(), optional(:settings) => settings(), optional(:tos_acceptance) => tos_acceptance() }, opts :: Keyword.t() ) :: {:ok, t()} | {:error, Stripe.ApiErrors.t()} | {:error, term()}
Updates a connected account by setting the values of the parameters passed. Any parameters not provided are left unchanged. Most parameters can be changed only for Custom accounts. (These are marked Custom Only below.) Parameters marked Custom and Express are not supported for Standard accounts.
To update your own account, use the Dashboard. Refer to our Connect documentation to learn more about updating accounts.
Details
- Method:
post
- Path:
/v1/accounts/{account}