Endpoint
POST /v1/verify/udyam
POST
/v1/verify/udyamScope verification.udyam.readप्रति सफल call ₹5 से शुरूलाइवUdyam Registration को validate और verify करता है। API key पर verification.udyam.read scope ज़रूरी है। सफल response के बाद इसे udyam.verify के रूप में metered किया जाता है - usage तभी दर्ज होता है (और priced services के लिए fulfilment wallet तभी debit होता है) जब verification सफलतापूर्वक पूरा हो जाए। नीचे दिया गया response /v1/verify/udyam से लौटने वाला असली shape है, जिसमें referenceId field भी शामिल है।
Request
Request के parameters
| Field | Type | विवरण |
|---|---|---|
Authorizationज़रूरी | header | Bearer <api-key> (जैसे sandbox में sk_test_..., production में sk_live_...)। x-api-key header भी स्वीकार किया जाता है। |
udyamNumberज़रूरी | string | Udyam Registration Number (URN), format UDYAM-MH-12-1234567। |
उदाहरण
Call करके देखें
curl -X POST "https://api-b2b.stampmitra.in/v1/verify/udyam" \
-H "Authorization: Bearer sk_test_xxxxxxxxxxxx" \
-H "Content-Type: application/json" \
-d '{"udyamNumber":"UDYAM-UP-43-1234567"}'Playground
Try करें
Response
Response का उदाहरण
ResponseJSON
{
"referenceId": "SMV-20260927-5U29V7",
"verificationId": "VRF-7K3M9Q2XH4TB",
"found": true,
"status": "SUCCESS",
"udyamStatus": "SUCCESS",
"udyamNumber": "UDYAM-UP-43-1234567",
"enterpriseName": "helloscholar",
"organizationType": "Proprietary",
"majorActivity": "Services",
"socialCategory": "General",
"dateOfIncorporation": "2020-05-29",
"dateOfCommencement": "2020-05-29",
"dateOfUdyamRegistration": "2022-01-02",
"enterpriseType": "Micro",
"classificationYear": "2024-25",
"classificationDate": "2025-06-02",
"certificateUrl": "https://udyamregistration.gov.in/Udyam_Download/UDYAM-UP-43-1234567.pdf",
"classificationHistory": [
{
"serialNumber": "1",
"classificationYear": "2024-25",
"enterpriseType": "Micro",
"classificationDate": "2025-06-02"
},
{
"serialNumber": "2",
"classificationYear": "2023-24",
"enterpriseType": "Micro",
"classificationDate": "2023-05-09"
},
{
"serialNumber": "3",
"classificationYear": "2022-23",
"enterpriseType": "Micro",
"classificationDate": "2022-06-26"
}
],
"splitAddress": {
"flat": "Ground Floor",
"building": "05 Raman Vihar",
"village": "Naubasta",
"block": "Naubasta",
"street": "Naubasta",
"city": "Kanpur",
"district": "KANPUR NAGAR",
"state": "UTTAR PRADESH",
"pincode": "208021",
"mobile": "70*****210",
"email": "helloscholar.edu@gmail.com"
},
"unitLocations": [
{
"serialNumber": "1",
"unitName": "hellobanker",
"flat": "Ground Floor",
"building": "05 Raman Vihar Naubasta",
"village": "KANPUR NAGAR",
"block": "KANPUR NAGAR",
"street": "05 Raman Vihar Naubasta Bamba",
"city": "Kanpur",
"district": "KANPUR NAGAR",
"state": "UTTAR PRADESH",
"pincode": "208021"
},
{
"serialNumber": "2",
"unitName": "helloscholar",
"flat": "Ground Floor",
"building": "05 Raman Vihar Naubasta",
"village": "Kanpur",
"block": "Kanpur",
"street": "Kanpur",
"city": "Kanpur",
"district": "KANPUR NAGAR",
"state": "UTTAR PRADESH",
"pincode": "208021"
}
],
"nicCodes": [
{
"serialNumber": "1",
"nic2Digit": "85",
"nic2Description": "Education",
"nic4Digit": "8550",
"nic4Description": "Educational support services",
"nic5Digit": "85500",
"nic5Description": "Educational support services",
"activity": "Services",
"date": "2022-01-02"
}
],
"dic": "KANPUR NAGAR",
"msmeDi": "KANPUR"
}| Field | Type | Description |
|---|---|---|
referenceId | string | इस call के लिए StampMitra की अपनी transaction id (SMV-YYYYMMDD-XXXXXXX)। हमेशा मौजूद। |
verificationId | string | इस verification की StampMitra की अपनी id (VRF- के बाद 12 base32 characters)। हर call के लिए नई बनती है और उसी call की होती है। हमेशा मौजूद। Support requests में यही बताएँ। |
found | boolean | क्या active Udyam registration मिला। हमेशा मौजूद। |
status | string | Lookup का नतीजा: SUCCESS, UDYAM_NOT_FOUND या UDYAM_IS_CANCELLED। |
udyamStatus | string | status जैसा ही मान। मौजूदा integrations चलते रहें, इसलिए रखा गया है। |
udyamNumber | string | जिस Udyam registration number को देखा गया। |
enterpriseName | string | Registered enterprise का नाम। |
organizationType | string | Organisation का legal form, जैसे Proprietary। |
majorActivity | string | मुख्य activity: Manufacturing, Services या Trading। |
socialCategory | string | Owner की social category, जैसे General। |
dateOfIncorporation | string | Incorporation की तारीख, ISO yyyy-mm-dd। |
dateOfCommencement | string | Business शुरू होने की तारीख, ISO yyyy-mm-dd। |
dateOfUdyamRegistration | string | Udyam registration जारी होने की तारीख, ISO yyyy-mm-dd। |
enterpriseType | string | मौजूदा MSME classification: Micro, Small या Medium। |
classificationYear | string | मौजूदा classification का financial year, जैसे 2024-25। |
classificationDate | string | मौजूदा classification की तारीख, ISO yyyy-mm-dd। |
certificateUrl | string | Udyam registration certificate (PDF) का URL। |
classificationHistory | array | साल-दर-साल classification history, सबसे नई पहले। |
classificationHistory[].serialNumber | string | History में entry की क्रम संख्या। |
classificationHistory[].classificationYear | string | उस classification का financial year। |
classificationHistory[].enterpriseType | string | उस साल के लिए Micro, Small या Medium। |
classificationHistory[].classificationDate | string | उस classification की तारीख, ISO yyyy-mm-dd। |
splitAddress | object | Enterprise का registered address, हिस्सों में बँटा हुआ, registered contact details के साथ। |
splitAddress.flat | string | Flat / door / floor। |
splitAddress.building | string | Building या premises का नाम / नंबर। |
splitAddress.village | string | Village या town। |
splitAddress.block | string | Block। |
splitAddress.street | string | Street / road। |
splitAddress.city | string | City। |
splitAddress.district | string | District। |
splitAddress.state | string | State। |
splitAddress.pincode | string | छह अंकों का PIN code। |
splitAddress.mobile | string | Registered mobile number, source पर ही masked (जैसे 70*****210)। जैसा मिला वैसा ही दिया जाता है, कभी unmask नहीं होता। |
splitAddress.email | string | Registered email address। |
unitLocations | array | Enterprise units की locations। |
unitLocations[].serialNumber | string | List में unit की क्रम संख्या। |
unitLocations[].unitName | string | Unit का नाम। |
unitLocations[].flat | string | Flat / door / floor। |
unitLocations[].building | string | Building या premises का नाम / नंबर। |
unitLocations[].village | string | Village या town। |
unitLocations[].block | string | Block। |
unitLocations[].street | string | Street / road। |
unitLocations[].city | string | City। |
unitLocations[].district | string | District। |
unitLocations[].state | string | State। |
unitLocations[].pincode | string | छह अंकों का PIN code। |
nicCodes | array | जिन NIC activity codes के तहत enterprise registered है। |
nicCodes[].serialNumber | string | List में activity की क्रम संख्या। |
nicCodes[].nic2Digit | string | NIC 2-digit division code। |
nicCodes[].nic2Description | string | NIC 2-digit division का विवरण। |
nicCodes[].nic4Digit | string | NIC 4-digit class code। |
nicCodes[].nic4Description | string | NIC 4-digit class का विवरण। |
nicCodes[].nic5Digit | string | NIC 5-digit sub-class code। |
nicCodes[].nic5Description | string | NIC 5-digit sub-class का विवरण। |
nicCodes[].activity | string | Activity का प्रकार: Manufacturing, Services या Trading। |
nicCodes[].date | string | Activity जोड़े जाने की तारीख, ISO yyyy-mm-dd। |
dic | string | District Industries Centre। |
msmeDi | string | MSME Development Institute। |
Errors
Error responses
401API key missing या invalid
{
"error": {
"code": "UNAUTHORIZED",
"message": "Missing or invalid API key.",
"requestId": "a1b2c3d4-e5f6-4a1b-8c2d-9f0e1a2b3c4d"
}
}403Key valid है, पर ज़रूरी scope नहीं है
{
"error": {
"code": "FORBIDDEN",
"message": "API key is valid but lacks the required scope for this endpoint.",
"requestId": "a1b2c3d4-e5f6-4a1b-8c2d-9f0e1a2b3c4d"
}
}400Validation error
{
"error": {
"code": "BAD_REQUEST",
"message": "udyamNumber must match the format UDYAM-MH-12-1234567",
"requestId": "a1b2c3d4-e5f6-4a1b-8c2d-9f0e1a2b3c4d"
}
}402Wallet balance अपर्याप्त
{
"error": {
"code": "PAYMENT_REQUIRED",
"message": "Insufficient fulfilment wallet balance to cover this call.",
"requestId": "a1b2c3d4-e5f6-4a1b-8c2d-9f0e1a2b3c4d"
}
}429Rate limit पार हो गई
{
"error": {
"code": "TOO_MANY_REQUESTS",
"message": "Rate limit exceeded: 60 requests per 60 seconds for this endpoint.",
"requestId": "a1b2c3d4-e5f6-4a1b-8c2d-9f0e1a2b3c4d"
}
}502Upstream verification service तक पहुँच नहीं हो पाई
{
"error": {
"code": "INTERNAL_ERROR",
"message": "Unable to reach the order/customer service right now",
"requestId": "5c1c1e9e-2f7b-4b7a-9b0e-0f1a2b3c4d5e"
}
}ध्यान दें
जानने लायक बातें
नोट
Input format पहले ही validate किया जाता है - गलत format वाला pan/gstin/आदि verification के लिए भेजे जाने के बजाय तुरंत 400 के साथ fail हो जाता है। referenceId (format SMV-YYYYMMDD-XXXXXXX) इस call के लिए StampMitra की अपनी transaction id है और हमेशा मौजूद रहती है, negative (valid: false / found: false) result में भी - positive और negative दोनों determinations पूरे, billable verifications हैं। यह idempotency key नहीं है। verificationId (format VRF-XXXXXXXXXXXX) इस verification की StampMitra की अपनी id है, जो हर call के लिए बनती है; support requests में यही बताएँ। referenceId, verificationId और found के अलावा हर field optional है और registry के न देने पर response में नहीं आता। तारीखें ISO yyyy-mm-dd strings हैं। Registered mobile number source पर ही masked (जैसे 70*****210) होता है और जैसा मिलता है वैसा ही लौटाया जाता है। status और udyamStatus में एक ही मान होता है; udyamStatus मौजूदा integrations के लिए रखा गया है।