Documentation Index
Fetch the complete documentation index at: https://docs.quepass.com/llms.txt
Use this file to discover all available pages before exploring further.
1. Function
2. Required Parameters by Journey
| Journey | Required Parameters |
|---|---|
| Onboarding | onBack, onSuccess, onFail, onboardingFlow |
| Authentication | onBack, onSuccess, onFail, biometricType, documentType, uid |
| Transaction | onBack, onSuccess, onFail, biometricType, uid |
| Search | onBack, onSuccess, onFail, biometricType |
| SearchByImage | onBack, onSuccess, onFail, biometricType, image |
| KioskMode | onBack, onSuccess, onFail |
| EventQRRegistration | onBack, onSuccess, onFail, eventId, ticketType |
| EventBiometricCheckIn | onBack, onSuccess, onFail, eventId |
| EventBiometricCheckInKiosk | onBack, onSuccess, onFail, eventId |
| CheckinByQR | onBack, onSuccess, onFail, eventId, qrPayload |
| ExpressVerification | onBack, onSuccess, onFail, documentIdentifierType, documentIdentifierNumber |
| ExpressOnboarding | onBack, onSuccess, onFail, documentIdentifierType, documentIdentifierNumber |
| ExchangeOnboarding | onBack, onSuccess, onFail, documentIdentifierType, documentIdentifierNumber |
3. Journey Examples
1. Onboarding
Required Parameters
- onBack (function) – Triggered when user presses the back action
- onSuccess (function) – Triggered when the process completes successfully
- onFail (function) – Triggered when the process fails or returns an error
- onboardingFlow (boolean) – Defines whether onboarding flow is enabled or not
Return Parameters
- uid (string) – User identity
- token (string) – Authentication token
- unifiedNumber (string) – Unified identification number (optional)
Code Example
2. Authentication
Required Parameters
- onBack (function) – Triggered when the user presses the back action
- onSuccess (function) – Triggered when the process completes successfully
- onFail (function) – Triggered when the process fails or returns an error
- biometricType (string) – Defines the type of biometric verification (e.g., face, fingerprint)
- documentType (string) – Specifies the type of document required for verification
- uid (string) – User identity
Return Parameters
- uid (string) – User identity
- token (string) – Authentication token
- unifiedNumber (string) – Unified identification number (optional)
Code Example
3. Transaction
Required Parameters
- onBack (function) – Triggered when the user presses the back action
- onSuccess (function) – Triggered when the process completes successfully
- onFail (function) – Triggered when the process fails or returns an error
- biometricType (string) – Defines the type of biometric verification (e.g., face, fingerprint)
- uid (string) – User identity
Return Parameters
- uid (string) – User identity
- token (string) – Authentication token
- unifiedNumber (string) – Unified identification number (optional)
Code Example
4. Search
Required Parameters
- onBack (function) – Triggered when the user presses the back action
- onSuccess (function) – Triggered when the process completes successfully
- onFail (function) – Triggered when the process fails or returns an error
- biometricType (string) – Defines the type of biometric verification (e.g., face, fingerprint)
Return Parameters
- uid (string) – User identity
- token (string) – Authentication token
- unifiedNumber (string) – Unified identification number (optional)
Code Example
5. SearchByImg
Required Parameters
- onBack (function) – Triggered when the user presses the back action
- onSuccess (function) – Triggered when the process completes successfully
- onFail (function) – Triggered when the process fails or returns an error
- biometricType (string) – Defines the type of biometric verification (e.g., face, fingerprint)
- image (string) – Base64-encoded image data or image file path used for verification
Return Parameters
- uid (string) – User identity
- token (string) – Authentication token
- unifiedNumber (string) – Unified identification number (may be empty if not applicable)
Code Example
6. KioskMode — Kiosk Face
Required Parameters
- onBack (function) – Triggered when the user presses the back action
- onSuccess (function) – Triggered when the process completes successfully
- onFail (function) – Triggered when the process fails or returns an error
Return Parameters
- uid (string) – User identity
- token (string) – Authentication token
- isCaptured (boolean) – Indicates whether biometric/image was successfully captured
- isFound (boolean) – Indicates whether a matching user record was found in the system
Code Example
7. EventQRRegistration — Register for Event
Required Parameters
- onBack (function) – Triggered when the user presses the back action
- onSuccess (function) – Triggered when the process completes successfully
- onFail (function) – Triggered when the process fails or returns an error
- eventId (string) – Unique identifier for the event
- ticketType (string) – Specifies the type or category of ticket for the event
Return Parameters
- uid (string) – User identity
- token (string) – Authentication token
- payload (object) – Encrypted QR/Event payload data
- data (string) – Encrypted payload data (Base64 encoded)
- signature (string) – Digital signature for payload verification
Code Example
8. EventQRRegistration — FaceCheckin
Required Parameters
- onBack (function) – Triggered when the user presses the back action
- onSuccess (function) – Triggered when the process completes successfully
- onFail (function) – Triggered when the process fails or returns an error
- eventId (string) – Unique identifier for the event
Return Parameters
- uid (string) – User identity
- token (string) – Authentication token
- isCaptured (boolean) – Indicates whether biometric/image was successfully captured
- isFound (boolean) – Indicates whether a matching user record was found in the system
Code Example
9. EventBiometricCheckIn — Kiosk Face Check-in
Required Parameters
- onBack (function) – Triggered when the user presses the back action
- onSuccess (function) – Triggered when the process completes successfully
- onFail (function) – Triggered when the process fails or returns an error
Return Parameters
- uid (string) – User identity
- token (string) – Authentication token
- isCaptured (boolean) – Indicates whether biometric/image was successfully captured
- isFound (boolean) – Indicates whether a matching user record was found in the system
Code Example
10. CheckinByQR — QR Check-in
Required Parameters
- onBack (function) – Triggered when the user presses the back action
- onSuccess (function) – Triggered when the process completes successfully
- onFail (function) – Triggered when the process fails or returns an error
- eventId (string) – Unique identifier for the event
- qrPayload (string) – Encoded QR data used for validation or event verification
Return Parameters
- uid (string) – User identity
- token (string) – Authentication token
Code Example
11. ExpressVerification
Required Parameters
- onBack (function) – Triggered when the user presses the back action
- onSuccess (function) – Triggered when the process completes successfully
- onFail (function) – Triggered when the process fails or returns an error
- documentIdentifierType (string) – Specifies the type of document identifier (e.g., passport, ID card)
- documentIdentifierNumber (string) – The number associated with the specified document identifier
Return Parameters
- uid (string) – User identity
- token (string) – Authentication token
- unifiedNumber (string) – Unified identification number (optional)
Code Example
12. ExpressOnboarding
Required Parameters
- onBack (function) – Triggered when the user presses the back action
- onSuccess (function) – Triggered when the process completes successfully
- onFail (function) – Triggered when the process fails or returns an error
- documentIdentifierType (string) – Specifies the type of document identifier (e.g., passport, ID card)
- documentIdentifierNumber (string) – The number associated with the specified document identifier
Return Parameters
- uid (string) – User identity
- token (string) – Authentication token
- unifiedNumber (string) – Unified identification number (optional)
Code Example
13. ExchangeOnboarding
Required Parameters
- onBack (function) – Triggered when the user presses the back action
- onSuccess (function) – Triggered when the process completes successfully
- onFail (function) – Triggered when the process fails or returns an error
- onboardingFlow (boolean) – Indicates whether the onboarding flow is enabled or not
Return Parameters
- uid (string) – User identity
- token (string) – Authentication token
- boardingPassDTO (object) – Data transfer object containing details of the boarding pass (e.g., flight info, seat number, passenger name)
- documentDTO (object) – Data transfer object containing details of the document (e.g., type, number, expiry date)