Maximum number of requests available at one time for this rate limit. For more information, see Rate limits.
Accepts a KYC document and changes the documents status to accepted. The review time and reviewer information is also updated.
Note: Use this operation for manual overrides.
Security
SecretApiKey or JWT
- Mock serverhttps://www.rebilly.com/_mock/catalog/all/kyc-documents/{id}/acceptance
- Sandbox serverhttps://api-sandbox.rebilly.com/organizations/{organizationId}/kyc-documents/{id}/acceptance
- Live serverhttps://api.rebilly.com/organizations/{organizationId}/kyc-documents/{id}/acceptance
curl -i -X POST \
'https://www.rebilly.com/_mock/catalog/all/kyc-documents/{id}/acceptance' \
-H 'REB-APIKEY: YOUR_API_KEY_HERE'Headers
Number of requests still available for this rate limit. For more information, see Rate limits.
Example:499
Example:"kyc_doc_0YV7JHY705C6DA487BFTAA33V8"
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.
Enum:"identity-proof""address-proof""funds-proof""purchase-proof""credit-file-proof"
Discriminator
Enum:"passport""id-card""driver-license""birth-certificate""utility-bill""rental-receipt""lease-agreement""copy-credit-card""credit-card-statement""bank-statement"
| Enum Value | Description |
|---|---|
| pending | |
| in-progress | |
| accepted | |
| rejected | |
| archived |
Example:"4f6cf35x-2c4y-483z-a0a9-158621f77a21"
Example:"cus_0YV7DDSDD1C8DA64KHH2W33CPF"
Example:"44433322-2c4y-483z-a0a9-158621f77a21"
Default:2
| Enum Value | Description |
|---|---|
| 1 | |
| 2 | |
| 3 |
Response
{ "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": { … }, "faceProofSettings": { … } }, "_links": [ { … } ], "_embedded": { "customer": {}, "files": [] } }