Direct KY enrollment (server-to-server)
Submit a KYC/KYB enrollment server-to-server. Payment import (PNET/carding): omit externalUserId when sending email, payment data/writeRules — Safe resolves or creates the dossier by trusted email (requires scope=profile journey). Default (submit omitted or true): direct finalization with documents (requires existing externalUserId). submit:false: profile trusted bootstrap — auto-generates externalUserId, returns chatbot URLs. SMS/email verification prerequisites depend on the journey configuration.
Authorization
x-api-key<token>In: header
Request Body
application/jsonOptionalexternalUserIdstringExternal user identifier. Omit for email-only payment import (Safe derives from email).
submitbooleanWhen false, profile trusted bootstrap (chatbot flow). Default true (direct submit).
emailstringContact email (mandatory when journey emailMode=trusted or payment import)
"email"trustedEmailbooleanPartner-trusted email (default true on payment import)
telephonestringPhone number (mandatory when journey smsMode=trusted)
languagestringUI language code (e.g. fr, en)
writeRulesobjectPer-path write semantics for payment import (e.g. indexed payment.transactions)
dataobjectUserdata key/value persisted on ky_customer (profile., payment., marketing.*)
companyRegistrationNumberstringSIREN number (9 digits, KYB)
"^[0-9]{9}$"journeyIdintegerJourney ID (required when multiple active journeys)
webhookUrlstringHTTPS URL for KY status webhooks
"uri"acceptTermsbooleanCGV acceptance (when required by journey/legal config)
acceptPrivacybooleanPrivacy policy acceptance (when required by journey/legal config)
[key: string]anyDefault Response