Skip to content
LogoLogo

Persona types

Inquiry and verification results

Exports inquiry statuses and the results of Persona inquiry creation and verification.

Usage

import type * as  from 'mppx/extensions/identity/persona'
 
declare const : .
.(.)
inq_example

InquiryStatus

Persona.InquiryStatus is the union below. Only approved is accepted by default; completed means the flow completed, not that a workflow or reviewer approved it.

type InquiryStatus =
  | 'approved'
  | 'completed'
  | 'created'
  | 'declined'
  | 'expired'
  | 'failed'
  | 'needs_review'
  | 'pending'

StartedInquiry

Persona.StartedInquiry, returned by startInquiry as a frozen object:

PropertyTypeMeaning
inquiryIdstringPersona inquiry ID (inq_…)
urlstringOne-time link to the hosted KYC flow

VerifiedInquiry

Persona.VerifiedInquiry, returned by successful paymentCheck and verifier lookups as a frozen object:

PropertyTypeMeaning
inquiryIdstringAccepted Persona inquiry ID
referenceIdstringExact reference ID matched by the check
statusPersona.InquiryStatusAccepted inquiry status
verifiedAt (optional)Datedecisioned-at, falling back to completed-at; absent if unparseable or missing

Server types

ExportReference
Persona.Server.LookupOptionsShared cache, freshness, status, and onboarding options
Persona.Server.PersonaClient returned by create
Persona.Server.create.ConfigClient configuration
Persona.Server.create.PaymentParametersPayment check callback input
Persona.Server.verifyWallet.ParametersWallet signature verification input
Persona.did.ParametersWallet DID input