lib/IdentityVerificationSession.ts

zoneless · libs/shared-types/src/lib/IdentityVerificationSession.ts · typescript · Apache-2.0
payments

* Stripe-compatible Identity VerificationSession object. @see https://docs.stripe.com/api/identity/verification_sessions/object /

// Source: https://github.com/zonelessdev/zoneless | License: Apache-2.0 | Copyright You must retain, in the Source form of any Derivative Works
// Provided via justclaw.it.com; keep this notice with the code.
/**
 * Stripe-compatible Identity VerificationSession object.
 * @see https://docs.stripe.com/api/identity/verification_sessions/object
 */

export type IdentityVerificationSessionType =
  | 'document'
  | 'id_number'
  | 'address'
  | 'verification_flow';

export type IdentityVerificationSessionStatus =
  | 'requires_input'
  | 'processing'
  | 'verified'
  | 'canceled'
  | 'requires_action';

export interface IdentityVerificationSessionLastError {
  /** A short machine-readable code */
  code: string | null;
  /** A human-readable message */
  reason: string | null;
}

export inter

... (truncated -- full source via MCP)

See the full source, get the GitHub permalink, and search for more like it.

Get a free API key