Enkash Developer Portal
Home
Home
Login
  1. Refund
  • Back to home
  • Payment Gateway APIs
  • Merchant
    • Generate Authorization Token
      POST
    • Payment Modes Details
      GET
  • Order
    • Create Order
      POST
    • Get Order Status
      GET
    • Get Order By Merchant Order Id
      GET
    • Get BNPL Payment Methods
      GET
    • Get Dynamic UPI QR
      GET
    • UPI Intent Links
      GET
    • Search Order
      POST
  • 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
    • Search Transaction
      POST
  • Refund
    • Refund Enquiry
      POST
    • Refund
      POST
  • Settlement
    • Get Settlement Payout By ID
      GET
    • Search Settlement Payouts
      POST
  • Split Settlement
    • Create Split Settlement Account
      POST
    • Update Split Settlement Account
      PATCH
    • Get All Split Settlement Account
      GET
    • Deactivate Split Settlement Account
      PATCH
    • Activate Split Settlement Account
      PATCH
    • Submit Payment with Split Details
      POST
    • Edit Or Deferred Split Settlement
      POST
  • 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. Refund

Refund Enquiry

Developing
POST
/refund/inquiry/{uniqueTransactionId}

Request

Path Params

Header Params

Request Code 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 POST '/refund/inquiry/' \
--header 'Authorization;' \
--header 'merchantAccessKey;'

Responses

🟢200Success
application/json
Body

Example
{
  "response_code": 0,
  "response_message": "string",
  "payload": {
    "acsHtml": "string",
    "acsUrl": "string",
    "surcharge": 0,
    "surchargeGst": 0,
    "amount": 0,
    "finalAmount": 0,
    "enkashPgCode": "CP000",
    "paymentMode": "NET_BANKING",
    "bankCode": "string",
    "bankName": "string",
    "cardScheme": "string",
    "currency": "string",
    "checksum": "string",
    "notifyUrl": "string",
    "returnUrl": "string",
    "status": "CREATED",
    "transactionId": "string",
    "txnMsg": "string",
    "txnDate": "string",
    "uniqueTransactionId": "string",
    "maskedCardNumber": "string",
    "cardHolderName": "string",
    "paymentToken": "string",
    "error": true,
    "transactionType": "SALE",
    "bankCard": true,
    "pgMid": "string",
    "pgPayId": "string",
    "tokenExpiry": 0,
    "bankTransactionId": "string",
    "transactionUuid": "string",
    "rupay": true,
    "merchantName": "string",
    "mdr": 0,
    "mdrGst": 0,
    "transactionAmount": 0,
    "otpLength": 0,
    "orderId": "string",
    "orderStatus": "CREATED",
    "paymentAttemptLeft": true,
    "upiCollectTimeout": 0,
    "skipContactInfo": true,
    "dauth": true,
    "transactionStatus": "CREATED",
    "productId": "string",
    "productCode": "DEFAULT",
    "iframe": "string"
  }
}
Modified at 2025-10-29 10:06:31
Previous
Refund
Next
Refund
Built with