> ## Documentation Index
> Fetch the complete documentation index at: https://developer.sandbox.co.in/llms.txt
> Use this file to discover all available pages before exploring further.

# Get challan payment status

> Check the payment status of a challan using its CRN and the PAN or TAN it was created for, without OTP verification.

> [!NOTE]
>
> This endpoint is in development. The request and response can change before release.

This endpoint uses your Sandbox access token in the `Authorization` header. Unlike [Create challan](https://developer.sandbox.co.in/api-reference/it/compliance/tax-payment/endpoints/create-challan.md) and [Get challan](https://developer.sandbox.co.in/api-reference/it/compliance/tax-payment/endpoints/get-challan.md), it does not need OTP verification. See the [Quickstart guide](https://developer.sandbox.co.in/guides/get-started/quickstart.md) for Sandbox authentication.

Send the CRN with either the PAN or the TAN the challan was created for.

For the BSR code, challan serial number and Challan Identification Number (CIN) of a paid challan, use Get challan.


## OpenAPI

````yaml api-reference/it/compliance/openapi.json POST /it/compliance/portal/public/tax-payment/challan/payment-status
openapi: 3.1.0
info:
  title: in-co-sandbox-it-compliance
  version: '1.0'
servers:
  - url: https://test-api.sandbox.co.in
    description: test
  - url: https://api.sandbox.co.in
    description: prod
security:
  - {}
paths:
  /it/compliance/portal/public/tax-payment/challan/payment-status:
    post:
      tags:
        - in.gov.incometax
        - public
        - tax-payment
      summary: Get payment status
      description: >-
        Get the payment status of a challan using its CRN and the PAN or TAN it
        was created for. This endpoint does not need OTP verification. Send your
        Sandbox access token in the `Authorization` header.


        Send either `pan` or `tan`, not both. Example data is fictional.
      operationId: getChallanPaymentStatus
      parameters:
        - name: Authorization
          in: header
          description: >-
            Sandbox access token. Send the token without the `Bearer` prefix.
            For token-generation steps, see the [Quickstart
            guide](https://developer.sandbox.co.in/guides/get-started/quickstart).
          required: true
          example: '{{access_token}}'
          schema:
            type: string
        - name: x-api-key
          in: header
          description: Sandbox API key.
          required: true
          example: '{{api_key}}'
          schema:
            type: string
        - name: x-api-version
          in: header
          description: >-
            API version, such as `1.0`. If you omit it, the latest version is
            used.
          required: false
          example: '1.0'
          schema:
            type: string
        - name: Content-Type
          in: header
          description: Request body format.
          required: true
          example: application/json
          schema:
            type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                '@entity':
                  type: string
                  enum:
                    - >-
                      in.co.sandbox.it.compliance.tax_payment.challan.payment_status.request
                crn:
                  type: string
                  pattern: ^[0-9]{14}$
                  description: >-
                    Challan Reference Number (CRN). The 14-digit number the
                    Income Tax Department generates for a challan.
                  examples:
                    - '26110300012345'
                pan:
                  type: string
                  pattern: ^[A-Z]{5}[0-9]{4}[A-Z]$
                  description: PAN the challan was created for. Send either `pan` or `tan`.
                  examples:
                    - ABCPS1234K
                tan:
                  type: string
                  pattern: ^[A-Z]{4}[0-9]{5}[A-Z]$
                  description: TAN the challan was created for. Send either `pan` or `tan`.
                  examples:
                    - AHMA12345A
                consent:
                  type: string
                  enum:
                    - 'Y'
                    - 'y'
                  description: >-
                    Consent of the taxpayer to process their information for
                    this request.
                reason:
                  type: string
                  minLength: 20
                  description: Purpose of the request. Minimum 20 characters.
              required:
                - '@entity'
                - crn
                - consent
                - reason
            examples:
              Paid:
                summary: Paid
                description: The challan is paid.
                value:
                  '@entity': >-
                    in.co.sandbox.it.compliance.tax_payment.challan.payment_status.request
                  crn: '26091000054321'
                  pan: ABCPS1234K
                  consent: 'Y'
                  reason: Confirm advance tax payment for TY 2026-27
              Payment not initiated:
                summary: Payment not initiated
                description: The challan is created and not paid yet.
                value:
                  '@entity': >-
                    in.co.sandbox.it.compliance.tax_payment.challan.payment_status.request
                  crn: '26110300012345'
                  pan: ABCPS1234K
                  consent: 'Y'
                  reason: Confirm advance tax payment for TY 2026-27
              Invalid CRN:
                summary: Invalid CRN
                description: The Income Tax Department has no challan for the CRN and PAN.
                value:
                  '@entity': >-
                    in.co.sandbox.it.compliance.tax_payment.challan.payment_status.request
                  crn: '26110399999999'
                  pan: ABCPS1234K
                  consent: 'Y'
                  reason: Confirm advance tax payment for TY 2026-27
              PAN and TAN both missing:
                summary: PAN and TAN both missing
                description: The request has neither `pan` nor `tan`.
                value:
                  '@entity': >-
                    in.co.sandbox.it.compliance.tax_payment.challan.payment_status.request
                  crn: '26091000054321'
                  consent: 'Y'
                  reason: Confirm advance tax payment for TY 2026-27
      responses:
        '200':
          description: The payment status of the challan.
          content:
            application/json:
              schema:
                type: object
                properties:
                  code:
                    type: integer
                    const: 200
                    description: HTTP status code.
                  timestamp:
                    type: integer
                    format: int64
                    description: Response timestamp in epoch milliseconds.
                  transaction_id:
                    type: string
                    description: Unique identifier for this API request.
                  data:
                    type: object
                    properties:
                      '@entity':
                        type: string
                        enum:
                          - >-
                            in.co.sandbox.it.compliance.tax_payment.challan.payment_status.response
                      crn:
                        type: string
                        pattern: ^[0-9]{14}$
                        description: >-
                          Challan Reference Number (CRN). The 14-digit number
                          the Income Tax Department generates for a challan.
                        examples:
                          - '26110300012345'
                      pan:
                        type: string
                        pattern: ^[A-Z]{5}[0-9]{4}[A-Z]$
                        description: >-
                          PAN of the challan. Present when the request has
                          `pan`.
                        examples:
                          - ABCPS1234K
                      tan:
                        type: string
                        pattern: ^[A-Z]{4}[0-9]{5}[A-Z]$
                        description: >-
                          TAN of the challan. Present when the request has
                          `tan`.
                        examples:
                          - AHMA12345A
                      status:
                        type: string
                        enum:
                          - payment_not_initiated
                          - payment_initiated
                          - paid
                          - payment_failed
                          - no_response_from_bank
                          - expired
                        description: >-
                          Payment status of the challan, as reported by the
                          Income Tax Department.


                          - `payment_not_initiated`: The challan is created and
                          no payment has been made.

                          - `payment_initiated`: A payment has started and the
                          bank has not confirmed it yet.

                          - `paid`: The payment is complete.

                          - `payment_failed`: The payment failed.

                          - `no_response_from_bank`: The bank has not confirmed
                          the payment. Check the status again later.

                          - `expired`: The challan expired before it was paid.
                          Create a new challan to pay.
                      paid_date_epoch:
                        type: integer
                        format: int64
                        description: >-
                          Date of payment in epoch milliseconds. The calendar
                          date is interpreted in Asia/Kolkata. Present when
                          `status` is `paid`.
                    required:
                      - '@entity'
                      - crn
                      - status
                required:
                  - code
                  - timestamp
                  - transaction_id
                  - data
              examples:
                Paid:
                  summary: Paid
                  description: Fictional example data.
                  value:
                    code: 200
                    timestamp: 1793700000000
                    transaction_id: d9b4e7a2-3c6f-4e85-b1a9-7f2d0c5e8b31
                    data:
                      '@entity': >-
                        in.co.sandbox.it.compliance.tax_payment.challan.payment_status.response
                      crn: '26091000054321'
                      pan: ABCPS1234K
                      status: paid
                      paid_date_epoch: 1789151400000
                Payment not initiated:
                  summary: Payment not initiated
                  description: Fictional example data.
                  value:
                    code: 200
                    timestamp: 1793700000000
                    transaction_id: 0f6c3e8b-1a9d-4b72-9e5a-4c8f2b7d0e63
                    data:
                      '@entity': >-
                        in.co.sandbox.it.compliance.tax_payment.challan.payment_status.response
                      crn: '26110300012345'
                      pan: ABCPS1234K
                      status: payment_not_initiated
        '400':
          description: The Income Tax Department has no challan for the CRN and PAN or TAN.
          content:
            application/json:
              schema:
                type: object
                properties:
                  code:
                    type: integer
                    description: HTTP status code.
                  timestamp:
                    type: integer
                    format: int64
                    description: Response timestamp in epoch milliseconds.
                  transaction_id:
                    type: string
                    description: Unique identifier for this API request.
                  message:
                    type: string
                    description: Reason for the error.
                required:
                  - code
                  - timestamp
                  - transaction_id
                  - message
              examples:
                Invalid CRN:
                  summary: Invalid CRN
                  description: Fictional example data.
                  value:
                    code: 400
                    timestamp: 1793700000000
                    transaction_id: 7b1e4c9f-6d2a-45e8-a0b3-2f9c5e1d8a47
                    message: Invalid CRN
        '401':
          description: The `Authorization` header is missing.
          content:
            application/json:
              schema:
                type: object
                properties:
                  code:
                    type: integer
                    description: HTTP status code.
                  timestamp:
                    type: integer
                    format: int64
                    description: Response timestamp in epoch milliseconds.
                  transaction_id:
                    type: string
                    description: Unique identifier for this API request.
                  message:
                    type: string
                    description: Reason for the error.
                required:
                  - code
                  - timestamp
                  - transaction_id
                  - message
              examples:
                Unauthorized:
                  summary: Unauthorized
                  description: Fictional example data.
                  value:
                    code: 401
                    timestamp: 1793700000000
                    transaction_id: 2d7c4f9b-1e5a-4c83-b6d2-9a3e7f0c5b46
                    message: Unauthorized
        '403':
          description: The Sandbox access token or API key is invalid or expired.
          content:
            application/json:
              schema:
                type: object
                properties:
                  code:
                    type: integer
                    description: HTTP status code.
                  timestamp:
                    type: integer
                    format: int64
                    description: Response timestamp in epoch milliseconds.
                  transaction_id:
                    type: string
                    description: Unique identifier for this API request.
                  message:
                    type: string
                    description: Reason for the error.
                required:
                  - code
                  - timestamp
                  - transaction_id
                  - message
              examples:
                Forbidden:
                  summary: Forbidden
                  description: Fictional example data.
                  value:
                    code: 403
                    timestamp: 1793700000000
                    transaction_id: 6b3f8e1d-7c4a-4f97-a9b5-2e0d6c8f3a52
                    message: Forbidden
        '422':
          description: A required field is missing, or a value has the wrong format.
          content:
            application/json:
              schema:
                type: object
                properties:
                  code:
                    type: integer
                    description: HTTP status code.
                  timestamp:
                    type: integer
                    format: int64
                    description: Response timestamp in epoch milliseconds.
                  transaction_id:
                    type: string
                    description: Unique identifier for this API request.
                  message:
                    type: string
                    description: Reason for the error.
                required:
                  - code
                  - timestamp
                  - transaction_id
                  - message
              examples:
                PAN and TAN both missing:
                  summary: PAN and TAN both missing
                  description: Fictional example data.
                  value:
                    code: 422
                    timestamp: 1793700000000
                    transaction_id: c8f2a6d1-4b7e-4c39-8a5f-6e0d3b9c2f15
                    message: Either pan or tan is required
        '429':
          description: The rate limit is exceeded. Retry after some time.
          content:
            application/json:
              schema:
                type: object
                properties:
                  code:
                    type: integer
                    description: HTTP status code.
                  timestamp:
                    type: integer
                    format: int64
                    description: Response timestamp in epoch milliseconds.
                  transaction_id:
                    type: string
                    description: Unique identifier for this API request.
                  message:
                    type: string
                    description: Reason for the error.
                required:
                  - code
                  - timestamp
                  - transaction_id
                  - message
        '500':
          description: The request could not be completed.
          content:
            application/json:
              schema:
                type: object
                properties:
                  code:
                    type: integer
                    description: HTTP status code.
                  timestamp:
                    type: integer
                    format: int64
                    description: Response timestamp in epoch milliseconds.
                  transaction_id:
                    type: string
                    description: Unique identifier for this API request.
                  message:
                    type: string
                    description: Reason for the error.
                required:
                  - code
                  - timestamp
                  - transaction_id
                  - message
              examples:
                Internal server error:
                  summary: Internal server error
                  description: Fictional example data.
                  value:
                    code: 500
                    timestamp: 1793700000000
                    transaction_id: d1a5c9e3-8b6f-4b24-9e1d-4f7a0c2b8e69
                    message: Failed to get payment status
        '502':
          description: >-
            The connection to the Income Tax Department failed. Retry the
            request.
          content:
            application/json:
              schema:
                type: object
                properties:
                  code:
                    type: integer
                    description: HTTP status code.
                  timestamp:
                    type: integer
                    format: int64
                    description: Response timestamp in epoch milliseconds.
                  transaction_id:
                    type: string
                    description: Unique identifier for this API request.
                  message:
                    type: string
                    description: Reason for the error.
                required:
                  - code
                  - timestamp
                  - transaction_id
                  - message
              examples:
                Bad gateway:
                  summary: Bad gateway
                  description: Fictional example data.
                  value:
                    code: 502
                    timestamp: 1793700000000
                    transaction_id: 0e9b4a7f-3d2c-4e51-8a6f-1c5d9b3e7a80
                    message: Bad gateway
        '503':
          description: >-
            The Income Tax Department's service is temporarily unavailable.
            Retry after some time.
          content:
            application/json:
              schema:
                type: object
                properties:
                  code:
                    type: integer
                    description: HTTP status code.
                  timestamp:
                    type: integer
                    format: int64
                    description: Response timestamp in epoch milliseconds.
                  transaction_id:
                    type: string
                    description: Unique identifier for this API request.
                  message:
                    type: string
                    description: Reason for the error.
                required:
                  - code
                  - timestamp
                  - transaction_id
                  - message
              examples:
                Source unavailable:
                  summary: Source unavailable
                  description: Fictional example data.
                  value:
                    code: 503
                    timestamp: 1793700000000
                    transaction_id: 7a4d1c8e-5f9b-4d36-b2e7-9c0a4f6d1b23
                    message: Source Unavailable
      deprecated: false

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.