Skip to main content
Structure The credentials for one identity verification session.
An order that needs verification includes them in payment.preparation.kyc. Read the credentials from identityVerificationCredentials. You can also read them from the order response of your backend. The order picks the shape: a Persona inquiry, or a Crossmint verification session. Pass the credentials through as they come.

Initializers

init(from:)

Inherited from Decodable.init(from:).

init(inquiryId:sessionToken:)

Creates the credentials for a Persona inquiry.
An empty sessionToken becomes nil.

init(verificationId:clientSecret:deviceSessionKey:)

Creates the credentials for a Crossmint verification session.
An empty deviceSessionKey becomes nil.

Instance Properties

Instance Methods

encode(to:)

Inherited from Encodable.encode(to:).