curl --request PATCH \
--url http://localhost:3091/v1/api/superadmin/agencies/{id}/kyc/documents/{docId}/approve \
--header 'Authorization: Bearer <token>'{
"status": 404,
"errorCode": "RESOURCE_NOT_FOUND",
"message": "Ressource non trouvée",
"timestamp": "2023-11-07T05:31:56Z",
"path": "/v1/api/bookings/123",
"debugInfo": "<string>",
"suggestions": [
"<string>"
],
"fieldErrors": [
{
"field": "email",
"message": "must not be blank",
"rejectedValue": {}
}
]
}Marks the KYC document as approved by the admin
curl --request PATCH \
--url http://localhost:3091/v1/api/superadmin/agencies/{id}/kyc/documents/{docId}/approve \
--header 'Authorization: Bearer <token>'{
"status": 404,
"errorCode": "RESOURCE_NOT_FOUND",
"message": "Ressource non trouvée",
"timestamp": "2023-11-07T05:31:56Z",
"path": "/v1/api/bookings/123",
"debugInfo": "<string>",
"suggestions": [
"<string>"
],
"fieldErrors": [
{
"field": "email",
"message": "must not be blank",
"rejectedValue": {}
}
]
}