stripeapi-2.0.1.0: Stripe-Library
Safe HaskellNone
LanguageHaskell2010

StripeAPI.Types.GelatoSelfieReport

Description

Contains the types generated from the schema GelatoSelfieReport

Synopsis

Documentation

data GelatoSelfieReport Source #

Defines the object schema located at components.schemas.gelato_selfie_report in the specification.

Result from a selfie check

Constructors

GelatoSelfieReport 

Fields

data GelatoSelfieReportError' Source #

Defines the object schema located at components.schemas.gelato_selfie_report.properties.error.anyOf in the specification.

Details on the verification error. Present when status is \`unverified\`.

Constructors

GelatoSelfieReportError' 

Fields

data GelatoSelfieReportError'Code' Source #

Defines the enum schema located at components.schemas.gelato_selfie_report.properties.error.anyOf.properties.code in the specification.

A short machine-readable string giving the reason for the verification failure.

Constructors

GelatoSelfieReportError'Code'Other Value

This case is used if the value encountered during decoding does not match any of the provided cases in the specification.

GelatoSelfieReportError'Code'Typed Text

This constructor can be used to send values to the server which are not present in the specification yet.

GelatoSelfieReportError'Code'EnumSelfieDocumentMissingPhoto

Represents the JSON value "selfie_document_missing_photo"

GelatoSelfieReportError'Code'EnumSelfieFaceMismatch

Represents the JSON value "selfie_face_mismatch"

GelatoSelfieReportError'Code'EnumSelfieManipulated

Represents the JSON value "selfie_manipulated"

GelatoSelfieReportError'Code'EnumSelfieUnverifiedOther

Represents the JSON value "selfie_unverified_other"

data GelatoSelfieReportStatus' Source #

Defines the enum schema located at components.schemas.gelato_selfie_report.properties.status in the specification.

Status of this `selfie` check.

Constructors

GelatoSelfieReportStatus'Other Value

This case is used if the value encountered during decoding does not match any of the provided cases in the specification.

GelatoSelfieReportStatus'Typed Text

This constructor can be used to send values to the server which are not present in the specification yet.

GelatoSelfieReportStatus'EnumUnverified

Represents the JSON value "unverified"

GelatoSelfieReportStatus'EnumVerified

Represents the JSON value "verified"