HORIZON HASKELLDocslts/ghc-9.10.xc74966e2026-09-27Search names, modules, packages, or :: a typeCtrl K

GHC 9.10.3 · lts/ghc-9.10.x · c74966e · 2026-09-27

Modulestripeapi-3.0.0.0Haskell2010

StripeAPI.Operations.PostTokens

Contains the different functions to run the operation postTokens

  • 50 types
  • 37 values
valuepostTokens
  1. :: MonadHTTP m
  2. => Maybe PostTokensRequestBody

    The request body to send

  3. -> ClientT m (Response PostTokensResponse)

    Monadic computation which returns the result of the operation

#
POST /v1/tokens

<p>Creates a single-use token that represents a bank account’s details. This token can be used with any API method in place of a bank account dictionary. This token can be used only once, by attaching it to a <a href="#accounts">Custom account</a>.</p>

Defines the object schema located at paths./v1/tokens.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/tokens.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.account in the specification.

Information for the account this token will represent.

Instances4Eq, Show, FromJSON, ToJSON

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

Constructors

Instances4Eq, Show, FromJSON, ToJSON

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

Constructors

Instances4Eq, Show, FromJSON, ToJSON

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

Constructors

Instances4Eq, Show, FromJSON, ToJSON

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

Instances4Eq, Show, FromJSON, ToJSON

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

Instances4Eq, Show, FromJSON, ToJSON

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

Instances4Eq, Show, FromJSON, ToJSON

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

Constructors

Instances4Eq, Show, FromJSON, ToJSON

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

Instances4Eq, Show, FromJSON, ToJSON

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

Instances4Eq, Show, FromJSON, ToJSON

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

Constructors

Instances4Eq, Show, FromJSON, ToJSON

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

Instances4Eq, Show, FromJSON, ToJSON

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

Instances4Eq, Show, FromJSON, ToJSON

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

Instances4Eq, Show, FromJSON, ToJSON

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

Instances4Eq, Show, FromJSON, ToJSON

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

Instances4Eq, Show, FromJSON, ToJSON

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

Instances4Eq, Show, FromJSON, ToJSON

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

Instances4Eq, Show, FromJSON, ToJSON

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

Constructors

Instances4Eq, Show, FromJSON, ToJSON

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

Instances4Eq, Show, FromJSON, ToJSON

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

Instances4Eq, Show, FromJSON, ToJSON

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

Instances4Eq, Show, FromJSON, ToJSON

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

Instances4Eq, Show, FromJSON, ToJSON

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

The bank account this token will represent.

Constructors

Instances4Eq, Show, FromJSON, ToJSON

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

Constructors

Instances4Eq, Show, FromJSON, ToJSON

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

Constructors

Instances4Eq, Show, FromJSON, ToJSON

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

Constructors

Instances4Eq, Show, FromJSON, ToJSON

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

Instances4Eq, Show, FromJSON, ToJSON

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

The updated CVC value this token will represent.

Constructors

Instances4Eq, Show, FromJSON, ToJSON

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

Information for the person this token will represent.

Constructors

Instances4Eq, Show, FromJSON, ToJSON

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

Constructors

Instances4Eq, Show, FromJSON, ToJSON

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

Constructors

Instances4Eq, Show, FromJSON, ToJSON

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

Constructors

Instances4Eq, Show, FromJSON, ToJSON

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

Instances4Eq, Show, FromJSON, ToJSON

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

Instances4Eq, Show, FromJSON, ToJSON

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

Instances4Eq, Show, FromJSON, ToJSON

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

Instances4Eq, Show, FromJSON, ToJSON

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

Instances4Eq, Show, FromJSON, ToJSON

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

Instances4Eq, Show, FromJSON, ToJSON

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

Instances4Eq, Show, FromJSON, ToJSON

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

Instances4Eq, Show, FromJSON, ToJSON

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

Constructors

Instances4Eq, Show, FromJSON, ToJSON

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

Instances4Eq, Show, FromJSON, ToJSON

Defines the oneOf schema located at paths./v1/tokens.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.person.properties.relationship.properties.percent_ownership.anyOf in the specification.

Instances4Eq, Show, FromJSON, ToJSON

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

Instances4Eq, Show, FromJSON, ToJSON

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

Instances4Eq, Show, FromJSON, ToJSON

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

Instances4Eq, Show, FromJSON, ToJSON

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

The PII this token will represent.

Constructors

Instances4Eq, Show, FromJSON, ToJSON
datadata PostTokensResponse
#

Represents a response of the operation postTokens.

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), PostTokensResponseError is used.

Constructors

Instances2Eq, Show