stripeapi-0.1.0.0: Stripe-Library

Safe HaskellNone
LanguageHaskell2010

StripeAPI.Operations.PostAccountPeoplePerson

Description

Contains the different functions to run the operation postAccountPeoplePerson

Synopsis

Documentation

postAccountPeoplePerson Source #

Arguments

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

The configuration to use in the request

-> String

person | Constraints: Maximum length of 5000

-> PostAccountPeoplePersonRequestBody

The request body to send

-> m (Either HttpException (Response PostAccountPeoplePersonResponse))

Monad containing the result of the operation

POST /v1/account/people/{person}

<p>Updates an existing person.</p>

data PostAccountPeoplePersonRequestBody Source #

Defines the data type for the schema postAccountPeoplePersonRequestBody

Constructors

PostAccountPeoplePersonRequestBody 

Fields

data PostAccountPeoplePersonRequestBodyAddress' Source #

Defines the data type for the schema postAccountPeoplePersonRequestBodyAddress'

The person's address.

Constructors

PostAccountPeoplePersonRequestBodyAddress' 

Fields

data PostAccountPeoplePersonRequestBodyAddressKana' Source #

Defines the data type for the schema postAccountPeoplePersonRequestBodyAddress_kana'

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

Constructors

PostAccountPeoplePersonRequestBodyAddressKana' 

Fields

data PostAccountPeoplePersonRequestBodyAddressKanji' Source #

Defines the data type for the schema postAccountPeoplePersonRequestBodyAddress_kanji'

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

Constructors

PostAccountPeoplePersonRequestBodyAddressKanji' 

Fields

data PostAccountPeoplePersonRequestBodyDob'OneOf1 Source #

Defines the enum schema postAccountPeoplePersonRequestBodyDob'OneOf1

data PostAccountPeoplePersonRequestBodyDob'OneOf2 Source #

Defines the data type for the schema postAccountPeoplePersonRequestBodyDob'OneOf2

data PostAccountPeoplePersonRequestBodyDob'Variants Source #

Define the one-of schema postAccountPeoplePersonRequestBodyDob'

The person's date of birth.

Instances
Eq PostAccountPeoplePersonRequestBodyDob'Variants Source # 
Instance details

Defined in StripeAPI.Operations.PostAccountPeoplePerson

Show PostAccountPeoplePersonRequestBodyDob'Variants Source # 
Instance details

Defined in StripeAPI.Operations.PostAccountPeoplePerson

Generic PostAccountPeoplePersonRequestBodyDob'Variants Source # 
Instance details

Defined in StripeAPI.Operations.PostAccountPeoplePerson

ToJSON PostAccountPeoplePersonRequestBodyDob'Variants Source # 
Instance details

Defined in StripeAPI.Operations.PostAccountPeoplePerson

FromJSON PostAccountPeoplePersonRequestBodyDob'Variants Source # 
Instance details

Defined in StripeAPI.Operations.PostAccountPeoplePerson

type Rep PostAccountPeoplePersonRequestBodyDob'Variants Source # 
Instance details

Defined in StripeAPI.Operations.PostAccountPeoplePerson

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

data PostAccountPeoplePersonRequestBodyMetadata' Source #

Defines the data type for the schema postAccountPeoplePersonRequestBodyMetadata'

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

Defines the data type for the schema postAccountPeoplePersonRequestBodyRelationship'

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

data PostAccountPeoplePersonRequestBodyRelationship'PercentOwnership'OneOf1 Source #

Defines the enum schema postAccountPeoplePersonRequestBodyRelationship'Percent_ownership'OneOf1

Instances
Eq PostAccountPeoplePersonRequestBodyRelationship'PercentOwnership'OneOf1 Source # 
Instance details

Defined in StripeAPI.Operations.PostAccountPeoplePerson

Show PostAccountPeoplePersonRequestBodyRelationship'PercentOwnership'OneOf1 Source # 
Instance details

Defined in StripeAPI.Operations.PostAccountPeoplePerson

ToJSON PostAccountPeoplePersonRequestBodyRelationship'PercentOwnership'OneOf1 Source # 
Instance details

Defined in StripeAPI.Operations.PostAccountPeoplePerson

FromJSON PostAccountPeoplePersonRequestBodyRelationship'PercentOwnership'OneOf1 Source # 
Instance details

Defined in StripeAPI.Operations.PostAccountPeoplePerson

data PostAccountPeoplePersonRequestBodyRelationship'PercentOwnership'Variants Source #

Define the one-of schema postAccountPeoplePersonRequestBodyRelationship'Percent_ownership'

Instances
Eq PostAccountPeoplePersonRequestBodyRelationship'PercentOwnership'Variants Source # 
Instance details

Defined in StripeAPI.Operations.PostAccountPeoplePerson

Show PostAccountPeoplePersonRequestBodyRelationship'PercentOwnership'Variants Source # 
Instance details

Defined in StripeAPI.Operations.PostAccountPeoplePerson

Generic PostAccountPeoplePersonRequestBodyRelationship'PercentOwnership'Variants Source # 
Instance details

Defined in StripeAPI.Operations.PostAccountPeoplePerson

ToJSON PostAccountPeoplePersonRequestBodyRelationship'PercentOwnership'Variants Source # 
Instance details

Defined in StripeAPI.Operations.PostAccountPeoplePerson

FromJSON PostAccountPeoplePersonRequestBodyRelationship'PercentOwnership'Variants Source # 
Instance details

Defined in StripeAPI.Operations.PostAccountPeoplePerson

type Rep PostAccountPeoplePersonRequestBodyRelationship'PercentOwnership'Variants Source # 
Instance details

Defined in StripeAPI.Operations.PostAccountPeoplePerson

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

data PostAccountPeoplePersonRequestBodyVerification' Source #

Defines the data type for the schema postAccountPeoplePersonRequestBodyVerification'

The person's verification status.

data PostAccountPeoplePersonRequestBodyVerification'AdditionalDocument' Source #

Defines the data type for the schema postAccountPeoplePersonRequestBodyVerification'Additional_document'

Instances
Eq PostAccountPeoplePersonRequestBodyVerification'AdditionalDocument' Source # 
Instance details

Defined in StripeAPI.Operations.PostAccountPeoplePerson

Show PostAccountPeoplePersonRequestBodyVerification'AdditionalDocument' Source # 
Instance details

Defined in StripeAPI.Operations.PostAccountPeoplePerson

ToJSON PostAccountPeoplePersonRequestBodyVerification'AdditionalDocument' Source # 
Instance details

Defined in StripeAPI.Operations.PostAccountPeoplePerson

FromJSON PostAccountPeoplePersonRequestBodyVerification'AdditionalDocument' Source # 
Instance details

Defined in StripeAPI.Operations.PostAccountPeoplePerson

data PostAccountPeoplePersonRequestBodyVerification'Document' Source #

Defines the data type for the schema postAccountPeoplePersonRequestBodyVerification'Document'

Instances
Eq PostAccountPeoplePersonRequestBodyVerification'Document' Source # 
Instance details

Defined in StripeAPI.Operations.PostAccountPeoplePerson

Show PostAccountPeoplePersonRequestBodyVerification'Document' Source # 
Instance details

Defined in StripeAPI.Operations.PostAccountPeoplePerson

ToJSON PostAccountPeoplePersonRequestBodyVerification'Document' Source # 
Instance details

Defined in StripeAPI.Operations.PostAccountPeoplePerson

FromJSON PostAccountPeoplePersonRequestBodyVerification'Document' Source # 
Instance details

Defined in StripeAPI.Operations.PostAccountPeoplePerson

data PostAccountPeoplePersonResponse Source #

Represents a response of the operation postAccountPeoplePerson.

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

Constructors

PostAccountPeoplePersonResponseError String

Means either no matching case available or a parse error

PostAccountPeoplePersonResponse200 Person

Successful response.

PostAccountPeoplePersonResponseDefault Error

Error response.