Identity Checks#

An Identity Check represents an individual identity verification result within a Verification Report. Each check validates a specific aspect of the applicant's identity.

The Identity Check object#

AttributeTypeDescription
idstringUnique identifier with idc_ prefix
objectstringAlways "identity_check"
sessionstringAssociated Verification Session ID
check_typeenumdocument_verification, selfie_match, address_verification, watchlist_screening
statusenumpending, passed, failed, inconclusive
resultobjectCheck-specific results
createdtimestampTime at which the check was created
{
  "id": "idc_abc123",
  "object": "identity_check",
  "session": "vs_1a2b3c4d5e6f",
  "check_type": "document_verification",
  "status": "passed",
  "result": {
    "document_type": "passport",
    "document_country": "GB",
    "first_name": "Jane",
    "last_name": "Doe",
    "date_of_birth": "1990-05-15",
    "expiry_date": "2030-03-15",
    "authenticity_score": 0.99,
    "tamper_detection": "clear"
  },
  "created": 1706140800
}

Retrieve an Identity Check#

GET /v1/identity_checks/:id

curl https://api.casapay.com/v1/identity_checks/idc_abc123 \
  -H "Authorization: Bearer sk_test_4eC39HqLyjWDarjtT1zdp7dc"

List Identity Checks#

GET /v1/identity_checks

ParameterTypeDescription
sessionstringFilter by Verification Session ID
check_typestringFilter by check type
statusstringFilter by status
curl https://api.casapay.com/v1/identity_checks?session=vs_1a2b3c4d5e6f \
  -H "Authorization: Bearer sk_test_4eC39HqLyjWDarjtT1zdp7dc"