ChmodKycRequest, present the flow, and handle the outcome.
SwiftUI
isPresented: variant when you already hold the request:
UIKit
verify suspends until the user finishes the flow and the dismissal completes, so the
code after it reads top to bottom.
Cancelling the surrounding task does not dismiss the flow. A verification in progress
belongs to the user, not to your task tree.
@MainActor, so you can touch UI directly in either.
Fetching the token
The token comes from your backend, over your own authenticated endpoint. Your app never talks to chmod to get one:Adding configuration
Pass aChmodKycConfiguration to control appearance, copy and capture behaviour. Every
field has a default, so ChmodKycConfiguration() is valid:
Next
Handling the result
Every outcome, every error code, and navigating with the result.

