Skip to content
ERPDocs
ERPDocs Verify · Early access

Verification APIs, one at a time

Call only what you need. Every API has a free sandbox with fixed test identifiers. Live calls are paid from prepaid credits, with a GST invoice.

GSTIN lookup

Check a supplier or customer's GST registration: legal name, status, address, registration date.

Sandbox only
Endpoint
POST /api/v1/verify/gstin
Price
Price on request
Sandbox
Free. Test with 27ABCDE1234F1Z0.

What you send

{
  "gstin": "27ABCDE1234F1Z0",
  "purpose": "kyb_vendor_onboarding",
  "name": "Sandbox Traders Pvt Ltd",
  "reference_id": "vendor-42"
}

What you get back sandbox response, produced by the same code as live

{
  "object": "verification",
  "id": "7f3c2a9e-5b1d-4c8e-9a40-1d2e3f4a5b6c",
  "type": "gstin",
  "source": "apisetu.gstin",
  "environment": "sandbox",
  "status": "completed",
  "purpose": "kyb_vendor_onboarding",
  "reference_id": "vendor-42",
  "created_at": "2026-10-01T10:30:00Z",
  "completed_at": "2026-10-01T10:30:02Z",
  "result": {
    "found": true,
    "gstin": "27ABCDE1234F1Z0",
    "status": "active",
    "legal_name": "Sandbox Traders Private Limited",
    "trade_name": "Sandbox Traders",
    "registration_date": "2019-07-01",
    "state_code": "27",
    "constitution": "Private Limited Company",
    "taxpayer_type": "Regular",
    "address": "Plot 4, MIDC, Pune, Maharashtra 411019",
    "details": "full",
    "details_until": "2026-10-01T10:45:02Z",
    "match": {
      "name": 100
    }
  }
}

Udyam lookup

Confirm an MSME's Udyam registration and category before you onboard it or apply MSME terms.

Sandbox only
Endpoint
POST /api/v1/verify/udyam
Price
Price on request
Sandbox
Free. Test with UDYAM-MH-00-0000001.

What you send

{
  "udyam_number": "UDYAM-MH-00-0000001",
  "purpose": "kyb_vendor_onboarding",
  "name": "Sandbox Traders Pvt Ltd",
  "reference_id": "vendor-42"
}

What you get back sandbox response, produced by the same code as live

{
  "object": "verification",
  "id": "7f3c2a9e-5b1d-4c8e-9a40-1d2e3f4a5b6c",
  "type": "udyam",
  "source": "apisetu.udyam",
  "environment": "sandbox",
  "status": "completed",
  "purpose": "kyb_vendor_onboarding",
  "reference_id": "vendor-42",
  "created_at": "2026-10-01T10:30:00Z",
  "completed_at": "2026-10-01T10:30:02Z",
  "result": {
    "found": true,
    "udyam_number": "UDYAM-MH-00-0000001",
    "status": "active",
    "enterprise_name": "Sandbox Traders Private Limited",
    "category": "Micro",
    "major_activity": "Services",
    "state": "Maharashtra",
    "registered_on": "2021-02-15",
    "details": "full",
    "details_until": "2026-10-01T10:45:02Z",
    "match": {
      "name": 100
    }
  }
}

PAN lookup

Check that a PAN is valid and that the name you hold matches it. The name on PAN is not returned, only the score.

Sandbox only
Endpoint
POST /api/v1/verify/pan
Price
Price on request
Sandbox
Free. Test with ABCPD0001E.

What you send

{
  "pan": "ABCPD0001E",
  "purpose": "kyb_vendor_onboarding",
  "name": "Sandbox Subject",
  "reference_id": "vendor-42"
}

What you get back sandbox response, produced by the same code as live

{
  "object": "verification",
  "id": "7f3c2a9e-5b1d-4c8e-9a40-1d2e3f4a5b6c",
  "type": "pan",
  "source": "apisetu.pan",
  "environment": "sandbox",
  "status": "completed",
  "purpose": "kyb_vendor_onboarding",
  "reference_id": "vendor-42",
  "created_at": "2026-10-01T10:30:00Z",
  "completed_at": "2026-10-01T10:30:02Z",
  "result": {
    "found": true,
    "pan_masked": "ABCPD****E",
    "status": "valid",
    "pan_type": "individual",
    "details": "full",
    "details_until": "2026-10-01T10:45:02Z",
    "match": {
      "name": 100
    }
  }
}

The name on PAN is never returned. You get a match score against the name you send.

DigiLocker documents

A person shares PAN, driving licence or degree records from DigiLocker with their consent. You get each document once, plus match scores. Aadhaar is optional and only ever masked.

Live
Endpoint
POST /api/v1/verify/sessions
Price
₹3.00 per session · ₹3.00 per extra document plus GST, from prepaid credits
Sandbox
Free. A test page lets you allow or deny, no government sign-in.

What you send

{
  "source": "digilocker",
  "documents": [
    "PANCR",
    {
      "type": "ADHAR",
      "required": false
    }
  ],
  "purpose": "employee_onboarding_identity",
  "subject_hint": {
    "name": "Priya Sharma",
    "dob": "1994-03-12"
  },
  "redirect_url": "https://hr.example.in/onboarding/done",
  "reference_id": "hire-4821"
}

What you get back sandbox response, produced by the same code as live

{
  "object": "verification_session",
  "id": "5e8d1c2b-3a4f-4b6c-8d9e-0f1a2b3c4d5e",
  "source": "digilocker",
  "environment": "sandbox",
  "status": "completed",
  "purpose": "employee_onboarding_identity",
  "reference_id": "hire-4821",
  "error_code": null,
  "documents_requested": [
    {
      "type": "PANCR",
      "required": true
    }
  ],
  "created_at": "2026-10-01T10:30:00Z",
  "expires_at": "2026-10-01T10:45:00Z",
  "completed_at": "2026-10-01T10:30:02Z",
  "results": [
    {
      "id": "res_01",
      "doc_type": "PANCR",
      "issuer": "Income Tax Department",
      "issuer_signature_valid": null,
      "document_sha256": "4405042c7eab561902ed10f8fcebf9356ee944ef783188df7197f6ed21ee7be2",
      "fields": {
        "pan_masked": "ABCPD****E"
      },
      "details": "masked",
      "details_until": null,
      "match": {
        "name": 100,
        "dob": true
      },
      "document": {
        "available": true,
        "expires_at": "2026-10-01T10:45:02Z",
        "download_path": "/api/v1/verify/sessions/5e8d1c2b-3a4f-4b6c-8d9e-0f1a2b3c4d5e/documents/res_01",
        "delivered_at": null
      }
    }
  ]
}

The person sees a consent screen and approves on DigiLocker. You download each document once within 15 minutes; ERPDocs keeps no copy. PDFs report issuer_signature_valid: null: their transport is checked, not the issuer's signature.

Entity Locker documents

A business shares its GST, incorporation or Udyam certificate from Entity Locker with its consent. You get each document once and a match score against the name you expected.

Live
Endpoint
POST /api/v1/verify/sessions
Price
₹3.00 per session plus GST, from prepaid credits
Sandbox
Free. A test page lets you allow or deny, no government sign-in.

What you send

{
  "source": "entitylocker",
  "documents": [
    "GSTIN_CERT",
    "UDYAM_CERT"
  ],
  "purpose": "kyb_vendor_onboarding",
  "subject_hint": {
    "name": "Sandbox Traders Private Limited"
  },
  "redirect_url": "https://erp.example.in/vendors/42",
  "reference_id": "vendor-42"
}

What you get back sandbox response, produced by the same code as live

{
  "object": "verification_session",
  "id": "5e8d1c2b-3a4f-4b6c-8d9e-0f1a2b3c4d5e",
  "source": "entitylocker",
  "environment": "sandbox",
  "status": "completed",
  "purpose": "kyb_vendor_onboarding",
  "reference_id": "vendor-42",
  "error_code": null,
  "documents_requested": [
    {
      "type": "GSTIN_CERT",
      "required": true
    }
  ],
  "created_at": "2026-10-01T10:30:00Z",
  "expires_at": "2026-10-01T10:45:00Z",
  "completed_at": "2026-10-01T10:30:02Z",
  "results": [
    {
      "id": "res_01",
      "doc_type": "GSTIN_CERT",
      "issuer": "GSTN",
      "issuer_signature_valid": null,
      "document_sha256": "167f1e5ac42f1465e27a90948a066b4b6665268b2b8a48fb7916a971583b0e17",
      "fields": {
        "gstin_masked": "27ABCDE****F1Z0",
        "status": "active"
      },
      "details": "masked",
      "details_until": null,
      "match": {
        "name": 100
      },
      "document": {
        "available": true,
        "expires_at": "2026-10-01T10:45:02Z",
        "download_path": "/api/v1/verify/sessions/5e8d1c2b-3a4f-4b6c-8d9e-0f1a2b3c4d5e/documents/res_01",
        "delivered_at": null
      }
    }
  ]
}

The person sees a consent screen and approves on Entity Locker. You download each document once within 15 minutes; ERPDocs keeps no copy. PDFs report issuer_signature_valid: null: their transport is checked, not the issuer's signature.

How paying works

  • Sandbox calls are free and never touch a government system.
  • Live calls are paid from prepaid credits. Buy a pack in Admin → Verify → Credits; you get a GST invoice and pay by bank transfer. Credits are added once the payment is recorded.
  • A lookup that finds nothing is billed; a session the person declines or lets expire is not.
  • Live access opens after a short eligibility check and our notice to NeGD, as DigiLocker's terms require.
  • "Live" above means the source is approved and connected today. "Sandbox only" means you can build against it now and it switches on when the approval arrives.

Need the whole onboarding, not one call?

Onboard Studio strings these checks together with forms, files, your team's review and the agreement, with no code.