Transaction
Create and configure a transaction
Creates a transaction with configuration options for document verification, selfie liveness verification, biometric verification, and optional SDK configuration for client-side capture.
post/api/transactions
Request
- Base URLhttps://verification.trulioo.com
- URLhttps://verification.trulioo.com/api/transactions
- AuthHTTP bearer
Headers
Accept-Versionstring required
Example:3.0
API version header.
Request body
Example request
{
"documentVerification": {
"documentsAccepted": [
{
"documentType": "DRIVERS_LICENSE",
"documentOrigin": [
{
"countryCode": "CA",
"jurisdictions": [
{
"jurisdictionCode": "FL"
}
]
}
]
}
]
},
"subjectInfo": {
"firstName": "John",
"middleName": "Smith",
"lastName": "Doe",
"fullName": "John Smith Doe",
"dateOfBirth": "1980-01-01",
"addressLine1": "123 Main Street",
"stateProvince": "BC",
"city": "Vancouver",
"postalCode": "V5V 0A0",
"country": "CA",
"firstLastName": "López",
"secondLastName": "García",
"birthLastName": "GABLER",
"spouseLastName": "Molenaar"
},
"subjectInfoList": [
{
"firstName": "John",
"middleName": "Smith",
"lastName": "Doe",
"fullName": "John Smith Doe",
"dateOfBirth": "1980-01-01",
"addressLine1": "123 Main Street",
"stateProvince": "BC",
"city": "Vancouver",
"postalCode": "V5V 0A0",
"country": "CA",
"firstLastName": "López",
"secondLastName": "García",
"birthLastName": "GABLER",
"spouseLastName": "Molenaar"
}
],
"sdk": {
"locale": "en-US",
"theme": {
"colors": {
"light": {
"logoURL": "https://example.com/logo.png",
"primaryButton": "#0066cc",
"primaryButtonText": "#ffffff"
},
"dark": {
"logoURL": "https://example.com/logo.png",
"primaryButton": "#0066cc",
"primaryButtonText": "#ffffff"
}
}
},
"presetCountries": [
"US",
"CA",
"FR"
]
},
"documentLivenessConfig": {
"screenUsed": {
"enabled": true,
"calibration": "MEDIUM"
},
"printout": {
"enabled": true,
"calibration": "MEDIUM"
},
"portraitSubstitution": {
"enabled": true,
"calibration": "MEDIUM"
},
"skipAlreadyCropped": false
}
}Response
Transaction created.
Changes
No recorded changes to this operation across all 1 revision of this API.