stripeapi-2.0.0.1: Stripe-Library
Safe HaskellNone
LanguageHaskell2010

StripeAPI.Operations.PostAccountPersons

Description

Contains the different functions to run the operation postAccountPersons

Synopsis

Documentation

postAccountPersons Source #

Arguments

:: forall m. MonadHTTP m 
=> Maybe PostAccountPersonsRequestBody

The request body to send

-> ClientT m (Response PostAccountPersonsResponse)

Monadic computation which returns the result of the operation

POST /v1/account/persons

<p>Creates a new person.</p>

data PostAccountPersonsRequestBody Source #

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

Constructors

PostAccountPersonsRequestBody 

Fields

data PostAccountPersonsRequestBodyAddress' Source #

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

The person's address.

Constructors

PostAccountPersonsRequestBodyAddress' 

Fields

data PostAccountPersonsRequestBodyAddressKana' Source #

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

The Kana variation of the person's address (Japan only).

Constructors

PostAccountPersonsRequestBodyAddressKana' 

Fields

data PostAccountPersonsRequestBodyAddressKanji' Source #

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

The Kanji variation of the person's address (Japan only).

Constructors

PostAccountPersonsRequestBodyAddressKanji' 

Fields

data PostAccountPersonsRequestBodyDob'OneOf1 Source #

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

data PostAccountPersonsRequestBodyDob'Variants Source #

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

The person's date of birth.

data PostAccountPersonsRequestBodyDocuments' Source #

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

Documents that may be submitted to satisfy various informational requests.

data PostAccountPersonsRequestBodyDocuments'CompanyAuthorization' Source #

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

Instances

Instances details
Eq PostAccountPersonsRequestBodyDocuments'CompanyAuthorization' Source # 
Instance details

Defined in StripeAPI.Operations.PostAccountPersons

Show PostAccountPersonsRequestBodyDocuments'CompanyAuthorization' Source # 
Instance details

Defined in StripeAPI.Operations.PostAccountPersons

ToJSON PostAccountPersonsRequestBodyDocuments'CompanyAuthorization' Source # 
Instance details

Defined in StripeAPI.Operations.PostAccountPersons

FromJSON PostAccountPersonsRequestBodyDocuments'CompanyAuthorization' Source # 
Instance details

Defined in StripeAPI.Operations.PostAccountPersons

data PostAccountPersonsRequestBodyDocuments'Passport' Source #

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

Instances

Instances details
Eq PostAccountPersonsRequestBodyDocuments'Passport' Source # 
Instance details

Defined in StripeAPI.Operations.PostAccountPersons

Show PostAccountPersonsRequestBodyDocuments'Passport' Source # 
Instance details

Defined in StripeAPI.Operations.PostAccountPersons

ToJSON PostAccountPersonsRequestBodyDocuments'Passport' Source # 
Instance details

Defined in StripeAPI.Operations.PostAccountPersons

FromJSON PostAccountPersonsRequestBodyDocuments'Passport' Source # 
Instance details

Defined in StripeAPI.Operations.PostAccountPersons

data PostAccountPersonsRequestBodyDocuments'Visa' Source #

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

data PostAccountPersonsRequestBodyMetadata'Variants Source #

Defines the oneOf schema located at paths./v1/account/persons.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`.

data PostAccountPersonsRequestBodyRelationship' Source #

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

The relationship that this person has with the account's legal entity.

data PostAccountPersonsRequestBodyRelationship'PercentOwnership'Variants Source #

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

Instances

Instances details
Eq PostAccountPersonsRequestBodyRelationship'PercentOwnership'Variants Source # 
Instance details

Defined in StripeAPI.Operations.PostAccountPersons

Show PostAccountPersonsRequestBodyRelationship'PercentOwnership'Variants Source # 
Instance details

Defined in StripeAPI.Operations.PostAccountPersons

ToJSON PostAccountPersonsRequestBodyRelationship'PercentOwnership'Variants Source # 
Instance details

Defined in StripeAPI.Operations.PostAccountPersons

FromJSON PostAccountPersonsRequestBodyRelationship'PercentOwnership'Variants Source # 
Instance details

Defined in StripeAPI.Operations.PostAccountPersons

data PostAccountPersonsRequestBodyVerification' Source #

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

The person's verification status.

data PostAccountPersonsRequestBodyVerification'AdditionalDocument' Source #

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

Instances

Instances details
Eq PostAccountPersonsRequestBodyVerification'AdditionalDocument' Source # 
Instance details

Defined in StripeAPI.Operations.PostAccountPersons

Show PostAccountPersonsRequestBodyVerification'AdditionalDocument' Source # 
Instance details

Defined in StripeAPI.Operations.PostAccountPersons

ToJSON PostAccountPersonsRequestBodyVerification'AdditionalDocument' Source # 
Instance details

Defined in StripeAPI.Operations.PostAccountPersons

FromJSON PostAccountPersonsRequestBodyVerification'AdditionalDocument' Source # 
Instance details

Defined in StripeAPI.Operations.PostAccountPersons

data PostAccountPersonsRequestBodyVerification'Document' Source #

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

Instances

Instances details
Eq PostAccountPersonsRequestBodyVerification'Document' Source # 
Instance details

Defined in StripeAPI.Operations.PostAccountPersons

Show PostAccountPersonsRequestBodyVerification'Document' Source # 
Instance details

Defined in StripeAPI.Operations.PostAccountPersons

ToJSON PostAccountPersonsRequestBodyVerification'Document' Source # 
Instance details

Defined in StripeAPI.Operations.PostAccountPersons

FromJSON PostAccountPersonsRequestBodyVerification'Document' Source # 
Instance details

Defined in StripeAPI.Operations.PostAccountPersons

data PostAccountPersonsResponse Source #

Represents a response of the operation postAccountPersons.

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

Constructors

PostAccountPersonsResponseError String

Means either no matching case available or a parse error

PostAccountPersonsResponse200 Person

Successful response.

PostAccountPersonsResponseDefault Error

Error response.