Safe Haskell | None |
---|---|
Language | Haskell2010 |
Contains the different functions to run the operation postAccountsAccountPersons
Synopsis
- postAccountsAccountPersons :: forall m s. (MonadHTTP m, SecurityScheme s) => Configuration s -> String -> PostAccountsAccountPersonsRequestBody -> m (Either HttpException (Response PostAccountsAccountPersonsResponse))
- postAccountsAccountPersonsRaw :: forall m s. (MonadHTTP m, SecurityScheme s) => Configuration s -> String -> PostAccountsAccountPersonsRequestBody -> m (Either HttpException (Response ByteString))
- postAccountsAccountPersonsM :: forall m s. (MonadHTTP m, SecurityScheme s) => String -> PostAccountsAccountPersonsRequestBody -> ReaderT (Configuration s) m (Either HttpException (Response PostAccountsAccountPersonsResponse))
- postAccountsAccountPersonsRawM :: forall m s. (MonadHTTP m, SecurityScheme s) => String -> PostAccountsAccountPersonsRequestBody -> ReaderT (Configuration s) m (Either HttpException (Response ByteString))
- data PostAccountsAccountPersonsRequestBody = PostAccountsAccountPersonsRequestBody {
- postAccountsAccountPersonsRequestBodyAddress :: Maybe PostAccountsAccountPersonsRequestBodyAddress'
- postAccountsAccountPersonsRequestBodyAddressKana :: Maybe PostAccountsAccountPersonsRequestBodyAddressKana'
- postAccountsAccountPersonsRequestBodyAddressKanji :: Maybe PostAccountsAccountPersonsRequestBodyAddressKanji'
- postAccountsAccountPersonsRequestBodyDob :: Maybe PostAccountsAccountPersonsRequestBodyDob'Variants
- postAccountsAccountPersonsRequestBodyEmail :: Maybe String
- postAccountsAccountPersonsRequestBodyExpand :: Maybe ([] String)
- postAccountsAccountPersonsRequestBodyFirstName :: Maybe String
- postAccountsAccountPersonsRequestBodyFirstNameKana :: Maybe String
- postAccountsAccountPersonsRequestBodyFirstNameKanji :: Maybe String
- postAccountsAccountPersonsRequestBodyGender :: Maybe String
- postAccountsAccountPersonsRequestBodyIdNumber :: Maybe String
- postAccountsAccountPersonsRequestBodyLastName :: Maybe String
- postAccountsAccountPersonsRequestBodyLastNameKana :: Maybe String
- postAccountsAccountPersonsRequestBodyLastNameKanji :: Maybe String
- postAccountsAccountPersonsRequestBodyMaidenName :: Maybe String
- postAccountsAccountPersonsRequestBodyMetadata :: Maybe PostAccountsAccountPersonsRequestBodyMetadata'
- postAccountsAccountPersonsRequestBodyPersonToken :: Maybe String
- postAccountsAccountPersonsRequestBodyPhone :: Maybe String
- postAccountsAccountPersonsRequestBodyRelationship :: Maybe PostAccountsAccountPersonsRequestBodyRelationship'
- postAccountsAccountPersonsRequestBodySsnLast_4 :: Maybe String
- postAccountsAccountPersonsRequestBodyVerification :: Maybe PostAccountsAccountPersonsRequestBodyVerification'
- data PostAccountsAccountPersonsRequestBodyAddress' = PostAccountsAccountPersonsRequestBodyAddress' {
- postAccountsAccountPersonsRequestBodyAddress'City :: Maybe String
- postAccountsAccountPersonsRequestBodyAddress'Country :: Maybe String
- postAccountsAccountPersonsRequestBodyAddress'Line1 :: Maybe String
- postAccountsAccountPersonsRequestBodyAddress'Line2 :: Maybe String
- postAccountsAccountPersonsRequestBodyAddress'PostalCode :: Maybe String
- postAccountsAccountPersonsRequestBodyAddress'State :: Maybe String
- data PostAccountsAccountPersonsRequestBodyAddressKana' = PostAccountsAccountPersonsRequestBodyAddressKana' {
- postAccountsAccountPersonsRequestBodyAddressKana'City :: Maybe String
- postAccountsAccountPersonsRequestBodyAddressKana'Country :: Maybe String
- postAccountsAccountPersonsRequestBodyAddressKana'Line1 :: Maybe String
- postAccountsAccountPersonsRequestBodyAddressKana'Line2 :: Maybe String
- postAccountsAccountPersonsRequestBodyAddressKana'PostalCode :: Maybe String
- postAccountsAccountPersonsRequestBodyAddressKana'State :: Maybe String
- postAccountsAccountPersonsRequestBodyAddressKana'Town :: Maybe String
- data PostAccountsAccountPersonsRequestBodyAddressKanji' = PostAccountsAccountPersonsRequestBodyAddressKanji' {
- postAccountsAccountPersonsRequestBodyAddressKanji'City :: Maybe String
- postAccountsAccountPersonsRequestBodyAddressKanji'Country :: Maybe String
- postAccountsAccountPersonsRequestBodyAddressKanji'Line1 :: Maybe String
- postAccountsAccountPersonsRequestBodyAddressKanji'Line2 :: Maybe String
- postAccountsAccountPersonsRequestBodyAddressKanji'PostalCode :: Maybe String
- postAccountsAccountPersonsRequestBodyAddressKanji'State :: Maybe String
- postAccountsAccountPersonsRequestBodyAddressKanji'Town :: Maybe String
- data PostAccountsAccountPersonsRequestBodyDob'OneOf1
- data PostAccountsAccountPersonsRequestBodyDob'OneOf2 = PostAccountsAccountPersonsRequestBodyDob'OneOf2 {}
- data PostAccountsAccountPersonsRequestBodyDob'Variants
- data PostAccountsAccountPersonsRequestBodyMetadata' = PostAccountsAccountPersonsRequestBodyMetadata' {
- data PostAccountsAccountPersonsRequestBodyRelationship' = PostAccountsAccountPersonsRequestBodyRelationship' {
- postAccountsAccountPersonsRequestBodyRelationship'Director :: Maybe Bool
- postAccountsAccountPersonsRequestBodyRelationship'Executive :: Maybe Bool
- postAccountsAccountPersonsRequestBodyRelationship'Owner :: Maybe Bool
- postAccountsAccountPersonsRequestBodyRelationship'PercentOwnership :: Maybe PostAccountsAccountPersonsRequestBodyRelationship'PercentOwnership'Variants
- postAccountsAccountPersonsRequestBodyRelationship'Representative :: Maybe Bool
- postAccountsAccountPersonsRequestBodyRelationship'Title :: Maybe String
- data PostAccountsAccountPersonsRequestBodyRelationship'PercentOwnership'OneOf1
- data PostAccountsAccountPersonsRequestBodyRelationship'PercentOwnership'Variants
- data PostAccountsAccountPersonsRequestBodyVerification' = PostAccountsAccountPersonsRequestBodyVerification' {}
- data PostAccountsAccountPersonsRequestBodyVerification'AdditionalDocument' = PostAccountsAccountPersonsRequestBodyVerification'AdditionalDocument' {}
- data PostAccountsAccountPersonsRequestBodyVerification'Document' = PostAccountsAccountPersonsRequestBodyVerification'Document' {}
- data PostAccountsAccountPersonsResponse
Documentation
postAccountsAccountPersons Source #
:: (MonadHTTP m, SecurityScheme s) | |
=> Configuration s | The configuration to use in the request |
-> String | account | Constraints: Maximum length of 5000 |
-> PostAccountsAccountPersonsRequestBody | The request body to send |
-> m (Either HttpException (Response PostAccountsAccountPersonsResponse)) | Monad containing the result of the operation |
POST /v1/accounts/{account}/persons
<p>Creates a new person.</p>
postAccountsAccountPersonsRaw :: forall m s. (MonadHTTP m, SecurityScheme s) => Configuration s -> String -> PostAccountsAccountPersonsRequestBody -> m (Either HttpException (Response ByteString)) Source #
POST /v1/accounts/{account}/persons
The same as postAccountsAccountPersons
but returns the raw ByteString
postAccountsAccountPersonsM :: forall m s. (MonadHTTP m, SecurityScheme s) => String -> PostAccountsAccountPersonsRequestBody -> ReaderT (Configuration s) m (Either HttpException (Response PostAccountsAccountPersonsResponse)) Source #
POST /v1/accounts/{account}/persons
Monadic version of postAccountsAccountPersons
(use with runWithConfiguration
)
postAccountsAccountPersonsRawM :: forall m s. (MonadHTTP m, SecurityScheme s) => String -> PostAccountsAccountPersonsRequestBody -> ReaderT (Configuration s) m (Either HttpException (Response ByteString)) Source #
POST /v1/accounts/{account}/persons
Monadic version of postAccountsAccountPersonsRaw
(use with runWithConfiguration
)
data PostAccountsAccountPersonsRequestBody Source #
Defines the data type for the schema postAccountsAccountPersonsRequestBody
PostAccountsAccountPersonsRequestBody | |
|
data PostAccountsAccountPersonsRequestBodyAddress' Source #
Defines the data type for the schema postAccountsAccountPersonsRequestBodyAddress'
The person's address.
PostAccountsAccountPersonsRequestBodyAddress' | |
|
data PostAccountsAccountPersonsRequestBodyAddressKana' Source #
Defines the data type for the schema postAccountsAccountPersonsRequestBodyAddress_kana'
The Kana variation of the person's address (Japan only).
PostAccountsAccountPersonsRequestBodyAddressKana' | |
|
Instances
data PostAccountsAccountPersonsRequestBodyAddressKanji' Source #
Defines the data type for the schema postAccountsAccountPersonsRequestBodyAddress_kanji'
The Kanji variation of the person's address (Japan only).
PostAccountsAccountPersonsRequestBodyAddressKanji' | |
|
Instances
data PostAccountsAccountPersonsRequestBodyDob'OneOf1 Source #
Defines the enum schema postAccountsAccountPersonsRequestBodyDob'OneOf1
PostAccountsAccountPersonsRequestBodyDob'OneOf1EnumOther Value | |
PostAccountsAccountPersonsRequestBodyDob'OneOf1EnumTyped String | |
PostAccountsAccountPersonsRequestBodyDob'OneOf1EnumString_ |
data PostAccountsAccountPersonsRequestBodyDob'OneOf2 Source #
Defines the data type for the schema postAccountsAccountPersonsRequestBodyDob'OneOf2
data PostAccountsAccountPersonsRequestBodyDob'Variants Source #
Define the one-of schema postAccountsAccountPersonsRequestBodyDob'
The person's date of birth.
Instances
data PostAccountsAccountPersonsRequestBodyMetadata' Source #
Defines the data type for the schema postAccountsAccountPersonsRequestBodyMetadata'
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 PostAccountsAccountPersonsRequestBodyRelationship' Source #
Defines the data type for the schema postAccountsAccountPersonsRequestBodyRelationship'
The relationship that this person has with the account's legal entity.
Instances
data PostAccountsAccountPersonsRequestBodyRelationship'PercentOwnership'OneOf1 Source #
Defines the enum schema postAccountsAccountPersonsRequestBodyRelationship'Percent_ownership'OneOf1
Instances
data PostAccountsAccountPersonsRequestBodyRelationship'PercentOwnership'Variants Source #
Define the one-of schema postAccountsAccountPersonsRequestBodyRelationship'Percent_ownership'
Instances
data PostAccountsAccountPersonsRequestBodyVerification' Source #
Defines the data type for the schema postAccountsAccountPersonsRequestBodyVerification'
The person's verification status.
Instances
data PostAccountsAccountPersonsRequestBodyVerification'AdditionalDocument' Source #
Defines the data type for the schema postAccountsAccountPersonsRequestBodyVerification'Additional_document'
PostAccountsAccountPersonsRequestBodyVerification'AdditionalDocument' | |
|
Instances
data PostAccountsAccountPersonsRequestBodyVerification'Document' Source #
Defines the data type for the schema postAccountsAccountPersonsRequestBodyVerification'Document'
PostAccountsAccountPersonsRequestBodyVerification'Document' | |
|
Instances
data PostAccountsAccountPersonsResponse Source #
Represents a response of the operation postAccountsAccountPersons
.
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), PostAccountsAccountPersonsResponseError
is used.
PostAccountsAccountPersonsResponseError String | Means either no matching case available or a parse error |
PostAccountsAccountPersonsResponse200 Person | Successful response. |
PostAccountsAccountPersonsResponseDefault Error | Error response. |