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 -> Text -> Maybe PostAccountPersonsPersonRequestBody -> m (Either HttpException (Response PostAccountPersonsPersonResponse))
- postAccountPersonsPersonRaw :: forall m s. (MonadHTTP m, SecurityScheme s) => Configuration s -> Text -> Maybe PostAccountPersonsPersonRequestBody -> m (Either HttpException (Response ByteString))
- postAccountPersonsPersonM :: forall m s. (MonadHTTP m, SecurityScheme s) => Text -> Maybe PostAccountPersonsPersonRequestBody -> ReaderT (Configuration s) m (Either HttpException (Response PostAccountPersonsPersonResponse))
- postAccountPersonsPersonRawM :: forall m s. (MonadHTTP m, SecurityScheme s) => Text -> Maybe PostAccountPersonsPersonRequestBody -> ReaderT (Configuration s) m (Either HttpException (Response ByteString))
- data PostAccountPersonsPersonRequestBody = PostAccountPersonsPersonRequestBody {
- postAccountPersonsPersonRequestBodyAccount :: Maybe Text
- postAccountPersonsPersonRequestBodyAddress :: Maybe PostAccountPersonsPersonRequestBodyAddress'
- postAccountPersonsPersonRequestBodyAddressKana :: Maybe PostAccountPersonsPersonRequestBodyAddressKana'
- postAccountPersonsPersonRequestBodyAddressKanji :: Maybe PostAccountPersonsPersonRequestBodyAddressKanji'
- postAccountPersonsPersonRequestBodyDob :: Maybe PostAccountPersonsPersonRequestBodyDob'Variants
- postAccountPersonsPersonRequestBodyEmail :: Maybe Text
- postAccountPersonsPersonRequestBodyExpand :: Maybe ([] Text)
- postAccountPersonsPersonRequestBodyFirstName :: Maybe Text
- postAccountPersonsPersonRequestBodyFirstNameKana :: Maybe Text
- postAccountPersonsPersonRequestBodyFirstNameKanji :: Maybe Text
- postAccountPersonsPersonRequestBodyGender :: Maybe Text
- postAccountPersonsPersonRequestBodyIdNumber :: Maybe Text
- postAccountPersonsPersonRequestBodyLastName :: Maybe Text
- postAccountPersonsPersonRequestBodyLastNameKana :: Maybe Text
- postAccountPersonsPersonRequestBodyLastNameKanji :: Maybe Text
- postAccountPersonsPersonRequestBodyMaidenName :: Maybe Text
- postAccountPersonsPersonRequestBodyMetadata :: Maybe PostAccountPersonsPersonRequestBodyMetadata'
- postAccountPersonsPersonRequestBodyPersonToken :: Maybe Text
- postAccountPersonsPersonRequestBodyPhone :: Maybe Text
- postAccountPersonsPersonRequestBodyRelationship :: Maybe PostAccountPersonsPersonRequestBodyRelationship'
- postAccountPersonsPersonRequestBodySsnLast_4 :: Maybe Text
- postAccountPersonsPersonRequestBodyVerification :: Maybe PostAccountPersonsPersonRequestBodyVerification'
- data PostAccountPersonsPersonRequestBodyAddress' = PostAccountPersonsPersonRequestBodyAddress' {
- postAccountPersonsPersonRequestBodyAddress'City :: Maybe Text
- postAccountPersonsPersonRequestBodyAddress'Country :: Maybe Text
- postAccountPersonsPersonRequestBodyAddress'Line1 :: Maybe Text
- postAccountPersonsPersonRequestBodyAddress'Line2 :: Maybe Text
- postAccountPersonsPersonRequestBodyAddress'PostalCode :: Maybe Text
- postAccountPersonsPersonRequestBodyAddress'State :: Maybe Text
- data PostAccountPersonsPersonRequestBodyAddressKana' = PostAccountPersonsPersonRequestBodyAddressKana' {
- postAccountPersonsPersonRequestBodyAddressKana'City :: Maybe Text
- postAccountPersonsPersonRequestBodyAddressKana'Country :: Maybe Text
- postAccountPersonsPersonRequestBodyAddressKana'Line1 :: Maybe Text
- postAccountPersonsPersonRequestBodyAddressKana'Line2 :: Maybe Text
- postAccountPersonsPersonRequestBodyAddressKana'PostalCode :: Maybe Text
- postAccountPersonsPersonRequestBodyAddressKana'State :: Maybe Text
- postAccountPersonsPersonRequestBodyAddressKana'Town :: Maybe Text
- data PostAccountPersonsPersonRequestBodyAddressKanji' = PostAccountPersonsPersonRequestBodyAddressKanji' {
- postAccountPersonsPersonRequestBodyAddressKanji'City :: Maybe Text
- postAccountPersonsPersonRequestBodyAddressKanji'Country :: Maybe Text
- postAccountPersonsPersonRequestBodyAddressKanji'Line1 :: Maybe Text
- postAccountPersonsPersonRequestBodyAddressKanji'Line2 :: Maybe Text
- postAccountPersonsPersonRequestBodyAddressKanji'PostalCode :: Maybe Text
- postAccountPersonsPersonRequestBodyAddressKanji'State :: Maybe Text
- postAccountPersonsPersonRequestBodyAddressKanji'Town :: Maybe Text
- 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 Text
- 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 |
-> Text | person | Constraints: Maximum length of 5000 |
-> Maybe 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 -> Text -> Maybe 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) => Text -> Maybe 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) => Text -> Maybe 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 Text | |
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. |