Safe Haskell | None |
---|---|
Language | Haskell2010 |
Contains the different functions to run the operation postAccountPersonsPerson
Synopsis
- postAccountPersonsPerson :: forall m. MonadHTTP m => Text -> Maybe PostAccountPersonsPersonRequestBody -> StripeT m (Response PostAccountPersonsPersonResponse)
- data PostAccountPersonsPersonRequestBody = PostAccountPersonsPersonRequestBody {
- postAccountPersonsPersonRequestBodyAccount :: Maybe Text
- postAccountPersonsPersonRequestBodyAddress :: Maybe PostAccountPersonsPersonRequestBodyAddress'
- postAccountPersonsPersonRequestBodyAddressKana :: Maybe PostAccountPersonsPersonRequestBodyAddressKana'
- postAccountPersonsPersonRequestBodyAddressKanji :: Maybe PostAccountPersonsPersonRequestBodyAddressKanji'
- postAccountPersonsPersonRequestBodyDob :: Maybe PostAccountPersonsPersonRequestBodyDob'Variants
- postAccountPersonsPersonRequestBodyDocuments :: Maybe PostAccountPersonsPersonRequestBodyDocuments'
- postAccountPersonsPersonRequestBodyEmail :: Maybe Text
- postAccountPersonsPersonRequestBodyExpand :: Maybe [Text]
- postAccountPersonsPersonRequestBodyFirstName :: Maybe Text
- postAccountPersonsPersonRequestBodyFirstNameKana :: Maybe Text
- postAccountPersonsPersonRequestBodyFirstNameKanji :: Maybe Text
- postAccountPersonsPersonRequestBodyGender :: Maybe Text
- postAccountPersonsPersonRequestBodyIdNumber :: Maybe Text
- postAccountPersonsPersonRequestBodyLastName :: Maybe Text
- postAccountPersonsPersonRequestBodyLastNameKana :: Maybe Text
- postAccountPersonsPersonRequestBodyLastNameKanji :: Maybe Text
- postAccountPersonsPersonRequestBodyMaidenName :: Maybe Text
- postAccountPersonsPersonRequestBodyMetadata :: Maybe PostAccountPersonsPersonRequestBodyMetadata'Variants
- postAccountPersonsPersonRequestBodyNationality :: Maybe Text
- postAccountPersonsPersonRequestBodyPersonToken :: Maybe Text
- postAccountPersonsPersonRequestBodyPhone :: Maybe Text
- postAccountPersonsPersonRequestBodyPoliticalExposure :: Maybe Text
- postAccountPersonsPersonRequestBodyRelationship :: Maybe PostAccountPersonsPersonRequestBodyRelationship'
- postAccountPersonsPersonRequestBodySsnLast_4 :: Maybe Text
- postAccountPersonsPersonRequestBodyVerification :: Maybe PostAccountPersonsPersonRequestBodyVerification'
- mkPostAccountPersonsPersonRequestBody :: PostAccountPersonsPersonRequestBody
- data PostAccountPersonsPersonRequestBodyAddress' = PostAccountPersonsPersonRequestBodyAddress' {
- postAccountPersonsPersonRequestBodyAddress'City :: Maybe Text
- postAccountPersonsPersonRequestBodyAddress'Country :: Maybe Text
- postAccountPersonsPersonRequestBodyAddress'Line1 :: Maybe Text
- postAccountPersonsPersonRequestBodyAddress'Line2 :: Maybe Text
- postAccountPersonsPersonRequestBodyAddress'PostalCode :: Maybe Text
- postAccountPersonsPersonRequestBodyAddress'State :: Maybe Text
- mkPostAccountPersonsPersonRequestBodyAddress' :: PostAccountPersonsPersonRequestBodyAddress'
- data PostAccountPersonsPersonRequestBodyAddressKana' = PostAccountPersonsPersonRequestBodyAddressKana' {
- postAccountPersonsPersonRequestBodyAddressKana'City :: Maybe Text
- postAccountPersonsPersonRequestBodyAddressKana'Country :: Maybe Text
- postAccountPersonsPersonRequestBodyAddressKana'Line1 :: Maybe Text
- postAccountPersonsPersonRequestBodyAddressKana'Line2 :: Maybe Text
- postAccountPersonsPersonRequestBodyAddressKana'PostalCode :: Maybe Text
- postAccountPersonsPersonRequestBodyAddressKana'State :: Maybe Text
- postAccountPersonsPersonRequestBodyAddressKana'Town :: Maybe Text
- mkPostAccountPersonsPersonRequestBodyAddressKana' :: PostAccountPersonsPersonRequestBodyAddressKana'
- data PostAccountPersonsPersonRequestBodyAddressKanji' = PostAccountPersonsPersonRequestBodyAddressKanji' {
- postAccountPersonsPersonRequestBodyAddressKanji'City :: Maybe Text
- postAccountPersonsPersonRequestBodyAddressKanji'Country :: Maybe Text
- postAccountPersonsPersonRequestBodyAddressKanji'Line1 :: Maybe Text
- postAccountPersonsPersonRequestBodyAddressKanji'Line2 :: Maybe Text
- postAccountPersonsPersonRequestBodyAddressKanji'PostalCode :: Maybe Text
- postAccountPersonsPersonRequestBodyAddressKanji'State :: Maybe Text
- postAccountPersonsPersonRequestBodyAddressKanji'Town :: Maybe Text
- mkPostAccountPersonsPersonRequestBodyAddressKanji' :: PostAccountPersonsPersonRequestBodyAddressKanji'
- data PostAccountPersonsPersonRequestBodyDob'OneOf1 = PostAccountPersonsPersonRequestBodyDob'OneOf1 {}
- mkPostAccountPersonsPersonRequestBodyDob'OneOf1 :: Int -> Int -> Int -> PostAccountPersonsPersonRequestBodyDob'OneOf1
- data PostAccountPersonsPersonRequestBodyDob'Variants
- data PostAccountPersonsPersonRequestBodyDocuments' = PostAccountPersonsPersonRequestBodyDocuments' {
- postAccountPersonsPersonRequestBodyDocuments'CompanyAuthorization :: Maybe PostAccountPersonsPersonRequestBodyDocuments'CompanyAuthorization'
- postAccountPersonsPersonRequestBodyDocuments'Passport :: Maybe PostAccountPersonsPersonRequestBodyDocuments'Passport'
- postAccountPersonsPersonRequestBodyDocuments'Visa :: Maybe PostAccountPersonsPersonRequestBodyDocuments'Visa'
- mkPostAccountPersonsPersonRequestBodyDocuments' :: PostAccountPersonsPersonRequestBodyDocuments'
- data PostAccountPersonsPersonRequestBodyDocuments'CompanyAuthorization' = PostAccountPersonsPersonRequestBodyDocuments'CompanyAuthorization' {}
- mkPostAccountPersonsPersonRequestBodyDocuments'CompanyAuthorization' :: PostAccountPersonsPersonRequestBodyDocuments'CompanyAuthorization'
- data PostAccountPersonsPersonRequestBodyDocuments'Passport' = PostAccountPersonsPersonRequestBodyDocuments'Passport' {}
- mkPostAccountPersonsPersonRequestBodyDocuments'Passport' :: PostAccountPersonsPersonRequestBodyDocuments'Passport'
- data PostAccountPersonsPersonRequestBodyDocuments'Visa' = PostAccountPersonsPersonRequestBodyDocuments'Visa' {}
- mkPostAccountPersonsPersonRequestBodyDocuments'Visa' :: PostAccountPersonsPersonRequestBodyDocuments'Visa'
- data PostAccountPersonsPersonRequestBodyMetadata'Variants
- data PostAccountPersonsPersonRequestBodyRelationship' = PostAccountPersonsPersonRequestBodyRelationship' {
- postAccountPersonsPersonRequestBodyRelationship'Director :: Maybe Bool
- postAccountPersonsPersonRequestBodyRelationship'Executive :: Maybe Bool
- postAccountPersonsPersonRequestBodyRelationship'Owner :: Maybe Bool
- postAccountPersonsPersonRequestBodyRelationship'PercentOwnership :: Maybe PostAccountPersonsPersonRequestBodyRelationship'PercentOwnership'Variants
- postAccountPersonsPersonRequestBodyRelationship'Representative :: Maybe Bool
- postAccountPersonsPersonRequestBodyRelationship'Title :: Maybe Text
- mkPostAccountPersonsPersonRequestBodyRelationship' :: PostAccountPersonsPersonRequestBodyRelationship'
- data PostAccountPersonsPersonRequestBodyRelationship'PercentOwnership'Variants
- data PostAccountPersonsPersonRequestBodyVerification' = PostAccountPersonsPersonRequestBodyVerification' {}
- mkPostAccountPersonsPersonRequestBodyVerification' :: PostAccountPersonsPersonRequestBodyVerification'
- data PostAccountPersonsPersonRequestBodyVerification'AdditionalDocument' = PostAccountPersonsPersonRequestBodyVerification'AdditionalDocument' {}
- mkPostAccountPersonsPersonRequestBodyVerification'AdditionalDocument' :: PostAccountPersonsPersonRequestBodyVerification'AdditionalDocument'
- data PostAccountPersonsPersonRequestBodyVerification'Document' = PostAccountPersonsPersonRequestBodyVerification'Document' {}
- mkPostAccountPersonsPersonRequestBodyVerification'Document' :: PostAccountPersonsPersonRequestBodyVerification'Document'
- data PostAccountPersonsPersonResponse
Documentation
postAccountPersonsPerson Source #
:: forall m. MonadHTTP m | |
=> Text | person | Constraints: Maximum length of 5000 |
-> Maybe PostAccountPersonsPersonRequestBody | The request body to send |
-> StripeT m (Response PostAccountPersonsPersonResponse) | Monadic computation which returns the result of the operation |
POST /v1/account/persons/{person}
<p>Updates an existing person.</p>
data PostAccountPersonsPersonRequestBody Source #
Defines the object schema located at paths./v1/account/persons/{person}.POST.requestBody.content.application/x-www-form-urlencoded.schema
in the specification.
PostAccountPersonsPersonRequestBody | |
|
mkPostAccountPersonsPersonRequestBody :: PostAccountPersonsPersonRequestBody Source #
Create a new PostAccountPersonsPersonRequestBody
with all required fields.
data PostAccountPersonsPersonRequestBodyAddress' Source #
Defines the object schema located at paths./v1/account/persons/{person}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.address
in the specification.
The person's address.
PostAccountPersonsPersonRequestBodyAddress' | |
|
mkPostAccountPersonsPersonRequestBodyAddress' :: PostAccountPersonsPersonRequestBodyAddress' Source #
Create a new PostAccountPersonsPersonRequestBodyAddress'
with all required fields.
data PostAccountPersonsPersonRequestBodyAddressKana' Source #
Defines the object schema located at paths./v1/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).
PostAccountPersonsPersonRequestBodyAddressKana' | |
|
mkPostAccountPersonsPersonRequestBodyAddressKana' :: PostAccountPersonsPersonRequestBodyAddressKana' Source #
Create a new PostAccountPersonsPersonRequestBodyAddressKana'
with all required fields.
data PostAccountPersonsPersonRequestBodyAddressKanji' Source #
Defines the object schema located at paths./v1/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).
PostAccountPersonsPersonRequestBodyAddressKanji' | |
|
Instances
mkPostAccountPersonsPersonRequestBodyAddressKanji' :: PostAccountPersonsPersonRequestBodyAddressKanji' Source #
Create a new PostAccountPersonsPersonRequestBodyAddressKanji'
with all required fields.
data PostAccountPersonsPersonRequestBodyDob'OneOf1 Source #
Defines the object schema located at paths./v1/account/persons/{person}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.dob.anyOf
in the specification.
mkPostAccountPersonsPersonRequestBodyDob'OneOf1 Source #
Create a new PostAccountPersonsPersonRequestBodyDob'OneOf1
with all required fields.
data PostAccountPersonsPersonRequestBodyDob'Variants Source #
Defines the oneOf schema located at paths./v1/account/persons/{person}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.dob.anyOf
in the specification.
The person's date of birth.
data PostAccountPersonsPersonRequestBodyDocuments' Source #
Defines the object schema located at paths./v1/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.
mkPostAccountPersonsPersonRequestBodyDocuments' :: PostAccountPersonsPersonRequestBodyDocuments' Source #
Create a new PostAccountPersonsPersonRequestBodyDocuments'
with all required fields.
data PostAccountPersonsPersonRequestBodyDocuments'CompanyAuthorization' Source #
Defines the object schema located at paths./v1/account/persons/{person}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.documents.properties.company_authorization
in the specification.
Instances
mkPostAccountPersonsPersonRequestBodyDocuments'CompanyAuthorization' :: PostAccountPersonsPersonRequestBodyDocuments'CompanyAuthorization' Source #
Create a new PostAccountPersonsPersonRequestBodyDocuments'CompanyAuthorization'
with all required fields.
data PostAccountPersonsPersonRequestBodyDocuments'Passport' Source #
Defines the object schema located at paths./v1/account/persons/{person}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.documents.properties.passport
in the specification.
Instances
mkPostAccountPersonsPersonRequestBodyDocuments'Passport' :: PostAccountPersonsPersonRequestBodyDocuments'Passport' Source #
Create a new PostAccountPersonsPersonRequestBodyDocuments'Passport'
with all required fields.
data PostAccountPersonsPersonRequestBodyDocuments'Visa' Source #
Defines the object schema located at paths./v1/account/persons/{person}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.documents.properties.visa
in the specification.
Instances
mkPostAccountPersonsPersonRequestBodyDocuments'Visa' :: PostAccountPersonsPersonRequestBodyDocuments'Visa' Source #
Create a new PostAccountPersonsPersonRequestBodyDocuments'Visa'
with all required fields.
data PostAccountPersonsPersonRequestBodyMetadata'Variants Source #
Defines the oneOf schema located at paths./v1/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`.
PostAccountPersonsPersonRequestBodyMetadata'EmptyString | Represents the JSON value |
PostAccountPersonsPersonRequestBodyMetadata'Object Object |
Instances
data PostAccountPersonsPersonRequestBodyRelationship' Source #
Defines the object schema located at paths./v1/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.
Instances
mkPostAccountPersonsPersonRequestBodyRelationship' :: PostAccountPersonsPersonRequestBodyRelationship' Source #
Create a new PostAccountPersonsPersonRequestBodyRelationship'
with all required fields.
data PostAccountPersonsPersonRequestBodyRelationship'PercentOwnership'Variants Source #
Defines the oneOf schema located at paths./v1/account/persons/{person}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.relationship.properties.percent_ownership.anyOf
in the specification.
PostAccountPersonsPersonRequestBodyRelationship'PercentOwnership'EmptyString | Represents the JSON value |
PostAccountPersonsPersonRequestBodyRelationship'PercentOwnership'Double Double |
Instances
data PostAccountPersonsPersonRequestBodyVerification' Source #
Defines the object schema located at paths./v1/account/persons/{person}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.verification
in the specification.
The person's verification status.
Instances
mkPostAccountPersonsPersonRequestBodyVerification' :: PostAccountPersonsPersonRequestBodyVerification' Source #
Create a new PostAccountPersonsPersonRequestBodyVerification'
with all required fields.
data PostAccountPersonsPersonRequestBodyVerification'AdditionalDocument' Source #
Defines the object schema located at paths./v1/account/persons/{person}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.verification.properties.additional_document
in the specification.
PostAccountPersonsPersonRequestBodyVerification'AdditionalDocument' | |
|
Instances
mkPostAccountPersonsPersonRequestBodyVerification'AdditionalDocument' :: PostAccountPersonsPersonRequestBodyVerification'AdditionalDocument' Source #
Create a new PostAccountPersonsPersonRequestBodyVerification'AdditionalDocument'
with all required fields.
data PostAccountPersonsPersonRequestBodyVerification'Document' Source #
Defines the object schema located at paths./v1/account/persons/{person}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.verification.properties.document
in the specification.
PostAccountPersonsPersonRequestBodyVerification'Document' | |
|
Instances
mkPostAccountPersonsPersonRequestBodyVerification'Document' :: PostAccountPersonsPersonRequestBodyVerification'Document' Source #
Create a new PostAccountPersonsPersonRequestBodyVerification'Document'
with all required fields.
data PostAccountPersonsPersonResponse Source #
Represents a response of the operation postAccountPersonsPerson
.
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), PostAccountPersonsPersonResponseError
is used.
PostAccountPersonsPersonResponseError String | Means either no matching case available or a parse error |
PostAccountPersonsPersonResponse200 Person | Successful response. |
PostAccountPersonsPersonResponseDefault Error | Error response. |