Endpoint
POST /v1/verify/cin
POST
/v1/verify/cinScope verification.cin.readप्रति सफल call ₹5 से शुरूलाइवCompany CIN को validate और verify करता है। API key पर verification.cin.read scope ज़रूरी है। सफल response के बाद इसे cin.verify के रूप में metered किया जाता है - usage तभी दर्ज होता है (और priced services के लिए fulfilment wallet तभी debit होता है) जब verification सफलतापूर्वक पूरा हो जाए। नीचे दिया गया response /v1/verify/cin से लौटने वाला असली shape है, जिसमें referenceId field भी शामिल है।
Request
Request के parameters
| Field | Type | विवरण |
|---|---|---|
Authorizationज़रूरी | header | Bearer <api-key> (जैसे sandbox में sk_test_..., production में sk_live_...)। x-api-key header भी स्वीकार किया जाता है। |
cinज़रूरी | string | Corporate Identification Number। |
उदाहरण
Call करके देखें
curl -X POST "https://api-b2b.stampmitra.in/v1/verify/cin" \
-H "Authorization: Bearer sk_test_xxxxxxxxxxxx" \
-H "Content-Type: application/json" \
-d '{"cin":"U72900KA2015PTC082988"}'Playground
Try करें
Response
Response का उदाहरण
ResponseJSON
{
"referenceId": "SMV-20260927-6R38Y3",
"verificationId": "VRF-6C2N9V4HQ7ZE",
"valid": true,
"status": "VALID",
"cin": "U72900KA2015PTC082988",
"companyName": "COMPANY NAME",
"registrationNumber": 82987,
"incorporationDate": "2015-09-23",
"cinStatus": "ACTIVE",
"email": "abc@xyz.com",
"incorporationCountry": "INDIA",
"directorDetails": [
{
"din": "07168822",
"name": "Frank Kelvin",
"dob": "1997-07-21",
"designation": "DIRECTOR",
"address": "ST BED KORAMANGALA, BANGALORE, KARNATAKA, INDIA, 566634"
},
{
"din": "07168826",
"name": "John Doe",
"dob": "1997-02-07",
"designation": "DIRECTOR",
"address": "GAUTAM NAGAR, NOIDA, UTTAR PRADESH, INDIA, 211361"
}
],
"companyStatus": "ACTIVE",
"directors": [
{
"din": "07168822",
"name": "Frank Kelvin",
"designation": "DIRECTOR"
},
{
"din": "07168826",
"name": "John Doe",
"designation": "DIRECTOR"
}
]
}| Field | Type | Description |
|---|---|---|
referenceId | string | इस call के लिए StampMitra की अपनी transaction id (SMV-YYYYMMDD-XXXXXXX)। हमेशा मौजूद, negative result में भी। |
verificationId | string | इस verification की StampMitra की अपनी id (VRF- के बाद 12 base32 characters)। हर call के लिए नई बनती है और उसी call की होती है। हमेशा मौजूद। Support requests में यही बताएँ। |
valid | boolean | क्या CIN valid है। हमेशा मौजूद। status के VALID होने पर ही true। |
status | string | Lookup का registry नतीजा: VALID या INVALID। |
cin | string | जिस CIN को verify किया गया। हमेशा मौजूद; invalid CIN पर वही number जो आपने भेजा। |
companyName | string | Registered company का नाम, CIN valid होने पर। |
registrationNumber | number | Company registration number, एक number (string नहीं), जब उपलब्ध हो। |
incorporationDate | string | Incorporation की तारीख़, ISO yyyy-mm-dd। |
cinStatus | string | MCA में दर्ज company की स्थिति, जैसे ACTIVE। |
email | string | Company का registered email address। |
incorporationCountry | string | Incorporation का देश, जैसे INDIA। |
directorDetails | array | Record पर दर्ज directors / designated partners, जन्म तिथि और पते के साथ। |
directorDetails[].din | string | Director Identification Number (DIN)। |
directorDetails[].name | string | Director का नाम। |
directorDetails[].dob | string | Director की जन्म तिथि, ISO yyyy-mm-dd। |
directorDetails[].designation | string | Director का पद, जैसे DIRECTOR। |
directorDetails[].address | string | Record पर दर्ज director का पता, एक string के रूप में। |
companyStatus | string | cinStatus जैसा ही मान। मौजूदा integrations चलते रहें, इसलिए रखा गया है। |
directors | array | सिर्फ़ नाम, DIN और पद वाले directors। मौजूदा integrations चलते रहें, इसलिए रखा गया है; पूरी entries directorDetails में हैं। |
directors[].din | string | Director Identification Number (DIN)। |
directors[].name | string | Director का नाम। |
directors[].designation | string | Director का पद। |
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": "cin must match the format U74999DL2015PTC284009",
"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, valid और cin के अलावा हर field optional है और registry के न देने पर response में नहीं आता। तारीखें ISO yyyy-mm-dd strings हैं और registrationNumber एक number है। जो CIN नहीं मिला उस पर HTTP 200 के साथ valid false, status INVALID, आपका भेजा number और खाली director lists आती हैं। valid तभी true होता है जब status VALID हो; cinStatus company की स्थिति (जैसे ACTIVE) बताता है और companyStatus उसे दोहराता है। directors (din, name, designation) मौजूदा integrations के लिए रखा गया है; directorDetails में जन्म तिथि और पते समेत पूरी entries हैं, जो निजी डेटा हैं और उसी तरह सँभालनी चाहिए।