stripeapi-0.1.0.0: Stripe-Library

Safe HaskellNone
LanguageHaskell2010

StripeAPI.Operations.PostAccountPersons

Description

Contains the different functions to run the operation postAccountPersons

Synopsis

Documentation

postAccountPersons Source #

Arguments

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

The configuration to use in the request

-> PostAccountPersonsRequestBody

The request body to send

-> m (Either HttpException (Response PostAccountPersonsResponse))

Monad containing the result of the operation

POST /v1/account/persons

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

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

POST /v1/account/persons

The same as postAccountPersons but returns the raw ByteString

data PostAccountPersonsRequestBody Source #

Defines the data type for the schema postAccountPersonsRequestBody

Constructors

PostAccountPersonsRequestBody 

Fields

data PostAccountPersonsRequestBodyAddress' Source #

Defines the data type for the schema postAccountPersonsRequestBodyAddress'

The person's address.

Constructors

PostAccountPersonsRequestBodyAddress' 

Fields

data PostAccountPersonsRequestBodyAddressKana' Source #

Defines the data type for the schema postAccountPersonsRequestBodyAddress_kana'

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

Constructors

PostAccountPersonsRequestBodyAddressKana' 

Fields

data PostAccountPersonsRequestBodyAddressKanji' Source #

Defines the data type for the schema postAccountPersonsRequestBodyAddress_kanji'

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

Constructors

PostAccountPersonsRequestBodyAddressKanji' 

Fields

data PostAccountPersonsRequestBodyDob'OneOf1 Source #

Defines the enum schema postAccountPersonsRequestBodyDob'OneOf1

data PostAccountPersonsRequestBodyDob'OneOf2 Source #

Defines the data type for the schema postAccountPersonsRequestBodyDob'OneOf2

data PostAccountPersonsRequestBodyDob'Variants Source #

Define the one-of schema postAccountPersonsRequestBodyDob'

The person's date of birth.

Instances
Eq PostAccountPersonsRequestBodyDob'Variants Source # 
Instance details

Defined in StripeAPI.Operations.PostAccountPersons

Show PostAccountPersonsRequestBodyDob'Variants Source # 
Instance details

Defined in StripeAPI.Operations.PostAccountPersons

Generic PostAccountPersonsRequestBodyDob'Variants Source # 
Instance details

Defined in StripeAPI.Operations.PostAccountPersons

ToJSON PostAccountPersonsRequestBodyDob'Variants Source # 
Instance details

Defined in StripeAPI.Operations.PostAccountPersons

FromJSON PostAccountPersonsRequestBodyDob'Variants Source # 
Instance details

Defined in StripeAPI.Operations.PostAccountPersons

type Rep PostAccountPersonsRequestBodyDob'Variants Source # 
Instance details

Defined in StripeAPI.Operations.PostAccountPersons

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

data PostAccountPersonsRequestBodyMetadata' Source #

Defines the data type for the schema postAccountPersonsRequestBodyMetadata'

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

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

data PostAccountPersonsRequestBodyRelationship'PercentOwnership'OneOf1 Source #

Defines the enum schema postAccountPersonsRequestBodyRelationship'Percent_ownership'OneOf1

Instances
Eq PostAccountPersonsRequestBodyRelationship'PercentOwnership'OneOf1 Source # 
Instance details

Defined in StripeAPI.Operations.PostAccountPersons

Show PostAccountPersonsRequestBodyRelationship'PercentOwnership'OneOf1 Source # 
Instance details

Defined in StripeAPI.Operations.PostAccountPersons

ToJSON PostAccountPersonsRequestBodyRelationship'PercentOwnership'OneOf1 Source # 
Instance details

Defined in StripeAPI.Operations.PostAccountPersons

FromJSON PostAccountPersonsRequestBodyRelationship'PercentOwnership'OneOf1 Source # 
Instance details

Defined in StripeAPI.Operations.PostAccountPersons

data PostAccountPersonsRequestBodyRelationship'PercentOwnership'Variants Source #

Define the one-of schema postAccountPersonsRequestBodyRelationship'Percent_ownership'

Instances
Eq PostAccountPersonsRequestBodyRelationship'PercentOwnership'Variants Source # 
Instance details

Defined in StripeAPI.Operations.PostAccountPersons

Show PostAccountPersonsRequestBodyRelationship'PercentOwnership'Variants Source # 
Instance details

Defined in StripeAPI.Operations.PostAccountPersons

Generic 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

type Rep PostAccountPersonsRequestBodyRelationship'PercentOwnership'Variants Source # 
Instance details

Defined in StripeAPI.Operations.PostAccountPersons

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

data PostAccountPersonsRequestBodyVerification' Source #

Defines the data type for the schema postAccountPersonsRequestBodyVerification'

The person's verification status.

data PostAccountPersonsRequestBodyVerification'AdditionalDocument' Source #

Defines the data type for the schema postAccountPersonsRequestBodyVerification'Additional_document'

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

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