Verify Driving License
POSThttps://api.trential.dev/verification/api/1.0/verifications/dl
Verify Driving License
Request
- application/json
Body
digilocker boolean
uri string
token string
Responses
- 200
OK
- application/json
- Schema
- Example (from schema)
Schema
code integer
message string
data object
{
"code": 0,
"message": "string",
"data": {}
}
Authorization: x-api-key
name: x-api-keytype: apiKeyin: header
- curl
- python
- go
- nodejs
- ruby
- csharp
- php
- java
- powershell
- CURL
curl -L -X POST 'https://api.trential.dev/verification/api/1.0/verifications/dl' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'x-api-key: <API_KEY_VALUE>' \
--data-raw '{
"digilocker": false,
"uri": "in.gov",
"token": "ey..."
}'
ResponseClear