BrandKwikID Documentation
API SuitePAN & ITR

Logout ITR Session

End the income tax portal session for a PAN after ITR calls complete. Server-side POST with Bearer auth.

API reference

Try itLoading playground…
Loading…
AuthorizationBearer <token>

JWT Bearer token authentication. Obtain a token from the KwikID dashboard.

In: header

pan?string

Pan number

Formatstring

Response Body

curl -X POST "https://__mock__/verification/v2/itr/logout" \  -H "Content-Type: application/json" \  -d '{}'
{
  "status": {}
}
{
  "detail": {},
  "message": "string"
}
{
  "detail": {},
  "message": "string"
}
{
  "error": "string"
}

Overview

Call POST /verification/v2/itr/logout from your backend when the user has finished Get ITR Data or abandons the flow, so the ITR portal session tied to that PAN can be closed cleanly.

Send Authorization: Bearer <token> and an optional JSON body with pan if your integration passes it for correlation.

Key features

  • Session hygiene: Reduces risk of stale portal sessions for repeat users.
  • Same auth model as other ITR endpoints.

Implementation

Step 1: Call from your backend

POST /verification/v2/itr/logout HTTP/1.1
Host: <verification-api-base-url>
Authorization: Bearer <token>
Content-Type: application/json

{
  "pan": "ABCDE1234F"
}

Step 2: Confirm outcome

On 200 OK, read status if present and mark your server-side session complete.

Error handling

HTTP statusWhen
400Validation error.
401Invalid Bearer token.
500Server error.

Benefits

  • Clear lifecycle boundary after ITR data pulls.

Next steps