curl --request POST \
--url https://api.sandbox.co.in/tds/compliance/csi/otp \
--header 'Authorization: <authorization>' \
--header 'Content-Type: application/json' \
--header 'x-api-key: <x-api-key>' \
--data '
{
"@entity": "in.co.sandbox.tds.compliance.deductors.otp.request",
"tan": "<string>",
"mobile_number": "<string>",
"from": 123,
"to": 123,
"consent": "<string>",
"reason": "<string>"
}
'{
"timestamp": 1731669661517,
"transaction_id": "166148b8-25e3-4ef2-b052-5a27098ebb0e",
"data": {
"@entity": "in.co.sandbox.tds.compliance.deductors.otp.response",
"tan": "AHMA09719B",
"mobile_number": "1234567890",
"from": 1722450600000,
"to": 1730313000000,
"reference_id": "FOS005981930273",
"message": "OTP sent successfully"
},
"code": 200
}generate otp to download csi file
curl --request POST \
--url https://api.sandbox.co.in/tds/compliance/csi/otp \
--header 'Authorization: <authorization>' \
--header 'Content-Type: application/json' \
--header 'x-api-key: <x-api-key>' \
--data '
{
"@entity": "in.co.sandbox.tds.compliance.deductors.otp.request",
"tan": "<string>",
"mobile_number": "<string>",
"from": 123,
"to": 123,
"consent": "<string>",
"reason": "<string>"
}
'{
"timestamp": 1731669661517,
"transaction_id": "166148b8-25e3-4ef2-b052-5a27098ebb0e",
"data": {
"@entity": "in.co.sandbox.tds.compliance.deductors.otp.response",
"tan": "AHMA09719B",
"mobile_number": "1234567890",
"from": 1722450600000,
"to": 1730313000000,
"reference_id": "FOS005981930273",
"message": "OTP sent successfully"
},
"code": 200
}JWT access token
API key for identification
in.co.sandbox.tds.compliance.deductors.otp.request TAN of deductor/collector. Regular Expression: [A-Z]{4}[0-9]{5}[A-Z]{1}
[A-Z]{4}[0-9]{5}[A-Z]{1}Mobile Number to send the OTP. Pattern: [1-9]{1}[0-9]{9}
[1-9]{1}[0-9]{9}Date from which challan details are to be fetched. Value in EPOCH timestamp
Date till which challan details are to be fetched. Value in EPOCH timestamp
Consent of the end-user to get their information. Possible values: Y or y
Indicate the purpose. Min length: 20 characters
Was this page helpful?