KYC

📘 KYC APIs (v2.0)

Base URL:

http://127.0.0.1:8000/api/v2.0/taas/

Authentication:

API-KEY: <your-api-key>

🔐 KYC Flow Overview

  1. Initiate KYC Session

  2. Submit Documents (Number / File)

  3. Upload Selfie

  4. Fetch KYC Status

  5. Cleanup (optional)


🚀 1. Initiate KYC

Endpoint

Description

Starts a new KYC session for a given account.


Request


Response


🔍 2. Get KYC Info

Endpoint

Description

Fetch complete KYC details including submitted documents and verification status.


Request


Response


🧹 3. Cleanup KYC

Endpoint

Description

Deletes KYC sessions and related data for an account.


Request


Response


📄 4. Submit Document (Number-based)

Endpoint

Description

Submit document details (no file upload).


🔹 Supported Document Types

  • pan

  • passport

  • driving_license

  • voter_id


📌 Example: PAN


📌 Example: Passport


📌 Example: Driving License


📌 Example: Voter ID


Response


📂 5. Submit Document Files

Endpoint

Description

Upload document images or XML for verification.


🔹 File Types Supported

  • image

  • pdf

  • xml


📌 Example: PAN Upload


📌 Example: Driving License (Front + Back)


📌 Example: Aadhaar XML


Aadhaar XML Response


📌 Example: Selfie Upload


Selfie Response


📌 Notes

  • kyc_session_id is required for all document submissions

  • Face matching is triggered after selfie upload

  • Aadhaar XML is auto-verified if valid

Last updated

Was this helpful?