Safe Haskell | None |
---|---|
Language | Haskell2010 |
Contains the different functions to run the operation postAccountPersons
Synopsis
- postAccountPersons :: forall m s. (MonadHTTP m, SecurityScheme s) => Configuration s -> PostAccountPersonsRequestBody -> m (Either HttpException (Response PostAccountPersonsResponse))
- postAccountPersonsRaw :: forall m s. (MonadHTTP m, SecurityScheme s) => Configuration s -> PostAccountPersonsRequestBody -> m (Either HttpException (Response ByteString))
- postAccountPersonsM :: forall m s. (MonadHTTP m, SecurityScheme s) => PostAccountPersonsRequestBody -> ReaderT (Configuration s) m (Either HttpException (Response PostAccountPersonsResponse))
- postAccountPersonsRawM :: forall m s. (MonadHTTP m, SecurityScheme s) => PostAccountPersonsRequestBody -> ReaderT (Configuration s) m (Either HttpException (Response ByteString))
- data PostAccountPersonsRequestBody = PostAccountPersonsRequestBody {
- postAccountPersonsRequestBodyAccount :: Maybe String
- postAccountPersonsRequestBodyAddress :: Maybe PostAccountPersonsRequestBodyAddress'
- postAccountPersonsRequestBodyAddressKana :: Maybe PostAccountPersonsRequestBodyAddressKana'
- postAccountPersonsRequestBodyAddressKanji :: Maybe PostAccountPersonsRequestBodyAddressKanji'
- postAccountPersonsRequestBodyDob :: Maybe PostAccountPersonsRequestBodyDob'Variants
- postAccountPersonsRequestBodyEmail :: Maybe String
- postAccountPersonsRequestBodyExpand :: Maybe ([] String)
- postAccountPersonsRequestBodyFirstName :: Maybe String
- postAccountPersonsRequestBodyFirstNameKana :: Maybe String
- postAccountPersonsRequestBodyFirstNameKanji :: Maybe String
- postAccountPersonsRequestBodyGender :: Maybe String
- postAccountPersonsRequestBodyIdNumber :: Maybe String
- postAccountPersonsRequestBodyLastName :: Maybe String
- postAccountPersonsRequestBodyLastNameKana :: Maybe String
- postAccountPersonsRequestBodyLastNameKanji :: Maybe String
- postAccountPersonsRequestBodyMaidenName :: Maybe String
- postAccountPersonsRequestBodyMetadata :: Maybe PostAccountPersonsRequestBodyMetadata'
- postAccountPersonsRequestBodyPersonToken :: Maybe String
- postAccountPersonsRequestBodyPhone :: Maybe String
- postAccountPersonsRequestBodyRelationship :: Maybe PostAccountPersonsRequestBodyRelationship'
- postAccountPersonsRequestBodySsnLast_4 :: Maybe String
- postAccountPersonsRequestBodyVerification :: Maybe PostAccountPersonsRequestBodyVerification'
- data PostAccountPersonsRequestBodyAddress' = PostAccountPersonsRequestBodyAddress' {
- postAccountPersonsRequestBodyAddress'City :: Maybe String
- postAccountPersonsRequestBodyAddress'Country :: Maybe String
- postAccountPersonsRequestBodyAddress'Line1 :: Maybe String
- postAccountPersonsRequestBodyAddress'Line2 :: Maybe String
- postAccountPersonsRequestBodyAddress'PostalCode :: Maybe String
- postAccountPersonsRequestBodyAddress'State :: Maybe String
- data PostAccountPersonsRequestBodyAddressKana' = PostAccountPersonsRequestBodyAddressKana' {
- postAccountPersonsRequestBodyAddressKana'City :: Maybe String
- postAccountPersonsRequestBodyAddressKana'Country :: Maybe String
- postAccountPersonsRequestBodyAddressKana'Line1 :: Maybe String
- postAccountPersonsRequestBodyAddressKana'Line2 :: Maybe String
- postAccountPersonsRequestBodyAddressKana'PostalCode :: Maybe String
- postAccountPersonsRequestBodyAddressKana'State :: Maybe String
- postAccountPersonsRequestBodyAddressKana'Town :: Maybe String
- data PostAccountPersonsRequestBodyAddressKanji' = PostAccountPersonsRequestBodyAddressKanji' {
- postAccountPersonsRequestBodyAddressKanji'City :: Maybe String
- postAccountPersonsRequestBodyAddressKanji'Country :: Maybe String
- postAccountPersonsRequestBodyAddressKanji'Line1 :: Maybe String
- postAccountPersonsRequestBodyAddressKanji'Line2 :: Maybe String
- postAccountPersonsRequestBodyAddressKanji'PostalCode :: Maybe String
- postAccountPersonsRequestBodyAddressKanji'State :: Maybe String
- postAccountPersonsRequestBodyAddressKanji'Town :: Maybe String
- data PostAccountPersonsRequestBodyDob'OneOf1
- data PostAccountPersonsRequestBodyDob'OneOf2 = PostAccountPersonsRequestBodyDob'OneOf2 {}
- data PostAccountPersonsRequestBodyDob'Variants
- data PostAccountPersonsRequestBodyMetadata' = PostAccountPersonsRequestBodyMetadata' {
- data PostAccountPersonsRequestBodyRelationship' = PostAccountPersonsRequestBodyRelationship' {
- postAccountPersonsRequestBodyRelationship'Director :: Maybe Bool
- postAccountPersonsRequestBodyRelationship'Executive :: Maybe Bool
- postAccountPersonsRequestBodyRelationship'Owner :: Maybe Bool
- postAccountPersonsRequestBodyRelationship'PercentOwnership :: Maybe PostAccountPersonsRequestBodyRelationship'PercentOwnership'Variants
- postAccountPersonsRequestBodyRelationship'Representative :: Maybe Bool
- postAccountPersonsRequestBodyRelationship'Title :: Maybe String
- data PostAccountPersonsRequestBodyRelationship'PercentOwnership'OneOf1
- data PostAccountPersonsRequestBodyRelationship'PercentOwnership'Variants
- data PostAccountPersonsRequestBodyVerification' = PostAccountPersonsRequestBodyVerification' {}
- data PostAccountPersonsRequestBodyVerification'AdditionalDocument' = PostAccountPersonsRequestBodyVerification'AdditionalDocument' {}
- data PostAccountPersonsRequestBodyVerification'Document' = PostAccountPersonsRequestBodyVerification'Document' {}
- data PostAccountPersonsResponse
Documentation
:: (MonadHTTP m, SecurityScheme s) | |
=> Configuration s | The configuration to use in the request |
-> PostAccountPersonsRequestBody | The request body to send |
-> m (Either HttpException (Response PostAccountPersonsResponse)) | Monad containing the result of the operation |
POST /v1/account/persons
<p>Creates a new person.</p>
postAccountPersonsRaw :: forall m s. (MonadHTTP m, SecurityScheme s) => Configuration s -> PostAccountPersonsRequestBody -> m (Either HttpException (Response ByteString)) Source #
POST /v1/account/persons
The same as postAccountPersons
but returns the raw ByteString
postAccountPersonsM :: forall m s. (MonadHTTP m, SecurityScheme s) => PostAccountPersonsRequestBody -> ReaderT (Configuration s) m (Either HttpException (Response PostAccountPersonsResponse)) Source #
POST /v1/account/persons
Monadic version of postAccountPersons
(use with runWithConfiguration
)
postAccountPersonsRawM :: forall m s. (MonadHTTP m, SecurityScheme s) => PostAccountPersonsRequestBody -> ReaderT (Configuration s) m (Either HttpException (Response ByteString)) Source #
POST /v1/account/persons
Monadic version of postAccountPersonsRaw
(use with runWithConfiguration
)
data PostAccountPersonsRequestBody Source #
Defines the data type for the schema postAccountPersonsRequestBody
PostAccountPersonsRequestBody | |
|
Instances
data PostAccountPersonsRequestBodyAddress' Source #
Defines the data type for the schema postAccountPersonsRequestBodyAddress'
The person's address.
PostAccountPersonsRequestBodyAddress' | |
|
data PostAccountPersonsRequestBodyAddressKana' Source #
Defines the data type for the schema postAccountPersonsRequestBodyAddress_kana'
The Kana variation of the person's address (Japan only).
PostAccountPersonsRequestBodyAddressKana' | |
|
data PostAccountPersonsRequestBodyAddressKanji' Source #
Defines the data type for the schema postAccountPersonsRequestBodyAddress_kanji'
The Kanji variation of the person's address (Japan only).
PostAccountPersonsRequestBodyAddressKanji' | |
|
data PostAccountPersonsRequestBodyDob'OneOf1 Source #
Defines the enum schema postAccountPersonsRequestBodyDob'OneOf1
PostAccountPersonsRequestBodyDob'OneOf1EnumOther Value | |
PostAccountPersonsRequestBodyDob'OneOf1EnumTyped String | |
PostAccountPersonsRequestBodyDob'OneOf1EnumString_ |
data PostAccountPersonsRequestBodyDob'OneOf2 Source #
Defines the data type for the schema postAccountPersonsRequestBodyDob'OneOf2
data PostAccountPersonsRequestBodyDob'Variants Source #
Define the one-of schema postAccountPersonsRequestBodyDob'
The person's date of birth.
Instances
data PostAccountPersonsRequestBodyMetadata' Source #
Defines the data type for the schema postAccountPersonsRequestBodyMetadata'
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 PostAccountPersonsRequestBodyRelationship' Source #
Defines the data type for the schema postAccountPersonsRequestBodyRelationship'
The relationship that this person has with the account's legal entity.
PostAccountPersonsRequestBodyRelationship' | |
|
data PostAccountPersonsRequestBodyRelationship'PercentOwnership'OneOf1 Source #
Defines the enum schema postAccountPersonsRequestBodyRelationship'Percent_ownership'OneOf1
Instances
data PostAccountPersonsRequestBodyRelationship'PercentOwnership'Variants Source #
Define the one-of schema postAccountPersonsRequestBodyRelationship'Percent_ownership'
Instances
data PostAccountPersonsRequestBodyVerification' Source #
Defines the data type for the schema postAccountPersonsRequestBodyVerification'
The person's verification status.
data PostAccountPersonsRequestBodyVerification'AdditionalDocument' Source #
Defines the data type for the schema postAccountPersonsRequestBodyVerification'Additional_document'
PostAccountPersonsRequestBodyVerification'AdditionalDocument' | |
|
Instances
data PostAccountPersonsRequestBodyVerification'Document' Source #
Defines the data type for the schema postAccountPersonsRequestBodyVerification'Document'
PostAccountPersonsRequestBodyVerification'Document' | |
|
Instances
data PostAccountPersonsResponse Source #
Represents a response of the operation postAccountPersons
.
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), PostAccountPersonsResponseError
is used.
PostAccountPersonsResponseError String | Means either no matching case available or a parse error |
PostAccountPersonsResponse200 Person | Successful response. |
PostAccountPersonsResponseDefault Error | Error response. |