Safe Haskell | None |
---|---|
Language | Haskell2010 |
Contains the different functions to run the operation postIdentityVerificationSessions
Synopsis
- postIdentityVerificationSessions :: forall m. MonadHTTP m => PostIdentityVerificationSessionsRequestBody -> StripeT m (Response PostIdentityVerificationSessionsResponse)
- data PostIdentityVerificationSessionsRequestBody = PostIdentityVerificationSessionsRequestBody {
- postIdentityVerificationSessionsRequestBodyExpand :: Maybe [Text]
- postIdentityVerificationSessionsRequestBodyMetadata :: Maybe Object
- postIdentityVerificationSessionsRequestBodyOptions :: Maybe PostIdentityVerificationSessionsRequestBodyOptions'
- postIdentityVerificationSessionsRequestBodyReturnUrl :: Maybe Text
- postIdentityVerificationSessionsRequestBodyType :: PostIdentityVerificationSessionsRequestBodyType'
- mkPostIdentityVerificationSessionsRequestBody :: PostIdentityVerificationSessionsRequestBodyType' -> PostIdentityVerificationSessionsRequestBody
- data PostIdentityVerificationSessionsRequestBodyOptions' = PostIdentityVerificationSessionsRequestBodyOptions' {}
- mkPostIdentityVerificationSessionsRequestBodyOptions' :: PostIdentityVerificationSessionsRequestBodyOptions'
- data PostIdentityVerificationSessionsRequestBodyOptions'Document'OneOf1 = PostIdentityVerificationSessionsRequestBodyOptions'Document'OneOf1 {
- postIdentityVerificationSessionsRequestBodyOptions'Document'OneOf1AllowedTypes :: Maybe [PostIdentityVerificationSessionsRequestBodyOptions'Document'OneOf1AllowedTypes']
- postIdentityVerificationSessionsRequestBodyOptions'Document'OneOf1RequireIdNumber :: Maybe Bool
- postIdentityVerificationSessionsRequestBodyOptions'Document'OneOf1RequireLiveCapture :: Maybe Bool
- postIdentityVerificationSessionsRequestBodyOptions'Document'OneOf1RequireMatchingSelfie :: Maybe Bool
- mkPostIdentityVerificationSessionsRequestBodyOptions'Document'OneOf1 :: PostIdentityVerificationSessionsRequestBodyOptions'Document'OneOf1
- data PostIdentityVerificationSessionsRequestBodyOptions'Document'OneOf1AllowedTypes'
- = PostIdentityVerificationSessionsRequestBodyOptions'Document'OneOf1AllowedTypes'Other Value
- | PostIdentityVerificationSessionsRequestBodyOptions'Document'OneOf1AllowedTypes'Typed Text
- | PostIdentityVerificationSessionsRequestBodyOptions'Document'OneOf1AllowedTypes'EnumDrivingLicense
- | PostIdentityVerificationSessionsRequestBodyOptions'Document'OneOf1AllowedTypes'EnumIdCard
- | PostIdentityVerificationSessionsRequestBodyOptions'Document'OneOf1AllowedTypes'EnumPassport
- data PostIdentityVerificationSessionsRequestBodyOptions'Document'Variants
- data PostIdentityVerificationSessionsRequestBodyType'
- data PostIdentityVerificationSessionsResponse
Documentation
postIdentityVerificationSessions Source #
:: forall m. MonadHTTP m | |
=> PostIdentityVerificationSessionsRequestBody | The request body to send |
-> StripeT m (Response PostIdentityVerificationSessionsResponse) | Monadic computation which returns the result of the operation |
POST /v1/identity/verification_sessions
<p>Creates a VerificationSession object.</p>
<p>After the VerificationSession is created, display a verification modal using the session <code>client_secret</code> or send your users to the session’s <code>url</code>.</p>
<p>If your API key is in test mode, verification checks won’t actually process, though everything else will occur as if in live mode.</p>
<p>Related guide: <a href="/docs/identity/verify-identity-documents">Verify your users’ identity documents</a>.</p>
data PostIdentityVerificationSessionsRequestBody Source #
Defines the object schema located at paths./v1/identity/verification_sessions.POST.requestBody.content.application/x-www-form-urlencoded.schema
in the specification.
PostIdentityVerificationSessionsRequestBody | |
|
Instances
mkPostIdentityVerificationSessionsRequestBody Source #
Create a new PostIdentityVerificationSessionsRequestBody
with all required fields.
data PostIdentityVerificationSessionsRequestBodyOptions' Source #
Defines the object schema located at paths./v1/identity/verification_sessions.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
mkPostIdentityVerificationSessionsRequestBodyOptions' :: PostIdentityVerificationSessionsRequestBodyOptions' Source #
Create a new PostIdentityVerificationSessionsRequestBodyOptions'
with all required fields.
data PostIdentityVerificationSessionsRequestBodyOptions'Document'OneOf1 Source #
Defines the object schema located at paths./v1/identity/verification_sessions.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.options.properties.document.anyOf
in the specification.
Instances
mkPostIdentityVerificationSessionsRequestBodyOptions'Document'OneOf1 :: PostIdentityVerificationSessionsRequestBodyOptions'Document'OneOf1 Source #
Create a new PostIdentityVerificationSessionsRequestBodyOptions'Document'OneOf1
with all required fields.
data PostIdentityVerificationSessionsRequestBodyOptions'Document'OneOf1AllowedTypes' Source #
Defines the enum schema located at paths./v1/identity/verification_sessions.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.options.properties.document.anyOf.properties.allowed_types.items
in the specification.
PostIdentityVerificationSessionsRequestBodyOptions'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. |
PostIdentityVerificationSessionsRequestBodyOptions'Document'OneOf1AllowedTypes'Typed Text | This constructor can be used to send values to the server which are not present in the specification yet. |
PostIdentityVerificationSessionsRequestBodyOptions'Document'OneOf1AllowedTypes'EnumDrivingLicense | Represents the JSON value |
PostIdentityVerificationSessionsRequestBodyOptions'Document'OneOf1AllowedTypes'EnumIdCard | Represents the JSON value |
PostIdentityVerificationSessionsRequestBodyOptions'Document'OneOf1AllowedTypes'EnumPassport | Represents the JSON value |
Instances
data PostIdentityVerificationSessionsRequestBodyOptions'Document'Variants Source #
Defines the oneOf schema located at paths./v1/identity/verification_sessions.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.options.properties.document.anyOf
in the specification.
Instances
data PostIdentityVerificationSessionsRequestBodyType' Source #
Defines the enum schema located at paths./v1/identity/verification_sessions.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.type
in the specification.
The type of verification check to be performed.
PostIdentityVerificationSessionsRequestBodyType'Other Value | This case is used if the value encountered during decoding does not match any of the provided cases in the specification. |
PostIdentityVerificationSessionsRequestBodyType'Typed Text | This constructor can be used to send values to the server which are not present in the specification yet. |
PostIdentityVerificationSessionsRequestBodyType'EnumDocument | Represents the JSON value |
PostIdentityVerificationSessionsRequestBodyType'EnumIdNumber | Represents the JSON value |
Instances
data PostIdentityVerificationSessionsResponse Source #
Represents a response of the operation postIdentityVerificationSessions
.
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), PostIdentityVerificationSessionsResponseError
is used.
PostIdentityVerificationSessionsResponseError String | Means either no matching case available or a parse error |
PostIdentityVerificationSessionsResponse200 Identity'verificationSession | Successful response. |
PostIdentityVerificationSessionsResponseDefault Error | Error response. |