cURL
curl --request POST \ --url https://api.casparser.in/v4/cdsl/fetch \ --header 'Content-Type: application/json' \ --header 'x-api-key: <api-key>' \ --data ' { "pan": "ABCDE1234F", "bo_id": "1234567890123456", "dob": "1990-01-15" } '
{ "status": "success", "session_id": "550e8400-e29b-41d4-a716-446655440000", "msg": "OTP sent to registered mobile" }
Step 1 of 2: Request OTP for CDSL CAS fetch.
This endpoint:
After user receives OTP, call /v4/cdsl/fetch/{session_id}/verify to complete.
/v4/cdsl/fetch/{session_id}/verify
Your API key for authentication. Use sandbox-with-json-responses as Sandbox key.
sandbox-with-json-responses
PAN number
"ABCDE1234F"
CDSL BO ID (16 digits)
"1234567890123456"
Date of birth (YYYY-MM-DD)
"1990-01-15"
OTP sent to registered mobile
"success"
Session ID for verify step
"550e8400-e29b-41d4-a716-446655440000"
"OTP sent to registered mobile"
Was this page helpful?