stripeapi-0.1.0.0: Stripe-Library

Safe HaskellNone
LanguageHaskell2010

StripeAPI.Operations.PostAccountPeople

Description

Contains the different functions to run the operation postAccountPeople

Synopsis

Documentation

postAccountPeople Source #

Arguments

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

The configuration to use in the request

-> PostAccountPeopleRequestBody

The request body to send

-> m (Either HttpException (Response PostAccountPeopleResponse))

Monad containing the result of the operation

POST /v1/account/people

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

postAccountPeopleRaw :: forall m s. (MonadHTTP m, SecurityScheme s) => Configuration s -> PostAccountPeopleRequestBody -> m (Either HttpException (Response ByteString)) Source #

POST /v1/account/people

The same as postAccountPeople but returns the raw ByteString

data PostAccountPeopleRequestBody Source #

Defines the data type for the schema postAccountPeopleRequestBody

Constructors

PostAccountPeopleRequestBody 

Fields

data PostAccountPeopleRequestBodyAddress' Source #

Defines the data type for the schema postAccountPeopleRequestBodyAddress'

The person's address.

Constructors

PostAccountPeopleRequestBodyAddress' 

Fields

data PostAccountPeopleRequestBodyAddressKana' Source #

Defines the data type for the schema postAccountPeopleRequestBodyAddress_kana'

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

Constructors

PostAccountPeopleRequestBodyAddressKana' 

Fields

data PostAccountPeopleRequestBodyAddressKanji' Source #

Defines the data type for the schema postAccountPeopleRequestBodyAddress_kanji'

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

Constructors

PostAccountPeopleRequestBodyAddressKanji' 

Fields

data PostAccountPeopleRequestBodyDob'OneOf1 Source #

Defines the enum schema postAccountPeopleRequestBodyDob'OneOf1

data PostAccountPeopleRequestBodyDob'OneOf2 Source #

Defines the data type for the schema postAccountPeopleRequestBodyDob'OneOf2

data PostAccountPeopleRequestBodyDob'Variants Source #

Define the one-of schema postAccountPeopleRequestBodyDob'

The person's date of birth.

Instances
Eq PostAccountPeopleRequestBodyDob'Variants Source # 
Instance details

Defined in StripeAPI.Operations.PostAccountPeople

Show PostAccountPeopleRequestBodyDob'Variants Source # 
Instance details

Defined in StripeAPI.Operations.PostAccountPeople

Generic PostAccountPeopleRequestBodyDob'Variants Source # 
Instance details

Defined in StripeAPI.Operations.PostAccountPeople

ToJSON PostAccountPeopleRequestBodyDob'Variants Source # 
Instance details

Defined in StripeAPI.Operations.PostAccountPeople

FromJSON PostAccountPeopleRequestBodyDob'Variants Source # 
Instance details

Defined in StripeAPI.Operations.PostAccountPeople

type Rep PostAccountPeopleRequestBodyDob'Variants Source # 
Instance details

Defined in StripeAPI.Operations.PostAccountPeople

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

data PostAccountPeopleRequestBodyMetadata' Source #

Defines the data type for the schema postAccountPeopleRequestBodyMetadata'

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 data type for the schema postAccountPeopleRequestBodyRelationship'

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

data PostAccountPeopleRequestBodyRelationship'PercentOwnership'OneOf1 Source #

Defines the enum schema postAccountPeopleRequestBodyRelationship'Percent_ownership'OneOf1

Instances
Eq PostAccountPeopleRequestBodyRelationship'PercentOwnership'OneOf1 Source # 
Instance details

Defined in StripeAPI.Operations.PostAccountPeople

Show PostAccountPeopleRequestBodyRelationship'PercentOwnership'OneOf1 Source # 
Instance details

Defined in StripeAPI.Operations.PostAccountPeople

ToJSON PostAccountPeopleRequestBodyRelationship'PercentOwnership'OneOf1 Source # 
Instance details

Defined in StripeAPI.Operations.PostAccountPeople

FromJSON PostAccountPeopleRequestBodyRelationship'PercentOwnership'OneOf1 Source # 
Instance details

Defined in StripeAPI.Operations.PostAccountPeople

data PostAccountPeopleRequestBodyRelationship'PercentOwnership'Variants Source #

Define the one-of schema postAccountPeopleRequestBodyRelationship'Percent_ownership'

Instances
Eq PostAccountPeopleRequestBodyRelationship'PercentOwnership'Variants Source # 
Instance details

Defined in StripeAPI.Operations.PostAccountPeople

Show PostAccountPeopleRequestBodyRelationship'PercentOwnership'Variants Source # 
Instance details

Defined in StripeAPI.Operations.PostAccountPeople

Generic 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

type Rep PostAccountPeopleRequestBodyRelationship'PercentOwnership'Variants Source # 
Instance details

Defined in StripeAPI.Operations.PostAccountPeople

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

data PostAccountPeopleRequestBodyVerification' Source #

Defines the data type for the schema postAccountPeopleRequestBodyVerification'

The person's verification status.

data PostAccountPeopleRequestBodyVerification'AdditionalDocument' Source #

Defines the data type for the schema postAccountPeopleRequestBodyVerification'Additional_document'

Instances
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 data type for the schema postAccountPeopleRequestBodyVerification'Document'

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