Use these operations to access Storefront KYC documents.
Storefront operations interact directly with the customer, and provide the customer with access to their own data.
To use Storefront operations, the customer must be issued a JWT with limited permissions. For more information, see Create a session with username and password and Exchange an authentication token. Storefront operations are intended to be used directly from an untrusted browser.
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.
- Mock serverhttps://www.rebilly.com/_mock/catalog/all/storefront/kyc-documents
- Sandbox serverhttps://api-sandbox.rebilly.com/organizations/{organizationId}/storefront/kyc-documents
- Live serverhttps://api.rebilly.com/organizations/{organizationId}/storefront/kyc-documents
- identity-proof
- address-proof
- funds-proof
- purchase-proof
curl -i -X POST \
https://www.rebilly.com/_mock/catalog/all/storefront/kyc-documents \
-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 created.
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": [ { … } ] }