Skip to main content
POST
/
api
/
v1
/
cards
/
{id}
/
otps
/
request
curl -X POST https://api.uncash.io/api/v1/cards/abc123/otps/request \
  -H "Authorization: Bearer uc_your_api_token_here"
{
  "success": true,
  "message": "Email OTP requested successfully",
  "data": {
    "message": "Email OTP requested successfully",
    "cardInfo": {
      "id": "abc123",
      "providerCardId": "fin_card_xyz789",
      "name": "My Business Card",
      "otp_code": "123456"
    }
  },
  "timestamp": "2025-09-26T10:30:00.000Z"
}

Path Parameters

id
string
required
The card ID to request OTP for

Response

success
boolean
Indicates if the request was successful
data
object
message
string
Success message
curl -X POST https://api.uncash.io/api/v1/cards/abc123/otps/request \
  -H "Authorization: Bearer uc_your_api_token_here"
{
  "success": true,
  "message": "Email OTP requested successfully",
  "data": {
    "message": "Email OTP requested successfully",
    "cardInfo": {
      "id": "abc123",
      "providerCardId": "fin_card_xyz789",
      "name": "My Business Card",
      "otp_code": "123456"
    }
  },
  "timestamp": "2025-09-26T10:30:00.000Z"
}
{
  "success": false,
  "error": "Card not found or access denied",
  "timestamp": "2025-09-26T10:30:00.000Z"
}
{
  "success": false,
  "error": "No OTP found for this card",
  "timestamp": "2025-09-26T10:30:00.000Z"
}