Skip to main content
Final Class Credentials for one verification session, read from an order’s payment.preparation.kyc.

Constructors

CrossmintIdentityVerificationCredentials

Properties

inquiryId

Provider-side inquiry identifier.

sessionToken

Optional provider session token.

Static Methods

tryFromJson

Parses an order’s payment.preparation.kyc map. Returns null when the order does not need verification, names a provider this SDK does not know, or carries no usable inquiry id.

Methods

toJson

Serializes to the shape the hosted page’s credentials query param expects. The provider discriminator is fixed: Persona is the only provider this SDK and the hosted page accept.