Create a KYC Request.
Then, redirect the customer to the kycGatherer
link.
After the customer completes the KYC process, they will be redirected back to the redirectUrl
.
Corresponding webhooks (such as KYC document accepted, KYC document rejected) are sent to webhooks subscribers.
When the complete list of documents is received and accepted, the KYC request fulfilled webhook will be sent to subscribers.
If a credit-file-proof
is successful with the decision single-source
or dual-source
, then corresponding identity-proof
and address-proof
documents are not requested.
KYC request resource.
KYC request was created.
Location | string <uri> The location of the related resource. Example: "https://api.rebilly.com/example" |
required | Array of objects (KycRequestDocuments) Documents to request from the customer. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Array
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
customerId required | string (CustomerId) <= 50 characters The customer resource ID. Defaults to UUID v4. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
id | string <= 50 characters The resource ID. Defaults to UUID v4. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
status | string Status of the request.
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
redirectUrl | string <uri> The URL to redirect the customer when an upload is completed.
When the customer is redirected, Rebilly will append an
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
expirationTime | string <date-time> Expiration date-time. Default value is one hour in the future. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
createdTime | string <date-time> Creation date-time. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
updatedTime | string <date-time> (UpdatedTime) Read-only timestamp updates when the resource is updated. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
reason | string Reason for uploading. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
matchLevel | integer [ 1 .. 2 ] Default: 2 The level of strictness for the document matches.
The value of | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
revision | integer The number of times the KYC request data has been modified. The revision is useful when analyzing webhook data to determine if the change takes precedence over the current representation. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Array of Self (object) or KycDocumentsLink (object) or KycGathererLink (object) non-empty The links related to the resource. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
object Any embedded objects available that are requested by the | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Unauthorized access, invalid credentials were used.
Access forbidden.
Invalid data was sent.
{- "customerId": "123_456789",
- "documents": [
- {
- "type": "credit-file-proof",
- "maxAttempts": 1
}, - {
- "type": "identity-proof"
}, - {
- "type": "address-proof"
}
], - "reason": "registration"
}
{- "id": "4f6cf35x-2c4y-483z-a0a9-158621f77a21",
- "documents": [
- {
- "type": "identity-proof",
- "subtypes": [
- "passport"
], - "maxAttempts": 3,
- "faceProofRequired": true
}
], - "status": "gathering",
- "expirationTime": "2019-08-24T14:15:22Z",
- "createdTime": "2019-08-24T14:15:22Z",
- "updatedTime": "2019-08-24T14:15:22Z",
- "customerId": "4f6cf35x-2c4y-483z-a0a9-158621f77a21",
- "reason": "spend limit",
- "matchLevel": 2,
- "revision": 0,
- "_links": [
- {
- "rel": "self",
- "href": "string"
}
], - "_embedded": {
- "documents": [
- {
- "documentType": "string"
}
]
}
}