Enkash Developer Portal
Home
Home
Login
  1. Payment
  • Back to home
  • Payment Gateway APIs
  • Authorisation
    • Get Authorization Token
  • Order
    • Create Order
    • Get Order Status
    • Get Order By Merchant Order Id
    • Get BNPL Payment Methods
    • Get Dynamic UPI QR
    • UPI Intent Links
  • Payment
    • Submit Payment Request
      POST
    • Get Transaction Status
      GET
    • Validate OTP
      POST
    • Resend OTP
      GET
    • Payment Notify Request
      POST
    • Get UPI Transaction Status
      GET
    • Verify UPI VPA
      POST
  • Refund
    • Refund
  • Settlement
    • Get Settlement Payout By ID
    • Search Settlement Payouts
  • Split Settlement
    • Create Split Settlement Account
    • Update Split Settlement Account
    • Get All Split Settlement Account
    • Deactivate Split Settlement Account
    • Activate Split Settlement Account
    • Submit Payment with Split Details
    • Edit Or Deferred Split Settlement
  • E-Commerce Plugins
  • UPI QR
    • Create UPI QR
    • Get UPI QR
    • Search UPI QR
    • Create Customer
    • Search Customer
    • Cancel UPI QR
  • UPI Autopay
    • Create UPI Mandate
    • Update UPI Mandate
    • Revoke UPI Mandate
    • Get UPI Mandate
    • UPI Mandate Callback
    • Mandate Pre-debit Notification
    • Execute Mandate Debit
    • Mandate Debit Callback
  • Payment Links
    • Payment Link APIs
    • Create Payment Link
    • Get Payment Link Details
    • Delete Payment Link
    • Webhook Request
  1. Payment

Get Transaction Status

GET
/api/v0/payment/{transactionId}
📌
Use this API to retrieve the current status of a transaction using a unique transaction identifier. This allows you to verify whether a payment was successful, pending, or failed, and helps keep your records and user notifications up to date.

Request

Path Params

Header Params

Request samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET '/api/v0/payment/' \
--header 'Authorization;' \
--header 'merchantAccessKey;'

Responses

🟢200OK
application/json
Body

Example
{
    "response_code": 0,
    "response_message": "string",
    "payload": {
        "transactionId": "string",
        "created": "2019-08-24T14:15:22Z",
        "lastModified": "2019-08-24T14:15:22Z",
        "type": "SALE",
        "amount": 0,
        "currency": "string",
        "status": "CREATED",
        "paymentDetail": {
            "paymentMode": "NET_BANKING",
            "cardHolderName": "string",
            "cardNumber": "string",
            "expiry": "string",
            "cardType": "CREDIT_CARD",
            "cardSchemeType": "VISA",
            "bankCode": "string",
            "bankName": "string",
            "accountNumber": "string",
            "ifsc": "string"
        },
        "bankResponse": {
            "terminalID": "string",
            "bankTransactionId": "string"
        },
        "txnMessage": "string",
        "txnDate": "2019-08-24T14:15:22Z",
        "surcharge": 0,
        "surchargeGst": 0,
        "finalAmount": 0,
        "txnMsg": "string",
        "mdr": 0,
        "mdrGst": 0,
        "transactionAmount": 0
    }
}
Modified at 2025-06-25 20:45:40
Previous
Submit Payment Request
Next
Validate OTP
Built with