stripeapi-0.1.0.0: Stripe-Library

Safe HaskellNone
LanguageHaskell2010

StripeAPI.Operations.PostAccountsAccountPeople

Description

Contains the different functions to run the operation postAccountsAccountPeople

Synopsis

Documentation

postAccountsAccountPeople Source #

Arguments

:: (MonadHTTP m, SecurityScheme s) 
=> Configuration s

The configuration to use in the request

-> String

account | Constraints: Maximum length of 5000

-> PostAccountsAccountPeopleRequestBody

The request body to send

-> m (Either HttpException (Response PostAccountsAccountPeopleResponse))

Monad containing the result of the operation

POST /v1/accounts/{account}/people

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

data PostAccountsAccountPeopleRequestBody Source #

Defines the data type for the schema postAccountsAccountPeopleRequestBody

Constructors

PostAccountsAccountPeopleRequestBody 

Fields

data PostAccountsAccountPeopleRequestBodyAddress' Source #

Defines the data type for the schema postAccountsAccountPeopleRequestBodyAddress'

The person's address.

Constructors

PostAccountsAccountPeopleRequestBodyAddress' 

Fields

data PostAccountsAccountPeopleRequestBodyAddressKana' Source #

Defines the data type for the schema postAccountsAccountPeopleRequestBodyAddress_kana'

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

Constructors

PostAccountsAccountPeopleRequestBodyAddressKana' 

Fields

Instances
Eq PostAccountsAccountPeopleRequestBodyAddressKana' Source # 
Instance details

Defined in StripeAPI.Operations.PostAccountsAccountPeople

Show PostAccountsAccountPeopleRequestBodyAddressKana' Source # 
Instance details

Defined in StripeAPI.Operations.PostAccountsAccountPeople

ToJSON PostAccountsAccountPeopleRequestBodyAddressKana' Source # 
Instance details

Defined in StripeAPI.Operations.PostAccountsAccountPeople

FromJSON PostAccountsAccountPeopleRequestBodyAddressKana' Source # 
Instance details

Defined in StripeAPI.Operations.PostAccountsAccountPeople

data PostAccountsAccountPeopleRequestBodyAddressKanji' Source #

Defines the data type for the schema postAccountsAccountPeopleRequestBodyAddress_kanji'

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

Instances
Eq PostAccountsAccountPeopleRequestBodyAddressKanji' Source # 
Instance details

Defined in StripeAPI.Operations.PostAccountsAccountPeople

Show PostAccountsAccountPeopleRequestBodyAddressKanji' Source # 
Instance details

Defined in StripeAPI.Operations.PostAccountsAccountPeople

ToJSON PostAccountsAccountPeopleRequestBodyAddressKanji' Source # 
Instance details

Defined in StripeAPI.Operations.PostAccountsAccountPeople

FromJSON PostAccountsAccountPeopleRequestBodyAddressKanji' Source # 
Instance details

Defined in StripeAPI.Operations.PostAccountsAccountPeople

data PostAccountsAccountPeopleRequestBodyDob'OneOf1 Source #

Defines the enum schema postAccountsAccountPeopleRequestBodyDob'OneOf1

data PostAccountsAccountPeopleRequestBodyDob'OneOf2 Source #

Defines the data type for the schema postAccountsAccountPeopleRequestBodyDob'OneOf2

data PostAccountsAccountPeopleRequestBodyDob'Variants Source #

Define the one-of schema postAccountsAccountPeopleRequestBodyDob'

The person's date of birth.

Instances
Eq PostAccountsAccountPeopleRequestBodyDob'Variants Source # 
Instance details

Defined in StripeAPI.Operations.PostAccountsAccountPeople

Show PostAccountsAccountPeopleRequestBodyDob'Variants Source # 
Instance details

Defined in StripeAPI.Operations.PostAccountsAccountPeople

Generic PostAccountsAccountPeopleRequestBodyDob'Variants Source # 
Instance details

Defined in StripeAPI.Operations.PostAccountsAccountPeople

ToJSON PostAccountsAccountPeopleRequestBodyDob'Variants Source # 
Instance details

Defined in StripeAPI.Operations.PostAccountsAccountPeople

FromJSON PostAccountsAccountPeopleRequestBodyDob'Variants Source # 
Instance details

Defined in StripeAPI.Operations.PostAccountsAccountPeople

type Rep PostAccountsAccountPeopleRequestBodyDob'Variants Source # 
Instance details

Defined in StripeAPI.Operations.PostAccountsAccountPeople

type Rep PostAccountsAccountPeopleRequestBodyDob'Variants = D1 (MetaData "PostAccountsAccountPeopleRequestBodyDob'Variants" "StripeAPI.Operations.PostAccountsAccountPeople" "stripeapi-0.1.0.0-A3hJyYFbMZN6w4qjBpK6b6" False) (C1 (MetaCons "PostAccountsAccountPeopleRequestBodyDob'PostAccountsAccountPeopleRequestBodyDob'OneOf1" PrefixI False) (S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 PostAccountsAccountPeopleRequestBodyDob'OneOf1)) :+: C1 (MetaCons "PostAccountsAccountPeopleRequestBodyDob'PostAccountsAccountPeopleRequestBodyDob'OneOf2" PrefixI False) (S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 PostAccountsAccountPeopleRequestBodyDob'OneOf2)))

data PostAccountsAccountPeopleRequestBodyMetadata' Source #

Defines the data type for the schema postAccountsAccountPeopleRequestBodyMetadata'

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 PostAccountsAccountPeopleRequestBodyRelationship' Source #

Defines the data type for the schema postAccountsAccountPeopleRequestBodyRelationship'

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

Instances
Eq PostAccountsAccountPeopleRequestBodyRelationship' Source # 
Instance details

Defined in StripeAPI.Operations.PostAccountsAccountPeople

Show PostAccountsAccountPeopleRequestBodyRelationship' Source # 
Instance details

Defined in StripeAPI.Operations.PostAccountsAccountPeople

ToJSON PostAccountsAccountPeopleRequestBodyRelationship' Source # 
Instance details

Defined in StripeAPI.Operations.PostAccountsAccountPeople

FromJSON PostAccountsAccountPeopleRequestBodyRelationship' Source # 
Instance details

Defined in StripeAPI.Operations.PostAccountsAccountPeople

data PostAccountsAccountPeopleRequestBodyRelationship'PercentOwnership'OneOf1 Source #

Defines the enum schema postAccountsAccountPeopleRequestBodyRelationship'Percent_ownership'OneOf1

Instances
Eq PostAccountsAccountPeopleRequestBodyRelationship'PercentOwnership'OneOf1 Source # 
Instance details

Defined in StripeAPI.Operations.PostAccountsAccountPeople

Show PostAccountsAccountPeopleRequestBodyRelationship'PercentOwnership'OneOf1 Source # 
Instance details

Defined in StripeAPI.Operations.PostAccountsAccountPeople

ToJSON PostAccountsAccountPeopleRequestBodyRelationship'PercentOwnership'OneOf1 Source # 
Instance details

Defined in StripeAPI.Operations.PostAccountsAccountPeople

FromJSON PostAccountsAccountPeopleRequestBodyRelationship'PercentOwnership'OneOf1 Source # 
Instance details

Defined in StripeAPI.Operations.PostAccountsAccountPeople

data PostAccountsAccountPeopleRequestBodyRelationship'PercentOwnership'Variants Source #

Define the one-of schema postAccountsAccountPeopleRequestBodyRelationship'Percent_ownership'

Instances
Eq PostAccountsAccountPeopleRequestBodyRelationship'PercentOwnership'Variants Source # 
Instance details

Defined in StripeAPI.Operations.PostAccountsAccountPeople

Show PostAccountsAccountPeopleRequestBodyRelationship'PercentOwnership'Variants Source # 
Instance details

Defined in StripeAPI.Operations.PostAccountsAccountPeople

Generic PostAccountsAccountPeopleRequestBodyRelationship'PercentOwnership'Variants Source # 
Instance details

Defined in StripeAPI.Operations.PostAccountsAccountPeople

ToJSON PostAccountsAccountPeopleRequestBodyRelationship'PercentOwnership'Variants Source # 
Instance details

Defined in StripeAPI.Operations.PostAccountsAccountPeople

FromJSON PostAccountsAccountPeopleRequestBodyRelationship'PercentOwnership'Variants Source # 
Instance details

Defined in StripeAPI.Operations.PostAccountsAccountPeople

type Rep PostAccountsAccountPeopleRequestBodyRelationship'PercentOwnership'Variants Source # 
Instance details

Defined in StripeAPI.Operations.PostAccountsAccountPeople

type Rep PostAccountsAccountPeopleRequestBodyRelationship'PercentOwnership'Variants = D1 (MetaData "PostAccountsAccountPeopleRequestBodyRelationship'PercentOwnership'Variants" "StripeAPI.Operations.PostAccountsAccountPeople" "stripeapi-0.1.0.0-A3hJyYFbMZN6w4qjBpK6b6" False) (C1 (MetaCons "PostAccountsAccountPeopleRequestBodyRelationship'PercentOwnership'PostAccountsAccountPeopleRequestBodyRelationship'PercentOwnership'OneOf1" PrefixI False) (S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 PostAccountsAccountPeopleRequestBodyRelationship'PercentOwnership'OneOf1)) :+: C1 (MetaCons "PostAccountsAccountPeopleRequestBodyRelationship'PercentOwnership'Double" PrefixI False) (S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Double)))

data PostAccountsAccountPeopleRequestBodyVerification' Source #

Defines the data type for the schema postAccountsAccountPeopleRequestBodyVerification'

The person's verification status.

Instances
Eq PostAccountsAccountPeopleRequestBodyVerification' Source # 
Instance details

Defined in StripeAPI.Operations.PostAccountsAccountPeople

Show PostAccountsAccountPeopleRequestBodyVerification' Source # 
Instance details

Defined in StripeAPI.Operations.PostAccountsAccountPeople

ToJSON PostAccountsAccountPeopleRequestBodyVerification' Source # 
Instance details

Defined in StripeAPI.Operations.PostAccountsAccountPeople

FromJSON PostAccountsAccountPeopleRequestBodyVerification' Source # 
Instance details

Defined in StripeAPI.Operations.PostAccountsAccountPeople

data PostAccountsAccountPeopleRequestBodyVerification'AdditionalDocument' Source #

Defines the data type for the schema postAccountsAccountPeopleRequestBodyVerification'Additional_document'

Instances
Eq PostAccountsAccountPeopleRequestBodyVerification'AdditionalDocument' Source # 
Instance details

Defined in StripeAPI.Operations.PostAccountsAccountPeople

Show PostAccountsAccountPeopleRequestBodyVerification'AdditionalDocument' Source # 
Instance details

Defined in StripeAPI.Operations.PostAccountsAccountPeople

ToJSON PostAccountsAccountPeopleRequestBodyVerification'AdditionalDocument' Source # 
Instance details

Defined in StripeAPI.Operations.PostAccountsAccountPeople

FromJSON PostAccountsAccountPeopleRequestBodyVerification'AdditionalDocument' Source # 
Instance details

Defined in StripeAPI.Operations.PostAccountsAccountPeople

data PostAccountsAccountPeopleRequestBodyVerification'Document' Source #

Defines the data type for the schema postAccountsAccountPeopleRequestBodyVerification'Document'

Instances
Eq PostAccountsAccountPeopleRequestBodyVerification'Document' Source # 
Instance details

Defined in StripeAPI.Operations.PostAccountsAccountPeople

Show PostAccountsAccountPeopleRequestBodyVerification'Document' Source # 
Instance details

Defined in StripeAPI.Operations.PostAccountsAccountPeople

ToJSON PostAccountsAccountPeopleRequestBodyVerification'Document' Source # 
Instance details

Defined in StripeAPI.Operations.PostAccountsAccountPeople

FromJSON PostAccountsAccountPeopleRequestBodyVerification'Document' Source # 
Instance details

Defined in StripeAPI.Operations.PostAccountsAccountPeople

data PostAccountsAccountPeopleResponse Source #

Represents a response of the operation postAccountsAccountPeople.

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

Constructors

PostAccountsAccountPeopleResponseError String

Means either no matching case available or a parse error

PostAccountsAccountPeopleResponse200 Person

Successful response.

PostAccountsAccountPeopleResponseDefault Error

Error response.