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": 100,
"isIdentityDocument": 100,
"isPublishedOnline": 100,
"firstName": 100,
"lastName": 100,
"expirationDate": 100,
"dateOfBirth": 100,
"matchesDateOfBirth": 100,
"issueDate": 100,
"hasMinimalAge": 100,
"hasMatchingFaceProof": 100,
"nationality": 100,
"documentSubtype": 100,
"isTampered": 100
},
"thresholds": {
"rejectBelow": 100,
"acceptAbove": 100
},
"minimumAgeSettings": {
"defaultMinimumAge": 18,
"locationOverrides": [
{
"country": "US",
"minimumAge": 21
},
{
"country": "US",
"state": "AL",
"minimumAge": 19
}
]
}
},
"addressProof": {
"weights": {
"firstName": 100,
"lastName": 100,
"line1": 100,
"city": 100,
"region": 100,
"postalCode": 100,
"date": 100,
"phone": 100,
"documentSubtype": 100,
"isTampered": 100
},
"thresholds": {
"rejectBelow": 100,
"acceptAbove": 100
}
},
"uiVersion": "1"
}'