- Create a KYC document
Creates a KYC document.
Kyc document resource.
IDs of linked file objects.
Uploaded identity-proof files must have the following tags attached to be used for KYC purposes: ['kyc', 'id-front'], ['kyc', 'id-back'], ['kyc', 'face-proof'].
Permitted file types for identity-proof files: .jpg, .png, and .pdf.
Document type submitted for validation. Only the identity-proof and address-proof types are analyzed automatically.
Document subtype submitted for validation.
ID of the customer resource.
Document verification level.
| Enum Value | Description |
|---|---|
| 1 | Moderate verification requirements. This option is used for sale transactions. |
| 2 | Strict verification requirements. This option is used for credit transactions. |
| 3 | Basic verification requirements. This option is used when a high level of verification is not required. |
- Mock serverhttps://www.rebilly.com/_mock/catalog/all/kyc-documents
- Sandbox serverhttps://api-sandbox.rebilly.com/organizations/{organizationId}/kyc-documents
- Live serverhttps://api.rebilly.com/organizations/{organizationId}/kyc-documents
- SecretApiKey
- JWT
- identity-proof
- address-proof
- funds-proof
- purchase-proof
- credit-file-proof
curl -i -X POST \
https://www.rebilly.com/_mock/catalog/all/kyc-documents \
-H 'Content-Type: application/json' \
-H 'REB-APIKEY: YOUR_API_KEY_HERE' \
-d '{
"fileIds": [
"file_0YV7HZ7KDCC5WBV9Q7WRKG1H6N"
],
"documentType": "identity-proof",
"documentSubtype": "passport",
"customerId": "cus_0YV7DDSDD1C8DA64KHH2W33CPF",
"notes": "string",
"reason": "string",
"matchLevel": 1,
"settings": {
"weights": {
"containsImage": 100,
"isIdentityDocument": 100,
"isPublishedOnline": 100,
"firstName": 100,
"lastName": 100,
"expirationDate": 100,
"dateOfBirth": 100,
"issueDate": 100,
"hasMinimalAge": 100,
"hasMatchingFaceProof": 100,
"nationality": 100,
"documentSubtype": 100,
"isTampered": 100,
"isPhotocopy": 100,
"mrzChecksum": 100
},
"thresholds": {
"rejectBelow": 100,
"acceptAbove": 100
},
"minimumAgeSettings": {
"defaultMinimumAge": 18,
"locationOverrides": [
{
"country": "US",
"minimumAge": 21
},
{
"country": "US",
"state": "AL",
"minimumAge": 19
}
]
}
}
}'KYC document created.
Total number of rate limit tokens for this request within a rate limit period. For more information, see Rate limits.
ID of the KYC document.
IDs of linked file objects.
Uploaded identity-proof files must have the following tags attached to be used for KYC purposes: ['kyc', 'id-front'], ['kyc', 'id-back'], ['kyc', 'face-proof'].
Permitted file types for identity-proof files: .jpg, .png, and .pdf.
Document type submitted for validation. Only the identity-proof and address-proof types are analyzed automatically.
Document subtype submitted for validation.
Status of the validation.
| Enum Value | Description |
|---|---|
| pending | Waiting to be reviewed or analyzed. |
| in-progress | Being analyzed by the Rebilly AI. |
| accepted | Accepted by AI or a human. |
| rejected | Rejected by AI or a human. |
| archived | Archived by the Rebilly AI. |
ID of the KYC request.
Date and time when the resource is created. This value is set automatically when the resource is created.
Date and time when the resource is updated. This value is set automatically when the resource is updated.
ID of the customer resource.
ID of the KYC document reviewer.
Document verification level.
| Enum Value | Description |
|---|---|
| 1 | Moderate verification requirements. This option is used for sale transactions. |
| 2 | Strict verification requirements. This option is used for credit transactions. |
| 3 | Basic verification requirements. This option is used when a high level of verification is not required. |
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.
- identity-proof
- address-proof
- funds-proof
- purchase-proof
- credit-file-proof
{ "id": "kyc_doc_0YV7JHY705C6DA487BFTAA33V8", "fileIds": [ "file_0YV7HZ7KDCC5WBV9Q7WRKG1H6N" ], "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": [ { … } ], "reason": "string", "matchLevel": 1, "revision": 0, "documentMatches": { "version": "2.0", "score": 75, "checkList": [ … ], "data": { … } }, "parsedData": { "version": "2.0", "score": 75, "checkList": [ … ], "data": { … } }, "settings": { "weights": { … }, "thresholds": { … }, "minimumAgeSettings": { … } }, "_links": [ { … } ], "_embedded": { "customer": {}, "files": [] } }