| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
StripeAPI.Operations.PostIdentityVerificationSessionsSession
Description
Contains the different functions to run the operation postIdentityVerificationSessionsSession
Synopsis
- postIdentityVerificationSessionsSession :: forall m. MonadHTTP m => Text -> Maybe PostIdentityVerificationSessionsSessionRequestBody -> ClientT m (Response PostIdentityVerificationSessionsSessionResponse)
- data PostIdentityVerificationSessionsSessionRequestBody = PostIdentityVerificationSessionsSessionRequestBody {
- postIdentityVerificationSessionsSessionRequestBodyExpand :: Maybe [Text]
- postIdentityVerificationSessionsSessionRequestBodyMetadata :: Maybe Object
- postIdentityVerificationSessionsSessionRequestBodyOptions :: Maybe PostIdentityVerificationSessionsSessionRequestBodyOptions'
- postIdentityVerificationSessionsSessionRequestBodyType :: Maybe PostIdentityVerificationSessionsSessionRequestBodyType'
- mkPostIdentityVerificationSessionsSessionRequestBody :: PostIdentityVerificationSessionsSessionRequestBody
- data PostIdentityVerificationSessionsSessionRequestBodyOptions' = PostIdentityVerificationSessionsSessionRequestBodyOptions' {}
- mkPostIdentityVerificationSessionsSessionRequestBodyOptions' :: PostIdentityVerificationSessionsSessionRequestBodyOptions'
- data PostIdentityVerificationSessionsSessionRequestBodyOptions'Document'OneOf1 = PostIdentityVerificationSessionsSessionRequestBodyOptions'Document'OneOf1 {
- postIdentityVerificationSessionsSessionRequestBodyOptions'Document'OneOf1AllowedTypes :: Maybe [PostIdentityVerificationSessionsSessionRequestBodyOptions'Document'OneOf1AllowedTypes']
- postIdentityVerificationSessionsSessionRequestBodyOptions'Document'OneOf1RequireIdNumber :: Maybe Bool
- postIdentityVerificationSessionsSessionRequestBodyOptions'Document'OneOf1RequireLiveCapture :: Maybe Bool
- postIdentityVerificationSessionsSessionRequestBodyOptions'Document'OneOf1RequireMatchingSelfie :: Maybe Bool
- mkPostIdentityVerificationSessionsSessionRequestBodyOptions'Document'OneOf1 :: PostIdentityVerificationSessionsSessionRequestBodyOptions'Document'OneOf1
- data PostIdentityVerificationSessionsSessionRequestBodyOptions'Document'OneOf1AllowedTypes'
- = PostIdentityVerificationSessionsSessionRequestBodyOptions'Document'OneOf1AllowedTypes'Other Value
- | PostIdentityVerificationSessionsSessionRequestBodyOptions'Document'OneOf1AllowedTypes'Typed Text
- | PostIdentityVerificationSessionsSessionRequestBodyOptions'Document'OneOf1AllowedTypes'EnumDrivingLicense
- | PostIdentityVerificationSessionsSessionRequestBodyOptions'Document'OneOf1AllowedTypes'EnumIdCard
- | PostIdentityVerificationSessionsSessionRequestBodyOptions'Document'OneOf1AllowedTypes'EnumPassport
- data PostIdentityVerificationSessionsSessionRequestBodyOptions'Document'Variants
- data PostIdentityVerificationSessionsSessionRequestBodyType'
- data PostIdentityVerificationSessionsSessionResponse
Documentation
postIdentityVerificationSessionsSession Source #
Arguments
| :: forall m. MonadHTTP m | |
| => Text | session | Constraints: Maximum length of 5000 |
| -> Maybe PostIdentityVerificationSessionsSessionRequestBody | The request body to send |
| -> ClientT m (Response PostIdentityVerificationSessionsSessionResponse) | Monadic computation which returns the result of the operation |
POST /v1/identity/verification_sessions/{session}<p>Updates a VerificationSession object.</p>
<p>When the session status is <code>requires_input</code>, you can use this method to update the verification check and options.</p>
data PostIdentityVerificationSessionsSessionRequestBody Source #
Defines the object schema located at paths./v1/identity/verification_sessions/{session}.POST.requestBody.content.application/x-www-form-urlencoded.schema in the specification.
Constructors
| PostIdentityVerificationSessionsSessionRequestBody | |
Fields
| |
Instances
mkPostIdentityVerificationSessionsSessionRequestBody :: PostIdentityVerificationSessionsSessionRequestBody Source #
Create a new PostIdentityVerificationSessionsSessionRequestBody with all required fields.
data PostIdentityVerificationSessionsSessionRequestBodyOptions' Source #
Defines the object schema located at paths./v1/identity/verification_sessions/{session}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.options in the specification.
A set of options for the session’s verification checks.
Instances
mkPostIdentityVerificationSessionsSessionRequestBodyOptions' :: PostIdentityVerificationSessionsSessionRequestBodyOptions' Source #
Create a new PostIdentityVerificationSessionsSessionRequestBodyOptions' with all required fields.
data PostIdentityVerificationSessionsSessionRequestBodyOptions'Document'OneOf1 Source #
Defines the object schema located at paths./v1/identity/verification_sessions/{session}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.options.properties.document.anyOf in the specification.
Constructors
Instances
mkPostIdentityVerificationSessionsSessionRequestBodyOptions'Document'OneOf1 :: PostIdentityVerificationSessionsSessionRequestBodyOptions'Document'OneOf1 Source #
Create a new PostIdentityVerificationSessionsSessionRequestBodyOptions'Document'OneOf1 with all required fields.
data PostIdentityVerificationSessionsSessionRequestBodyOptions'Document'OneOf1AllowedTypes' Source #
Defines the enum schema located at paths./v1/identity/verification_sessions/{session}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.options.properties.document.anyOf.properties.allowed_types.items in the specification.
Constructors
| PostIdentityVerificationSessionsSessionRequestBodyOptions'Document'OneOf1AllowedTypes'Other Value | This case is used if the value encountered during decoding does not match any of the provided cases in the specification. |
| PostIdentityVerificationSessionsSessionRequestBodyOptions'Document'OneOf1AllowedTypes'Typed Text | This constructor can be used to send values to the server which are not present in the specification yet. |
| PostIdentityVerificationSessionsSessionRequestBodyOptions'Document'OneOf1AllowedTypes'EnumDrivingLicense | Represents the JSON value |
| PostIdentityVerificationSessionsSessionRequestBodyOptions'Document'OneOf1AllowedTypes'EnumIdCard | Represents the JSON value |
| PostIdentityVerificationSessionsSessionRequestBodyOptions'Document'OneOf1AllowedTypes'EnumPassport | Represents the JSON value |
Instances
data PostIdentityVerificationSessionsSessionRequestBodyOptions'Document'Variants Source #
Defines the oneOf schema located at paths./v1/identity/verification_sessions/{session}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.options.properties.document.anyOf in the specification.
Constructors
Instances
data PostIdentityVerificationSessionsSessionRequestBodyType' Source #
Defines the enum schema located at paths./v1/identity/verification_sessions/{session}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.type in the specification.
The type of verification check to be performed.
Constructors
| PostIdentityVerificationSessionsSessionRequestBodyType'Other Value | This case is used if the value encountered during decoding does not match any of the provided cases in the specification. |
| PostIdentityVerificationSessionsSessionRequestBodyType'Typed Text | This constructor can be used to send values to the server which are not present in the specification yet. |
| PostIdentityVerificationSessionsSessionRequestBodyType'EnumDocument | Represents the JSON value |
| PostIdentityVerificationSessionsSessionRequestBodyType'EnumIdNumber | Represents the JSON value |
Instances
data PostIdentityVerificationSessionsSessionResponse Source #
Represents a response of the operation postIdentityVerificationSessionsSession.
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), PostIdentityVerificationSessionsSessionResponseError is used.
Constructors
| PostIdentityVerificationSessionsSessionResponseError String | Means either no matching case available or a parse error |
| PostIdentityVerificationSessionsSessionResponse200 Identity'verificationSession | Successful response. |
| PostIdentityVerificationSessionsSessionResponseDefault Error | Error response. |