Safe Haskell | None |
---|---|
Language | Haskell2010 |
Contains the different functions to run the operation postAccountPersonsPerson
Synopsis
- postAccountPersonsPerson :: forall m s. (MonadHTTP m, SecurityScheme s) => Configuration s -> String -> PostAccountPersonsPersonRequestBody -> m (Either HttpException (Response PostAccountPersonsPersonResponse))
- postAccountPersonsPersonRaw :: forall m s. (MonadHTTP m, SecurityScheme s) => Configuration s -> String -> PostAccountPersonsPersonRequestBody -> m (Either HttpException (Response ByteString))
- postAccountPersonsPersonM :: forall m s. (MonadHTTP m, SecurityScheme s) => String -> PostAccountPersonsPersonRequestBody -> ReaderT (Configuration s) m (Either HttpException (Response PostAccountPersonsPersonResponse))
- postAccountPersonsPersonRawM :: forall m s. (MonadHTTP m, SecurityScheme s) => String -> PostAccountPersonsPersonRequestBody -> ReaderT (Configuration s) m (Either HttpException (Response ByteString))
- data PostAccountPersonsPersonRequestBody = PostAccountPersonsPersonRequestBody {
- postAccountPersonsPersonRequestBodyAccount :: Maybe String
- postAccountPersonsPersonRequestBodyAddress :: Maybe PostAccountPersonsPersonRequestBodyAddress'
- postAccountPersonsPersonRequestBodyAddressKana :: Maybe PostAccountPersonsPersonRequestBodyAddressKana'
- postAccountPersonsPersonRequestBodyAddressKanji :: Maybe PostAccountPersonsPersonRequestBodyAddressKanji'
- postAccountPersonsPersonRequestBodyDob :: Maybe PostAccountPersonsPersonRequestBodyDob'Variants
- postAccountPersonsPersonRequestBodyEmail :: Maybe String
- postAccountPersonsPersonRequestBodyExpand :: Maybe ([] String)
- postAccountPersonsPersonRequestBodyFirstName :: Maybe String
- postAccountPersonsPersonRequestBodyFirstNameKana :: Maybe String
- postAccountPersonsPersonRequestBodyFirstNameKanji :: Maybe String
- postAccountPersonsPersonRequestBodyGender :: Maybe String
- postAccountPersonsPersonRequestBodyIdNumber :: Maybe String
- postAccountPersonsPersonRequestBodyLastName :: Maybe String
- postAccountPersonsPersonRequestBodyLastNameKana :: Maybe String
- postAccountPersonsPersonRequestBodyLastNameKanji :: Maybe String
- postAccountPersonsPersonRequestBodyMaidenName :: Maybe String
- postAccountPersonsPersonRequestBodyMetadata :: Maybe PostAccountPersonsPersonRequestBodyMetadata'
- postAccountPersonsPersonRequestBodyPersonToken :: Maybe String
- postAccountPersonsPersonRequestBodyPhone :: Maybe String
- postAccountPersonsPersonRequestBodyRelationship :: Maybe PostAccountPersonsPersonRequestBodyRelationship'
- postAccountPersonsPersonRequestBodySsnLast_4 :: Maybe String
- postAccountPersonsPersonRequestBodyVerification :: Maybe PostAccountPersonsPersonRequestBodyVerification'
- data PostAccountPersonsPersonRequestBodyAddress' = PostAccountPersonsPersonRequestBodyAddress' {
- postAccountPersonsPersonRequestBodyAddress'City :: Maybe String
- postAccountPersonsPersonRequestBodyAddress'Country :: Maybe String
- postAccountPersonsPersonRequestBodyAddress'Line1 :: Maybe String
- postAccountPersonsPersonRequestBodyAddress'Line2 :: Maybe String
- postAccountPersonsPersonRequestBodyAddress'PostalCode :: Maybe String
- postAccountPersonsPersonRequestBodyAddress'State :: Maybe String
- data PostAccountPersonsPersonRequestBodyAddressKana' = PostAccountPersonsPersonRequestBodyAddressKana' {
- postAccountPersonsPersonRequestBodyAddressKana'City :: Maybe String
- postAccountPersonsPersonRequestBodyAddressKana'Country :: Maybe String
- postAccountPersonsPersonRequestBodyAddressKana'Line1 :: Maybe String
- postAccountPersonsPersonRequestBodyAddressKana'Line2 :: Maybe String
- postAccountPersonsPersonRequestBodyAddressKana'PostalCode :: Maybe String
- postAccountPersonsPersonRequestBodyAddressKana'State :: Maybe String
- postAccountPersonsPersonRequestBodyAddressKana'Town :: Maybe String
- data PostAccountPersonsPersonRequestBodyAddressKanji' = PostAccountPersonsPersonRequestBodyAddressKanji' {
- postAccountPersonsPersonRequestBodyAddressKanji'City :: Maybe String
- postAccountPersonsPersonRequestBodyAddressKanji'Country :: Maybe String
- postAccountPersonsPersonRequestBodyAddressKanji'Line1 :: Maybe String
- postAccountPersonsPersonRequestBodyAddressKanji'Line2 :: Maybe String
- postAccountPersonsPersonRequestBodyAddressKanji'PostalCode :: Maybe String
- postAccountPersonsPersonRequestBodyAddressKanji'State :: Maybe String
- postAccountPersonsPersonRequestBodyAddressKanji'Town :: Maybe String
- data PostAccountPersonsPersonRequestBodyDob'OneOf1
- data PostAccountPersonsPersonRequestBodyDob'OneOf2 = PostAccountPersonsPersonRequestBodyDob'OneOf2 {}
- data PostAccountPersonsPersonRequestBodyDob'Variants
- data PostAccountPersonsPersonRequestBodyMetadata' = PostAccountPersonsPersonRequestBodyMetadata' {
- data PostAccountPersonsPersonRequestBodyRelationship' = PostAccountPersonsPersonRequestBodyRelationship' {
- postAccountPersonsPersonRequestBodyRelationship'Director :: Maybe Bool
- postAccountPersonsPersonRequestBodyRelationship'Executive :: Maybe Bool
- postAccountPersonsPersonRequestBodyRelationship'Owner :: Maybe Bool
- postAccountPersonsPersonRequestBodyRelationship'PercentOwnership :: Maybe PostAccountPersonsPersonRequestBodyRelationship'PercentOwnership'Variants
- postAccountPersonsPersonRequestBodyRelationship'Representative :: Maybe Bool
- postAccountPersonsPersonRequestBodyRelationship'Title :: Maybe String
- data PostAccountPersonsPersonRequestBodyRelationship'PercentOwnership'OneOf1
- data PostAccountPersonsPersonRequestBodyRelationship'PercentOwnership'Variants
- data PostAccountPersonsPersonRequestBodyVerification' = PostAccountPersonsPersonRequestBodyVerification' {}
- data PostAccountPersonsPersonRequestBodyVerification'AdditionalDocument' = PostAccountPersonsPersonRequestBodyVerification'AdditionalDocument' {}
- data PostAccountPersonsPersonRequestBodyVerification'Document' = PostAccountPersonsPersonRequestBodyVerification'Document' {}
- data PostAccountPersonsPersonResponse
Documentation
postAccountPersonsPerson Source #
:: (MonadHTTP m, SecurityScheme s) | |
=> Configuration s | The configuration to use in the request |
-> String | person | Constraints: Maximum length of 5000 |
-> PostAccountPersonsPersonRequestBody | The request body to send |
-> m (Either HttpException (Response PostAccountPersonsPersonResponse)) | Monad containing the result of the operation |
POST /v1/account/persons/{person}
<p>Updates an existing person.</p>
postAccountPersonsPersonRaw :: forall m s. (MonadHTTP m, SecurityScheme s) => Configuration s -> String -> PostAccountPersonsPersonRequestBody -> m (Either HttpException (Response ByteString)) Source #
POST /v1/account/persons/{person}
The same as postAccountPersonsPerson
but returns the raw ByteString
postAccountPersonsPersonM :: forall m s. (MonadHTTP m, SecurityScheme s) => String -> PostAccountPersonsPersonRequestBody -> ReaderT (Configuration s) m (Either HttpException (Response PostAccountPersonsPersonResponse)) Source #
POST /v1/account/persons/{person}
Monadic version of postAccountPersonsPerson
(use with runWithConfiguration
)
postAccountPersonsPersonRawM :: forall m s. (MonadHTTP m, SecurityScheme s) => String -> PostAccountPersonsPersonRequestBody -> ReaderT (Configuration s) m (Either HttpException (Response ByteString)) Source #
POST /v1/account/persons/{person}
Monadic version of postAccountPersonsPersonRaw
(use with runWithConfiguration
)
data PostAccountPersonsPersonRequestBody Source #
Defines the data type for the schema postAccountPersonsPersonRequestBody
PostAccountPersonsPersonRequestBody | |
|
data PostAccountPersonsPersonRequestBodyAddress' Source #
Defines the data type for the schema postAccountPersonsPersonRequestBodyAddress'
The person's address.
PostAccountPersonsPersonRequestBodyAddress' | |
|
data PostAccountPersonsPersonRequestBodyAddressKana' Source #
Defines the data type for the schema postAccountPersonsPersonRequestBodyAddress_kana'
The Kana variation of the person's address (Japan only).
PostAccountPersonsPersonRequestBodyAddressKana' | |
|
data PostAccountPersonsPersonRequestBodyAddressKanji' Source #
Defines the data type for the schema postAccountPersonsPersonRequestBodyAddress_kanji'
The Kanji variation of the person's address (Japan only).
PostAccountPersonsPersonRequestBodyAddressKanji' | |
|
Instances
data PostAccountPersonsPersonRequestBodyDob'OneOf1 Source #
Defines the enum schema postAccountPersonsPersonRequestBodyDob'OneOf1
PostAccountPersonsPersonRequestBodyDob'OneOf1EnumOther Value | |
PostAccountPersonsPersonRequestBodyDob'OneOf1EnumTyped String | |
PostAccountPersonsPersonRequestBodyDob'OneOf1EnumString_ |
data PostAccountPersonsPersonRequestBodyDob'OneOf2 Source #
Defines the data type for the schema postAccountPersonsPersonRequestBodyDob'OneOf2
data PostAccountPersonsPersonRequestBodyDob'Variants Source #
Define the one-of schema postAccountPersonsPersonRequestBodyDob'
The person's date of birth.
Instances
data PostAccountPersonsPersonRequestBodyMetadata' Source #
Defines the data type for the schema postAccountPersonsPersonRequestBodyMetadata'
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 PostAccountPersonsPersonRequestBodyRelationship' Source #
Defines the data type for the schema postAccountPersonsPersonRequestBodyRelationship'
The relationship that this person has with the account's legal entity.
Instances
data PostAccountPersonsPersonRequestBodyRelationship'PercentOwnership'OneOf1 Source #
Defines the enum schema postAccountPersonsPersonRequestBodyRelationship'Percent_ownership'OneOf1
Instances
data PostAccountPersonsPersonRequestBodyRelationship'PercentOwnership'Variants Source #
Define the one-of schema postAccountPersonsPersonRequestBodyRelationship'Percent_ownership'
Instances
data PostAccountPersonsPersonRequestBodyVerification' Source #
Defines the data type for the schema postAccountPersonsPersonRequestBodyVerification'
The person's verification status.
Instances
data PostAccountPersonsPersonRequestBodyVerification'AdditionalDocument' Source #
Defines the data type for the schema postAccountPersonsPersonRequestBodyVerification'Additional_document'
PostAccountPersonsPersonRequestBodyVerification'AdditionalDocument' | |
|
Instances
data PostAccountPersonsPersonRequestBodyVerification'Document' Source #
Defines the data type for the schema postAccountPersonsPersonRequestBodyVerification'Document'
PostAccountPersonsPersonRequestBodyVerification'Document' | |
|
Instances
data PostAccountPersonsPersonResponse Source #
Represents a response of the operation postAccountPersonsPerson
.
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), PostAccountPersonsPersonResponseError
is used.
PostAccountPersonsPersonResponseError String | Means either no matching case available or a parse error |
PostAccountPersonsPersonResponse200 Person | Successful response. |
PostAccountPersonsPersonResponseDefault Error | Error response. |