Skip to navigation

KYC and AML screenings

The Screenings endpoints start and resubmit Know Your Customer (KYC) verification, and read the latest KYC and Anti-Money Laundering (AML) results. KYC confirms a worker’s identity from an identity document. AML screening checks a person or legal entity against politically exposed person (PEP), sanctions, and adverse media sources.

How KYC verification works

The worker submits an identity document through Veriff, Deel’s automated verification provider. Manual verification is the fallback for a document whose issuing country Veriff doesn’t support, or after automated verification fails multiple times.

The flowchart shows the order of the KYC calls, from choosing the verification method to reading the result.

automated verification failsmultiple times GET /screenings/verification-method POST /veriff/session Worker completes the flow at thereturned url POST /screenings/manual-verification kyc_status changes profile.kyc.changed webhook GET /screenings/kyc/details
EndpointToken and scopesWhat it does
GET /screenings/verification-methodWorker: screenings:read, worker:readReturns the KYC method supported for a document’s issuing country and document_type, for example veriff.
POST /veriff/sessionWorker: screenings:write, worker:writeStarts a Veriff session and returns the url to redirect the worker to.
POST /screenings/manual-verificationWorker: worker:writeSubmits document images and a selfie with the ID for manual review.
POST /screenings/kyc/externalWorker: worker:writeSubmits an identity check run outside Deel, with its screening_status (approved or rejected), the worker’s details, and document images.
GET /screenings/kyc/detailsscreenings:readReturns one worker’s kyc_status, document type, and submission, approval, rejection, and expiration dates.

operation_type sets the KYC operation for a Veriff session or a manual verification: IDENTITY_VERIFICATION_KYC, IDENTITY_RESUBMISSION_KYC, or NAME_CHANGE_KYC. A Veriff session also accepts EMAIL_CHANGE_KYC. For NAME_CHANGE_KYC, send the new name in user_input.

GET /screenings/kyc/details takes one of worker_profile_id or profile_id:

  • worker_profile_id is the worker’s Human Resource Information System (HRIS) profile ID, the id from GET /people.
  • profile_id is the worker’s profile ID, which the profile.kyc.changed payload also carries.

Add contract_id, from GET /contracts, when the worker has more than one profile.

In the Embedded model, your platform calls the worker endpoints with a worker token (Full Embedded) or sends the worker to Deel’s hosted flow with a magic link. See Authentication and Getting started.

KYC statuses

The table lists the kyc_status values that GET /screenings/kyc/details returns.

StatusMeaning
NOT_REQUESTEDKYC hasn’t been requested for this profile.
PENDING_REVIEWThe worker submitted a document and it’s under review.
APPROVEDThe identity is verified. approval_date is set.
REJECTEDVerification failed. rejection_date is set.
EXPIREDThe approved verification is past its expiration_date.

The endpoint also returns NOT_SUBMITTED and EXPIRING_SOON.

To track changes without polling, subscribe to the profile.kyc.changed webhook. Its payload carries a kyc_status and the profile_id. See Webhooks.

AML results

GET /screenings/aml/{entity_type}/{entity_id} returns the most recent AML screening for an entity, with an organization token and the screenings:read scope. Set entity_id to match entity_type:

entity_typeentity_id
hris_profileThe worker’s HRIS profile ID, the id from GET /people
legal_entityThe legal entity id from GET /legal-entities

entity_type also accepts profile.

Example AML result
{
"result": "REFERRED",
"entity_id": "3f6c2a9e-8b4d-4e71-9a0c-5d2e7b1f4c86",
"entity_type": "profile",
"detailed_results": {
"pep": "PASS",
"sanctions": "PASS",
"adverse_media": "FAIL"
}
}
resultMeaning
ACCEPTThe screening passed.
REJECTThe screening failed.
REFERREDThe screening is pending further review.

result can also be PENDING.

Each check in detailed_results is PASS or FAIL. No webhook event reports AML changes.

Next steps