leapcat-kyc
Original:🇺🇸 English
Translated
Guide users through KYC verification on Leapcat. Covers document upload, personal information submission, agreements, and status polling via the leapcat CLI.
18installs
Added on
NPX Install
npx skill4agent add leapcat-ai/leapcat-skills leapcat-kycTags
Translated version includes tags in frontmatterSKILL.md Content
View Translation Comparison →LeapCat KYC Verification Skill
Guide a user through the full Know Your Customer (KYC) verification process using the leapcat. Covers document upload, personal information submission, agreements, and status polling.
Prerequisites
- Node.js 18+ is required (commands use which auto-downloads the CLI)
npx leapcat@latest - User must be authenticated — run first
npx leapcat@latest auth login --email <email> - Identity document images (e.g., passport, national ID) must be available as local files
Commands
upload (file upload utility)
Upload an image file and receive a URL + key for use in subsequent KYC commands.
bash
npx leapcat@latest upload --file <path-to-file> --jsonParameters:
- — Path to a local image file (JPG, PNG, PDF)
--file <path>
Response:
json
{ "url": "https://...", "key": "uploads/..." }kyc status
Check the current KYC verification status.
bash
npx leapcat@latest kyc status --jsonkyc detail
Get detailed KYC information including submitted data and review notes.
bash
npx leapcat@latest kyc detail --jsonkyc consent
Submit user consent to begin the KYC process.
bash
npx leapcat@latest kyc consent --jsonkyc documents
Submit identity document information (type, URLs from upload).
bash
npx leapcat@latest kyc documents --jsonParameters (interactive or via stdin):
- Document type (e.g., PASSPORT, NATIONAL_ID)
- Front image URL (from command)
upload - Back image URL (from command, if applicable)
upload
kyc personal-info
Submit personal information (name, date of birth, address, etc.).
bash
npx leapcat@latest kyc personal-info --jsonkyc supplementary
Submit supplementary documents if requested during review.
bash
npx leapcat@latest kyc supplementary --jsonkyc agreements
Accept the required legal agreements and disclosures.
bash
npx leapcat@latest kyc agreements --jsonkyc submit
Submit the completed KYC application for review.
bash
npx leapcat@latest kyc submit --jsonWorkflow
- Check status — Run to see where the user is in the KYC process.
kyc status --json - Consent — If status is , run
NOT_STARTEDto begin.kyc consent --json - Upload documents — Upload each identity document image:
bash
npx leapcat@latest upload --file ./id-front.jpg --json npx leapcat@latest upload --file ./id-back.jpg --json - Submit document metadata — Run and provide the document type and uploaded URLs.
kyc documents --json - Personal information — Run and fill in user details.
kyc personal-info --json - Supplementary documents (optional) — If the KYC status indicates supplementary docs are needed, upload and submit via .
kyc supplementary --json - Agreements — Run to accept legal terms.
kyc agreements --json - Submit for review — Run to finalize the application.
kyc submit --json - Poll status — Periodically run until the status changes to
kyc status --jsonorAPPROVED.REJECTED
Error Handling
| Error | Cause | Resolution |
|---|---|---|
| Session expired | Re-authenticate with |
| KYC application already under review | Wait for review; check with |
| KYC already completed | No action needed — user is verified |
| Uploaded file is unreadable or wrong format | Re-upload with a clearer image |
| Required personal info fields are empty | Re-run |
| File upload error | Retry |