# Get UPI Transaction Status

## OpenAPI Specification

```yaml
openapi: 3.0.1
info:
  title: ''
  description: ''
  version: 1.0.0
paths:
  /pay/checkout/status/upi/{transactionId}:
    get:
      summary: Get UPI Transaction Status
      deprecated: false
      description: >-

        :::highlight purple 📌

        Use this API to retrieve the status of a UPI transaction using a unique
        identifier such as `transactionId` or `merchantOrderId`. This allows you
        to confirm whether the UPI payment was successful, pending, or failed,
        ensuring accurate tracking and reconciliation.

        :::
      tags:
        - Payment Gateway/APIs - Payment Gateway /Payment
      parameters:
        - name: transactionId
          in: path
          description: Transaction Id
          required: true
          example: EK1743074262175e8KIO
          schema:
            type: string
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                type: object
                properties:
                  response_code:
                    type: integer
                    description: Application-level status code. 0 indicates success.
                    examples:
                      - 0
                  response_message:
                    type: string
                    description: High-level status description.
                    examples:
                      - Success
                  payload:
                    type: object
                    description: UPI transaction status details.
                    properties:
                      status:
                        type: string
                        description: >-
                          Current UPI transaction status. PROCESS indicates that
                          the transaction is still being processed and the final
                          status is not yet available.
                        enum:
                          - SUCCESS
                          - FAILED
                          - PROCESS
                        examples:
                          - SUCCESS
                      transactionMessage:
                        type: string
                        description: Message describing the current transaction status.
                        examples:
                          - Completed.
                      orderId:
                        type: string
                        description: Unique EnKash order identifier.
                        examples:
                          - ORD1781032813525OcYNr
                    required:
                      - status
                      - transactionMessage
                      - orderId
                    x-apidog-orders:
                      - status
                      - transactionMessage
                      - orderId
                required:
                  - response_code
                  - response_message
                  - payload
                x-apidog-orders:
                  - response_code
                  - response_message
                  - payload
                examples:
                  - response_code: 0
                    response_message: Success
                    payload:
                      status: SUCCESS
                      transactionMessage: Completed.
                      orderId: ORD1781032813525OcYNr
              examples:
                '1':
                  summary: PROCESS
                  value:
                    response_code: 0
                    response_message: Success
                    payload:
                      status: PROCESS
                      orderId: ORD1781259042690akJff
                '2':
                  summary: SUCCESS
                  value:
                    response_code: 0
                    response_message: Success
                    payload:
                      status: SUCCESS
                      transactionMessage: Completed.
                      orderId: ORD1781032813525OcYNr
          headers: {}
          x-apidog-name: OK
      security: []
      x-apidog-folder: Payment Gateway/APIs - Payment Gateway /Payment
      x-apidog-status: released
      x-run-in-apidog: https://app.apidog.com/web/project/616243/apis/api-15336379-run
components:
  schemas: {}
  securitySchemes: {}
servers:
  - url: https://ekpayout-uat.enkash.in
    description: Testing Env
security: []

```
