Creates a KYC request.
The customer is redirected to the kycGatherer
link.
After the customer completes the KYC process,
they are redirected back to the redirectUrl
link.
Corresponding webhooks, such as: KYC document accepted and KYC document rejected, are sent to the subscribers.
When the complete list of documents is received and accepted, the KYC request fulfilled webhook is sent to subscribers.
If a credit-file-proof
request is successful,
it returns a decision
value of single-source
or dual-source
.
The corresponding identity-proof
and address-proof
documents are not requested.
KYC request resource.
KYC request created.
Location | string <uri> Location of the related resource. Example: "https://api.rebilly.com/example" |
Unauthorized access. Invalid credentials used.
Access forbidden.
Invalid data sent.
In the sandbox environment, to mark a credit-file-proof
KYC document as accepted
,
pass the customer's first name to the accept
field.
If an incorrect first name is passed, the document is rejected.
{- "customerId": "123_456789",
- "documents": [
- {
- "type": "credit-file-proof",
- "maxAttempts": 1
}, - {
- "type": "identity-proof"
}, - {
- "type": "address-proof"
}
], - "reason": "registration"
}
{- "id": "4f6cf35x-2c4y-483z-a0a9-158621f77a21",
- "customerId": "cus_0YV7DDSDD1C8DA64KHH2W33CPF",
- "documents": [
- {
- "type": "identity-proof",
- "subtypes": [
- "passport"
], - "maxAttempts": 3,
- "faceProofRequired": true
}
], - "status": "gathering",
- "reason": "spend limit",
- "matchLevel": 2,
- "revision": 0,
- "expirationTime": "2019-08-24T14:15:22Z",
- "createdTime": "2019-08-24T14:15:22Z",
- "updatedTime": "2019-08-24T14:15:22Z",
- "_links": [
- {
- "href": "string",
- "rel": "self"
}
], - "_embedded": {
- "documents": [ ]
}
}