Overview
VerityPro provides KYC identity verification, address verification, enhanced due diligence (EDD), and transaction monitoring (AML) as modular APIs and SDKs. Each product is independently activatable — your integration only calls the services your compliance programme requires.
Base URL
Request format
All requests are JSON (Content-Type: application/json). Authenticate every server-side call with your x-api-key header.
Authentication
VerityPro uses API key authentication. Every request must include both headers below. Retrieve your keys from the Integrations page in the VerityPro portal.
| Parameter | Type | Required | Description |
|---|---|---|---|
| x-api-key | string | Required | Your integration API key. Treat this as a secret — never expose it in client-side code. |
| Integrationid | UUID | Optional | Your integration UUID. Required only for JWT-authenticated dashboard calls. Not needed when authenticating with x-api-key — the key already identifies your integration. |
Key rotation
Rotate keys from the portal under Settings → Integration → Keys → Rotate. When the rotation runs immediately, the new key is displayed once — copy it into your secrets manager before you close the dialog. If your organisation requires approval for key rotation, the request is queued instead and the new key is not shown in that dialog; ask your approver how it will be delivered before you rotate.
x-api-key header must only be sent from your server. Mobile and web SDK calls use a short-lived session token minted by your server.Environments
| Environment | Base URL | Notes |
|---|---|---|
| Live | https://api.veritypro.ai Portal: https://app.veritypro.ai | Production. Real verifications; billing applies. |
| Sandbox | https://api.skylinefare.com Portal: https://skylinefare.com | Test environment: test documents accepted. Billing runs in Stripe test mode, so there are no real charges. |
Each environment has its own API keys. Server-side calls use the base URL directly. The mobile SDKs need it set explicitly: pass apiBaseUrl (iOS and Android VerityOption, Flutter VerityProSDK). It is required: https://api.veritypro.ai for Live, https://api.skylinefare.com for Sandbox. The Web SDK takes the portal origin as baseUrl.
Create KYC Session
Your server creates a verification session and receives back a sessionUrl. Send that URL to your customer — VerityPro hosts the entire document capture and liveness flow with your branding applied. Your API key stays server-side only.
| Parameter | Type | Required | Description |
|---|---|---|---|
| vendorData | string | Required | Your internal customer identifier — returned unchanged in every webhook. Use the same value for EDD and Step-Up. |
| steps | string[] | Required | Steps to run: 'DOCUMENT', 'BIOMETRIC', 'ADDRESS', 'EDD'. Shortcut: 'DEFAULT' = DOCUMENT + BIOMETRIC. 'COMBINED' = all four. |
| firstName | string | Optional | Customer's legal first name — improves name-match accuracy. |
| lastName | string | Optional | Customer's legal last name. |
| dateOfBirth | YYYY-MM-DD | Optional | Pre-fills the document verification step. |
| ISO2Code | string | Optional | Customer's country of residence (ISO 3166-1 alpha-2, e.g. 'AU'). |
| previousSessionId | UUID | Optional | Link a new session to a prior one (e.g. add ADDRESS after BIOMETRIC was completed). |
Response
id — v2 session ID. Store this to poll status and for returning-user sessions.
attemptId — unique per evidence submission. Matches kycverification.AttemptId in every decision webhook — use it to correlate polling with webhook delivery.
kycEngineSessionId — null at creation; populated after the document step submits.
Send nextAction.sessionUrl to your customer. Sessions expire in 60 minutes.
Hosted Web Page (v2)
The recommended integration path. Use the same POST /kycintegration/v2/sessions endpoint as Create Session. The response includes nextAction.sessionUrl — redirect your user to that URL or embed it in an iframe. VerityPro renders the full verification flow with your branding. Your API key never touches the browser.
The session URL is in data.nextAction.sessionUrl in the response.
Redirect (full-page)
Iframe embed + postMessage
Poll session state anytime
Returns current status, completedSteps, currentStep, attemptId, and kycEngineSessionId. The attemptId matches kycverification.AttemptId in the decision webhook — use it to correlate polling with webhook delivery. No auth header required — the session ID is the capability.
iOS SDK
Add to your Podfile:
Then run pod install.
Requirements
- iOS 17.0+ deployment target
- Camera and FaceID usage descriptions in Info.plist
- Session token minted by your server (see Create Session)
Info.plist entries required
Result handling
The VerityResult returned in the completion block contains the outcome, completed steps, and any error details including whether the error is recoverable.
Brand customisation (optional)
Pass your logo and primary colour to show your brand inside the verification flow:
Android SDK
Add the GitHub Packages repository and dependency to your build.gradle:
Manifest permissions
Activity result launcher
Register the launcher in onCreate before the activity is started. Use VerityPro.extractResult(result) to get the typed result.
Brand customisation (optional)
Pass VpBrandConfig to show your logo and colour inside the flow:
Flutter SDK
Dart plugin bridging to the native iOS/Android SDKs — same product coverage. Installed via git dependency (not published to pub.dev).
pubspec.yaml
v2 — server-driven (recommended): pass serverSessionId from your backend and mode: VerityMode.serverDriven. The full Dart example is in the code panel.
Brand customisation: pass an optional brandConfig: VpBrandConfig(logoUrl: ..., primaryColor: ...) to show your logo and colour. The logo must be an HTTPS URL.
v1 — legacy: use mode: VerityMode.biometric (or .address / .edd) with preCreatedSessionId.
Web SDK
Install: npm install @veritypro/web-sdk
Presentation modes
| Mode | Description |
|---|---|
| modal | Overlay on top of your page |
| embed | Mounted into a container element you provide |
| hosted | Full-page redirect to VerityPro hosted URL |
Use the embedToken from your server session call. Do not pass your API key to the web SDK.
Optional: modules hint
Pass modules to pre-render the correct verification steps on the welcome screen before the backend session loads. The backend session's requestedSteps always win once fetched — this is a display hint only.
Reading the Attempt ID
The onSessionEstablished callback fires with the KYC engine session ID once created. The Attempt ID is included in the onResult payload and in every webhook for that session.
KYC Webhooks
VerityPro delivers a webhook to your registered endpoint when a KYC session reaches a terminal state. Configure the URL in Settings → Integration → Webhooks.
Payload fields
| Parameter | Type | Required | Description |
|---|---|---|---|
| EventCode | number | Required | Numeric event code. 9001=Approved, 9102=Declined, 9105=ManualReview, 7001=started, 7002=submitted, 9301=address approved, 9302=address declined. |
| Action | string | Required | Human-readable outcome: approved | declined | resubmission_requested | expired | review | started | submitted |
| VendorData | string | Required | Your internal customer identifier — the same value you passed at session creation |
| kycverification.Id | UUID | Required | VerityPro verification identifier |
| kycverification.AttemptId | string | Required | Unique per evidence submission. Matches the attemptId field in GET /kycintegration/v2/sessions/{id} — use this to correlate webhook decisions with session polling and as your deduplication key. |
| kycverification.VerificationStatus | string | Required | Approved | Declined | ManualReview | Resubmission | Expired | Processing |
| kycverification.SessionId | string | Required | KYC engine session identifier |
| kycverification.ISO2Code | string | Optional | Country code used in the session |
| Document | object | Optional | Document details (type, country, expiry) — present on decision webhooks |
| AddressVerification | object | Optional | Address outcome fields — present on address event webhooks (EventCode 9301–9305) |
Verify the X-Veritypro-Signature header on every webhook before processing. See Verify Signature for details.
Address SDK
Address verification is triggered through the same SDK as KYC — set mode: .address (iOS) or mode = VerityMode.ADDRESS.name (Android). No separate SDK install is needed.
SDK options for address verification
| Parameter | Type | Required | Description |
|---|---|---|---|
| streetAddress | string | Required | User's street address to verify |
| city | string | Optional | City / suburb |
| stateOrProvince | string | Optional | State or province code |
| postalCode | string | Optional | Postcode / ZIP |
| country | string | Required | Country of the address (full name or ISO code) |
Address Server API
Add ADDRESS to the steps array when creating a session. This works standalone or combined with KYC in a single session.
| Parameter | Type | Required | Description |
|---|---|---|---|
| vendorData | string | Required | Your internal customer identifier |
| steps | string[] | Required | Include 'ADDRESS'. Combine with 'DOCUMENT' and 'BIOMETRIC' for a full KYC + address flow. |
| firstName | string | Optional | Customer's first name |
| lastName | string | Optional | Customer's last name |
| dateOfBirth | YYYY-MM-DD | Optional | Used for cross-verification |
| ISO2Code | string | Optional | Country of address (ISO 3166-1 alpha-2) |
The response nextAction.sessionUrl takes the customer through the address proof upload step. A webhook fires with event address_completed when done.
Basic EDD Assessment
The Basic EDD assessment is a four-step lifecycle for financial-consistency and source-of-funds checks. Your backend creates the assessment with your API key, the SDK or hosted page captures and attaches the supporting document, then you submit and poll for the verdict. This replaces the older one-step upload and gives you a tracked assessment ID, status, and a machine-readable verdict.
1. Create the assessment
| Parameter | Type | Required | Description |
|---|---|---|---|
| subjectId | string | Required | Your internal customer identifier |
| subjectName | string | Required | Customer name |
| employerName | string | Optional | User-declared employer name (collected in the SDK flow) |
| idempotencyKey | string | Optional | Optional — a repeat returns the original assessment |
| clientReference | string | Optional | Your reference for reconciliation |
| transactionSummary.declaredMonthlyIncome | number | Required | Declared monthly income (source of funds), > 0 |
| transactionSummary.totalAmountSent | number | Required | Total sent over the observation window, >= 0 |
| transactionSummary.periodDays | number | Required | Observation window in days, > 0 |
| transactionSummary.transactionCount | number | Optional | Number of transactions in the period |
| transactions[] | array | Optional | Optional line-items for credit→balance→transfer correlation |
| currency | ISO 4217 | Optional | 3-letter code, default AUD |
Returns 201 with assessmentId and status AwaitingDocuments.
2. Attach the document
Multipart upload of the supporting income document (payslip, statement, or tax return).
3. Submit
Starts the asynchronous check. Returns 202.
4. Poll for the verdict
Poll until status reaches a terminal value. The response carries the verdict, findings, and a review recommendation.
Verdict values: Consistent, Inconsistent, ReviewRequired, UnableToAssess. Status values: Created, AwaitingDocuments, DocumentsReceived, Processing, Completed, ReviewRequired, UnableToAssess, Failed.
A best-effort webhook fires with event basic_edd.affordability.completed when the check resolves. The verdict is also returned synchronously in the submit response.
Trigger EDD
Enhanced Due Diligence (EDD) is triggered when your risk programme identifies a customer requiring deeper scrutiny — typically after a high-risk transaction flag or on a scheduled review cycle. The customer must have an Approved KYC session in the system first.
No request body required. Pass your internal customer identifier as the vendorData query parameter — it must match the value used at KYC onboarding. Returns 200 on success or 404 if no approved KYC session exists for that customer.
EDD can also be included as a step at session creation — pass steps: ["DOCUMENT", "BIOMETRIC", "EDD"] to run it as part of the onboarding flow. A webhook fires with event edd_completed when the case is resolved.
EDD Status
Poll the session state to track EDD progress. The session also receives an edd_completed webhook when the case is resolved.
Response (EDD fields)
EDD reviews are completed by your compliance team in the VerityPro case management portal.
Process Transaction
Submit transactions to VerityPro's AML engine for real-time risk scoring. Each transaction is checked against velocity rules, sanctions screening, and ML-based anomaly detection. A risk decision is returned synchronously.
Headers: x-api-key and X-Account-Id. X-Account-Id must equal the account your API key belongs to, or the request is rejected with 401. The integration needs the Transaction Monitoring capability. The body is snake_case and amounts are strings.
| Parameter | Type | Required | Description |
|---|---|---|---|
| transaction_id | string | Required | Your unique transaction reference. |
| user_id | string | Required | Your internal identifier for the sending customer. |
| transaction_amount | string | Required | Amount as a decimal string, e.g. 500.00. |
| transaction_currency | ISO 4217 | Required | 3-letter currency code, e.g. AUD. |
| transaction_type | enum | Optional | Payment | Remittance | P2PTransfer | Withdrawal | Deposit | OnlinePayment (default Payment). |
| user_firstname, user_lastname | string | Optional | Sender name (improves sanctions screening). |
| email, phone_number, ip | string | Optional | Sender contact and network signals for risk scoring. |
| user_country | string | Optional | Sender country (ISO 3166-1 alpha-2). |
| receiver_fullname, receiver_country | string | Optional | Beneficiary details for remittances. |
| payment_mode | string | Optional | e.g. bank_transfer, card, wallet. |
| session | string | Optional | Device session token (vpds_...) from the Device SDK. |
The full field list (card, billing, shipping, merchant, crypto and custom_fields) is in the OpenAPI spec under All Endpoints.
Response
State is one of APPROVE | REVIEW | CHALLENGE | BLOCK. Treat REVIEW as a hold pending analyst review and BLOCK as a hard stop. When ScreeningDegraded is true a screening stage did not run: the decision is provisional and you must hold funds (see HoldReasons). A 503 means no decision was made; retry.
Step-Up Biometric Authentication
Re-verify a returning user's identity using face liveness + face match against the template enrolled during KYC onboarding. Use this for risk-triggered moments — high-value transactions, new-device logins, suspicious activity — rather than full re-onboarding. The subject must have completed a liveness-verified KYC session with the BIOMETRIC module before step-up is available.
Authentication: x-api-key only (JWT is not accepted on step-up endpoints). The subjectId must exactly match the vendorData value used at KYC onboarding.
1 — Create a challenge
| Parameter | Type | Required | Description |
|---|---|---|---|
| subjectId | string | Required | Must equal the vendorData used at KYC onboarding. |
| riskReason | string | Optional | Why step-up was triggered, e.g. 'high_value_txn'. For audit trail only. |
| channelOrigin | string | Optional | 'mobile_ios' | 'mobile_android' | 'web'. |
| alertId | string | Optional | AML alert ID that prompted this step-up — surfaces the biometric outcome on the alert row in your dashboard. |
Returns challengeId (your primary reference, valid 300s, max 3 attempts) and hostedUrl — send this link to your customer by SMS, email, or deep-link. VerityPro renders the liveness UI. A 422 means the subject has no enrolled biometric template — route to full KYC first.
2 — Get AWS Rekognition credentials (native SDK path only)
Only needed for the native mobile SDK path (you embed the AWS Face Liveness widget directly). Returns livenessSessionId, region, and short-lived AWS credentials — pass all of them to the AWS Amplify Face Liveness widget in your app. Skip this step when using the hosted URL path.
3 — Complete after liveness (native SDK path only)
| Parameter | Type | Required | Description |
|---|---|---|---|
| livenessSessionId | string | Required | The AWS Face Liveness session ID from step 2. |
| selfieImageB64 | string | Optional | Base64-encoded JPEG/PNG selfie captured by the AWS SDK. Optional on the hosted path — the engine fetches it directly from the Rekognition result. |
Verdicts
| verdict | Action |
|---|---|
| Passed | Identity confirmed — proceed with the action |
| ManualReview | Hold pending operator review; a webhook follows |
| Failed | Deny the action; retry available while attemptCount < 3 |
| NoEnrolledTemplate | Subject has no enrolled face — route to full KYC |
Webhook Event Types
VerityPro delivers events to your registered HTTPS endpoint. Configure the URL and secret in Settings → Integration → Webhooks.
| Event | Trigger |
|---|---|
| KycDecision (EventCode 9001) | KYC Approved |
| KycDecision (EventCode 9102) | KYC Declined |
| KycDecision (EventCode 9105) | KYC ManualReview — hold pending operator review |
| KycDecision (EventCode 9301–9305) | Address verification outcome — check VerificationStatus |
| kyc.session.expired | KYC session timed out without completion |
| step_up.completed | Step-up biometric finished — check verdict: Passed | Failed | ManualReview |
| step_up.failed | Step-up explicitly failed or max attempts reached |
| step_up.manual_review | Step-up requires operator review before verdict |
| step_up.expired | Step-up challenge expired (TTL 300s) without completion |
| transaction.risk.flagged | Transaction flagged REVIEW by TM engine — hold pending review |
| transaction.blocked | Transaction blocked DECLINED by TM engine — hard block |
Your endpoint must return HTTP 200 within 10 seconds. Failed deliveries are retried with exponential backoff for up to 24 hours.
Verify Webhook Signature
Every webhook request carries two headers: X-Veritypro-Signature, an HMAC-SHA512 signature, and X-Veritypro-Timestamp, the unix epoch seconds the payload was signed at. Always verify both before processing the payload.
The signature is computed as HMAC-SHA512(webhookSecret, "{timestamp}.{rawBody}") — the timestamp header value, a literal dot, then the raw request body bytes before JSON parsing. It is encoded as lowercase hex, 128 characters, with no prefix.
All Endpoints
Every public endpoint, generated from the OpenAPI spec. A Postman collection is generated from the same spec, with Sandbox and Live environments.
Hosted Verification (v2)
| POST | /kycintegration/v2/embed/mint | Mint an embed token (S2S) | x-api-key + Integrationid |
| POST | /kycintegration/v2/embed/exchange | Exchange embed token for a session bearer (browser) | none |
| POST | /kycintegration/v2/sessions | Create a verification session (S2S) | x-api-key |
| GET | /kycintegration/v2/sessions/{id} | Get session state (S2S) | x-api-key + Integrationid |
| POST | /kycintegration/v2/sessions/{id}/steps/{step}/complete | Mark a step complete (hosted SDK internal) | x-api-key + Integrationid |
KYC Verification
| POST | /kycintegration/kyc-verification/update-kyc-verification | Submit captured ID document images (DOCUMENT step) | Bearer |
| POST | /kycintegration/kyc-verification/add-kyc-verification | Create a KYC session (legacy v1) | x-api-key + Integrationid |
Address Verification
| POST | /addressverification/address-verification/add-verification | Create an address verification (S2S or hosted flow) | x-api-key + Integrationid |
Enhanced Due Diligence
| POST | /edd/api/v1/edd/basic/screen | Basic EDD screen (S2S) | x-api-key + Integrationid |
| POST | /kycintegration/kyc-verification/trigger-edd | Trigger EDD for a verified customer | x-api-key |
| POST | /edd/api/v1/edd/basic/assessments | Create a Basic EDD assessment | x-api-key |
| POST | /edd/api/v1/edd/basic/assessments/{assessmentId}/documents | Attach a supporting document | x-api-key |
| POST | /edd/api/v1/edd/basic/assessments/{assessmentId}/submit | Submit the assessment for processing | x-api-key |
| GET | /edd/api/v1/edd/basic/assessments/{assessmentId} | Get assessment status and verdict | x-api-key |
Step-Up Authentication
| POST | /kycintegration/api/v1/step-up/challenges | Create a step-up challenge | x-api-key |
| POST | /kycintegration/api/v1/step-up/challenges/{challengeId}/begin-liveness | Begin the liveness check (native integration) | x-api-key |
| POST | /kycintegration/api/v1/step-up/challenges/{challengeId}/complete | Complete the challenge | x-api-key |
AML Transaction Monitoring
| POST | /transactionprocessing/api/v1/transactions/process | Process a transaction (AML risk decision) | x-api-key + X-Account-Id |
Device Intelligence
| POST | /aml-intelligence/api/v1/device/sessions | Create a device session | none |
Result Types
VerityOutcome
| Value | Meaning |
|---|---|
| approved | All required modules passed. Customer is verified. |
| pendingManualReview | Requires analyst review — do not approve or reject automatically. |
| rejected | Verification failed. Check VerityErrorCode for reason. |
| cancelled | User exited the SDK before completing. |
| failed | Technical error. Check recoverable flag before re-launching. |
VerityVerificationError
| Parameter | Type | Required | Description |
|---|---|---|---|
| code | VerityErrorCode | Required | Named error code, e.g. DOCUMENT_EXPIRED |
| message | string | Required | Human-readable error description |
| recoverable | boolean | Required | True if re-launching the SDK may succeed |
| recommendedAction | string | Optional | UX copy to show the user |
Error Codes
HTTP errors use standard status codes. The response body contains a typed error payload.
| Status | Meaning |
|---|---|
| 400 | Bad Request — missing or invalid parameters |
| 401 | Unauthorized — API key missing or invalid |
| 403 | Forbidden — integration disabled or insufficient permissions |
| 404 | Not Found — session or resource does not exist |
| 409 | Conflict — duplicate request or resource already exists |
| 422 | Unprocessable — request is well-formed but semantically invalid |
| 429 | Rate Limited — slow down and retry after the Retry-After header |
| 500 | Internal Error — transient; safe to retry with backoff |