Stripe · Schema

GelatoVerificationSession

A VerificationSession guides you through the process of collecting and verifying the identities of your users. It contains details about the type of verification, such as what [verification check](/docs/identity/verification-checks) to perform. Only create one VerificationSession for each verification in your system. A VerificationSession transitions through [multiple statuses](/docs/identity/how-sessions-work) throughout its lifetime as it progresses through the verification flow. The VerificationSession contains the user's verified data after verification checks are complete. Related guide: [The Verification Sessions API](https://stripe.com/docs/identity/verification-sessions)

CommerceFinancial ServicesFintechPaymentsT1StripeAgentic CommercePoint-of-SalePayment Processing

Properties

Name Type Description
client_secret stringnull The short-lived client secret used by Stripe.js to [show a verification modal](https://stripe.com/docs/js/identity/modal) inside your app. This client secret expires after 24 hours and can only be use
created integer Time at which the object was created. Measured in seconds since the Unix epoch.
id string Unique identifier for the object.
last_error object If present, this property tells you the last error encountered when processing the verification.
last_verification_report object ID of the most recent VerificationReport. [Learn more about accessing detailed verification results.](https://stripe.com/docs/identity/verification-sessions#results)
livemode boolean Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode.
metadata object Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format.
object string String representing the object's type. Objects of the same type share the same value.
options object A set of options for the session’s verification checks.
redaction object Redaction status of this VerificationSession. If the VerificationSession is not redacted, this field will be null.
status string Status of this VerificationSession. [Learn more about the lifecycle of sessions](https://stripe.com/docs/identity/how-sessions-work).
type stringnull The type of [verification check](https://stripe.com/docs/identity/verification-checks) to be performed.
url stringnull The short-lived URL that you use to redirect a user to Stripe to submit their identity information. This URL expires after 48 hours and can only be used once. Don’t store it, log it, send it in emails
verified_outputs object The user’s verified data.
View JSON Schema on GitHub

JSON Schema

stripe-identity-verification-session-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/stripe/main/json-schema/stripe-identity-verification-session-schema.json",
  "title": "GelatoVerificationSession",
  "description": "A VerificationSession guides you through the process of collecting and verifying the identities\nof your users. It contains details about the type of verification, such as what [verification\ncheck](/docs/identity/verification-checks) to perform. Only create one VerificationSession for\neach verification in your system.\n\nA VerificationSession transitions through [multiple\nstatuses](/docs/identity/how-sessions-work) throughout its lifetime as it progresses through\nthe verification flow. The VerificationSession contains the user's verified data after\nverification checks are complete.\n\nRelated guide: [The Verification Sessions API](https://stripe.com/docs/identity/verification-sessions)",
  "x-generated": "2026-10-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/stripe-identity-api-openapi.yml#/components/schemas/identity.verification_session",
  "properties": {
    "client_secret": {
      "description": "The short-lived client secret used by Stripe.js to [show a verification modal](https://stripe.com/docs/js/identity/modal) inside your app. This client secret expires after 24 hours and can only be used once. Don’t store it, log it, embed it in a URL, or expose it to anyone other than the user. Make sure that you have TLS enabled on any page that includes the client secret. Refer to our docs on [passing the client secret to the frontend](https://stripe.com/docs/identity/verification-sessions#client-secret) to learn more.",
      "maxLength": 5000,
      "type": [
        "string",
        "null"
      ]
    },
    "created": {
      "description": "Time at which the object was created. Measured in seconds since the Unix epoch.",
      "format": "unix-time",
      "type": "integer"
    },
    "id": {
      "description": "Unique identifier for the object.",
      "maxLength": 5000,
      "type": "string"
    },
    "last_error": {
      "anyOf": [
        {
          "$ref": "#/$defs/gelato_session_last_error"
        }
      ],
      "description": "If present, this property tells you the last error encountered when processing the verification."
    },
    "last_verification_report": {
      "anyOf": [
        {
          "maxLength": 5000,
          "type": "string"
        },
        {
          "$ref": "#/$defs/identity.verification_report"
        }
      ],
      "description": "ID of the most recent VerificationReport. [Learn more about accessing detailed verification results.](https://stripe.com/docs/identity/verification-sessions#results)",
      "x-expansionResources": {
        "oneOf": [
          {
            "$ref": "#/$defs/identity.verification_report"
          }
        ]
      }
    },
    "livemode": {
      "description": "Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode.",
      "type": "boolean"
    },
    "metadata": {
      "additionalProperties": {
        "maxLength": 500,
        "type": "string"
      },
      "description": "Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format.",
      "type": "object"
    },
    "object": {
      "description": "String representing the object's type. Objects of the same type share the same value.",
      "enum": [
        "identity.verification_session"
      ],
      "type": "string"
    },
    "options": {
      "anyOf": [
        {
          "$ref": "#/$defs/gelato_verification_session_options"
        }
      ],
      "description": "A set of options for the session’s verification checks."
    },
    "redaction": {
      "anyOf": [
        {
          "$ref": "#/$defs/verification_session_redaction"
        }
      ],
      "description": "Redaction status of this VerificationSession. If the VerificationSession is not redacted, this field will be null."
    },
    "status": {
      "description": "Status of this VerificationSession. [Learn more about the lifecycle of sessions](https://stripe.com/docs/identity/how-sessions-work).",
      "enum": [
        "canceled",
        "processing",
        "requires_input",
        "verified"
      ],
      "type": "string"
    },
    "type": {
      "description": "The type of [verification check](https://stripe.com/docs/identity/verification-checks) to be performed.",
      "enum": [
        "document",
        "id_number"
      ],
      "type": [
        "string",
        "null"
      ],
      "x-stripeBypassValidation": true
    },
    "url": {
      "description": "The short-lived URL that you use to redirect a user to Stripe to submit their identity information. This URL expires after 48 hours and can only be used once. Don’t store it, log it, send it in emails or expose it to anyone other than the user. Refer to our docs on [verifying identity documents](https://stripe.com/docs/identity/verify-identity-documents?platform=web&type=redirect) to learn how to redirect users to Stripe.",
      "maxLength": 5000,
      "type": [
        "string",
        "null"
      ]
    },
    "verified_outputs": {
      "anyOf": [
        {
          "$ref": "#/$defs/gelato_verified_outputs"
        }
      ],
      "description": "The user’s verified data."
    }
  },
  "required": [
    "created",
    "id",
    "livemode",
    "metadata",
    "object",
    "status"
  ],
  "type": "object",
  "x-expandableFields": [
    "last_error",
    "last_verification_report",
    "options",
    "redaction",
    "verified_outputs"
  ],
  "x-resourceId": "identity.verification_session",
  "$defs": {
    "gelato_document_report": {
      "type": "object",
      "description": "Referenced by this document but never defined in it. API Evangelist added this empty placeholder so the document resolves; the shape is unknown and is NOT a claim about the API.",
      "x-ae-placeholder": true
    },
    "gelato_id_number_report": {
      "type": "object",
      "description": "Referenced by this document but never defined in it. API Evangelist added this empty placeholder so the document resolves; the shape is unknown and is NOT a claim about the API.",
      "x-ae-placeholder": true
    },
    "gelato_selfie_report": {
      "type": "object",
      "description": "Referenced by this document but never defined in it. API Evangelist added this empty placeholder so the document resolves; the shape is unknown and is NOT a claim about the API.",
      "x-ae-placeholder": true
    },
    "gelato_session_last_error": {
      "type": "object",
      "description": "Referenced by this document but never defined in it. API Evangelist added this empty placeholder so the document resolves; the shape is unknown and is NOT a claim about the API.",
      "x-ae-placeholder": true
    },
    "gelato_verification_report_options": {
      "type": "object",
      "description": "Referenced by this document but never defined in it. API Evangelist added this empty placeholder so the document resolves; the shape is unknown and is NOT a claim about the API.",
      "x-ae-placeholder": true
    },
    "gelato_verification_session_options": {
      "type": "object",
      "description": "Referenced by this document but never defined in it. API Evangelist added this empty placeholder so the document resolves; the shape is unknown and is NOT a claim about the API.",
      "x-ae-placeholder": true
    },
    "gelato_verified_outputs": {
      "type": "object",
      "description": "Referenced by this document but never defined in it. API Evangelist added this empty placeholder so the document resolves; the shape is unknown and is NOT a claim about the API.",
      "x-ae-placeholder": true
    },
    "identity.verification_report": {
      "description": "A VerificationReport is the result of an attempt to collect and verify data from a user.\nThe collection of verification checks performed is determined from the `type` and `options`\nparameters used. You can find the result of each verification check performed in the\nappropriate sub-resource: `document`, `id_number`, `selfie`.\n\nEach VerificationReport contains a copy of any data collected by the user as well as\nreference IDs which can be used to access collected images through the [FileUpload](https://stripe.com/docs/api/files)\nAPI. To configure and create VerificationReports, use the\n[VerificationSession](https://stripe.com/docs/api/identity/verification_sessions) API.\n\nRelated guides: [Accessing verification results](https://stripe.com/docs/identity/verification-sessions#results).",
      "properties": {
        "created": {
          "description": "Time at which the object was created. Measured in seconds since the Unix epoch.",
          "format": "unix-time",
          "type": "integer"
        },
        "document": {
          "$ref": "#/$defs/gelato_document_report"
        },
        "id": {
          "description": "Unique identifier for the object.",
          "maxLength": 5000,
          "type": "string"
        },
        "id_number": {
          "$ref": "#/$defs/gelato_id_number_report"
        },
        "livemode": {
          "description": "Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode.",
          "type": "boolean"
        },
        "object": {
          "description": "String representing the object's type. Objects of the same type share the same value.",
          "enum": [
            "identity.verification_report"
          ],
          "type": "string"
        },
        "options": {
          "$ref": "#/$defs/gelato_verification_report_options"
        },
        "selfie": {
          "$ref": "#/$defs/gelato_selfie_report"
        },
        "type": {
          "description": "Type of report.",
          "enum": [
            "document",
            "id_number"
          ],
          "type": "string",
          "x-stripeBypassValidation": true
        },
        "verification_session": {
          "description": "ID of the VerificationSession that created this report.",
          "maxLength": 5000,
          "type": [
            "string",
            "null"
          ]
        }
      },
      "required": [
        "created",
        "id",
        "livemode",
        "object"
      ],
      "title": "GelatoVerificationReport",
      "type": "object",
      "x-expandableFields": [
        "document",
        "id_number",
        "options",
        "selfie"
      ],
      "x-resourceId": "identity.verification_report"
    },
    "verification_session_redaction": {
      "type": "object",
      "description": "Referenced by this document but never defined in it. API Evangelist added this empty placeholder so the document resolves; the shape is unknown and is NOT a claim about the API.",
      "x-ae-placeholder": true
    }
  }
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/stripe-identity-verification-session"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.