StampMitraDevelopers
Guides

Developer guides and use cases

Long-form guides for the StampMitra verification and e-Stamp APIs, grouped by what you are trying to do. Each opens with a direct answer, uses the same API data as the docs, and says plainly where an API check stops.

Understand the identifiers and the checks

Short, careful explainers on what each number and each check proves, and what it leaves open. Read these before you design a flow.

Verify a PAN, a GSTIN or a business

Endpoint-level guides with requests, responses and code, from the first call to the status values you will meet.

e-Stamp

How the e-Stamp order flow works through the API, and a worked use case for rental agreements.

Build it, test it, run it

Flow design, sandbox versus production, keys, errors, retries and the audit trail. The parts that decide whether an integration holds up.

Use cases

End-to-end scenarios for a specific kind of company.

  • KYC API for Fintech and NBFC Onboarding in India

    KYC checks for a lending or NBFC onboarding flow, the order to run them in and where an API check stops short of a regulatory requirement.

  • KYC API for NBFC Loan Origination: A Lifecycle Guide

    A KYC API for an NBFC works best when you map it to the loan lifecycle: PAN at login, entity or vehicle checks at credit, and a bank-account check just before disbursal. Each response drives one decision. API results are evidence on the file, not regulatory compliance, which stays with your policy and compliance officer.

  • Vendor Verification API: Onboarding Checks Before the First Payment

    A vendor verification API checks, when a vendor is created or changes bank details, that the PAN, GSTIN, MSME registration and bank account on the form exist, are active and belong together. Run free format checks first, then PAN, GSTIN or CIN, Udyam and the bank account, block payment until checks pass, and re-verify by risk tier.

  • Seller Verification API for Marketplaces: A Trust Ladder

    A seller verification API lets a marketplace replace trust with evidence in stages: PAN to list, a verified bank account to get paid, and GSTIN, CIN or Udyam checks for higher limits. Gate payouts in the payout service, detect linked accounts with keyed hashes, and route ambiguous cases to people instead of auto-banning.

  • Employee Background Verification API for India: What It Covers

    An identity API can verify the PAN, driving licence, voter ID, passport file, vehicle registration and salary bank account a candidate provides. It does not run criminal, court, education or past-employment checks. Use role-based packages, take consent first, match Indian names tolerantly, and never auto-reject on a failed check.

  • Rental Agreement E-Stamping for Property Managers and Brokerages

    Property managers, brokerages and law offices can run rental agreement e-stamping as a pipeline: verify owner and tenant, calculate duty through the API, create idempotent orders, pay, track, store the certificate and reconcile daily. Duty and registration rules vary by state, so keep them as reviewed state profiles, never hardcoded numbers.

  • Bank Account Verification Before Payout: Controls and Cost

    Verify a bank account before the first payout, whenever it changes and when a payout returns. Call the bank-account endpoint with the payee's legal name, read the validity flag, account status and name-match score, set thresholds per payout type, gate the payout service rather than the form, and cache results. The rate is flat on every plan.

  • KYB API India for B2B Platforms: Entity Checks, Tiers and Monitoring

    KYB for a B2B platform is a consistency exercise across PAN, GSTIN, CIN and Udyam records, anchored on the PAN. Run free checks first, verify the entity and its signatory, turn the picture into risk tiers that set limits and terms, and monitor status drift afterwards. Registry data shows what registers say, not who owns the business.

  • Verification Workflows for Legal and Compliance Teams

    Legal and compliance teams use verification APIs to build a defensible record: what was checked, against what source, when, by whom, with which transaction id. Check counterparties and signatories, treat the directors list as a prompt for authority documents, stamp when the text is final, and keep an evidence pack that states only what was checked.

  • Balance, usage and rate limits: reading your account over the API

    Call GET /v1/account/balance for your wallet balance, state (OK, LOW_BALANCE, FINISHED) and calls remaining, and GET /v1/account/usage for IST-based monthly usage, spend before GST and limits. Authenticated calls also carry X-RateLimit headers, Retry-After on 429, and X-Wallet-State for live keys, never the exact balance.

  • e-Stamp API for India: the full order flow, from catalogue to certificate

    The StampMitra e-Stamp API takes you from catalogue lookup through duty validation, order creation, wallet-funded payment and certificate download in eight steps. Orders are reviewed before placement, creation needs an Idempotency-Key, and the certificate is fetched per stamp once it is delivered.

  • How e-stamp duty is calculated by state

    E-stamp duty comes from a chain of decisions: the instrument and its article, the state, the amount duty is measured on, and whether the article is flat, ad valorem or slab, then caps, minimums and cess. The same document costs differently by state because each link can differ.

How to use this section

Start from the job you are doing

Guides explain one API or one topic in depth: the request, the response fields, the errors and the sandbox values. Use cases follow a whole workflow and tell you which APIs to combine and in what order.

Integrating a verification API

Start with the guide for the document you check (PAN, GSTIN or Vehicle RC), then read the Node.js and Python walkthrough and the error-handling guide before you write retry logic.

Verifying businesses and vendors

The business verification guide shows how GSTIN, CIN and Udyam answer different questions, and the KYC use case shows where each check belongs in an onboarding flow.

Issuing e-stamp paper

The order-flow guide lists the eight e-Stamp calls in sequence. The rental agreement use case applies them to a proptech flow, including duty calculation and storing the certificate.

Going live

Before you swap keys, read how sandbox and production differ, then check your error handling against the guide on 402, 429 and 403 responses.

About these guides

Are the guides written for developers or for compliance teams?

Both. Each guide opens with a short direct answer, then goes into request and response detail for developers and into what a check does and does not establish for compliance and product teams.

Do the code samples run?

The cURL, Node.js and Python samples use the real endpoint paths and field names. Put a sandbox key in an environment variable and they run; the sandbox returns sample data, not live results.

Is a guide legal or compliance advice?

No. Guides describe how the APIs behave and what a check typically establishes. Rules that vary by state, regulator or date should be confirmed against the current official source, and each guide points to the relevant ones.

Is there a Hindi version?

Yes. Every guide and use case has a Hindi page written separately for Hindi readers, not machine-translated. API terms, field names and code stay in English.