Safe Haskell | None |
---|---|
Language | Haskell2010 |
Contains the different functions to run the operation postAccountPeople
Synopsis
- postAccountPeople :: forall m s. (MonadHTTP m, SecurityScheme s) => Configuration s -> PostAccountPeopleRequestBody -> m (Either HttpException (Response PostAccountPeopleResponse))
- postAccountPeopleRaw :: forall m s. (MonadHTTP m, SecurityScheme s) => Configuration s -> PostAccountPeopleRequestBody -> m (Either HttpException (Response ByteString))
- postAccountPeopleM :: forall m s. (MonadHTTP m, SecurityScheme s) => PostAccountPeopleRequestBody -> ReaderT (Configuration s) m (Either HttpException (Response PostAccountPeopleResponse))
- postAccountPeopleRawM :: forall m s. (MonadHTTP m, SecurityScheme s) => PostAccountPeopleRequestBody -> ReaderT (Configuration s) m (Either HttpException (Response ByteString))
- data PostAccountPeopleRequestBody = PostAccountPeopleRequestBody {
- postAccountPeopleRequestBodyAccount :: Maybe String
- postAccountPeopleRequestBodyAddress :: Maybe PostAccountPeopleRequestBodyAddress'
- postAccountPeopleRequestBodyAddressKana :: Maybe PostAccountPeopleRequestBodyAddressKana'
- postAccountPeopleRequestBodyAddressKanji :: Maybe PostAccountPeopleRequestBodyAddressKanji'
- postAccountPeopleRequestBodyDob :: Maybe PostAccountPeopleRequestBodyDob'Variants
- postAccountPeopleRequestBodyEmail :: Maybe String
- postAccountPeopleRequestBodyExpand :: Maybe ([] String)
- postAccountPeopleRequestBodyFirstName :: Maybe String
- postAccountPeopleRequestBodyFirstNameKana :: Maybe String
- postAccountPeopleRequestBodyFirstNameKanji :: Maybe String
- postAccountPeopleRequestBodyGender :: Maybe String
- postAccountPeopleRequestBodyIdNumber :: Maybe String
- postAccountPeopleRequestBodyLastName :: Maybe String
- postAccountPeopleRequestBodyLastNameKana :: Maybe String
- postAccountPeopleRequestBodyLastNameKanji :: Maybe String
- postAccountPeopleRequestBodyMaidenName :: Maybe String
- postAccountPeopleRequestBodyMetadata :: Maybe PostAccountPeopleRequestBodyMetadata'
- postAccountPeopleRequestBodyPersonToken :: Maybe String
- postAccountPeopleRequestBodyPhone :: Maybe String
- postAccountPeopleRequestBodyRelationship :: Maybe PostAccountPeopleRequestBodyRelationship'
- postAccountPeopleRequestBodySsnLast_4 :: Maybe String
- postAccountPeopleRequestBodyVerification :: Maybe PostAccountPeopleRequestBodyVerification'
- data PostAccountPeopleRequestBodyAddress' = PostAccountPeopleRequestBodyAddress' {
- postAccountPeopleRequestBodyAddress'City :: Maybe String
- postAccountPeopleRequestBodyAddress'Country :: Maybe String
- postAccountPeopleRequestBodyAddress'Line1 :: Maybe String
- postAccountPeopleRequestBodyAddress'Line2 :: Maybe String
- postAccountPeopleRequestBodyAddress'PostalCode :: Maybe String
- postAccountPeopleRequestBodyAddress'State :: Maybe String
- data PostAccountPeopleRequestBodyAddressKana' = PostAccountPeopleRequestBodyAddressKana' {
- postAccountPeopleRequestBodyAddressKana'City :: Maybe String
- postAccountPeopleRequestBodyAddressKana'Country :: Maybe String
- postAccountPeopleRequestBodyAddressKana'Line1 :: Maybe String
- postAccountPeopleRequestBodyAddressKana'Line2 :: Maybe String
- postAccountPeopleRequestBodyAddressKana'PostalCode :: Maybe String
- postAccountPeopleRequestBodyAddressKana'State :: Maybe String
- postAccountPeopleRequestBodyAddressKana'Town :: Maybe String
- data PostAccountPeopleRequestBodyAddressKanji' = PostAccountPeopleRequestBodyAddressKanji' {
- postAccountPeopleRequestBodyAddressKanji'City :: Maybe String
- postAccountPeopleRequestBodyAddressKanji'Country :: Maybe String
- postAccountPeopleRequestBodyAddressKanji'Line1 :: Maybe String
- postAccountPeopleRequestBodyAddressKanji'Line2 :: Maybe String
- postAccountPeopleRequestBodyAddressKanji'PostalCode :: Maybe String
- postAccountPeopleRequestBodyAddressKanji'State :: Maybe String
- postAccountPeopleRequestBodyAddressKanji'Town :: Maybe String
- data PostAccountPeopleRequestBodyDob'OneOf1
- data PostAccountPeopleRequestBodyDob'OneOf2 = PostAccountPeopleRequestBodyDob'OneOf2 {}
- data PostAccountPeopleRequestBodyDob'Variants
- data PostAccountPeopleRequestBodyMetadata' = PostAccountPeopleRequestBodyMetadata' {
- data PostAccountPeopleRequestBodyRelationship' = PostAccountPeopleRequestBodyRelationship' {
- postAccountPeopleRequestBodyRelationship'Director :: Maybe Bool
- postAccountPeopleRequestBodyRelationship'Executive :: Maybe Bool
- postAccountPeopleRequestBodyRelationship'Owner :: Maybe Bool
- postAccountPeopleRequestBodyRelationship'PercentOwnership :: Maybe PostAccountPeopleRequestBodyRelationship'PercentOwnership'Variants
- postAccountPeopleRequestBodyRelationship'Representative :: Maybe Bool
- postAccountPeopleRequestBodyRelationship'Title :: Maybe String
- data PostAccountPeopleRequestBodyRelationship'PercentOwnership'OneOf1
- data PostAccountPeopleRequestBodyRelationship'PercentOwnership'Variants
- data PostAccountPeopleRequestBodyVerification' = PostAccountPeopleRequestBodyVerification' {}
- data PostAccountPeopleRequestBodyVerification'AdditionalDocument' = PostAccountPeopleRequestBodyVerification'AdditionalDocument' {}
- data PostAccountPeopleRequestBodyVerification'Document' = PostAccountPeopleRequestBodyVerification'Document' {}
- data PostAccountPeopleResponse
Documentation
:: (MonadHTTP m, SecurityScheme s) | |
=> Configuration s | The configuration to use in the request |
-> PostAccountPeopleRequestBody | The request body to send |
-> m (Either HttpException (Response PostAccountPeopleResponse)) | Monad containing the result of the operation |
POST /v1/account/people
<p>Creates a new person.</p>
postAccountPeopleRaw :: forall m s. (MonadHTTP m, SecurityScheme s) => Configuration s -> PostAccountPeopleRequestBody -> m (Either HttpException (Response ByteString)) Source #
POST /v1/account/people
The same as postAccountPeople
but returns the raw ByteString
postAccountPeopleM :: forall m s. (MonadHTTP m, SecurityScheme s) => PostAccountPeopleRequestBody -> ReaderT (Configuration s) m (Either HttpException (Response PostAccountPeopleResponse)) Source #
POST /v1/account/people
Monadic version of postAccountPeople
(use with runWithConfiguration
)
postAccountPeopleRawM :: forall m s. (MonadHTTP m, SecurityScheme s) => PostAccountPeopleRequestBody -> ReaderT (Configuration s) m (Either HttpException (Response ByteString)) Source #
POST /v1/account/people
Monadic version of postAccountPeopleRaw
(use with runWithConfiguration
)
data PostAccountPeopleRequestBody Source #
Defines the data type for the schema postAccountPeopleRequestBody
PostAccountPeopleRequestBody | |
|
Instances
data PostAccountPeopleRequestBodyAddress' Source #
Defines the data type for the schema postAccountPeopleRequestBodyAddress'
The person's address.
PostAccountPeopleRequestBodyAddress' | |
|
data PostAccountPeopleRequestBodyAddressKana' Source #
Defines the data type for the schema postAccountPeopleRequestBodyAddress_kana'
The Kana variation of the person's address (Japan only).
PostAccountPeopleRequestBodyAddressKana' | |
|
data PostAccountPeopleRequestBodyAddressKanji' Source #
Defines the data type for the schema postAccountPeopleRequestBodyAddress_kanji'
The Kanji variation of the person's address (Japan only).
PostAccountPeopleRequestBodyAddressKanji' | |
|
data PostAccountPeopleRequestBodyDob'OneOf1 Source #
Defines the enum schema postAccountPeopleRequestBodyDob'OneOf1
PostAccountPeopleRequestBodyDob'OneOf1EnumOther Value | |
PostAccountPeopleRequestBodyDob'OneOf1EnumTyped String | |
PostAccountPeopleRequestBodyDob'OneOf1EnumString_ |
data PostAccountPeopleRequestBodyDob'OneOf2 Source #
Defines the data type for the schema postAccountPeopleRequestBodyDob'OneOf2
data PostAccountPeopleRequestBodyDob'Variants Source #
Define the one-of schema postAccountPeopleRequestBodyDob'
The person's date of birth.
Instances
data PostAccountPeopleRequestBodyMetadata' Source #
Defines the data type for the schema postAccountPeopleRequestBodyMetadata'
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 PostAccountPeopleRequestBodyRelationship' Source #
Defines the data type for the schema postAccountPeopleRequestBodyRelationship'
The relationship that this person has with the account's legal entity.
PostAccountPeopleRequestBodyRelationship' | |
|
data PostAccountPeopleRequestBodyRelationship'PercentOwnership'OneOf1 Source #
Defines the enum schema postAccountPeopleRequestBodyRelationship'Percent_ownership'OneOf1
Instances
data PostAccountPeopleRequestBodyRelationship'PercentOwnership'Variants Source #
Define the one-of schema postAccountPeopleRequestBodyRelationship'Percent_ownership'
Instances
data PostAccountPeopleRequestBodyVerification' Source #
Defines the data type for the schema postAccountPeopleRequestBodyVerification'
The person's verification status.
data PostAccountPeopleRequestBodyVerification'AdditionalDocument' Source #
Defines the data type for the schema postAccountPeopleRequestBodyVerification'Additional_document'
PostAccountPeopleRequestBodyVerification'AdditionalDocument' | |
|
Instances
data PostAccountPeopleRequestBodyVerification'Document' Source #
Defines the data type for the schema postAccountPeopleRequestBodyVerification'Document'
PostAccountPeopleRequestBodyVerification'Document' | |
|
Instances
data PostAccountPeopleResponse Source #
Represents a response of the operation postAccountPeople
.
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), PostAccountPeopleResponseError
is used.
PostAccountPeopleResponseError String | Means either no matching case available or a parse error |
PostAccountPeopleResponse200 Person | Successful response. |
PostAccountPeopleResponseDefault Error | Error response. |