Search…
Verifications
The following endpoints are used to insert and retrieve entries representing verifications (of an identity's documents) from the database.
VERIFICATIONS ENDPOINTS
1
GET /verifications/:id
2
GET /verifications
Copied!

The verification object

The verification object represents the result of a document's check by a KYC partner.
A verification is identified by a unique, random id and relates to a user's identityId.
VERIFICATIONS OBJECT
1
{
2
"id": "3519322a-6881-472f-8e1f-2486d5f3cb15",
3
"identityId": "e0564926-96e0-42e2-a544-68bc18598e40",
4
"status": "pending",
5
"exceptionDetails": "",
6
"createdAt": "2020-01-09T10:21:05.760Z",
7
"updatedAt": "2020-01-15T13:12:21.860Z"
8
}
Copied!
get
https://api.publicmint.com
/verifications/:id
GET /verifications/:id

Request

Request
Curl
Response
1
GET https://api.sandbox.publicmint.io/verifications/ddec6616-b29f-4517-98f9-612ec7859120
Copied!
1
curl -X GET \
2
https://api.sandbox.publicmint.io/verifications/1c1b39a2-f8ec-4680-82cd-09926e1a2c95 \
3
-H 'apikey: {INSERT API KEY HERE}'
Copied!
1
{
2
"id": "3519322a-6881-472f-8e1f-2486d5f3cb15",
3
"identityId": "e0564926-96e0-42e2-a544-68bc18598e40",
4
"status": "pending",
5
"exceptionDetails": "",
6
"createdAt": "2020-01-09T10:21:05.760Z",
7
"updatedAt": "2020-01-15T13:12:21.860Z"
8
}
Copied!
get
https://api.publicmint.com
/verifications
GET /verifications

Example Call

Request
Curl
Response
1
GET https://api.sandbox.publicmint.io/verifications
2
3
// Paginated
4
5
GET https://api.sandbox.publicmint.io/verifications?page[number]=1&page[size]=1
Copied!
1
curl -X GET \
2
'https://api.sandbox.publicmint.io/verifications?page[number]=1&page[size]=1' \
3
-H 'apikey: {INSERT API KEY HERE}'
Copied!
1
{
2
"total": 32,
3
"data": [
4
{
5
"id": "3519322a-6881-472f-8e1f-2486d5f3cb15",
6
"identityId": "e0564926-96e0-42e2-a544-68bc18598e40",
7
"status": "pending",
8
"exceptionDetails": "",
9
"createdAt": "2020-01-09T10:21:05.760Z",
10
"updatedAt": "2020-01-15T13:12:21.860Z"
11
}
12
]
13
}
Copied!
Last modified 1yr ago