Create a new document object in our system
A government-issued internal identity document that certifies a citizen residency and regulates their movement within a country. It serves as a proof of identity and residence for administrative purposes and may be required for accessing certain services or permissions.
⚠️ Only one document with any of:
DOMESTIC_PASSPORTDRIVERS_LICENSEFOREIGN_CITIZEN_PASSPORTGOVERNMENT_IDPASSPORTPERMANENT_RESIDENCE_PERMITREFUGEE_CARD
document type may be associated with one applicant object via applicant_id.
⚠️ After a verification was created, a new document may be added for the same applicant object via applicant_id, replacing the one added before.
A unique identifier of an applicant, that is assigned by our system after an applicant object was created with a “Create an applicant” request
An additional number located on a document (e.g. tax ID number located on an ID card)
An issue date of a document in YYYY-MM-DD format
The date of document expiration, formatted according to ISO 8601
A unique identifier of a document file, that is assigned by our system after a file object was created with a “Create a file” request for a specific side (page) of a document
A unique identifier of a document file, that is assigned by our system after a file object was created with a “Create a file” request for a specific side (page) of a document
A unique identifier of a document file, that is assigned by our system after a file object was created with a “Create a file” request for a specific side (page) of a document
A unique identifier of a document file, that is assigned by our system after a file object was created with a “Create a file” request for a specific side (page) of a document
- https://api.kycaid.comhttps://api.kycaid.com/documents
{ "applicant_id": "27c5caea93ee4656881ef9a30fadd21a3768", "type": "DOMESTIC_PASSPORT", "document_number": "TH703318A", "additional_number": "E2100007T-5", "issue_date": "2020-11-04", "expiry_date": "2028-11-04", "issuing_authority": "Social Security Administration", "front_side_id": "27c5caea93ee4656881ef9a30fadd21a3768", "back_side_id": "27c5caea93ee4656881ef9a30fadd21a3768", "other_side_1_id": "27c5caea93ee4656881ef9a30fadd21a3768", "other_side_2_id": "27c5caea93ee4656881ef9a30fadd21a3768", "other_side_3_id": "27c5caea93ee4656881ef9a30fadd21a3768" }
OK
The request was successful, and our system returned an expected response.
{ "document_id": "27c5caea93ee4656881ef9a30fadd21a3768" }