VICTORHUB WORKSPACE
Developer Docs
VictorHub API documentation
Use your own API key from a server. Never embed permanent keys in browser JavaScript. All examples below are synthetic and do not prove a live result.
Base URL: https://victorhub.in
Authorization: Bearer YOUR_API_KEY · Idempotency-Key: a unique reference per operation. Reuse it only for the same payload.
Unlimited API requests. Requests are not free: plan prices, wallet balance and service permissions apply. Provider-imposed restrictions may still apply.
Download OpenAPISelect an API
PAN Details
PAN details lookup. Disabled until the administrator reviews the provider contract and approves access.
Disabled Not configured
POST https://victorhub.in/api/v1/pan/details
Unlimited API requests. Public methods: GET and POST.
| Parameter | Type | Required | Validation | Safe example |
|---|---|---|---|---|
| panNumber | string | Required | pan | "ABCDE1234F" |
| consent | boolean | Required | Must be true | true |
| consent_reference | string | Required | Your authorization record | YOUR_CONSENT_RECORD |
| Plan | Plan purchase | Service price |
|---|---|---|
| Plan A — Free | ₹0.00 one-time | ₹6.00 per successful billable call |
| Plan B | ₹499.00 one-time | ₹4.00 per successful billable call |
| Plan C | ₹999.00 one-time | ₹2.00 per successful billable call |
Tax: 0%. Failed confirmed requests are not charged; ambiguous outcomes reserve funds pending review.
cURL example
curl -X POST "https://victorhub.in/api/v1/pan/details"
-H 'Authorization: Bearer YOUR_API_KEY'
-H 'Idempotency-Key: UNIQUE_REQUEST_REFERENCE'
-H 'Content-Type: application/json'
--data '{"panNumber":"ABCDE1234F","consent":true,"consent_reference":"YOUR_CONSENT_RECORD"}'PHP example
$ch = curl_init('https://victorhub.in/api/v1/pan/details');
curl_setopt_array($ch, [CURLOPT_RETURNTRANSFER => true, CURLOPT_CUSTOMREQUEST => 'POST', CURLOPT_HTTPHEADER => ["Authorization: Bearer YOUR_API_KEY", "Idempotency-Key: UNIQUE_REQUEST_REFERENCE", "Content-Type: application/json"], CURLOPT_POSTFIELDS => '{"panNumber":"ABCDE1234F","consent":true,"consent_reference":"YOUR_CONSENT_RECORD"}']);
$result = curl_exec($ch); curl_close($ch);JavaScript — server only example
// Server-side JavaScript (Node.js). Keep API keys in server environment variables.
const response = await fetch("https:\/\/victorhub.in\/api\/v1\/pan\/details", {method: "POST", headers: {Authorization: "Bearer " + process.env.VICTORHUB_API_KEY, "Idempotency-Key": "UNIQUE_REQUEST_REFERENCE", "Content-Type": "application/json"}, body: JSON.stringify({"panNumber":"ABCDE1234F","consent":true,"consent_reference":"YOUR_CONSENT_RECORD"})});
const result = await response.json();Illustrative response shape — not a live result
{
"request_id": "EXAMPLE_REQUEST_ID",
"status": "success",
"result": {
"outcome": "success",
"message": "Request completed.",
"data": {
"panNumber": "SYNTHETIC_VALUE",
"name": "SYNTHETIC_VALUE",
"fathername": "SYNTHETIC_VALUE",
"gender": "SYNTHETIC_VALUE",
"dob": "SYNTHETIC_VALUE",
"aadhar": "SYNTHETIC_VALUE",
"aadhaarLinked": "SYNTHETIC_VALUE"
}
}
}{
"status": "error",
"code": "SERVICE_UNAVAILABLE",
"message": "Service temporarily unavailable. Please try again later.",
"request_id": "EXAMPLE_REQUEST_ID"
}