Updates a KYC document with a specified ID.
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.
- Mock serverhttps://www.rebilly.com/_mock/catalog/all/storefront/kyc-documents/{id}
- Sandbox serverhttps://api-sandbox.rebilly.com/organizations/{organizationId}/storefront/kyc-documents/{id}
- Live serverhttps://api.rebilly.com/organizations/{organizationId}/storefront/kyc-documents/{id}
- identity-proof
- address-proof
- funds-proof
- purchase-proof
curl -i -X PATCH \
'https://www.rebilly.com/_mock/catalog/all/storefront/kyc-documents/{id}' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"id": "4f6cf35x-2c4y-483z-a0a9-158621f77a21",
"fileIds": [
"4f6cf35x-2c4y-483z-a0a9-158621f77a21"
],
"documentType": "identity-proof",
"documentSubtype": "passport"
}'KYC document updated.
Total number of rate limit tokens for this request within a rate limit period. For more information, see Rate limits.
Unique resource ID.
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.
- identity-proof
- address-proof
- funds-proof
- purchase-proof
{ "id": "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", "documentMatches": { "version": "2.0", "data": { … } }, "_links": [ { … } ] }