GET /customers/:id/kyc/validation
Check the customer's saved profile against the rules POST /customers/:id/kyc/submit enforces, without submitting it. Use it to review a draft before you submit: save the profile with PUT /customers/:id/kyc/profile, then read this endpoint.
The checks are the ones submit runs before anything is filed: required fields, formats, and required documents, for individuals (KYC) and businesses (KYB) alike. For a business, the associated persons' identity documents are also checked to make sure each one can be read and is within the accepted size range.
Nothing is saved or filed, and the verification status does not change. A customer with no saved profile validates as an empty one, so every required field is listed.
Passing validation means submit will accept the profile. Compliance review can still ask for more after submission through a request for information.
Response 200
Returned whether or not the profile passes.
| Field | Type | Notes |
|---|---|---|
valid | boolean | true when submit would accept the saved profile as it stands. |
missing | array of string | Dotted paths of required fields the profile is missing. The same list a failed submit carries in its 422. |
violations | array of object | Fields that are present but fail a check, each with field, a stable reason slug, and a description. The same entries a failed submit carries. |
A profile that passes:
{
"valid": true,
"missing": [],
"violations": []
}A profile that does not:
{
"valid": false,
"missing": [
"identity.date_of_birth",
"addresses.residential.postal_code"
],
"violations": [
{
"field": "contact.phone",
"reason": "invalid_format",
"description": "Use E.164 format: + followed by 8–15 digits, for example +14155552671."
}
]
}Required fields are evaluated as of the request. A requirement announced in the changelog with a future effective date is reported from that date onwards.
Errors
404: unknown customer id (or the customer belongs to a different org).
Example
curl "$SEISMIC_ORCHESTRATION_URL/v0/customers/$CUSTOMER_ID/kyc/validation" \
-H "Api-Key: $SEISMIC_ORCHESTRATION_API_KEY"