Untitled

mail@pastecode.io avatar
unknown
plain_text
2 years ago
660 B
5
Indexable
Never
curl --request POST \
     --url https://verify.vouched.id/api/identity/aamva \
     --header 'X-API-Key: API_KEY' \
     --header 'accept: application/json; charset=utf-8' \
     --header 'content-type: application/json' \
     --data '
{
     "country": "US",
     "lastName": "Sarda",
     "idType": "drivers-license",
     "dob": "01/19/1994",
     "licenseNumber": "Y3573546",
     "state": "CA",
     "issueDate": "11/16/2020",
     "expirationDate": "01/19/2025",
     "callbackURL": "https://api.aiprise.com/v1/aamvatest"
}
'


Output:

{
  "errors": [
    {
      "type": "InvalidRequestError",
      "message": "Not a valid aamva request"
    }
  ]
}