Document subtype restrictions for an organization and the websites associated with it. Proof type keys are identityProof, addressProof, fundsProof, and purchaseProof. This object does not include credit-file-proof because it has no subtypes. Restrictions at the organization level apply by default. A website overrides the organization restrictions for a proof type when prohibitedSubtypes is specified.
Security
SecretApiKey or JWT
One of:
- Mock serverhttps://www.rebilly.com/_mock/catalog/all/kyc-settings
- Sandbox serverhttps://api-sandbox.rebilly.com/organizations/{organizationId}/kyc-settings
- Live serverhttps://api.rebilly.com/organizations/{organizationId}/kyc-settings
curl -i -X PUT \
https://www.rebilly.com/_mock/catalog/all/kyc-settings \
-H 'Content-Type: application/json' \
-H 'REB-APIKEY: YOUR_API_KEY_HERE' \
-d '{
"identityProof": {
"weights": {
"containsImage": 0,
"isIdentityDocument": 0,
"isPublishedOnline": 0,
"firstName": 0,
"lastName": 0,
"expirationDate": 0,
"dateOfBirth": 0,
"issueDate": 0,
"hasMinimalAge": 0,
"hasMatchingFaceProof": 0,
"nationality": 0,
"documentSubtype": 0,
"isTampered": 0,
"isPhotocopy": 0,
"mrzChecksum": 0,
"documentNumber": 0,
"issuanceCountry": 0,
"issuanceRegion": 0
},
"thresholds": {
"rejectBelow": 0,
"acceptAbove": 0
},
"minimumAgeSettings": {
"defaultMinimumAge": 18,
"locationOverrides": [
{
"country": "US",
"minimumAge": 21
},
{
"country": "US",
"state": "AL",
"minimumAge": 19
}
]
},
"faceProofSettings": {
"minimumBrightness": 40
}
},
"addressProof": {
"weights": {
"firstName": 0,
"lastName": 0,
"line1": 0,
"city": 0,
"region": 0,
"postalCode": 0,
"date": 0,
"phone": 0,
"documentSubtype": 0,
"isTampered": 0
},
"thresholds": {
"rejectBelow": 0,
"acceptAbove": 0
}
},
"scopedKycSettings": {
"identityProof": {
"prohibitedSubtypes": {
"driver-license": {}
}
},
"addressProof": {
"prohibitedSubtypes": {
"income-statement": {}
}
},
"websiteOverrides": [
{
"websiteIds": [
"web_abc"
],
"identityProof": {
"prohibitedSubtypes": {
"public-health-card": {
"when": {
"faceProofRequired": false
}
},
"birth-certificate": {}
}
}
}
]
},
"uiVersion": "1"
}'Headers
Maximum number of requests available at one time for this rate limit. For more information, see Rate limits.
Example:500
Number of requests still available for this rate limit. For more information, see Rate limits.
Example:499
One of:
Document subtype restrictions for an organization and the websites associated with it. Proof type keys are identityProof, addressProof, fundsProof, and purchaseProof. This object does not include credit-file-proof because it has no subtypes. Restrictions at the organization level apply by default. A website overrides the organization restrictions for a proof type when prohibitedSubtypes is specified.
Response
{ "identityProof": { "weights": { … }, "thresholds": { … }, "minimumAgeSettings": { … }, "faceProofSettings": { … } }, "addressProof": { "weights": { … }, "thresholds": { … } }, "scopedKycSettings": { "identityProof": { … }, "addressProof": { … }, "websiteOverrides": [ … ] }, "uiVersion": "1" }