Safe Haskell | None |
---|---|
Language | Haskell2010 |
Contains the different functions to run the operation postAccountsAccountPersonsPerson
Synopsis
- postAccountsAccountPersonsPerson :: forall m s. (MonadHTTP m, SecurityScheme s) => Configuration s -> String -> String -> PostAccountsAccountPersonsPersonRequestBody -> m (Either HttpException (Response PostAccountsAccountPersonsPersonResponse))
- postAccountsAccountPersonsPersonRaw :: forall m s. (MonadHTTP m, SecurityScheme s) => Configuration s -> String -> String -> PostAccountsAccountPersonsPersonRequestBody -> m (Either HttpException (Response ByteString))
- postAccountsAccountPersonsPersonM :: forall m s. (MonadHTTP m, SecurityScheme s) => String -> String -> PostAccountsAccountPersonsPersonRequestBody -> ReaderT (Configuration s) m (Either HttpException (Response PostAccountsAccountPersonsPersonResponse))
- postAccountsAccountPersonsPersonRawM :: forall m s. (MonadHTTP m, SecurityScheme s) => String -> String -> PostAccountsAccountPersonsPersonRequestBody -> ReaderT (Configuration s) m (Either HttpException (Response ByteString))
- data PostAccountsAccountPersonsPersonRequestBody = PostAccountsAccountPersonsPersonRequestBody {
- postAccountsAccountPersonsPersonRequestBodyAddress :: Maybe PostAccountsAccountPersonsPersonRequestBodyAddress'
- postAccountsAccountPersonsPersonRequestBodyAddressKana :: Maybe PostAccountsAccountPersonsPersonRequestBodyAddressKana'
- postAccountsAccountPersonsPersonRequestBodyAddressKanji :: Maybe PostAccountsAccountPersonsPersonRequestBodyAddressKanji'
- postAccountsAccountPersonsPersonRequestBodyDob :: Maybe PostAccountsAccountPersonsPersonRequestBodyDob'Variants
- postAccountsAccountPersonsPersonRequestBodyEmail :: Maybe String
- postAccountsAccountPersonsPersonRequestBodyExpand :: Maybe ([] String)
- postAccountsAccountPersonsPersonRequestBodyFirstName :: Maybe String
- postAccountsAccountPersonsPersonRequestBodyFirstNameKana :: Maybe String
- postAccountsAccountPersonsPersonRequestBodyFirstNameKanji :: Maybe String
- postAccountsAccountPersonsPersonRequestBodyGender :: Maybe String
- postAccountsAccountPersonsPersonRequestBodyIdNumber :: Maybe String
- postAccountsAccountPersonsPersonRequestBodyLastName :: Maybe String
- postAccountsAccountPersonsPersonRequestBodyLastNameKana :: Maybe String
- postAccountsAccountPersonsPersonRequestBodyLastNameKanji :: Maybe String
- postAccountsAccountPersonsPersonRequestBodyMaidenName :: Maybe String
- postAccountsAccountPersonsPersonRequestBodyMetadata :: Maybe PostAccountsAccountPersonsPersonRequestBodyMetadata'
- postAccountsAccountPersonsPersonRequestBodyPersonToken :: Maybe String
- postAccountsAccountPersonsPersonRequestBodyPhone :: Maybe String
- postAccountsAccountPersonsPersonRequestBodyRelationship :: Maybe PostAccountsAccountPersonsPersonRequestBodyRelationship'
- postAccountsAccountPersonsPersonRequestBodySsnLast_4 :: Maybe String
- postAccountsAccountPersonsPersonRequestBodyVerification :: Maybe PostAccountsAccountPersonsPersonRequestBodyVerification'
- data PostAccountsAccountPersonsPersonRequestBodyAddress' = PostAccountsAccountPersonsPersonRequestBodyAddress' {
- postAccountsAccountPersonsPersonRequestBodyAddress'City :: Maybe String
- postAccountsAccountPersonsPersonRequestBodyAddress'Country :: Maybe String
- postAccountsAccountPersonsPersonRequestBodyAddress'Line1 :: Maybe String
- postAccountsAccountPersonsPersonRequestBodyAddress'Line2 :: Maybe String
- postAccountsAccountPersonsPersonRequestBodyAddress'PostalCode :: Maybe String
- postAccountsAccountPersonsPersonRequestBodyAddress'State :: Maybe String
- data PostAccountsAccountPersonsPersonRequestBodyAddressKana' = PostAccountsAccountPersonsPersonRequestBodyAddressKana' {
- postAccountsAccountPersonsPersonRequestBodyAddressKana'City :: Maybe String
- postAccountsAccountPersonsPersonRequestBodyAddressKana'Country :: Maybe String
- postAccountsAccountPersonsPersonRequestBodyAddressKana'Line1 :: Maybe String
- postAccountsAccountPersonsPersonRequestBodyAddressKana'Line2 :: Maybe String
- postAccountsAccountPersonsPersonRequestBodyAddressKana'PostalCode :: Maybe String
- postAccountsAccountPersonsPersonRequestBodyAddressKana'State :: Maybe String
- postAccountsAccountPersonsPersonRequestBodyAddressKana'Town :: Maybe String
- data PostAccountsAccountPersonsPersonRequestBodyAddressKanji' = PostAccountsAccountPersonsPersonRequestBodyAddressKanji' {
- postAccountsAccountPersonsPersonRequestBodyAddressKanji'City :: Maybe String
- postAccountsAccountPersonsPersonRequestBodyAddressKanji'Country :: Maybe String
- postAccountsAccountPersonsPersonRequestBodyAddressKanji'Line1 :: Maybe String
- postAccountsAccountPersonsPersonRequestBodyAddressKanji'Line2 :: Maybe String
- postAccountsAccountPersonsPersonRequestBodyAddressKanji'PostalCode :: Maybe String
- postAccountsAccountPersonsPersonRequestBodyAddressKanji'State :: Maybe String
- postAccountsAccountPersonsPersonRequestBodyAddressKanji'Town :: Maybe String
- data PostAccountsAccountPersonsPersonRequestBodyDob'OneOf1
- data PostAccountsAccountPersonsPersonRequestBodyDob'OneOf2 = PostAccountsAccountPersonsPersonRequestBodyDob'OneOf2 {}
- data PostAccountsAccountPersonsPersonRequestBodyDob'Variants
- = PostAccountsAccountPersonsPersonRequestBodyDob'PostAccountsAccountPersonsPersonRequestBodyDob'OneOf1 PostAccountsAccountPersonsPersonRequestBodyDob'OneOf1
- | PostAccountsAccountPersonsPersonRequestBodyDob'PostAccountsAccountPersonsPersonRequestBodyDob'OneOf2 PostAccountsAccountPersonsPersonRequestBodyDob'OneOf2
- data PostAccountsAccountPersonsPersonRequestBodyMetadata' = PostAccountsAccountPersonsPersonRequestBodyMetadata' {
- data PostAccountsAccountPersonsPersonRequestBodyRelationship' = PostAccountsAccountPersonsPersonRequestBodyRelationship' {
- postAccountsAccountPersonsPersonRequestBodyRelationship'Director :: Maybe Bool
- postAccountsAccountPersonsPersonRequestBodyRelationship'Executive :: Maybe Bool
- postAccountsAccountPersonsPersonRequestBodyRelationship'Owner :: Maybe Bool
- postAccountsAccountPersonsPersonRequestBodyRelationship'PercentOwnership :: Maybe PostAccountsAccountPersonsPersonRequestBodyRelationship'PercentOwnership'Variants
- postAccountsAccountPersonsPersonRequestBodyRelationship'Representative :: Maybe Bool
- postAccountsAccountPersonsPersonRequestBodyRelationship'Title :: Maybe String
- data PostAccountsAccountPersonsPersonRequestBodyRelationship'PercentOwnership'OneOf1
- data PostAccountsAccountPersonsPersonRequestBodyRelationship'PercentOwnership'Variants
- = PostAccountsAccountPersonsPersonRequestBodyRelationship'PercentOwnership'PostAccountsAccountPersonsPersonRequestBodyRelationship'PercentOwnership'OneOf1 PostAccountsAccountPersonsPersonRequestBodyRelationship'PercentOwnership'OneOf1
- | PostAccountsAccountPersonsPersonRequestBodyRelationship'PercentOwnership'Double Double
- data PostAccountsAccountPersonsPersonRequestBodyVerification' = PostAccountsAccountPersonsPersonRequestBodyVerification' {}
- data PostAccountsAccountPersonsPersonRequestBodyVerification'AdditionalDocument' = PostAccountsAccountPersonsPersonRequestBodyVerification'AdditionalDocument' {}
- data PostAccountsAccountPersonsPersonRequestBodyVerification'Document' = PostAccountsAccountPersonsPersonRequestBodyVerification'Document' {}
- data PostAccountsAccountPersonsPersonResponse
Documentation
postAccountsAccountPersonsPerson 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 |
-> PostAccountsAccountPersonsPersonRequestBody | The request body to send |
-> m (Either HttpException (Response PostAccountsAccountPersonsPersonResponse)) | Monad containing the result of the operation |
POST /v1/accounts/{account}/persons/{person}
<p>Updates an existing person.</p>
postAccountsAccountPersonsPersonRaw :: forall m s. (MonadHTTP m, SecurityScheme s) => Configuration s -> String -> String -> PostAccountsAccountPersonsPersonRequestBody -> m (Either HttpException (Response ByteString)) Source #
POST /v1/accounts/{account}/persons/{person}
The same as postAccountsAccountPersonsPerson
but returns the raw ByteString
postAccountsAccountPersonsPersonM :: forall m s. (MonadHTTP m, SecurityScheme s) => String -> String -> PostAccountsAccountPersonsPersonRequestBody -> ReaderT (Configuration s) m (Either HttpException (Response PostAccountsAccountPersonsPersonResponse)) Source #
POST /v1/accounts/{account}/persons/{person}
Monadic version of postAccountsAccountPersonsPerson
(use with runWithConfiguration
)
postAccountsAccountPersonsPersonRawM :: forall m s. (MonadHTTP m, SecurityScheme s) => String -> String -> PostAccountsAccountPersonsPersonRequestBody -> ReaderT (Configuration s) m (Either HttpException (Response ByteString)) Source #
POST /v1/accounts/{account}/persons/{person}
Monadic version of postAccountsAccountPersonsPersonRaw
(use with runWithConfiguration
)
data PostAccountsAccountPersonsPersonRequestBody Source #
Defines the data type for the schema postAccountsAccountPersonsPersonRequestBody
PostAccountsAccountPersonsPersonRequestBody | |
|
Instances
data PostAccountsAccountPersonsPersonRequestBodyAddress' Source #
Defines the data type for the schema postAccountsAccountPersonsPersonRequestBodyAddress'
The person's address.
PostAccountsAccountPersonsPersonRequestBodyAddress' | |
|
Instances
data PostAccountsAccountPersonsPersonRequestBodyAddressKana' Source #
Defines the data type for the schema postAccountsAccountPersonsPersonRequestBodyAddress_kana'
The Kana variation of the person's address (Japan only).
PostAccountsAccountPersonsPersonRequestBodyAddressKana' | |
|
Instances
data PostAccountsAccountPersonsPersonRequestBodyAddressKanji' Source #
Defines the data type for the schema postAccountsAccountPersonsPersonRequestBodyAddress_kanji'
The Kanji variation of the person's address (Japan only).
PostAccountsAccountPersonsPersonRequestBodyAddressKanji' | |
|
Instances
data PostAccountsAccountPersonsPersonRequestBodyDob'OneOf1 Source #
Defines the enum schema postAccountsAccountPersonsPersonRequestBodyDob'OneOf1
Instances
data PostAccountsAccountPersonsPersonRequestBodyDob'OneOf2 Source #
Defines the data type for the schema postAccountsAccountPersonsPersonRequestBodyDob'OneOf2
Instances
data PostAccountsAccountPersonsPersonRequestBodyDob'Variants Source #
Define the one-of schema postAccountsAccountPersonsPersonRequestBodyDob'
The person's date of birth.
Instances
data PostAccountsAccountPersonsPersonRequestBodyMetadata' Source #
Defines the data type for the schema postAccountsAccountPersonsPersonRequestBodyMetadata'
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 PostAccountsAccountPersonsPersonRequestBodyRelationship' Source #
Defines the data type for the schema postAccountsAccountPersonsPersonRequestBodyRelationship'
The relationship that this person has with the account's legal entity.
Instances
data PostAccountsAccountPersonsPersonRequestBodyRelationship'PercentOwnership'OneOf1 Source #
Defines the enum schema postAccountsAccountPersonsPersonRequestBodyRelationship'Percent_ownership'OneOf1
Instances
data PostAccountsAccountPersonsPersonRequestBodyRelationship'PercentOwnership'Variants Source #
Define the one-of schema postAccountsAccountPersonsPersonRequestBodyRelationship'Percent_ownership'
Instances
data PostAccountsAccountPersonsPersonRequestBodyVerification' Source #
Defines the data type for the schema postAccountsAccountPersonsPersonRequestBodyVerification'
The person's verification status.
Instances
data PostAccountsAccountPersonsPersonRequestBodyVerification'AdditionalDocument' Source #
Defines the data type for the schema postAccountsAccountPersonsPersonRequestBodyVerification'Additional_document'
PostAccountsAccountPersonsPersonRequestBodyVerification'AdditionalDocument' | |
|
Instances
data PostAccountsAccountPersonsPersonRequestBodyVerification'Document' Source #
Defines the data type for the schema postAccountsAccountPersonsPersonRequestBodyVerification'Document'
PostAccountsAccountPersonsPersonRequestBodyVerification'Document' | |
|
Instances
data PostAccountsAccountPersonsPersonResponse Source #
Represents a response of the operation postAccountsAccountPersonsPerson
.
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), PostAccountsAccountPersonsPersonResponseError
is used.
PostAccountsAccountPersonsPersonResponseError String | Means either no matching case available or a parse error |
PostAccountsAccountPersonsPersonResponse200 Person | Successful response. |
PostAccountsAccountPersonsPersonResponseDefault Error | Error response. |