Safe Haskell | None |
---|---|
Language | Haskell2010 |
Contains the different functions to run the operation postAccountsAccountPeoplePerson
Synopsis
- postAccountsAccountPeoplePerson :: forall m s. (MonadHTTP m, SecurityScheme s) => Configuration s -> String -> String -> PostAccountsAccountPeoplePersonRequestBody -> m (Either HttpException (Response PostAccountsAccountPeoplePersonResponse))
- postAccountsAccountPeoplePersonRaw :: forall m s. (MonadHTTP m, SecurityScheme s) => Configuration s -> String -> String -> PostAccountsAccountPeoplePersonRequestBody -> m (Either HttpException (Response ByteString))
- postAccountsAccountPeoplePersonM :: forall m s. (MonadHTTP m, SecurityScheme s) => String -> String -> PostAccountsAccountPeoplePersonRequestBody -> ReaderT (Configuration s) m (Either HttpException (Response PostAccountsAccountPeoplePersonResponse))
- postAccountsAccountPeoplePersonRawM :: forall m s. (MonadHTTP m, SecurityScheme s) => String -> String -> PostAccountsAccountPeoplePersonRequestBody -> ReaderT (Configuration s) m (Either HttpException (Response ByteString))
- data PostAccountsAccountPeoplePersonRequestBody = PostAccountsAccountPeoplePersonRequestBody {
- postAccountsAccountPeoplePersonRequestBodyAddress :: Maybe PostAccountsAccountPeoplePersonRequestBodyAddress'
- postAccountsAccountPeoplePersonRequestBodyAddressKana :: Maybe PostAccountsAccountPeoplePersonRequestBodyAddressKana'
- postAccountsAccountPeoplePersonRequestBodyAddressKanji :: Maybe PostAccountsAccountPeoplePersonRequestBodyAddressKanji'
- postAccountsAccountPeoplePersonRequestBodyDob :: Maybe PostAccountsAccountPeoplePersonRequestBodyDob'Variants
- postAccountsAccountPeoplePersonRequestBodyEmail :: Maybe String
- postAccountsAccountPeoplePersonRequestBodyExpand :: Maybe ([] String)
- postAccountsAccountPeoplePersonRequestBodyFirstName :: Maybe String
- postAccountsAccountPeoplePersonRequestBodyFirstNameKana :: Maybe String
- postAccountsAccountPeoplePersonRequestBodyFirstNameKanji :: Maybe String
- postAccountsAccountPeoplePersonRequestBodyGender :: Maybe String
- postAccountsAccountPeoplePersonRequestBodyIdNumber :: Maybe String
- postAccountsAccountPeoplePersonRequestBodyLastName :: Maybe String
- postAccountsAccountPeoplePersonRequestBodyLastNameKana :: Maybe String
- postAccountsAccountPeoplePersonRequestBodyLastNameKanji :: Maybe String
- postAccountsAccountPeoplePersonRequestBodyMaidenName :: Maybe String
- postAccountsAccountPeoplePersonRequestBodyMetadata :: Maybe PostAccountsAccountPeoplePersonRequestBodyMetadata'
- postAccountsAccountPeoplePersonRequestBodyPersonToken :: Maybe String
- postAccountsAccountPeoplePersonRequestBodyPhone :: Maybe String
- postAccountsAccountPeoplePersonRequestBodyRelationship :: Maybe PostAccountsAccountPeoplePersonRequestBodyRelationship'
- postAccountsAccountPeoplePersonRequestBodySsnLast_4 :: Maybe String
- postAccountsAccountPeoplePersonRequestBodyVerification :: Maybe PostAccountsAccountPeoplePersonRequestBodyVerification'
- data PostAccountsAccountPeoplePersonRequestBodyAddress' = PostAccountsAccountPeoplePersonRequestBodyAddress' {
- postAccountsAccountPeoplePersonRequestBodyAddress'City :: Maybe String
- postAccountsAccountPeoplePersonRequestBodyAddress'Country :: Maybe String
- postAccountsAccountPeoplePersonRequestBodyAddress'Line1 :: Maybe String
- postAccountsAccountPeoplePersonRequestBodyAddress'Line2 :: Maybe String
- postAccountsAccountPeoplePersonRequestBodyAddress'PostalCode :: Maybe String
- postAccountsAccountPeoplePersonRequestBodyAddress'State :: Maybe String
- data PostAccountsAccountPeoplePersonRequestBodyAddressKana' = PostAccountsAccountPeoplePersonRequestBodyAddressKana' {
- postAccountsAccountPeoplePersonRequestBodyAddressKana'City :: Maybe String
- postAccountsAccountPeoplePersonRequestBodyAddressKana'Country :: Maybe String
- postAccountsAccountPeoplePersonRequestBodyAddressKana'Line1 :: Maybe String
- postAccountsAccountPeoplePersonRequestBodyAddressKana'Line2 :: Maybe String
- postAccountsAccountPeoplePersonRequestBodyAddressKana'PostalCode :: Maybe String
- postAccountsAccountPeoplePersonRequestBodyAddressKana'State :: Maybe String
- postAccountsAccountPeoplePersonRequestBodyAddressKana'Town :: Maybe String
- data PostAccountsAccountPeoplePersonRequestBodyAddressKanji' = PostAccountsAccountPeoplePersonRequestBodyAddressKanji' {
- postAccountsAccountPeoplePersonRequestBodyAddressKanji'City :: Maybe String
- postAccountsAccountPeoplePersonRequestBodyAddressKanji'Country :: Maybe String
- postAccountsAccountPeoplePersonRequestBodyAddressKanji'Line1 :: Maybe String
- postAccountsAccountPeoplePersonRequestBodyAddressKanji'Line2 :: Maybe String
- postAccountsAccountPeoplePersonRequestBodyAddressKanji'PostalCode :: Maybe String
- postAccountsAccountPeoplePersonRequestBodyAddressKanji'State :: Maybe String
- postAccountsAccountPeoplePersonRequestBodyAddressKanji'Town :: Maybe String
- data PostAccountsAccountPeoplePersonRequestBodyDob'OneOf1
- data PostAccountsAccountPeoplePersonRequestBodyDob'OneOf2 = PostAccountsAccountPeoplePersonRequestBodyDob'OneOf2 {}
- data PostAccountsAccountPeoplePersonRequestBodyDob'Variants
- = PostAccountsAccountPeoplePersonRequestBodyDob'PostAccountsAccountPeoplePersonRequestBodyDob'OneOf1 PostAccountsAccountPeoplePersonRequestBodyDob'OneOf1
- | PostAccountsAccountPeoplePersonRequestBodyDob'PostAccountsAccountPeoplePersonRequestBodyDob'OneOf2 PostAccountsAccountPeoplePersonRequestBodyDob'OneOf2
- data PostAccountsAccountPeoplePersonRequestBodyMetadata' = PostAccountsAccountPeoplePersonRequestBodyMetadata' {
- data PostAccountsAccountPeoplePersonRequestBodyRelationship' = PostAccountsAccountPeoplePersonRequestBodyRelationship' {
- postAccountsAccountPeoplePersonRequestBodyRelationship'Director :: Maybe Bool
- postAccountsAccountPeoplePersonRequestBodyRelationship'Executive :: Maybe Bool
- postAccountsAccountPeoplePersonRequestBodyRelationship'Owner :: Maybe Bool
- postAccountsAccountPeoplePersonRequestBodyRelationship'PercentOwnership :: Maybe PostAccountsAccountPeoplePersonRequestBodyRelationship'PercentOwnership'Variants
- postAccountsAccountPeoplePersonRequestBodyRelationship'Representative :: Maybe Bool
- postAccountsAccountPeoplePersonRequestBodyRelationship'Title :: Maybe String
- data PostAccountsAccountPeoplePersonRequestBodyRelationship'PercentOwnership'OneOf1
- data PostAccountsAccountPeoplePersonRequestBodyRelationship'PercentOwnership'Variants
- = PostAccountsAccountPeoplePersonRequestBodyRelationship'PercentOwnership'PostAccountsAccountPeoplePersonRequestBodyRelationship'PercentOwnership'OneOf1 PostAccountsAccountPeoplePersonRequestBodyRelationship'PercentOwnership'OneOf1
- | PostAccountsAccountPeoplePersonRequestBodyRelationship'PercentOwnership'Double Double
- data PostAccountsAccountPeoplePersonRequestBodyVerification' = PostAccountsAccountPeoplePersonRequestBodyVerification' {}
- data PostAccountsAccountPeoplePersonRequestBodyVerification'AdditionalDocument' = PostAccountsAccountPeoplePersonRequestBodyVerification'AdditionalDocument' {}
- data PostAccountsAccountPeoplePersonRequestBodyVerification'Document' = PostAccountsAccountPeoplePersonRequestBodyVerification'Document' {}
- data PostAccountsAccountPeoplePersonResponse
Documentation
postAccountsAccountPeoplePerson Source #
:: (MonadHTTP m, SecurityScheme s) | |
=> Configuration s | The configuration to use in the request |
-> String | account | Constraints: Maximum length of 5000 |
-> String | person | Constraints: Maximum length of 5000 |
-> PostAccountsAccountPeoplePersonRequestBody | The request body to send |
-> m (Either HttpException (Response PostAccountsAccountPeoplePersonResponse)) | Monad containing the result of the operation |
POST /v1/accounts/{account}/people/{person}
<p>Updates an existing person.</p>
postAccountsAccountPeoplePersonRaw :: forall m s. (MonadHTTP m, SecurityScheme s) => Configuration s -> String -> String -> PostAccountsAccountPeoplePersonRequestBody -> m (Either HttpException (Response ByteString)) Source #
POST /v1/accounts/{account}/people/{person}
The same as postAccountsAccountPeoplePerson
but returns the raw ByteString
postAccountsAccountPeoplePersonM :: forall m s. (MonadHTTP m, SecurityScheme s) => String -> String -> PostAccountsAccountPeoplePersonRequestBody -> ReaderT (Configuration s) m (Either HttpException (Response PostAccountsAccountPeoplePersonResponse)) Source #
POST /v1/accounts/{account}/people/{person}
Monadic version of postAccountsAccountPeoplePerson
(use with runWithConfiguration
)
postAccountsAccountPeoplePersonRawM :: forall m s. (MonadHTTP m, SecurityScheme s) => String -> String -> PostAccountsAccountPeoplePersonRequestBody -> ReaderT (Configuration s) m (Either HttpException (Response ByteString)) Source #
POST /v1/accounts/{account}/people/{person}
Monadic version of postAccountsAccountPeoplePersonRaw
(use with runWithConfiguration
)
data PostAccountsAccountPeoplePersonRequestBody Source #
Defines the data type for the schema postAccountsAccountPeoplePersonRequestBody
PostAccountsAccountPeoplePersonRequestBody | |
|
Instances
data PostAccountsAccountPeoplePersonRequestBodyAddress' Source #
Defines the data type for the schema postAccountsAccountPeoplePersonRequestBodyAddress'
The person's address.
PostAccountsAccountPeoplePersonRequestBodyAddress' | |
|
Instances
data PostAccountsAccountPeoplePersonRequestBodyAddressKana' Source #
Defines the data type for the schema postAccountsAccountPeoplePersonRequestBodyAddress_kana'
The Kana variation of the person's address (Japan only).
PostAccountsAccountPeoplePersonRequestBodyAddressKana' | |
|
Instances
data PostAccountsAccountPeoplePersonRequestBodyAddressKanji' Source #
Defines the data type for the schema postAccountsAccountPeoplePersonRequestBodyAddress_kanji'
The Kanji variation of the person's address (Japan only).
PostAccountsAccountPeoplePersonRequestBodyAddressKanji' | |
|
Instances
data PostAccountsAccountPeoplePersonRequestBodyDob'OneOf1 Source #
Defines the enum schema postAccountsAccountPeoplePersonRequestBodyDob'OneOf1
Instances
data PostAccountsAccountPeoplePersonRequestBodyDob'OneOf2 Source #
Defines the data type for the schema postAccountsAccountPeoplePersonRequestBodyDob'OneOf2
Instances
data PostAccountsAccountPeoplePersonRequestBodyDob'Variants Source #
Define the one-of schema postAccountsAccountPeoplePersonRequestBodyDob'
The person's date of birth.
Instances
data PostAccountsAccountPeoplePersonRequestBodyMetadata' Source #
Defines the data type for the schema postAccountsAccountPeoplePersonRequestBodyMetadata'
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`.
Instances
data PostAccountsAccountPeoplePersonRequestBodyRelationship' Source #
Defines the data type for the schema postAccountsAccountPeoplePersonRequestBodyRelationship'
The relationship that this person has with the account's legal entity.
Instances
data PostAccountsAccountPeoplePersonRequestBodyRelationship'PercentOwnership'OneOf1 Source #
Defines the enum schema postAccountsAccountPeoplePersonRequestBodyRelationship'Percent_ownership'OneOf1
Instances
data PostAccountsAccountPeoplePersonRequestBodyRelationship'PercentOwnership'Variants Source #
Define the one-of schema postAccountsAccountPeoplePersonRequestBodyRelationship'Percent_ownership'
Instances
data PostAccountsAccountPeoplePersonRequestBodyVerification' Source #
Defines the data type for the schema postAccountsAccountPeoplePersonRequestBodyVerification'
The person's verification status.
Instances
data PostAccountsAccountPeoplePersonRequestBodyVerification'AdditionalDocument' Source #
Defines the data type for the schema postAccountsAccountPeoplePersonRequestBodyVerification'Additional_document'
PostAccountsAccountPeoplePersonRequestBodyVerification'AdditionalDocument' | |
|
Instances
data PostAccountsAccountPeoplePersonRequestBodyVerification'Document' Source #
Defines the data type for the schema postAccountsAccountPeoplePersonRequestBodyVerification'Document'
PostAccountsAccountPeoplePersonRequestBodyVerification'Document' | |
|
Instances
data PostAccountsAccountPeoplePersonResponse Source #
Represents a response of the operation postAccountsAccountPeoplePerson
.
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), PostAccountsAccountPeoplePersonResponseError
is used.
PostAccountsAccountPeoplePersonResponseError String | Means either no matching case available or a parse error |
PostAccountsAccountPeoplePersonResponse200 Person | Successful response. |
PostAccountsAccountPeoplePersonResponseDefault Error | Error response. |