stripeapi-1.0.0.0: Stripe-Library
Safe HaskellNone
LanguageHaskell2010

StripeAPI.Operations.PostIdentityVerificationSessions

Description

Contains the different functions to run the operation postIdentityVerificationSessions

Synopsis

Documentation

postIdentityVerificationSessions Source #

Arguments

:: 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.

Constructors

PostIdentityVerificationSessionsRequestBody 

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

Instances details
Eq PostIdentityVerificationSessionsRequestBodyOptions' Source # 
Instance details

Defined in StripeAPI.Operations.PostIdentityVerificationSessions

Show PostIdentityVerificationSessionsRequestBodyOptions' Source # 
Instance details

Defined in StripeAPI.Operations.PostIdentityVerificationSessions

ToJSON PostIdentityVerificationSessionsRequestBodyOptions' Source # 
Instance details

Defined in StripeAPI.Operations.PostIdentityVerificationSessions

FromJSON PostIdentityVerificationSessionsRequestBodyOptions' Source # 
Instance details

Defined in StripeAPI.Operations.PostIdentityVerificationSessions

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

Instances details
Eq PostIdentityVerificationSessionsRequestBodyOptions'Document'OneOf1 Source # 
Instance details

Defined in StripeAPI.Operations.PostIdentityVerificationSessions

Show PostIdentityVerificationSessionsRequestBodyOptions'Document'OneOf1 Source # 
Instance details

Defined in StripeAPI.Operations.PostIdentityVerificationSessions

ToJSON PostIdentityVerificationSessionsRequestBodyOptions'Document'OneOf1 Source # 
Instance details

Defined in StripeAPI.Operations.PostIdentityVerificationSessions

FromJSON PostIdentityVerificationSessionsRequestBodyOptions'Document'OneOf1 Source # 
Instance details

Defined in StripeAPI.Operations.PostIdentityVerificationSessions

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.

Constructors

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 "driving_license"

PostIdentityVerificationSessionsRequestBodyOptions'Document'OneOf1AllowedTypes'EnumIdCard

Represents the JSON value "id_card"

PostIdentityVerificationSessionsRequestBodyOptions'Document'OneOf1AllowedTypes'EnumPassport

Represents the JSON value "passport"

Instances

Instances details
Eq PostIdentityVerificationSessionsRequestBodyOptions'Document'OneOf1AllowedTypes' Source # 
Instance details

Defined in StripeAPI.Operations.PostIdentityVerificationSessions

Show PostIdentityVerificationSessionsRequestBodyOptions'Document'OneOf1AllowedTypes' Source # 
Instance details

Defined in StripeAPI.Operations.PostIdentityVerificationSessions

ToJSON PostIdentityVerificationSessionsRequestBodyOptions'Document'OneOf1AllowedTypes' Source # 
Instance details

Defined in StripeAPI.Operations.PostIdentityVerificationSessions

FromJSON PostIdentityVerificationSessionsRequestBodyOptions'Document'OneOf1AllowedTypes' Source # 
Instance details

Defined in StripeAPI.Operations.PostIdentityVerificationSessions

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

Instances details
Eq PostIdentityVerificationSessionsRequestBodyOptions'Document'Variants Source # 
Instance details

Defined in StripeAPI.Operations.PostIdentityVerificationSessions

Show PostIdentityVerificationSessionsRequestBodyOptions'Document'Variants Source # 
Instance details

Defined in StripeAPI.Operations.PostIdentityVerificationSessions

ToJSON PostIdentityVerificationSessionsRequestBodyOptions'Document'Variants Source # 
Instance details

Defined in StripeAPI.Operations.PostIdentityVerificationSessions

FromJSON PostIdentityVerificationSessionsRequestBodyOptions'Document'Variants Source # 
Instance details

Defined in StripeAPI.Operations.PostIdentityVerificationSessions

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.

Constructors

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 "document"

PostIdentityVerificationSessionsRequestBodyType'EnumIdNumber

Represents the JSON value "id_number"

Instances

Instances details
Eq PostIdentityVerificationSessionsRequestBodyType' Source # 
Instance details

Defined in StripeAPI.Operations.PostIdentityVerificationSessions

Show PostIdentityVerificationSessionsRequestBodyType' Source # 
Instance details

Defined in StripeAPI.Operations.PostIdentityVerificationSessions

ToJSON PostIdentityVerificationSessionsRequestBodyType' Source # 
Instance details

Defined in StripeAPI.Operations.PostIdentityVerificationSessions

FromJSON PostIdentityVerificationSessionsRequestBodyType' Source # 
Instance details

Defined in StripeAPI.Operations.PostIdentityVerificationSessions