Execute Recorded Video
Note: Acceptable format: .mp4 format with video encoding of H264 and audio encoding of AAC (Advanced Audio Coding)
Endpoint
/api/onboardings/execute
Headers
Property | Value |
|---|---|
Content-type | application/json |
Authorization | …access token… (alphanumeric string of length 64) |
Input
{
"merchantId":".. merchantId ..",
"inputData":{
"service":"video",
"type":"video",
"task":"verify",
"data":{
"video":".. video URL ..",
"transactionId":".. transactionId ..",
"matchImage":".. URL of POI Image containg user Photo ..",
"seconds":[
"00:00:02",
"00:00:04",
"00:00:06",
"00:00:08"
],
"type":"video"
}
}
}Property | Data Type | Example Values |
|---|---|---|
merchantId | String (Required) alphanumeric string of length 24 | userId from the investor login response field |
inputData | Object (Required) | payload |
–service | Enum String (Required) | “video” |
–type | Enum String (Required) | “video” |
–task | Enum String (Required) | “verify” |
–data | Object(Required) | payload containing video details |
—-video | URL String (Required) | Video URL |
—-snapshot | URL String (Optional) | Image URL of snapshot from video containing user’s face |
—-transactionId | String (Required), must be an alphanumeric string of length 30 | transaction Id received in the start video API call |
—-matchImage | URL String (Required) | URL of POI Image containing user Photo |
—-seconds | Array of moment strings at which face was detected in the video" (Optional), must contain moments in a valid format, example: “00:00:08” | Array of moment strings at which face was detected in the video" (Optional), must contain moments in valid format details |
—-type | Enum String (Required) | “video” |
Expected Output
{
"object": {
"n": 1,
"nModified": 1,
"ok": 1
}
}Getting help
Please feel free to contact us if you have any questions, require clarification, or have ideas for how to make the documents or any of our services better.
You can reach out to us at [email protected].