Enkash Developer Portal
Home
Home
Login
  1. Wallet Management
  • Back to home
  • Wallet APIs
  • Authentication
    • Auth Token
  • Wallet Setup
    • Create Wallet
    • Update Wallet Details
    • VKYC Link Generation
    • VKYC Status
    • Get Wallet Details
  • Wallet Management
    • Load Money
      POST
    • Generate Transaction OTP
      POST
    • Get Transaction Details
      POST
    • Get Wallet Balance
      POST
    • Load Limit Check
      POST
  • Fund Transfers
    • Add Beneficiary
    • Search Beneficiaries
    • Fund Transfer
    • Wallet To Wallet Transfer
    • Get Fund Transfer Status
  • Merchant Payments
    • Initate Merchant Payment
    • Merchant Settlement
    • Settlement Status
  • Webhooks
    • Payment Notify Request
  1. Wallet Management

Generate Transaction OTP

Developing
POST
https://pay-en-uat.enkash.in/api/v0/partner/enKashCard/otp
📌
Generate Transaction OTP creates a one-time passcode (OTP) required to authorize sensitive wallet operations . Call this endpoint to request an OTP be sent to the user via SMS
Purpose
1.
Request an OTP tied to a specific transaction or action.
2.
Protects sensitive wallet operations with an additional verification step.
3.
The OTP is time-bound and single-use.

Request

Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************
Header Params

Body Params application/json

Example
{
    "cardOtpAction": "TRANSACTION_OTP",
    "cardAccountId": "CAC7975",
    "enKashCardId": "EKCBEFFEC1"
}

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 'https://pay-en-uat.enkash.in/api/v0/partner/enKashCard/otp' \
--header 'authorization: Bearer j8o6WSg6p6W7uOzycG6Yewzn06E' \
--header 'partnerId: CRM338L2H' \
--header 'Authorization: Bearer <token>' \
--header 'Cookie: _cfuvid=jS8C5lxGW4Q6FRWotUQnMGhbxbpGmvk3fGg1kdmq4WM-1752680737979-0.0.1.1-604800000; JSESSIONID=0358753FB975001E868ABA71D2AA2204' \
--header 'Content-Type: application/json' \
--data-raw '{
    "cardOtpAction": "TRANSACTION_OTP",
    "cardAccountId": "CAC7975",
    "enKashCardId": "EKCBEFFEC1"
}'

Responses

🟢200OK
application/json
Body

Example
{
    "code": 0,
    "message": "Success",
    "payload": {
        "otpRequestId": "EK7E5CKFQX",
        "mobileNumber": "60XXXXXX11"
    }
}
Modified at 2025-11-18 19:11:59
Previous
Load Money
Next
Get Transaction Details
Built with