HORIZON HASKELLDocslts/ghc-9.10.x248f8f02026-10-05Search names, modules, packages, or :: a typeCtrl K

GHC 9.10.3 · lts/ghc-9.10.x · 248f8f0 · 2026-10-05

Modulestripeapi-3.0.0.0Haskell2010

StripeAPI.Operations.PostAccounts

Contains the different functions to run the operation postAccounts

  • 92 types
  • 74 values
valuepostAccounts
  1. :: MonadHTTP m
  2. => Maybe PostAccountsRequestBody

    The request body to send

  3. -> ClientT m (Response PostAccountsResponse)

    Monadic computation which returns the result of the operation

#
POST /v1/accounts

<p>With <a href="/docs/connect">Connect</a>, you can create Stripe accounts for your users. To do this, you’ll first need to <a href="https://dashboard.stripe.com/account/applications/settings">register your platform</a>.</p>

Defines the object schema located at paths./v1/accounts.POST.requestBody.content.application/x-www-form-urlencoded.schema in the specification.

Constructors

Instances4Eq, Show, FromJSON, ToJSON

Defines the object schema located at paths./v1/accounts.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.bank_account.anyOf in the specification.

Instances4Eq, Show, FromJSON, ToJSON

Defines the enum schema located at paths./v1/accounts.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.bank_account.anyOf.properties.account_holder_type in the specification.

Constructors

Instances4Eq, Show, FromJSON, ToJSON

Defines the enum schema located at paths./v1/accounts.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.bank_account.anyOf.properties.account_type in the specification.

Constructors

Instances4Eq, Show, FromJSON, ToJSON

Defines the enum schema located at paths./v1/accounts.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.bank_account.anyOf.properties.object in the specification.

Constructors

Instances4Eq, Show, FromJSON, ToJSON

Defines the oneOf schema located at paths./v1/accounts.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.bank_account.anyOf in the specification.

Either a token, like the ones returned by Stripe.js, or a dictionary containing a user's bank account details.

Instances4Eq, Show, FromJSON, ToJSON

Defines the object schema located at paths./v1/accounts.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.business_profile in the specification.

Business information about the account.

Instances4Eq, Show, FromJSON, ToJSON

Defines the object schema located at paths./v1/accounts.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.business_profile.properties.support_address in the specification.

Instances4Eq, Show, FromJSON, ToJSON

Defines the oneOf schema located at paths./v1/accounts.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.business_profile.properties.support_url.anyOf in the specification.

Instances4Eq, Show, FromJSON, ToJSON

Defines the enum schema located at paths./v1/accounts.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.business_type in the specification.

The business type.

Constructors

Instances4Eq, Show, FromJSON, ToJSON

Defines the object schema located at paths./v1/accounts.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.capabilities in the specification.

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.

Constructors

Instances4Eq, Show, FromJSON, ToJSON

Defines the object schema located at paths./v1/accounts.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.capabilities.properties.acss_debit_payments in the specification.

Instances4Eq, Show, FromJSON, ToJSON

Defines the object schema located at paths./v1/accounts.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.capabilities.properties.affirm_payments in the specification.

Instances4Eq, Show, FromJSON, ToJSON

Defines the object schema located at paths./v1/accounts.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.capabilities.properties.afterpay_clearpay_payments in the specification.

Instances4Eq, Show, FromJSON, ToJSON

Defines the object schema located at paths./v1/accounts.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.capabilities.properties.au_becs_debit_payments in the specification.

Instances4Eq, Show, FromJSON, ToJSON

Defines the object schema located at paths./v1/accounts.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.capabilities.properties.bacs_debit_payments in the specification.

Instances4Eq, Show, FromJSON, ToJSON

Defines the object schema located at paths./v1/accounts.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.capabilities.properties.bancontact_payments in the specification.

Instances4Eq, Show, FromJSON, ToJSON

Defines the object schema located at paths./v1/accounts.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.capabilities.properties.bank_transfer_payments in the specification.

Instances4Eq, Show, FromJSON, ToJSON

Defines the object schema located at paths./v1/accounts.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.capabilities.properties.boleto_payments in the specification.

Instances4Eq, Show, FromJSON, ToJSON

Defines the object schema located at paths./v1/accounts.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.capabilities.properties.card_issuing in the specification.

Instances4Eq, Show, FromJSON, ToJSON

Defines the object schema located at paths./v1/accounts.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.capabilities.properties.card_payments in the specification.

Instances4Eq, Show, FromJSON, ToJSON

Defines the object schema located at paths./v1/accounts.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.capabilities.properties.cartes_bancaires_payments in the specification.

Instances4Eq, Show, FromJSON, ToJSON

Defines the object schema located at paths./v1/accounts.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.capabilities.properties.eps_payments in the specification.

Instances4Eq, Show, FromJSON, ToJSON

Defines the object schema located at paths./v1/accounts.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.capabilities.properties.fpx_payments in the specification.

Instances4Eq, Show, FromJSON, ToJSON

Defines the object schema located at paths./v1/accounts.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.capabilities.properties.giropay_payments in the specification.

Instances4Eq, Show, FromJSON, ToJSON

Defines the object schema located at paths./v1/accounts.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.capabilities.properties.grabpay_payments in the specification.

Instances4Eq, Show, FromJSON, ToJSON

Defines the object schema located at paths./v1/accounts.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.capabilities.properties.ideal_payments in the specification.

Instances4Eq, Show, FromJSON, ToJSON

Defines the object schema located at paths./v1/accounts.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.capabilities.properties.jcb_payments in the specification.

Instances4Eq, Show, FromJSON, ToJSON

Defines the object schema located at paths./v1/accounts.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.capabilities.properties.klarna_payments in the specification.

Instances4Eq, Show, FromJSON, ToJSON

Defines the object schema located at paths./v1/accounts.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.capabilities.properties.konbini_payments in the specification.

Instances4Eq, Show, FromJSON, ToJSON

Defines the object schema located at paths./v1/accounts.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.capabilities.properties.legacy_payments in the specification.

Instances4Eq, Show, FromJSON, ToJSON

Defines the object schema located at paths./v1/accounts.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.capabilities.properties.link_payments in the specification.

Instances4Eq, Show, FromJSON, ToJSON

Defines the object schema located at paths./v1/accounts.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.capabilities.properties.oxxo_payments in the specification.

Instances4Eq, Show, FromJSON, ToJSON

Defines the object schema located at paths./v1/accounts.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.capabilities.properties.p24_payments in the specification.

Instances4Eq, Show, FromJSON, ToJSON

Defines the object schema located at paths./v1/accounts.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.capabilities.properties.paynow_payments in the specification.

Instances4Eq, Show, FromJSON, ToJSON

Defines the object schema located at paths./v1/accounts.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.capabilities.properties.promptpay_payments in the specification.

Instances4Eq, Show, FromJSON, ToJSON

Defines the object schema located at paths./v1/accounts.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.capabilities.properties.sepa_debit_payments in the specification.

Instances4Eq, Show, FromJSON, ToJSON

Defines the object schema located at paths./v1/accounts.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.capabilities.properties.sofort_payments in the specification.

Instances4Eq, Show, FromJSON, ToJSON

Defines the object schema located at paths./v1/accounts.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.capabilities.properties.tax_reporting_us_1099_k in the specification.

Instances4Eq, Show, FromJSON, ToJSON

Defines the object schema located at paths./v1/accounts.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.capabilities.properties.tax_reporting_us_1099_misc in the specification.

Instances4Eq, Show, FromJSON, ToJSON

Defines the object schema located at paths./v1/accounts.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.capabilities.properties.transfers in the specification.

Instances4Eq, Show, FromJSON, ToJSON

Defines the object schema located at paths./v1/accounts.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.capabilities.properties.treasury in the specification.

Instances4Eq, Show, FromJSON, ToJSON

Defines the object schema located at paths./v1/accounts.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.capabilities.properties.us_bank_account_ach_payments in the specification.

Instances4Eq, Show, FromJSON, ToJSON

Defines the object schema located at paths./v1/accounts.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.company in the specification.

Information about the company or business. This field is available for any `business_type`.

Constructors

Instances4Eq, Show, FromJSON, ToJSON

Defines the object schema located at paths./v1/accounts.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.company.properties.address in the specification.

Constructors

Instances4Eq, Show, FromJSON, ToJSON

Defines the object schema located at paths./v1/accounts.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.company.properties.address_kana in the specification.

Constructors

Instances4Eq, Show, FromJSON, ToJSON

Defines the object schema located at paths./v1/accounts.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.company.properties.address_kanji in the specification.

Constructors

Instances4Eq, Show, FromJSON, ToJSON

Defines the object schema located at paths./v1/accounts.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.company.properties.ownership_declaration in the specification.

Instances4Eq, Show, FromJSON, ToJSON

Defines the enum schema located at paths./v1/accounts.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.company.properties.structure in the specification.

Constructors

Instances4Eq, Show, FromJSON, ToJSON

Defines the object schema located at paths./v1/accounts.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.company.properties.verification in the specification.

Instances4Eq, Show, FromJSON, ToJSON

Defines the object schema located at paths./v1/accounts.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.company.properties.verification.properties.document in the specification.

Instances4Eq, Show, FromJSON, ToJSON
Instances4Eq, Show, FromJSON, ToJSON

Defines the object schema located at paths./v1/accounts.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.documents.properties.bank_account_ownership_verification in the specification.

Instances4Eq, Show, FromJSON, ToJSON

Defines the object schema located at paths./v1/accounts.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.documents.properties.company_license in the specification.

Instances4Eq, Show, FromJSON, ToJSON

Defines the object schema located at paths./v1/accounts.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.documents.properties.company_memorandum_of_association in the specification.

Instances4Eq, Show, FromJSON, ToJSON

Defines the object schema located at paths./v1/accounts.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.documents.properties.company_ministerial_decree in the specification.

Instances4Eq, Show, FromJSON, ToJSON

Defines the object schema located at paths./v1/accounts.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.documents.properties.company_registration_verification in the specification.

Instances4Eq, Show, FromJSON, ToJSON

Defines the object schema located at paths./v1/accounts.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.documents.properties.company_tax_id_verification in the specification.

Instances4Eq, Show, FromJSON, ToJSON

Defines the object schema located at paths./v1/accounts.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.documents.properties.proof_of_registration in the specification.

Instances4Eq, Show, FromJSON, ToJSON

Defines the object schema located at paths./v1/accounts.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.individual in the specification.

Information about the person represented by the account. This field is null unless `business_type` is set to `individual`.

Constructors

Instances4Eq, Show, FromJSON, ToJSON

Defines the object schema located at paths./v1/accounts.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.individual.properties.address in the specification.

Constructors

Instances4Eq, Show, FromJSON, ToJSON

Defines the object schema located at paths./v1/accounts.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.individual.properties.address_kana in the specification.

Constructors

Instances4Eq, Show, FromJSON, ToJSON

Defines the object schema located at paths./v1/accounts.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.individual.properties.address_kanji in the specification.

Constructors

Instances4Eq, Show, FromJSON, ToJSON

Defines the object schema located at paths./v1/accounts.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.individual.properties.dob.anyOf in the specification.

Instances4Eq, Show, FromJSON, ToJSON

Defines the oneOf schema located at paths./v1/accounts.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.individual.properties.dob.anyOf in the specification.

Instances4Eq, Show, FromJSON, ToJSON

Defines the oneOf schema located at paths./v1/accounts.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.individual.properties.full_name_aliases.anyOf in the specification.

Instances4Eq, Show, FromJSON, ToJSON

Defines the oneOf schema located at paths./v1/accounts.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.individual.properties.metadata.anyOf in the specification.

Instances4Eq, Show, FromJSON, ToJSON

Defines the enum schema located at paths./v1/accounts.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.individual.properties.political_exposure in the specification.

Constructors

Instances4Eq, Show, FromJSON, ToJSON

Defines the object schema located at paths./v1/accounts.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.individual.properties.registered_address in the specification.

Instances4Eq, Show, FromJSON, ToJSON

Defines the object schema located at paths./v1/accounts.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.individual.properties.verification in the specification.

Instances4Eq, Show, FromJSON, ToJSON

Defines the object schema located at paths./v1/accounts.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.individual.properties.verification.properties.additional_document in the specification.

Instances4Eq, Show, FromJSON, ToJSON

Defines the object schema located at paths./v1/accounts.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.individual.properties.verification.properties.document in the specification.

Instances4Eq, Show, FromJSON, ToJSON

Defines the oneOf schema located at paths./v1/accounts.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.metadata.anyOf in the specification.

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. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.

Instances4Eq, Show, FromJSON, ToJSON
Instances4Eq, Show, FromJSON, ToJSON

Defines the object schema located at paths./v1/accounts.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.settings.properties.branding in the specification.

Constructors

Instances4Eq, Show, FromJSON, ToJSON

Defines the object schema located at paths./v1/accounts.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.settings.properties.card_issuing in the specification.

Instances4Eq, Show, FromJSON, ToJSON

Defines the object schema located at paths./v1/accounts.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.settings.properties.card_issuing.properties.tos_acceptance in the specification.

Instances4Eq, Show, FromJSON, ToJSON
Instances4Eq, Show, FromJSON, ToJSON

Defines the object schema located at paths./v1/accounts.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.settings.properties.card_payments.properties.decline_on in the specification.

Instances4Eq, Show, FromJSON, ToJSON

Defines the oneOf schema located at paths./v1/accounts.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.settings.properties.card_payments.properties.statement_descriptor_prefix_kana.anyOf in the specification.

Instances4Eq, Show, FromJSON, ToJSON

Defines the oneOf schema located at paths./v1/accounts.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.settings.properties.card_payments.properties.statement_descriptor_prefix_kanji.anyOf in the specification.

Instances4Eq, Show, FromJSON, ToJSON

Defines the object schema located at paths./v1/accounts.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.settings.properties.payments in the specification.

Constructors

Instances4Eq, Show, FromJSON, ToJSON

Defines the object schema located at paths./v1/accounts.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.settings.properties.payouts in the specification.

Instances4Eq, Show, FromJSON, ToJSON

Defines the object schema located at paths./v1/accounts.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.settings.properties.payouts.properties.schedule in the specification.

Instances4Eq, Show, FromJSON, ToJSON

Defines the oneOf schema located at paths./v1/accounts.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.settings.properties.payouts.properties.schedule.properties.delay_days.anyOf in the specification.

Instances4Eq, Show, FromJSON, ToJSON

Defines the enum schema located at paths./v1/accounts.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.settings.properties.payouts.properties.schedule.properties.interval in the specification.

Constructors

Instances4Eq, Show, FromJSON, ToJSON

Defines the enum schema located at paths./v1/accounts.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.settings.properties.payouts.properties.schedule.properties.weekly_anchor in the specification.

Constructors

Instances4Eq, Show, FromJSON, ToJSON

Defines the object schema located at paths./v1/accounts.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.settings.properties.treasury in the specification.

Instances4Eq, Show, FromJSON, ToJSON

Defines the object schema located at paths./v1/accounts.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.settings.properties.treasury.properties.tos_acceptance in the specification.

Instances4Eq, Show, FromJSON, ToJSON

Defines the object schema located at paths./v1/accounts.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.tos_acceptance in the specification.

Details on the account's acceptance of the Stripe Services Agreement.

Instances4Eq, Show, FromJSON, ToJSON

Defines the enum schema located at paths./v1/accounts.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.type in the specification.

The type of Stripe account to create. May be one of `custom`, `express` or `standard`.

Constructors

Instances4Eq, Show, FromJSON, ToJSON
datadata PostAccountsResponse
#

Represents a response of the operation postAccounts.

The response constructor is chosen by the status code of the response. If no case matches (no specific case for the response code, no range case, no default case), PostAccountsResponseError is used.

Constructors

Instances2Eq, Show