Safe Haskell | None |
---|---|
Language | Haskell2010 |
StripeAPI.Operations.PostAccountsAccountPersonsPerson
Description
Contains the different functions to run the operation postAccountsAccountPersonsPerson
Synopsis
- postAccountsAccountPersonsPerson :: forall m. MonadHTTP m => PostAccountsAccountPersonsPersonParameters -> Maybe PostAccountsAccountPersonsPersonRequestBody -> ClientT m (Response PostAccountsAccountPersonsPersonResponse)
- data PostAccountsAccountPersonsPersonParameters = PostAccountsAccountPersonsPersonParameters {}
- mkPostAccountsAccountPersonsPersonParameters :: Text -> Text -> PostAccountsAccountPersonsPersonParameters
- data PostAccountsAccountPersonsPersonRequestBody = PostAccountsAccountPersonsPersonRequestBody {
- postAccountsAccountPersonsPersonRequestBodyAddress :: Maybe PostAccountsAccountPersonsPersonRequestBodyAddress'
- postAccountsAccountPersonsPersonRequestBodyAddressKana :: Maybe PostAccountsAccountPersonsPersonRequestBodyAddressKana'
- postAccountsAccountPersonsPersonRequestBodyAddressKanji :: Maybe PostAccountsAccountPersonsPersonRequestBodyAddressKanji'
- postAccountsAccountPersonsPersonRequestBodyDob :: Maybe PostAccountsAccountPersonsPersonRequestBodyDob'Variants
- postAccountsAccountPersonsPersonRequestBodyDocuments :: Maybe PostAccountsAccountPersonsPersonRequestBodyDocuments'
- postAccountsAccountPersonsPersonRequestBodyEmail :: Maybe Text
- postAccountsAccountPersonsPersonRequestBodyExpand :: Maybe [Text]
- postAccountsAccountPersonsPersonRequestBodyFirstName :: Maybe Text
- postAccountsAccountPersonsPersonRequestBodyFirstNameKana :: Maybe Text
- postAccountsAccountPersonsPersonRequestBodyFirstNameKanji :: Maybe Text
- postAccountsAccountPersonsPersonRequestBodyGender :: Maybe Text
- postAccountsAccountPersonsPersonRequestBodyIdNumber :: Maybe Text
- postAccountsAccountPersonsPersonRequestBodyLastName :: Maybe Text
- postAccountsAccountPersonsPersonRequestBodyLastNameKana :: Maybe Text
- postAccountsAccountPersonsPersonRequestBodyLastNameKanji :: Maybe Text
- postAccountsAccountPersonsPersonRequestBodyMaidenName :: Maybe Text
- postAccountsAccountPersonsPersonRequestBodyMetadata :: Maybe PostAccountsAccountPersonsPersonRequestBodyMetadata'Variants
- postAccountsAccountPersonsPersonRequestBodyNationality :: Maybe Text
- postAccountsAccountPersonsPersonRequestBodyPersonToken :: Maybe Text
- postAccountsAccountPersonsPersonRequestBodyPhone :: Maybe Text
- postAccountsAccountPersonsPersonRequestBodyPoliticalExposure :: Maybe Text
- postAccountsAccountPersonsPersonRequestBodyRelationship :: Maybe PostAccountsAccountPersonsPersonRequestBodyRelationship'
- postAccountsAccountPersonsPersonRequestBodySsnLast_4 :: Maybe Text
- postAccountsAccountPersonsPersonRequestBodyVerification :: Maybe PostAccountsAccountPersonsPersonRequestBodyVerification'
- mkPostAccountsAccountPersonsPersonRequestBody :: PostAccountsAccountPersonsPersonRequestBody
- data PostAccountsAccountPersonsPersonRequestBodyAddress' = PostAccountsAccountPersonsPersonRequestBodyAddress' {
- postAccountsAccountPersonsPersonRequestBodyAddress'City :: Maybe Text
- postAccountsAccountPersonsPersonRequestBodyAddress'Country :: Maybe Text
- postAccountsAccountPersonsPersonRequestBodyAddress'Line1 :: Maybe Text
- postAccountsAccountPersonsPersonRequestBodyAddress'Line2 :: Maybe Text
- postAccountsAccountPersonsPersonRequestBodyAddress'PostalCode :: Maybe Text
- postAccountsAccountPersonsPersonRequestBodyAddress'State :: Maybe Text
- mkPostAccountsAccountPersonsPersonRequestBodyAddress' :: PostAccountsAccountPersonsPersonRequestBodyAddress'
- data PostAccountsAccountPersonsPersonRequestBodyAddressKana' = PostAccountsAccountPersonsPersonRequestBodyAddressKana' {
- postAccountsAccountPersonsPersonRequestBodyAddressKana'City :: Maybe Text
- postAccountsAccountPersonsPersonRequestBodyAddressKana'Country :: Maybe Text
- postAccountsAccountPersonsPersonRequestBodyAddressKana'Line1 :: Maybe Text
- postAccountsAccountPersonsPersonRequestBodyAddressKana'Line2 :: Maybe Text
- postAccountsAccountPersonsPersonRequestBodyAddressKana'PostalCode :: Maybe Text
- postAccountsAccountPersonsPersonRequestBodyAddressKana'State :: Maybe Text
- postAccountsAccountPersonsPersonRequestBodyAddressKana'Town :: Maybe Text
- mkPostAccountsAccountPersonsPersonRequestBodyAddressKana' :: PostAccountsAccountPersonsPersonRequestBodyAddressKana'
- data PostAccountsAccountPersonsPersonRequestBodyAddressKanji' = PostAccountsAccountPersonsPersonRequestBodyAddressKanji' {
- postAccountsAccountPersonsPersonRequestBodyAddressKanji'City :: Maybe Text
- postAccountsAccountPersonsPersonRequestBodyAddressKanji'Country :: Maybe Text
- postAccountsAccountPersonsPersonRequestBodyAddressKanji'Line1 :: Maybe Text
- postAccountsAccountPersonsPersonRequestBodyAddressKanji'Line2 :: Maybe Text
- postAccountsAccountPersonsPersonRequestBodyAddressKanji'PostalCode :: Maybe Text
- postAccountsAccountPersonsPersonRequestBodyAddressKanji'State :: Maybe Text
- postAccountsAccountPersonsPersonRequestBodyAddressKanji'Town :: Maybe Text
- mkPostAccountsAccountPersonsPersonRequestBodyAddressKanji' :: PostAccountsAccountPersonsPersonRequestBodyAddressKanji'
- data PostAccountsAccountPersonsPersonRequestBodyDob'OneOf1 = PostAccountsAccountPersonsPersonRequestBodyDob'OneOf1 {}
- mkPostAccountsAccountPersonsPersonRequestBodyDob'OneOf1 :: Int -> Int -> Int -> PostAccountsAccountPersonsPersonRequestBodyDob'OneOf1
- data PostAccountsAccountPersonsPersonRequestBodyDob'Variants
- data PostAccountsAccountPersonsPersonRequestBodyDocuments' = PostAccountsAccountPersonsPersonRequestBodyDocuments' {
- postAccountsAccountPersonsPersonRequestBodyDocuments'CompanyAuthorization :: Maybe PostAccountsAccountPersonsPersonRequestBodyDocuments'CompanyAuthorization'
- postAccountsAccountPersonsPersonRequestBodyDocuments'Passport :: Maybe PostAccountsAccountPersonsPersonRequestBodyDocuments'Passport'
- postAccountsAccountPersonsPersonRequestBodyDocuments'Visa :: Maybe PostAccountsAccountPersonsPersonRequestBodyDocuments'Visa'
- mkPostAccountsAccountPersonsPersonRequestBodyDocuments' :: PostAccountsAccountPersonsPersonRequestBodyDocuments'
- data PostAccountsAccountPersonsPersonRequestBodyDocuments'CompanyAuthorization' = PostAccountsAccountPersonsPersonRequestBodyDocuments'CompanyAuthorization' {}
- mkPostAccountsAccountPersonsPersonRequestBodyDocuments'CompanyAuthorization' :: PostAccountsAccountPersonsPersonRequestBodyDocuments'CompanyAuthorization'
- data PostAccountsAccountPersonsPersonRequestBodyDocuments'Passport' = PostAccountsAccountPersonsPersonRequestBodyDocuments'Passport' {}
- mkPostAccountsAccountPersonsPersonRequestBodyDocuments'Passport' :: PostAccountsAccountPersonsPersonRequestBodyDocuments'Passport'
- data PostAccountsAccountPersonsPersonRequestBodyDocuments'Visa' = PostAccountsAccountPersonsPersonRequestBodyDocuments'Visa' {}
- mkPostAccountsAccountPersonsPersonRequestBodyDocuments'Visa' :: PostAccountsAccountPersonsPersonRequestBodyDocuments'Visa'
- data PostAccountsAccountPersonsPersonRequestBodyMetadata'Variants
- data PostAccountsAccountPersonsPersonRequestBodyRelationship' = PostAccountsAccountPersonsPersonRequestBodyRelationship' {
- postAccountsAccountPersonsPersonRequestBodyRelationship'Director :: Maybe Bool
- postAccountsAccountPersonsPersonRequestBodyRelationship'Executive :: Maybe Bool
- postAccountsAccountPersonsPersonRequestBodyRelationship'Owner :: Maybe Bool
- postAccountsAccountPersonsPersonRequestBodyRelationship'PercentOwnership :: Maybe PostAccountsAccountPersonsPersonRequestBodyRelationship'PercentOwnership'Variants
- postAccountsAccountPersonsPersonRequestBodyRelationship'Representative :: Maybe Bool
- postAccountsAccountPersonsPersonRequestBodyRelationship'Title :: Maybe Text
- mkPostAccountsAccountPersonsPersonRequestBodyRelationship' :: PostAccountsAccountPersonsPersonRequestBodyRelationship'
- data PostAccountsAccountPersonsPersonRequestBodyRelationship'PercentOwnership'Variants
- data PostAccountsAccountPersonsPersonRequestBodyVerification' = PostAccountsAccountPersonsPersonRequestBodyVerification' {}
- mkPostAccountsAccountPersonsPersonRequestBodyVerification' :: PostAccountsAccountPersonsPersonRequestBodyVerification'
- data PostAccountsAccountPersonsPersonRequestBodyVerification'AdditionalDocument' = PostAccountsAccountPersonsPersonRequestBodyVerification'AdditionalDocument' {}
- mkPostAccountsAccountPersonsPersonRequestBodyVerification'AdditionalDocument' :: PostAccountsAccountPersonsPersonRequestBodyVerification'AdditionalDocument'
- data PostAccountsAccountPersonsPersonRequestBodyVerification'Document' = PostAccountsAccountPersonsPersonRequestBodyVerification'Document' {}
- mkPostAccountsAccountPersonsPersonRequestBodyVerification'Document' :: PostAccountsAccountPersonsPersonRequestBodyVerification'Document'
- data PostAccountsAccountPersonsPersonResponse
Documentation
postAccountsAccountPersonsPerson Source #
Arguments
:: forall m. MonadHTTP m | |
=> PostAccountsAccountPersonsPersonParameters | Contains all available parameters of this operation (query and path parameters) |
-> Maybe PostAccountsAccountPersonsPersonRequestBody | The request body to send |
-> ClientT m (Response PostAccountsAccountPersonsPersonResponse) | Monadic computation which returns the result of the operation |
POST /v1/accounts/{account}/persons/{person}
<p>Updates an existing person.</p>
data PostAccountsAccountPersonsPersonParameters Source #
Defines the object schema located at paths./v1/accounts/{account}/persons/{person}.POST.parameters
in the specification.
Constructors
PostAccountsAccountPersonsPersonParameters | |
Fields
|
Instances
mkPostAccountsAccountPersonsPersonParameters Source #
Arguments
:: Text | |
-> Text | |
-> PostAccountsAccountPersonsPersonParameters |
Create a new PostAccountsAccountPersonsPersonParameters
with all required fields.
data PostAccountsAccountPersonsPersonRequestBody Source #
Defines the object schema located at paths./v1/accounts/{account}/persons/{person}.POST.requestBody.content.application/x-www-form-urlencoded.schema
in the specification.
Constructors
PostAccountsAccountPersonsPersonRequestBody | |
Fields
|
Instances
mkPostAccountsAccountPersonsPersonRequestBody :: PostAccountsAccountPersonsPersonRequestBody Source #
Create a new PostAccountsAccountPersonsPersonRequestBody
with all required fields.
data PostAccountsAccountPersonsPersonRequestBodyAddress' Source #
Defines the object schema located at paths./v1/accounts/{account}/persons/{person}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.address
in the specification.
The person's address.
Constructors
PostAccountsAccountPersonsPersonRequestBodyAddress' | |
Fields
|
Instances
mkPostAccountsAccountPersonsPersonRequestBodyAddress' :: PostAccountsAccountPersonsPersonRequestBodyAddress' Source #
Create a new PostAccountsAccountPersonsPersonRequestBodyAddress'
with all required fields.
data PostAccountsAccountPersonsPersonRequestBodyAddressKana' Source #
Defines the object schema located at paths./v1/accounts/{account}/persons/{person}.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).
Constructors
PostAccountsAccountPersonsPersonRequestBodyAddressKana' | |
Fields
|
Instances
mkPostAccountsAccountPersonsPersonRequestBodyAddressKana' :: PostAccountsAccountPersonsPersonRequestBodyAddressKana' Source #
Create a new PostAccountsAccountPersonsPersonRequestBodyAddressKana'
with all required fields.
data PostAccountsAccountPersonsPersonRequestBodyAddressKanji' Source #
Defines the object schema located at paths./v1/accounts/{account}/persons/{person}.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).
Constructors
PostAccountsAccountPersonsPersonRequestBodyAddressKanji' | |
Fields
|
Instances
mkPostAccountsAccountPersonsPersonRequestBodyAddressKanji' :: PostAccountsAccountPersonsPersonRequestBodyAddressKanji' Source #
Create a new PostAccountsAccountPersonsPersonRequestBodyAddressKanji'
with all required fields.
data PostAccountsAccountPersonsPersonRequestBodyDob'OneOf1 Source #
Defines the object schema located at paths./v1/accounts/{account}/persons/{person}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.dob.anyOf
in the specification.
Instances
mkPostAccountsAccountPersonsPersonRequestBodyDob'OneOf1 Source #
Arguments
:: Int | |
-> Int | |
-> Int | |
-> PostAccountsAccountPersonsPersonRequestBodyDob'OneOf1 |
Create a new PostAccountsAccountPersonsPersonRequestBodyDob'OneOf1
with all required fields.
data PostAccountsAccountPersonsPersonRequestBodyDob'Variants Source #
Defines the oneOf schema located at paths./v1/accounts/{account}/persons/{person}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.dob.anyOf
in the specification.
The person's date of birth.
Constructors
Instances
data PostAccountsAccountPersonsPersonRequestBodyDocuments' Source #
Defines the object schema located at paths./v1/accounts/{account}/persons/{person}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.documents
in the specification.
Documents that may be submitted to satisfy various informational requests.
Constructors
Instances
mkPostAccountsAccountPersonsPersonRequestBodyDocuments' :: PostAccountsAccountPersonsPersonRequestBodyDocuments' Source #
Create a new PostAccountsAccountPersonsPersonRequestBodyDocuments'
with all required fields.
data PostAccountsAccountPersonsPersonRequestBodyDocuments'CompanyAuthorization' Source #
Defines the object schema located at paths./v1/accounts/{account}/persons/{person}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.documents.properties.company_authorization
in the specification.
Instances
mkPostAccountsAccountPersonsPersonRequestBodyDocuments'CompanyAuthorization' :: PostAccountsAccountPersonsPersonRequestBodyDocuments'CompanyAuthorization' Source #
Create a new PostAccountsAccountPersonsPersonRequestBodyDocuments'CompanyAuthorization'
with all required fields.
data PostAccountsAccountPersonsPersonRequestBodyDocuments'Passport' Source #
Defines the object schema located at paths./v1/accounts/{account}/persons/{person}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.documents.properties.passport
in the specification.
Instances
mkPostAccountsAccountPersonsPersonRequestBodyDocuments'Passport' :: PostAccountsAccountPersonsPersonRequestBodyDocuments'Passport' Source #
Create a new PostAccountsAccountPersonsPersonRequestBodyDocuments'Passport'
with all required fields.
data PostAccountsAccountPersonsPersonRequestBodyDocuments'Visa' Source #
Defines the object schema located at paths./v1/accounts/{account}/persons/{person}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.documents.properties.visa
in the specification.
Constructors
PostAccountsAccountPersonsPersonRequestBodyDocuments'Visa' | |
Fields |
Instances
mkPostAccountsAccountPersonsPersonRequestBodyDocuments'Visa' :: PostAccountsAccountPersonsPersonRequestBodyDocuments'Visa' Source #
Create a new PostAccountsAccountPersonsPersonRequestBodyDocuments'Visa'
with all required fields.
data PostAccountsAccountPersonsPersonRequestBodyMetadata'Variants Source #
Defines the oneOf schema located at paths./v1/accounts/{account}/persons/{person}.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`.
Constructors
PostAccountsAccountPersonsPersonRequestBodyMetadata'EmptyString | Represents the JSON value |
PostAccountsAccountPersonsPersonRequestBodyMetadata'Object Object |
Instances
data PostAccountsAccountPersonsPersonRequestBodyRelationship' Source #
Defines the object schema located at paths./v1/accounts/{account}/persons/{person}.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.
Constructors
Instances
mkPostAccountsAccountPersonsPersonRequestBodyRelationship' :: PostAccountsAccountPersonsPersonRequestBodyRelationship' Source #
Create a new PostAccountsAccountPersonsPersonRequestBodyRelationship'
with all required fields.
data PostAccountsAccountPersonsPersonRequestBodyRelationship'PercentOwnership'Variants Source #
Defines the oneOf schema located at paths./v1/accounts/{account}/persons/{person}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.relationship.properties.percent_ownership.anyOf
in the specification.
Constructors
PostAccountsAccountPersonsPersonRequestBodyRelationship'PercentOwnership'EmptyString | Represents the JSON value |
PostAccountsAccountPersonsPersonRequestBodyRelationship'PercentOwnership'Double Double |
Instances
data PostAccountsAccountPersonsPersonRequestBodyVerification' Source #
Defines the object schema located at paths./v1/accounts/{account}/persons/{person}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.verification
in the specification.
The person's verification status.
Constructors
Instances
mkPostAccountsAccountPersonsPersonRequestBodyVerification' :: PostAccountsAccountPersonsPersonRequestBodyVerification' Source #
Create a new PostAccountsAccountPersonsPersonRequestBodyVerification'
with all required fields.
data PostAccountsAccountPersonsPersonRequestBodyVerification'AdditionalDocument' Source #
Defines the object schema located at paths./v1/accounts/{account}/persons/{person}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.verification.properties.additional_document
in the specification.
Constructors
PostAccountsAccountPersonsPersonRequestBodyVerification'AdditionalDocument' | |
Fields
|
Instances
mkPostAccountsAccountPersonsPersonRequestBodyVerification'AdditionalDocument' :: PostAccountsAccountPersonsPersonRequestBodyVerification'AdditionalDocument' Source #
Create a new PostAccountsAccountPersonsPersonRequestBodyVerification'AdditionalDocument'
with all required fields.
data PostAccountsAccountPersonsPersonRequestBodyVerification'Document' Source #
Defines the object schema located at paths./v1/accounts/{account}/persons/{person}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.verification.properties.document
in the specification.
Constructors
PostAccountsAccountPersonsPersonRequestBodyVerification'Document' | |
Fields
|
Instances
mkPostAccountsAccountPersonsPersonRequestBodyVerification'Document' :: PostAccountsAccountPersonsPersonRequestBodyVerification'Document' Source #
Create a new PostAccountsAccountPersonsPersonRequestBodyVerification'Document'
with all required fields.
data PostAccountsAccountPersonsPersonResponse Source #
Represents a response of the operation postAccountsAccountPersonsPerson
.
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), PostAccountsAccountPersonsPersonResponseError
is used.
Constructors
PostAccountsAccountPersonsPersonResponseError String | Means either no matching case available or a parse error |
PostAccountsAccountPersonsPersonResponse200 Person | Successful response. |
PostAccountsAccountPersonsPersonResponseDefault Error | Error response. |