Creates a KYC document.
Kyc document resource.
KYC document created.
Location | string <uri> Location of the related resource. Example: "https://api.rebilly.com/example" |
customerId required | string (CustomerId) <= 50 characters Customer resource ID. | ||||||||||||||||||||||||||||||||||||||||
documentType required | string Document type submitted for validation.
Only the | ||||||||||||||||||||||||||||||||||||||||
status required | string Status of the validation.
| ||||||||||||||||||||||||||||||||||||||||
id | string <= 50 characters Unique resource ID. Defaults to UUID v4. | ||||||||||||||||||||||||||||||||||||||||
fileId | string <= 50 characters Deprecated ID of the linked file object. | ||||||||||||||||||||||||||||||||||||||||
fileIds | Array of strings IDs of linked file objects. Uploaded | ||||||||||||||||||||||||||||||||||||||||
documentSubtype | string Document subtype submitted for validation. | ||||||||||||||||||||||||||||||||||||||||
object (KycDocumentRejection) Reason the document is rejected. | |||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||
requestId | string or null <= 50 characters ID of the KYC request. | ||||||||||||||||||||||||||||||||||||||||
createdTime | string <date-time> (CreatedTime) Date and time which is set automatically when the resource is created. | ||||||||||||||||||||||||||||||||||||||||
updatedTime | string <date-time> (UpdatedTime) Date and time which updates automatically when the resource is updated. | ||||||||||||||||||||||||||||||||||||||||
processedTime | string <date-time> Date and time when the KYC document is processed. | ||||||||||||||||||||||||||||||||||||||||
reviewerId | string or null <= 50 characters ID of the KYC document reviewer. | ||||||||||||||||||||||||||||||||||||||||
reviewerName | string or null First and last name of the KYC document reviewer. | ||||||||||||||||||||||||||||||||||||||||
reviewStartTime | string or null <date-time> Date and time when the manual review starts. | ||||||||||||||||||||||||||||||||||||||||
reviewTime | string or null <date-time> Date and time of manual review. | ||||||||||||||||||||||||||||||||||||||||
notes | string or null Reviewer notes. | ||||||||||||||||||||||||||||||||||||||||
Array of objects (Tag) List of KYC document tags. | |||||||||||||||||||||||||||||||||||||||||
Array
| |||||||||||||||||||||||||||||||||||||||||
reason | string Reason for uploading. | ||||||||||||||||||||||||||||||||||||||||
matchLevel | integer [ 1 .. 2 ] Tolerance level setting for document matches. | ||||||||||||||||||||||||||||||||||||||||
object or null Settings used to score the document. | |||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||
revision | integer Number of times the KYC document data has been modified. Use this value when analyzing webhook data to determine if a change must take precedence over the current representation. | ||||||||||||||||||||||||||||||||||||||||
object Proof of identity document matches. | |||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||
object Parsed data. | |||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||
Array of objects Related links. | |||||||||||||||||||||||||||||||||||||||||
object Embedded objects that are requested by the | |||||||||||||||||||||||||||||||||||||||||
Unauthorized access. Invalid credentials used.
Access forbidden.
Invalid data sent.
{- "fileId": "4f6cf35x-2c4y-483z-a0a9-158621f77a21",
- "fileIds": [
- "4f6cf35x-2c4y-483z-a0a9-158621f77a21"
], - "documentType": "identity-proof",
- "documentSubtype": "passport",
- "customerId": "cus_0YV7DDSDD1C8DA64KHH2W33CPF",
- "notes": "string",
- "reason": "string",
- "matchLevel": 2,
- "settings": {
- "weights": {
- "containsImage": 100,
- "isIdentityDocument": 100,
- "isPublishedOnline": 100,
- "firstName": 100,
- "lastName": 100,
- "expirationDate": 100,
- "dateOfBirth": 100,
- "matchesDateOfBirth": 100,
- "issueDate": 100,
- "hasMinimalAge": 100,
- "hasMatchingFaceProof": 100,
- "nationality": 100,
- "documentSubtype": 100
}, - "thresholds": {
- "rejectBelow": 100,
- "acceptAbove": 100
}
}
}
{- "id": "4f6cf35x-2c4y-483z-a0a9-158621f77a21",
- "fileId": "4f6cf35x-2c4y-483z-a0a9-158621f77a21",
- "fileIds": [
- "4f6cf35x-2c4y-483z-a0a9-158621f77a21"
], - "documentType": "identity-proof",
- "documentSubtype": "passport",
- "status": "pending",
- "rejectionReason": {
- "type": "document-unreadable",
- "message": "Provided document is unreadable"
}, - "requestId": "4f6cf35x-2c4y-483z-a0a9-158621f77a21",
- "createdTime": "2019-08-24T14:15:22Z",
- "updatedTime": "2019-08-24T14:15:22Z",
- "processedTime": "2019-08-24T14:15:22Z",
- "customerId": "cus_0YV7DDSDD1C8DA64KHH2W33CPF",
- "reviewerId": "44433322-2c4y-483z-a0a9-158621f77a21",
- "reviewerName": "string",
- "reviewStartTime": "2019-08-24T14:15:22Z",
- "reviewTime": "2019-08-24T14:15:22Z",
- "notes": "string",
- "tags": [
- {
- "id": "4f6cf35x-2c4y-483z-a0a9-158621f77a21",
- "name": "New",
- "type": "customer",
- "createdTime": "2019-08-24T14:15:22Z",
- "updatedTime": "2019-08-24T14:15:22Z",
- "_links": [
- {
- "href": "string",
- "rel": "self"
}
]
}
], - "reason": "string",
- "matchLevel": 2,
- "settings": {
- "weights": {
- "containsImage": 100,
- "isIdentityDocument": 100,
- "isPublishedOnline": 100,
- "firstName": 100,
- "lastName": 100,
- "expirationDate": 100,
- "dateOfBirth": 100,
- "matchesDateOfBirth": 100,
- "issueDate": 100,
- "hasMinimalAge": 100,
- "hasMatchingFaceProof": 100,
- "nationality": 100,
- "documentSubtype": 100
}, - "thresholds": {
- "rejectBelow": 100,
- "acceptAbove": 100
}
}, - "revision": 0,
- "documentMatches": {
- "score": 0.75,
- "data": {
- "containsImage": true,
- "isIdentityDocument": true,
- "isPublishedOnline": false,
- "matchingImages": [
- "string"
], - "firstName": "John",
- "lastName": "Doe",
- "dateOfBirth": "2019-08-24T14:15:22Z",
- "expirationDate": "2019-08-24T14:15:22Z",
- "issueDate": "2019-08-24T14:15:22Z",
- "hasMinimalAge": true,
- "nationality": "US",
- "issuanceCountry": "CA",
- "issuanceRegion": "Ontario",
- "documentNumber": "1234567890",
- "documentSubtype": "passport",
- "hasMatchingFaceProof": false,
- "expiryDate": "2019-08-24T14:15:22Z"
}
}, - "parsedData": {
- "score": 0.75,
- "data": {
- "containsImage": true,
- "isIdentityDocument": true,
- "isPublishedOnline": false,
- "matchingImages": [
- "string"
], - "firstName": "John",
- "lastName": "Doe",
- "dateOfBirth": "2019-08-24T14:15:22Z",
- "expirationDate": "2019-08-24T14:15:22Z",
- "issueDate": "2019-08-24T14:15:22Z",
- "hasMinimalAge": true,
- "nationality": "US",
- "issuanceCountry": "CA",
- "issuanceRegion": "Ontario",
- "documentNumber": "1234567890",
- "documentSubtype": "passport",
- "hasMatchingFaceProof": false,
- "expiryDate": "2019-08-24T14:15:22Z"
}
}, - "_links": [
- {
- "href": "string",
- "rel": "self"
}
], - "_embedded": {
- "customer": { }
}
}