Safe Haskell | None |
---|---|
Language | Haskell2010 |
Contains the different functions to run the operation postAccountPersons
Synopsis
- postAccountPersons :: forall m. MonadHTTP m => Maybe PostAccountPersonsRequestBody -> ClientT m (Response PostAccountPersonsResponse)
- data PostAccountPersonsRequestBody = PostAccountPersonsRequestBody {
- postAccountPersonsRequestBodyAccount :: Maybe Text
- postAccountPersonsRequestBodyAddress :: Maybe PostAccountPersonsRequestBodyAddress'
- postAccountPersonsRequestBodyAddressKana :: Maybe PostAccountPersonsRequestBodyAddressKana'
- postAccountPersonsRequestBodyAddressKanji :: Maybe PostAccountPersonsRequestBodyAddressKanji'
- postAccountPersonsRequestBodyDob :: Maybe PostAccountPersonsRequestBodyDob'Variants
- postAccountPersonsRequestBodyDocuments :: Maybe PostAccountPersonsRequestBodyDocuments'
- postAccountPersonsRequestBodyEmail :: Maybe Text
- postAccountPersonsRequestBodyExpand :: Maybe [Text]
- postAccountPersonsRequestBodyFirstName :: Maybe Text
- postAccountPersonsRequestBodyFirstNameKana :: Maybe Text
- postAccountPersonsRequestBodyFirstNameKanji :: Maybe Text
- postAccountPersonsRequestBodyGender :: Maybe Text
- postAccountPersonsRequestBodyIdNumber :: Maybe Text
- postAccountPersonsRequestBodyLastName :: Maybe Text
- postAccountPersonsRequestBodyLastNameKana :: Maybe Text
- postAccountPersonsRequestBodyLastNameKanji :: Maybe Text
- postAccountPersonsRequestBodyMaidenName :: Maybe Text
- postAccountPersonsRequestBodyMetadata :: Maybe PostAccountPersonsRequestBodyMetadata'Variants
- postAccountPersonsRequestBodyNationality :: Maybe Text
- postAccountPersonsRequestBodyPersonToken :: Maybe Text
- postAccountPersonsRequestBodyPhone :: Maybe Text
- postAccountPersonsRequestBodyPoliticalExposure :: Maybe Text
- postAccountPersonsRequestBodyRelationship :: Maybe PostAccountPersonsRequestBodyRelationship'
- postAccountPersonsRequestBodySsnLast_4 :: Maybe Text
- postAccountPersonsRequestBodyVerification :: Maybe PostAccountPersonsRequestBodyVerification'
- mkPostAccountPersonsRequestBody :: PostAccountPersonsRequestBody
- data PostAccountPersonsRequestBodyAddress' = PostAccountPersonsRequestBodyAddress' {
- postAccountPersonsRequestBodyAddress'City :: Maybe Text
- postAccountPersonsRequestBodyAddress'Country :: Maybe Text
- postAccountPersonsRequestBodyAddress'Line1 :: Maybe Text
- postAccountPersonsRequestBodyAddress'Line2 :: Maybe Text
- postAccountPersonsRequestBodyAddress'PostalCode :: Maybe Text
- postAccountPersonsRequestBodyAddress'State :: Maybe Text
- mkPostAccountPersonsRequestBodyAddress' :: PostAccountPersonsRequestBodyAddress'
- data PostAccountPersonsRequestBodyAddressKana' = PostAccountPersonsRequestBodyAddressKana' {
- postAccountPersonsRequestBodyAddressKana'City :: Maybe Text
- postAccountPersonsRequestBodyAddressKana'Country :: Maybe Text
- postAccountPersonsRequestBodyAddressKana'Line1 :: Maybe Text
- postAccountPersonsRequestBodyAddressKana'Line2 :: Maybe Text
- postAccountPersonsRequestBodyAddressKana'PostalCode :: Maybe Text
- postAccountPersonsRequestBodyAddressKana'State :: Maybe Text
- postAccountPersonsRequestBodyAddressKana'Town :: Maybe Text
- mkPostAccountPersonsRequestBodyAddressKana' :: PostAccountPersonsRequestBodyAddressKana'
- data PostAccountPersonsRequestBodyAddressKanji' = PostAccountPersonsRequestBodyAddressKanji' {
- postAccountPersonsRequestBodyAddressKanji'City :: Maybe Text
- postAccountPersonsRequestBodyAddressKanji'Country :: Maybe Text
- postAccountPersonsRequestBodyAddressKanji'Line1 :: Maybe Text
- postAccountPersonsRequestBodyAddressKanji'Line2 :: Maybe Text
- postAccountPersonsRequestBodyAddressKanji'PostalCode :: Maybe Text
- postAccountPersonsRequestBodyAddressKanji'State :: Maybe Text
- postAccountPersonsRequestBodyAddressKanji'Town :: Maybe Text
- mkPostAccountPersonsRequestBodyAddressKanji' :: PostAccountPersonsRequestBodyAddressKanji'
- data PostAccountPersonsRequestBodyDob'OneOf1 = PostAccountPersonsRequestBodyDob'OneOf1 {}
- mkPostAccountPersonsRequestBodyDob'OneOf1 :: Int -> Int -> Int -> PostAccountPersonsRequestBodyDob'OneOf1
- data PostAccountPersonsRequestBodyDob'Variants
- data PostAccountPersonsRequestBodyDocuments' = PostAccountPersonsRequestBodyDocuments' {
- postAccountPersonsRequestBodyDocuments'CompanyAuthorization :: Maybe PostAccountPersonsRequestBodyDocuments'CompanyAuthorization'
- postAccountPersonsRequestBodyDocuments'Passport :: Maybe PostAccountPersonsRequestBodyDocuments'Passport'
- postAccountPersonsRequestBodyDocuments'Visa :: Maybe PostAccountPersonsRequestBodyDocuments'Visa'
- mkPostAccountPersonsRequestBodyDocuments' :: PostAccountPersonsRequestBodyDocuments'
- data PostAccountPersonsRequestBodyDocuments'CompanyAuthorization' = PostAccountPersonsRequestBodyDocuments'CompanyAuthorization' {}
- mkPostAccountPersonsRequestBodyDocuments'CompanyAuthorization' :: PostAccountPersonsRequestBodyDocuments'CompanyAuthorization'
- data PostAccountPersonsRequestBodyDocuments'Passport' = PostAccountPersonsRequestBodyDocuments'Passport' {}
- mkPostAccountPersonsRequestBodyDocuments'Passport' :: PostAccountPersonsRequestBodyDocuments'Passport'
- data PostAccountPersonsRequestBodyDocuments'Visa' = PostAccountPersonsRequestBodyDocuments'Visa' {}
- mkPostAccountPersonsRequestBodyDocuments'Visa' :: PostAccountPersonsRequestBodyDocuments'Visa'
- data PostAccountPersonsRequestBodyMetadata'Variants
- 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 Text
- mkPostAccountPersonsRequestBodyRelationship' :: PostAccountPersonsRequestBodyRelationship'
- data PostAccountPersonsRequestBodyRelationship'PercentOwnership'Variants
- data PostAccountPersonsRequestBodyVerification' = PostAccountPersonsRequestBodyVerification' {}
- mkPostAccountPersonsRequestBodyVerification' :: PostAccountPersonsRequestBodyVerification'
- data PostAccountPersonsRequestBodyVerification'AdditionalDocument' = PostAccountPersonsRequestBodyVerification'AdditionalDocument' {}
- mkPostAccountPersonsRequestBodyVerification'AdditionalDocument' :: PostAccountPersonsRequestBodyVerification'AdditionalDocument'
- data PostAccountPersonsRequestBodyVerification'Document' = PostAccountPersonsRequestBodyVerification'Document' {}
- mkPostAccountPersonsRequestBodyVerification'Document' :: PostAccountPersonsRequestBodyVerification'Document'
- data PostAccountPersonsResponse
Documentation
:: forall m. MonadHTTP m | |
=> Maybe PostAccountPersonsRequestBody | The request body to send |
-> ClientT m (Response PostAccountPersonsResponse) | Monadic computation which returns the result of the operation |
POST /v1/account/persons
<p>Creates a new person.</p>
data PostAccountPersonsRequestBody Source #
Defines the object schema located at paths./v1/account/persons.POST.requestBody.content.application/x-www-form-urlencoded.schema
in the specification.
PostAccountPersonsRequestBody | |
|
Instances
mkPostAccountPersonsRequestBody :: PostAccountPersonsRequestBody Source #
Create a new PostAccountPersonsRequestBody
with all required fields.
data PostAccountPersonsRequestBodyAddress' Source #
Defines the object schema located at paths./v1/account/persons.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.address
in the specification.
The person's address.
PostAccountPersonsRequestBodyAddress' | |
|
mkPostAccountPersonsRequestBodyAddress' :: PostAccountPersonsRequestBodyAddress' Source #
Create a new PostAccountPersonsRequestBodyAddress'
with all required fields.
data PostAccountPersonsRequestBodyAddressKana' Source #
Defines the object schema located at paths./v1/account/persons.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.address_kana
in the specification.
The Kana variation of the person's address (Japan only).
PostAccountPersonsRequestBodyAddressKana' | |
|
mkPostAccountPersonsRequestBodyAddressKana' :: PostAccountPersonsRequestBodyAddressKana' Source #
Create a new PostAccountPersonsRequestBodyAddressKana'
with all required fields.
data PostAccountPersonsRequestBodyAddressKanji' Source #
Defines the object schema located at paths./v1/account/persons.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.address_kanji
in the specification.
The Kanji variation of the person's address (Japan only).
PostAccountPersonsRequestBodyAddressKanji' | |
|
mkPostAccountPersonsRequestBodyAddressKanji' :: PostAccountPersonsRequestBodyAddressKanji' Source #
Create a new PostAccountPersonsRequestBodyAddressKanji'
with all required fields.
data PostAccountPersonsRequestBodyDob'OneOf1 Source #
Defines the object schema located at paths./v1/account/persons.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.dob.anyOf
in the specification.
mkPostAccountPersonsRequestBodyDob'OneOf1 Source #
:: Int | |
-> Int | |
-> Int | |
-> PostAccountPersonsRequestBodyDob'OneOf1 |
Create a new PostAccountPersonsRequestBodyDob'OneOf1
with all required fields.
data PostAccountPersonsRequestBodyDob'Variants Source #
Defines the oneOf schema located at paths./v1/account/persons.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.dob.anyOf
in the specification.
The person's date of birth.
PostAccountPersonsRequestBodyDob'EmptyString | Represents the JSON value |
PostAccountPersonsRequestBodyDob'PostAccountPersonsRequestBodyDob'OneOf1 PostAccountPersonsRequestBodyDob'OneOf1 |
data PostAccountPersonsRequestBodyDocuments' Source #
Defines the object schema located at paths./v1/account/persons.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.documents
in the specification.
Documents that may be submitted to satisfy various informational requests.
mkPostAccountPersonsRequestBodyDocuments' :: PostAccountPersonsRequestBodyDocuments' Source #
Create a new PostAccountPersonsRequestBodyDocuments'
with all required fields.
data PostAccountPersonsRequestBodyDocuments'CompanyAuthorization' Source #
Defines the object schema located at paths./v1/account/persons.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.documents.properties.company_authorization
in the specification.
Instances
mkPostAccountPersonsRequestBodyDocuments'CompanyAuthorization' :: PostAccountPersonsRequestBodyDocuments'CompanyAuthorization' Source #
Create a new PostAccountPersonsRequestBodyDocuments'CompanyAuthorization'
with all required fields.
data PostAccountPersonsRequestBodyDocuments'Passport' Source #
Defines the object schema located at paths./v1/account/persons.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.documents.properties.passport
in the specification.
Instances
mkPostAccountPersonsRequestBodyDocuments'Passport' :: PostAccountPersonsRequestBodyDocuments'Passport' Source #
Create a new PostAccountPersonsRequestBodyDocuments'Passport'
with all required fields.
data PostAccountPersonsRequestBodyDocuments'Visa' Source #
Defines the object schema located at paths./v1/account/persons.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.documents.properties.visa
in the specification.
Instances
mkPostAccountPersonsRequestBodyDocuments'Visa' :: PostAccountPersonsRequestBodyDocuments'Visa' Source #
Create a new PostAccountPersonsRequestBodyDocuments'Visa'
with all required fields.
data PostAccountPersonsRequestBodyMetadata'Variants Source #
Defines the oneOf schema located at paths./v1/account/persons.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.metadata.anyOf
in the specification.
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`.
PostAccountPersonsRequestBodyMetadata'EmptyString | Represents the JSON value |
PostAccountPersonsRequestBodyMetadata'Object Object |
Instances
data PostAccountPersonsRequestBodyRelationship' Source #
Defines the object schema located at paths./v1/account/persons.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.relationship
in the specification.
The relationship that this person has with the account's legal entity.
PostAccountPersonsRequestBodyRelationship' | |
|
mkPostAccountPersonsRequestBodyRelationship' :: PostAccountPersonsRequestBodyRelationship' Source #
Create a new PostAccountPersonsRequestBodyRelationship'
with all required fields.
data PostAccountPersonsRequestBodyRelationship'PercentOwnership'Variants Source #
Defines the oneOf schema located at paths./v1/account/persons.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.relationship.properties.percent_ownership.anyOf
in the specification.
PostAccountPersonsRequestBodyRelationship'PercentOwnership'EmptyString | Represents the JSON value |
PostAccountPersonsRequestBodyRelationship'PercentOwnership'Double Double |
Instances
data PostAccountPersonsRequestBodyVerification' Source #
Defines the object schema located at paths./v1/account/persons.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.verification
in the specification.
The person's verification status.
mkPostAccountPersonsRequestBodyVerification' :: PostAccountPersonsRequestBodyVerification' Source #
Create a new PostAccountPersonsRequestBodyVerification'
with all required fields.
data PostAccountPersonsRequestBodyVerification'AdditionalDocument' Source #
Defines the object schema located at paths./v1/account/persons.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.verification.properties.additional_document
in the specification.
PostAccountPersonsRequestBodyVerification'AdditionalDocument' | |
|
Instances
mkPostAccountPersonsRequestBodyVerification'AdditionalDocument' :: PostAccountPersonsRequestBodyVerification'AdditionalDocument' Source #
Create a new PostAccountPersonsRequestBodyVerification'AdditionalDocument'
with all required fields.
data PostAccountPersonsRequestBodyVerification'Document' Source #
Defines the object schema located at paths./v1/account/persons.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.verification.properties.document
in the specification.
PostAccountPersonsRequestBodyVerification'Document' | |
|
Instances
mkPostAccountPersonsRequestBodyVerification'Document' :: PostAccountPersonsRequestBodyVerification'Document' Source #
Create a new PostAccountPersonsRequestBodyVerification'Document'
with all required fields.
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. |