Generate verification report
If you have API key and API secret you can get a report about the verification in PDF format.
note
API key and API secret can be retrieved by contacting iDenfy's technical support or iDenfy's sales team:
Report contains:
- Verification data
- Verification status
- Miscellaneous data
- AML data
- LID data
- Face photo
- Document photos
Sending request
Send a HTTP POST request to: https://ivs.idenfy.com/api/v2/generate-pdf
The request must contain basic auth headers where username is API key and password is API secret. The request must contain JSON with parameter:
Key | Required | Explanation | Type |
---|---|---|---|
scanRef | Yes | A unique string identifying a client verification. | String |
language | No | Language selection for the generated report. Possible values: en (English-default)lt (Lithuanian) | String |
Response externalref
After a successful API call, you will receive a PDF file in Base64 format and a response with a positive 200 status.
Examples
Example request
{
"scanRef": "350e2420-8850-11e9-baa5-309c231b1bac"
}
Example request with specified language
{
"scanRef": "350e2420-8850-11e9-baa5-309c231b1bac",
"language": "lt"
}