stripeapi-2.0.0.1: Stripe-Library
Safe HaskellNone
LanguageHaskell2010

StripeAPI.Operations.PostAccountPeople

Description

Contains the different functions to run the operation postAccountPeople

Synopsis

Documentation

postAccountPeople Source #

Arguments

:: forall m. MonadHTTP m 
=> Maybe PostAccountPeopleRequestBody

The request body to send

-> ClientT m (Response PostAccountPeopleResponse)

Monadic computation which returns the result of the operation

POST /v1/account/people

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

data PostAccountPeopleRequestBody Source #

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

Constructors

PostAccountPeopleRequestBody 

Fields

data PostAccountPeopleRequestBodyAddress' Source #

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

The person's address.

Constructors

PostAccountPeopleRequestBodyAddress' 

Fields

data PostAccountPeopleRequestBodyAddressKana' Source #

Defines the object schema located at paths./v1/account/people.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

PostAccountPeopleRequestBodyAddressKana' 

Fields

data PostAccountPeopleRequestBodyAddressKanji' Source #

Defines the object schema located at paths./v1/account/people.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

PostAccountPeopleRequestBodyAddressKanji' 

Fields

data PostAccountPeopleRequestBodyDob'OneOf1 Source #

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

data PostAccountPeopleRequestBodyDob'Variants Source #

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

The person's date of birth.

data PostAccountPeopleRequestBodyDocuments' Source #

Defines the object schema located at paths./v1/account/people.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 PostAccountPeopleRequestBodyDocuments'CompanyAuthorization' Source #

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

Instances

Instances details
Eq PostAccountPeopleRequestBodyDocuments'CompanyAuthorization' Source # 
Instance details

Defined in StripeAPI.Operations.PostAccountPeople

Show PostAccountPeopleRequestBodyDocuments'CompanyAuthorization' Source # 
Instance details

Defined in StripeAPI.Operations.PostAccountPeople

ToJSON PostAccountPeopleRequestBodyDocuments'CompanyAuthorization' Source # 
Instance details

Defined in StripeAPI.Operations.PostAccountPeople

FromJSON PostAccountPeopleRequestBodyDocuments'CompanyAuthorization' Source # 
Instance details

Defined in StripeAPI.Operations.PostAccountPeople

data PostAccountPeopleRequestBodyDocuments'Passport' Source #

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

data PostAccountPeopleRequestBodyDocuments'Visa' Source #

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

data PostAccountPeopleRequestBodyMetadata'Variants Source #

Defines the oneOf schema located at paths./v1/account/people.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 PostAccountPeopleRequestBodyRelationship' Source #

Defines the object schema located at paths./v1/account/people.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 PostAccountPeopleRequestBodyRelationship'PercentOwnership'Variants Source #

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

Instances

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

Defined in StripeAPI.Operations.PostAccountPeople

Show PostAccountPeopleRequestBodyRelationship'PercentOwnership'Variants Source # 
Instance details

Defined in StripeAPI.Operations.PostAccountPeople

ToJSON PostAccountPeopleRequestBodyRelationship'PercentOwnership'Variants Source # 
Instance details

Defined in StripeAPI.Operations.PostAccountPeople

FromJSON PostAccountPeopleRequestBodyRelationship'PercentOwnership'Variants Source # 
Instance details

Defined in StripeAPI.Operations.PostAccountPeople

data PostAccountPeopleRequestBodyVerification' Source #

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

The person's verification status.

data PostAccountPeopleRequestBodyVerification'AdditionalDocument' Source #

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

Instances

Instances details
Eq PostAccountPeopleRequestBodyVerification'AdditionalDocument' Source # 
Instance details

Defined in StripeAPI.Operations.PostAccountPeople

Show PostAccountPeopleRequestBodyVerification'AdditionalDocument' Source # 
Instance details

Defined in StripeAPI.Operations.PostAccountPeople

ToJSON PostAccountPeopleRequestBodyVerification'AdditionalDocument' Source # 
Instance details

Defined in StripeAPI.Operations.PostAccountPeople

FromJSON PostAccountPeopleRequestBodyVerification'AdditionalDocument' Source # 
Instance details

Defined in StripeAPI.Operations.PostAccountPeople

data PostAccountPeopleRequestBodyVerification'Document' Source #

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

Instances

Instances details
Eq PostAccountPeopleRequestBodyVerification'Document' Source # 
Instance details

Defined in StripeAPI.Operations.PostAccountPeople

Show PostAccountPeopleRequestBodyVerification'Document' Source # 
Instance details

Defined in StripeAPI.Operations.PostAccountPeople

ToJSON PostAccountPeopleRequestBodyVerification'Document' Source # 
Instance details

Defined in StripeAPI.Operations.PostAccountPeople

FromJSON PostAccountPeopleRequestBodyVerification'Document' Source # 
Instance details

Defined in StripeAPI.Operations.PostAccountPeople

data PostAccountPeopleResponse Source #

Represents a response of the operation postAccountPeople.

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

Constructors

PostAccountPeopleResponseError String

Means either no matching case available or a parse error

PostAccountPeopleResponse200 Person

Successful response.

PostAccountPeopleResponseDefault Error

Error response.