Enkash Developer Portal
Home
Home
Login
  1. Reloadable Prepaid Cards
  • Back to home
  • APIs - Prepaid Card
  • Encryption & Decryption Guide
  • Reloadable Prepaid Cards
    • Auth Token
      POST
    • Create Reloadable Prepaid Card
      POST
    • Set Card PIN
      POST
    • Generate OTP
      POST
    • View Card Details
      POST
    • VKYC Link Generation
      GET
    • VKYC Status
      GET
    • View Card CVV
      POST
    • Update Card Limits & Controls
      POST
    • Get Card Limits & Controls
      POST
    • Order Physical Card
      POST
    • Get Card Balance
      POST
    • Load Money from Balance
      POST
    • Request Card Replacement
      POST
    • Block Card
      POST
    • Get Transaction Details
      POST
    • Get All Transaction Details
      POST
  • Non Reloadable Gift Cards
    • Auth Token
    • Create Non Reloadable Gift Card
    • Set Card PIN
    • Generate OTP
    • View Card Details
    • View Card CVV
    • Order Physical Card
    • Get Card Balance
    • Get Transaction Details
    • Get All Transaction details
Home
Home
Login
  1. Reloadable Prepaid Cards

Generate OTP

POST
https://pay-en-uat.enkash.in/api/v0/partner/enKashCard/otp
📌
This API sends a one-time password (OTP) to verify cardholder's identity before sensitive card actions, such as setting or changing a PIN, freezing a card, or approving transactions.

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-12-24 16:59:08
Previous
Set Card PIN
Next
View Card Details
Built with