stripeapi-2.0.0.1: Stripe-Library
Safe HaskellNone
LanguageHaskell2010

StripeAPI.Operations.PostTokens

Description

Contains the different functions to run the operation postTokens

Synopsis

Documentation

postTokens Source #

Arguments

:: forall m. MonadHTTP m 
=> Maybe PostTokensRequestBody

The request body to send

-> 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>

data PostTokensRequestBody Source #

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

Constructors

PostTokensRequestBody 

Fields

data PostTokensRequestBodyAccount' Source #

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.

data PostTokensRequestBodyAccount'BusinessType' Source #

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

PostTokensRequestBodyAccount'BusinessType'Other Value

This case is used if the value encountered during decoding does not match any of the provided cases in the specification.

PostTokensRequestBodyAccount'BusinessType'Typed Text

This constructor can be used to send values to the server which are not present in the specification yet.

PostTokensRequestBodyAccount'BusinessType'EnumCompany

Represents the JSON value "company"

PostTokensRequestBodyAccount'BusinessType'EnumGovernmentEntity

Represents the JSON value "government_entity"

PostTokensRequestBodyAccount'BusinessType'EnumIndividual

Represents the JSON value "individual"

PostTokensRequestBodyAccount'BusinessType'EnumNonProfit

Represents the JSON value "non_profit"

data PostTokensRequestBodyAccount'Company' Source #

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

PostTokensRequestBodyAccount'Company' 

Fields

data PostTokensRequestBodyAccount'Company'Address' Source #

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

PostTokensRequestBodyAccount'Company'Address' 

Fields

data PostTokensRequestBodyAccount'Company'AddressKana' Source #

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.

Constructors

PostTokensRequestBodyAccount'Company'AddressKana' 

Fields

data PostTokensRequestBodyAccount'Company'AddressKanji' Source #

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.

Instances

Instances details
Eq PostTokensRequestBodyAccount'Company'AddressKanji' Source # 
Instance details

Defined in StripeAPI.Operations.PostTokens

Show PostTokensRequestBodyAccount'Company'AddressKanji' Source # 
Instance details

Defined in StripeAPI.Operations.PostTokens

ToJSON PostTokensRequestBodyAccount'Company'AddressKanji' Source # 
Instance details

Defined in StripeAPI.Operations.PostTokens

FromJSON PostTokensRequestBodyAccount'Company'AddressKanji' Source # 
Instance details

Defined in StripeAPI.Operations.PostTokens

data PostTokensRequestBodyAccount'Company'Structure' Source #

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

PostTokensRequestBodyAccount'Company'Structure'Other Value

This case is used if the value encountered during decoding does not match any of the provided cases in the specification.

PostTokensRequestBodyAccount'Company'Structure'Typed Text

This constructor can be used to send values to the server which are not present in the specification yet.

PostTokensRequestBodyAccount'Company'Structure'EnumEmptyString

Represents the JSON value ""

PostTokensRequestBodyAccount'Company'Structure'EnumFreeZoneEstablishment

Represents the JSON value "free_zone_establishment"

PostTokensRequestBodyAccount'Company'Structure'EnumFreeZoneLlc

Represents the JSON value "free_zone_llc"

PostTokensRequestBodyAccount'Company'Structure'EnumGovernmentInstrumentality

Represents the JSON value "government_instrumentality"

PostTokensRequestBodyAccount'Company'Structure'EnumGovernmentalUnit

Represents the JSON value "governmental_unit"

PostTokensRequestBodyAccount'Company'Structure'EnumIncorporatedNonProfit

Represents the JSON value "incorporated_non_profit"

PostTokensRequestBodyAccount'Company'Structure'EnumLimitedLiabilityPartnership

Represents the JSON value "limited_liability_partnership"

PostTokensRequestBodyAccount'Company'Structure'EnumLlc

Represents the JSON value "llc"

PostTokensRequestBodyAccount'Company'Structure'EnumMultiMemberLlc

Represents the JSON value "multi_member_llc"

PostTokensRequestBodyAccount'Company'Structure'EnumPrivateCompany

Represents the JSON value "private_company"

PostTokensRequestBodyAccount'Company'Structure'EnumPrivateCorporation

Represents the JSON value "private_corporation"

PostTokensRequestBodyAccount'Company'Structure'EnumPrivatePartnership

Represents the JSON value "private_partnership"

PostTokensRequestBodyAccount'Company'Structure'EnumPublicCompany

Represents the JSON value "public_company"

PostTokensRequestBodyAccount'Company'Structure'EnumPublicCorporation

Represents the JSON value "public_corporation"

PostTokensRequestBodyAccount'Company'Structure'EnumPublicPartnership

Represents the JSON value "public_partnership"

PostTokensRequestBodyAccount'Company'Structure'EnumSingleMemberLlc

Represents the JSON value "single_member_llc"

PostTokensRequestBodyAccount'Company'Structure'EnumSoleEstablishment

Represents the JSON value "sole_establishment"

PostTokensRequestBodyAccount'Company'Structure'EnumSoleProprietorship

Represents the JSON value "sole_proprietorship"

PostTokensRequestBodyAccount'Company'Structure'EnumTaxExemptGovernmentInstrumentality

Represents the JSON value "tax_exempt_government_instrumentality"

PostTokensRequestBodyAccount'Company'Structure'EnumUnincorporatedAssociation

Represents the JSON value "unincorporated_association"

PostTokensRequestBodyAccount'Company'Structure'EnumUnincorporatedNonProfit

Represents the JSON value "unincorporated_non_profit"

data PostTokensRequestBodyAccount'Company'Verification' Source #

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.

Instances

Instances details
Eq PostTokensRequestBodyAccount'Company'Verification' Source # 
Instance details

Defined in StripeAPI.Operations.PostTokens

Show PostTokensRequestBodyAccount'Company'Verification' Source # 
Instance details

Defined in StripeAPI.Operations.PostTokens

ToJSON PostTokensRequestBodyAccount'Company'Verification' Source # 
Instance details

Defined in StripeAPI.Operations.PostTokens

FromJSON PostTokensRequestBodyAccount'Company'Verification' Source # 
Instance details

Defined in StripeAPI.Operations.PostTokens

data PostTokensRequestBodyAccount'Company'Verification'Document' Source #

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.

Instances

Instances details
Eq PostTokensRequestBodyAccount'Company'Verification'Document' Source # 
Instance details

Defined in StripeAPI.Operations.PostTokens

Show PostTokensRequestBodyAccount'Company'Verification'Document' Source # 
Instance details

Defined in StripeAPI.Operations.PostTokens

ToJSON PostTokensRequestBodyAccount'Company'Verification'Document' Source # 
Instance details

Defined in StripeAPI.Operations.PostTokens

FromJSON PostTokensRequestBodyAccount'Company'Verification'Document' Source # 
Instance details

Defined in StripeAPI.Operations.PostTokens

data PostTokensRequestBodyAccount'Individual' Source #

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

PostTokensRequestBodyAccount'Individual' 

Fields

data PostTokensRequestBodyAccount'Individual'Address' Source #

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.

Constructors

PostTokensRequestBodyAccount'Individual'Address' 

Fields

data PostTokensRequestBodyAccount'Individual'AddressKana' Source #

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.

Instances

Instances details
Eq PostTokensRequestBodyAccount'Individual'AddressKana' Source # 
Instance details

Defined in StripeAPI.Operations.PostTokens

Show PostTokensRequestBodyAccount'Individual'AddressKana' Source # 
Instance details

Defined in StripeAPI.Operations.PostTokens

ToJSON PostTokensRequestBodyAccount'Individual'AddressKana' Source # 
Instance details

Defined in StripeAPI.Operations.PostTokens

FromJSON PostTokensRequestBodyAccount'Individual'AddressKana' Source # 
Instance details

Defined in StripeAPI.Operations.PostTokens

data PostTokensRequestBodyAccount'Individual'AddressKanji' Source #

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.

Instances

Instances details
Eq PostTokensRequestBodyAccount'Individual'AddressKanji' Source # 
Instance details

Defined in StripeAPI.Operations.PostTokens

Show PostTokensRequestBodyAccount'Individual'AddressKanji' Source # 
Instance details

Defined in StripeAPI.Operations.PostTokens

ToJSON PostTokensRequestBodyAccount'Individual'AddressKanji' Source # 
Instance details

Defined in StripeAPI.Operations.PostTokens

FromJSON PostTokensRequestBodyAccount'Individual'AddressKanji' Source # 
Instance details

Defined in StripeAPI.Operations.PostTokens

data PostTokensRequestBodyAccount'Individual'Dob'OneOf1 Source #

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.

Instances

Instances details
Eq PostTokensRequestBodyAccount'Individual'Dob'OneOf1 Source # 
Instance details

Defined in StripeAPI.Operations.PostTokens

Show PostTokensRequestBodyAccount'Individual'Dob'OneOf1 Source # 
Instance details

Defined in StripeAPI.Operations.PostTokens

ToJSON PostTokensRequestBodyAccount'Individual'Dob'OneOf1 Source # 
Instance details

Defined in StripeAPI.Operations.PostTokens

FromJSON PostTokensRequestBodyAccount'Individual'Dob'OneOf1 Source # 
Instance details

Defined in StripeAPI.Operations.PostTokens

data PostTokensRequestBodyAccount'Individual'Dob'Variants Source #

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.

Instances

Instances details
Eq PostTokensRequestBodyAccount'Individual'Dob'Variants Source # 
Instance details

Defined in StripeAPI.Operations.PostTokens

Show PostTokensRequestBodyAccount'Individual'Dob'Variants Source # 
Instance details

Defined in StripeAPI.Operations.PostTokens

ToJSON PostTokensRequestBodyAccount'Individual'Dob'Variants Source # 
Instance details

Defined in StripeAPI.Operations.PostTokens

FromJSON PostTokensRequestBodyAccount'Individual'Dob'Variants Source # 
Instance details

Defined in StripeAPI.Operations.PostTokens

data PostTokensRequestBodyAccount'Individual'Metadata'Variants Source #

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.

Instances

Instances details
Eq PostTokensRequestBodyAccount'Individual'Metadata'Variants Source # 
Instance details

Defined in StripeAPI.Operations.PostTokens

Show PostTokensRequestBodyAccount'Individual'Metadata'Variants Source # 
Instance details

Defined in StripeAPI.Operations.PostTokens

ToJSON PostTokensRequestBodyAccount'Individual'Metadata'Variants Source # 
Instance details

Defined in StripeAPI.Operations.PostTokens

FromJSON PostTokensRequestBodyAccount'Individual'Metadata'Variants Source # 
Instance details

Defined in StripeAPI.Operations.PostTokens

data PostTokensRequestBodyAccount'Individual'PoliticalExposure' Source #

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

PostTokensRequestBodyAccount'Individual'PoliticalExposure'Other Value

This case is used if the value encountered during decoding does not match any of the provided cases in the specification.

PostTokensRequestBodyAccount'Individual'PoliticalExposure'Typed Text

This constructor can be used to send values to the server which are not present in the specification yet.

PostTokensRequestBodyAccount'Individual'PoliticalExposure'EnumExisting

Represents the JSON value "existing"

PostTokensRequestBodyAccount'Individual'PoliticalExposure'EnumNone

Represents the JSON value "none"

Instances

Instances details
Eq PostTokensRequestBodyAccount'Individual'PoliticalExposure' Source # 
Instance details

Defined in StripeAPI.Operations.PostTokens

Show PostTokensRequestBodyAccount'Individual'PoliticalExposure' Source # 
Instance details

Defined in StripeAPI.Operations.PostTokens

ToJSON PostTokensRequestBodyAccount'Individual'PoliticalExposure' Source # 
Instance details

Defined in StripeAPI.Operations.PostTokens

FromJSON PostTokensRequestBodyAccount'Individual'PoliticalExposure' Source # 
Instance details

Defined in StripeAPI.Operations.PostTokens

data PostTokensRequestBodyAccount'Individual'Verification' Source #

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.

Instances

Instances details
Eq PostTokensRequestBodyAccount'Individual'Verification' Source # 
Instance details

Defined in StripeAPI.Operations.PostTokens

Show PostTokensRequestBodyAccount'Individual'Verification' Source # 
Instance details

Defined in StripeAPI.Operations.PostTokens

ToJSON PostTokensRequestBodyAccount'Individual'Verification' Source # 
Instance details

Defined in StripeAPI.Operations.PostTokens

FromJSON PostTokensRequestBodyAccount'Individual'Verification' Source # 
Instance details

Defined in StripeAPI.Operations.PostTokens

data PostTokensRequestBodyAccount'Individual'Verification'AdditionalDocument' Source #

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.

Instances

Instances details
Eq PostTokensRequestBodyAccount'Individual'Verification'AdditionalDocument' Source # 
Instance details

Defined in StripeAPI.Operations.PostTokens

Show PostTokensRequestBodyAccount'Individual'Verification'AdditionalDocument' Source # 
Instance details

Defined in StripeAPI.Operations.PostTokens

ToJSON PostTokensRequestBodyAccount'Individual'Verification'AdditionalDocument' Source # 
Instance details

Defined in StripeAPI.Operations.PostTokens

FromJSON PostTokensRequestBodyAccount'Individual'Verification'AdditionalDocument' Source # 
Instance details

Defined in StripeAPI.Operations.PostTokens

data PostTokensRequestBodyAccount'Individual'Verification'Document' Source #

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.

Instances

Instances details
Eq PostTokensRequestBodyAccount'Individual'Verification'Document' Source # 
Instance details

Defined in StripeAPI.Operations.PostTokens

Show PostTokensRequestBodyAccount'Individual'Verification'Document' Source # 
Instance details

Defined in StripeAPI.Operations.PostTokens

ToJSON PostTokensRequestBodyAccount'Individual'Verification'Document' Source # 
Instance details

Defined in StripeAPI.Operations.PostTokens

FromJSON PostTokensRequestBodyAccount'Individual'Verification'Document' Source # 
Instance details

Defined in StripeAPI.Operations.PostTokens

data PostTokensRequestBodyBankAccount' Source #

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

PostTokensRequestBodyBankAccount' 

Fields

data PostTokensRequestBodyBankAccount'AccountHolderType' Source #

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

PostTokensRequestBodyBankAccount'AccountHolderType'Other Value

This case is used if the value encountered during decoding does not match any of the provided cases in the specification.

PostTokensRequestBodyBankAccount'AccountHolderType'Typed Text

This constructor can be used to send values to the server which are not present in the specification yet.

PostTokensRequestBodyBankAccount'AccountHolderType'EnumCompany

Represents the JSON value "company"

PostTokensRequestBodyBankAccount'AccountHolderType'EnumIndividual

Represents the JSON value "individual"

Instances

Instances details
Eq PostTokensRequestBodyBankAccount'AccountHolderType' Source # 
Instance details

Defined in StripeAPI.Operations.PostTokens

Show PostTokensRequestBodyBankAccount'AccountHolderType' Source # 
Instance details

Defined in StripeAPI.Operations.PostTokens

ToJSON PostTokensRequestBodyBankAccount'AccountHolderType' Source # 
Instance details

Defined in StripeAPI.Operations.PostTokens

FromJSON PostTokensRequestBodyBankAccount'AccountHolderType' Source # 
Instance details

Defined in StripeAPI.Operations.PostTokens

data PostTokensRequestBodyCard'OneOf1 Source #

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

PostTokensRequestBodyCard'OneOf1 

Fields

data PostTokensRequestBodyCard'Variants Source #

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

data PostTokensRequestBodyCvcUpdate' Source #

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

PostTokensRequestBodyCvcUpdate' 

Fields

data PostTokensRequestBodyPerson' Source #

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

PostTokensRequestBodyPerson' 

Fields

data PostTokensRequestBodyPerson'Address' Source #

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

PostTokensRequestBodyPerson'Address' 

Fields

data PostTokensRequestBodyPerson'AddressKana' Source #

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

PostTokensRequestBodyPerson'AddressKana' 

Fields

data PostTokensRequestBodyPerson'AddressKanji' Source #

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

PostTokensRequestBodyPerson'AddressKanji' 

Fields

data PostTokensRequestBodyPerson'Dob'OneOf1 Source #

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.

data PostTokensRequestBodyPerson'Dob'Variants Source #

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.

data PostTokensRequestBodyPerson'Documents' Source #

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.

data PostTokensRequestBodyPerson'Documents'CompanyAuthorization' Source #

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.

Instances

Instances details
Eq PostTokensRequestBodyPerson'Documents'CompanyAuthorization' Source # 
Instance details

Defined in StripeAPI.Operations.PostTokens

Show PostTokensRequestBodyPerson'Documents'CompanyAuthorization' Source # 
Instance details

Defined in StripeAPI.Operations.PostTokens

ToJSON PostTokensRequestBodyPerson'Documents'CompanyAuthorization' Source # 
Instance details

Defined in StripeAPI.Operations.PostTokens

FromJSON PostTokensRequestBodyPerson'Documents'CompanyAuthorization' Source # 
Instance details

Defined in StripeAPI.Operations.PostTokens

data PostTokensRequestBodyPerson'Documents'Passport' Source #

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.

data PostTokensRequestBodyPerson'Documents'Visa' Source #

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.

data PostTokensRequestBodyPerson'Metadata'Variants Source #

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.

data PostTokensRequestBodyPerson'Relationship' Source #

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.

data PostTokensRequestBodyPerson'Relationship'PercentOwnership'Variants Source #

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.

Instances

Instances details
Eq PostTokensRequestBodyPerson'Relationship'PercentOwnership'Variants Source # 
Instance details

Defined in StripeAPI.Operations.PostTokens

Show PostTokensRequestBodyPerson'Relationship'PercentOwnership'Variants Source # 
Instance details

Defined in StripeAPI.Operations.PostTokens

ToJSON PostTokensRequestBodyPerson'Relationship'PercentOwnership'Variants Source # 
Instance details

Defined in StripeAPI.Operations.PostTokens

FromJSON PostTokensRequestBodyPerson'Relationship'PercentOwnership'Variants Source # 
Instance details

Defined in StripeAPI.Operations.PostTokens

data PostTokensRequestBodyPerson'Verification' Source #

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.

data PostTokensRequestBodyPerson'Verification'AdditionalDocument' Source #

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.

Instances

Instances details
Eq PostTokensRequestBodyPerson'Verification'AdditionalDocument' Source # 
Instance details

Defined in StripeAPI.Operations.PostTokens

Show PostTokensRequestBodyPerson'Verification'AdditionalDocument' Source # 
Instance details

Defined in StripeAPI.Operations.PostTokens

ToJSON PostTokensRequestBodyPerson'Verification'AdditionalDocument' Source # 
Instance details

Defined in StripeAPI.Operations.PostTokens

FromJSON PostTokensRequestBodyPerson'Verification'AdditionalDocument' Source # 
Instance details

Defined in StripeAPI.Operations.PostTokens

data PostTokensRequestBodyPerson'Verification'Document' Source #

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.

Instances

Instances details
Eq PostTokensRequestBodyPerson'Verification'Document' Source # 
Instance details

Defined in StripeAPI.Operations.PostTokens

Show PostTokensRequestBodyPerson'Verification'Document' Source # 
Instance details

Defined in StripeAPI.Operations.PostTokens

ToJSON PostTokensRequestBodyPerson'Verification'Document' Source # 
Instance details

Defined in StripeAPI.Operations.PostTokens

FromJSON PostTokensRequestBodyPerson'Verification'Document' Source # 
Instance details

Defined in StripeAPI.Operations.PostTokens

data PostTokensResponse Source #

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

PostTokensResponseError String

Means either no matching case available or a parse error

PostTokensResponse200 Token

Successful response.

PostTokensResponseDefault Error

Error response.