---
page_title: Transaction Status
product: UPI TPAP SDK
platform: React Native
page_source: https://juspay.io/in/docs/upi-tpap-sdk/react-native/headless-process-payloads/transaction-status
llms_txt: https://juspay.io/in/docs/llms.txt
product_llms_txt: https://juspay.io/in/docs/upi-tpap-sdk/llms.txt
---


## Transaction Status



This api will be used for getting status of a transaction.


###   Process Parameters



## Request Payload
- **RequestId**:
  - Description: Unique uuid-v4 string
  - Value: Example: abcd-12345-abcd-12345
  - Tags: String, Mandatory
- **Service**:
  - Description: Value: in.juspay.hyperapi
  - Tags: String, Mandatory
- **Payload**:
  - Description: Parameters required to call Hyper SDK API
  - Value:
    - **Action**:
      - Description: Operation to be performed in the SDK
      - Value: upiTxnStatus
      - Tags: String, Mandatory
    - **UpiRequestId**:
      - Description: Unique identifier (uuid) for the request sent to NPCI
      - Tags: String, Mandatory
    - **Vpa**:
      - Description: Payer Vpa
      - Value: Example: abc@xyz
      - Tags: String, Optional
    - **MerchantKeyId**:
      - Description: Key ID to identify the public-private key pair used for signature generation.
      - Tags: String, Mandatory
    - **SignaturePayload**:
      - Description: Signature payload is a stringified JSON of the details mentioned in the below table.
      - Value:
        - **Merchant_id**:
          - Description: Unique identifier associated with an account created by juspay. Ex: stock
          - Value: stock
          - Tags: String, Mandatory
        - **Customer_id**:
          - Description: Any unique reference associated with your customer.
          - Tags: String, Mandatory
        - **Timestamp**:
          - Description: Time when request is created in milliseconds.
          - Tags: String, Mandatory
      - Tags: String, Mandatory
    - **Signature**:
      - Description: Signature generated for the signaturePayload .
      - Tags: String, Mandatory
    - **TransactionType**:
      - Value: CUSTOMER_DEBITED_VIA_PAY
      - Tags: String, Mandatory
    - **TransactionTimestamp**:
      - Description: (YYYY-MM-DDTHH:MM:SS+05:30)
      - Tags: String, optional
    - **CheckWithUdir**:
      - Description: Boolean flag for UDIR status check
      - Tags: String, optional
  - Tags: JSON, Mandatory


## Response Payload
- **RequestId**:
  - Description: Unique uuid-v4 string
  - Value: Example: abcd-12345-abcd-12345
  - Tags: String
- **Service**:
  - Description: Value: in.juspay.hyperapi
  - Tags: String
- **Payload**:
  - Description: Response Parameters
  - Value:
    - **Action**:
      - Description: Operation performed in the SDK
      - Value: upiTxnStatus
      - Tags: String, Mandatory
    - **Status**:
      - Description: Status of the API
      - Value: SUCCESS / FAILURE / PENDING
      - Tags: String, Mandatory
    - **ResponseCode**:
      - Description: PSP response code for the API
      - Tags: String, Mandatory
    - **ResponseMessage**:
      - Description: PSP response message for the API
      - Tags: String, Mandatory
    - **TransactionStatus**:
      - Value:
        - **Amount**:
          - Description: Transaction Amount. Numeric String with two decimals
          - Value: eg. 25.00
          - Tags: String, Mandatory
        - **BankAccountUniqueId**:
          - Description: Unique Identifier for bank account across banks
          - Tags: String, Mandatory
        - **BankCode**:
          - Description: IIN Code for the bank
          - Tags: String, Mandatory
        - **CustomResponse**:
          - Tags: String, Optional
        - **GatewayReferenceId**:
          - Description: Unique Transaction Number
          - Tags: String, Mandatory
        - **GatewayResponseCode**:
          - Description: Response Code received from NPCI
          - Tags: String, Mandatory
        - **GatewayResponseMessage**:
          - Description: Response Message received from NPCI
          - Tags: String, Mandatory
        - **GatewayTransactionId**:
          - Description: upiRequestId as passed in request
          - Tags: String, Mandatory
        - **MaskedAccountNumber**:
          - Description: Account Number with last few digits visible
          - Tags: String, Optional
        - **MerchantCustomerId**:
          - Description: Merchant generated unique profile id for customer as passed in the request
          - Tags: String, Optional
        - **MerchantId**:
          - Description: Unique id for the merchant as passed in request
          - Tags: String, Mandatory
        - **PayeeMcc**:
          - Tags: String, Mandatory
        - **PayeeMerchantCustomerId**:
          - Tags: String, Optional
        - **PayeeMobileNumber**:
          - Tags: String, Optional
        - **PayeeVpa**:
          - Tags: String, Optional
        - **PayerMerchantCustomerId**:
          - Tags: String, Optional
        - **PayerName**:
          - Tags: String, Optional
        - **PayerVpa**:
          - Tags: String, Optional
        - **RefUrl**:
          - Tags: String, Mandatory
        - **TransactionTimestamp**:
          - Tags: String, Optional
        - **Type**:
          - Description: VALUES: CUSTOMER_DEBITED_VIA_PAY, CUSTOMER_DEBITED_VIA_COLLECT, CUSTOMER_CREDITED_VIA_PAY, CUSTOMER_CREDITED_VIA_COLLECT
          - Tags: String, Mandatory
      - Tags: JSON, Mandatory
    - **OtherInfo**:
      - Description: As passed in request
      - Tags: String, Optional
  - Tags: JSON
- **Error**:
  - Description: Possible values :- true/false
  - Tags: Boolean
- **ErrorMessage**:
  - Description: Error Message
  - Tags: String
- **ErrorCode**:
  - Description: Error Code
  - Tags: String
- **Event**:
  - Description: Value: process_result
  - Tags: String





#### Code Snippets: -

#### Java Code Snippet:

```java
{"success":false,"message":"Failed to fetch snippet"}
```

#### Kotlin Code Snippet:

```kotlin
{"success":false,"message":"Failed to fetch snippet"}
```


## Sample Code Snippets:
### Request snippets:

#### Request Code Snippet:

```request
{"success":false,"message":"Failed to fetch snippet"}
```

### Response snippets:

#### Response:
```plaintext
{"success":false,"message":"Failed to fetch snippet"}
```



---

## Complete Code Reference

The following code files are referenced in the steps above:

### InappHeadless2.txt

```
{"success":false,"message":"Failed to fetch snippet"}
```


---

## See Also

- [List Transactions](https://juspay.io/in/docs/upi-tpap-sdk/react-native/headless-process-payloads/list-transactions)
- [Raise Complaint](https://juspay.io/in/docs/upi-tpap-sdk/react-native/headless-process-payloads/raise-complaint)
