Skip to content

Start a KYC check

POST/v1/kyc/checks

Requires an API client bearer token.

Opens a verification case for a cardholder in `collecting`, pinned to the programme's active policy version. Requires an Idempotency-Key header. The case advances once the required applicant data and signals are in place; a check whose flow requires nothing is evaluated at once; completion is signalled via the kyc.check.completed event. Accepts an optional `flow_key` selector (default 'default'), pinning the case to that flow's policy lineage ONCE, at creation; an unknown key 400s `unknown_flow` before any storage is touched, so the Idempotency-Key is never consumed by a rejected flow. The cardholder must belong to the named programme in the caller's tenant and mode; otherwise 404, the same answer an unknown cardholder gets.

Parameters

Header parameters

NameRequiredDescription
Idempotency-Keyrequired

Client-chosen. An identical retry with the same key returns the stored response; reusing the key with a different payload returns 409.

Request body

cardholder_idstringrequired
programme_idstring (uuid)
level"basic" | "enhanced"
flow_keystring

Example

curl -X POST https://api.rigid.fi/v1/kyc/checks \
  -H "Authorization: Bearer $RIGID_API_TOKEN" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{
  "cardholder_id": "string"
}'

Responses

201

Check started (pending).

idstringrequired
cardholder_idstringrequired
state"pending" | "in_review" | "passed" | "failed" | "expired"required
completed_atstring | nullrequired
created_atstringrequired
expires_atstring | nullrequired
reason_codesarray of string
awaitingarray of string

The applicant-facing step(s) the check is still waiting on: `details`, `document`, `selfie`, `proof_of_address` (a workflow level's proof-of-address upload), `recapture` or the advisory `chip`. Append-only vocabulary; omitted when nothing is outstanding.

document_type"passport" | "national_id" | "residence_permit" | "driving_licence"
flow_keystringrequired
tagsarray of stringrequired
400

Validation error

typestringrequired
titlestringrequired
statusintegerrequired
detailstring
instancestring
401

Authentication required

typestringrequired
titlestringrequired
statusintegerrequired
detailstring
instancestring
403

Forbidden

typestringrequired
titlestringrequired
statusintegerrequired
detailstring
instancestring
404

No such cardholder in this programme (the caller's tenant and mode)

typestringrequired
titlestringrequired
statusintegerrequired
detailstring
instancestring
409

Idempotency-Key reused with a different payload

typestringrequired
titlestringrequired
statusintegerrequired
detailstring
instancestring
429

Too many KYC writes from this caller — see Retry-After

typestringrequired
titlestringrequired
statusintegerrequired
detailstring
instancestring
500

Internal server error

typestringrequired
titlestringrequired
statusintegerrequired
detailstring
instancestring
502

The cardholder could not be checked against cards; nothing was opened

typestringrequired
titlestringrequired
statusintegerrequired
detailstring
instancestring