Skip to content

Get KYC document data

GEThttps://api.gravv.xyz/v1/customers/{customer_id}/kyc/documents

Returns the list of documents a customer has uploaded, with metadata for each one.

Path Params

  • customer_idstringrequired

    UUID of the customer

Responses

Language
curl --request GET \
--url 'https://api.gravv.xyz/v1/customers/{customer_id}/kyc/documents' \
--header 'Api-Key: <Api Key>' \
--header 'accept: application/json'
{
"data": {
"customer_id": "42ad0adb-e134-4345-b4be-98e5021b0da8",
"documents": [
{
"id": "550e8400-e29b-41d4-a716-446655440000",
"IDType": "PASSPORT",
"IDSubType": "FRONT_SIDE",
"IDNumber": "A12345678",
"IssuingCountry": "NGA",
"IssuedDate": "2020-01-01",
"ExpiryDate": "2030-01-01",
"has_front_image": true,
"has_back_image": false,
"OriginalFilename": "passport_front.jpg"
}
],
"count": 1
},
"error": null
}