curl --request GET \
--url https://api.sandbox.co.in/it/calculator/tax-pnl/securities/foreign \
--header 'Authorization: <authorization>' \
--header 'x-api-key: <x-api-key>'{
"code": 200,
"timestamp": 1764238516423,
"data": {
"created_at": 1764238413653,
"updated_at": 1764238413653,
"@entity": "in.co.sandbox.it.calculator.tax_pnl.securities.job",
"security_type": "foreign",
"status": "created",
"job_id": "d56aded2-8632-44ca-9283-240a2b6ba3e2"
},
"transaction_id": "3d334c06-eaa1-4fbc-92be-8cfc378fde7f"
}Poll a foreign securities Taxβ―P&L job by job_id and auth headers to get its latest status and metadata.
curl --request GET \
--url https://api.sandbox.co.in/it/calculator/tax-pnl/securities/foreign \
--header 'Authorization: <authorization>' \
--header 'x-api-key: <x-api-key>'{
"code": 200,
"timestamp": 1764238516423,
"data": {
"created_at": 1764238413653,
"updated_at": 1764238413653,
"@entity": "in.co.sandbox.it.calculator.tax_pnl.securities.job",
"security_type": "foreign",
"status": "created",
"job_id": "d56aded2-8632-44ca-9283-240a2b6ba3e2"
},
"transaction_id": "3d334c06-eaa1-4fbc-92be-8cfc378fde7f"
}Bearer token for user-level authorization. Typically passed as Bearer {{access_token}}.
Your API key used to authenticate and authorize the request.
Indicates the version of the API you want to use. Ensures backward-compatible behavior.
Was this page helpful?