m2pfintech
API LibraryCard Controls

Generate dynamic CVV

Generates a dynamic CVV for the specified card, used for secure online transactions.

POST
/business-entity-manager/generateCVV

Header Parameters

TENANT*string

Tenant identifier. Required for all requests.

Request Body

application/json

entityId?string

Unique identifier of the entity (customer) requesting CVV generation.

kitNo?string

Kit number of the card for which the dynamic CVV is to be generated.

expiryDate?string

Card expiry date in YYYY-MM format, used for identity verification.

dob?string

Date of birth of the cardholder in YYYY-MM-DD format, used for identity verification.

Response Body

application/json

*/*

application/json

application/json

curl -X POST "https://api.m2pfintech.com/credit-line-management/business-entity-manager/generateCVV" \  -H "TENANT: string" \  -H "Content-Type: application/json" \  -d '{    "entityId": "E2EyUBCmdkpnkv5EB8",    "kitNo": "180010188",    "expiryDate": "2026-12",    "dob": "1990-01-15"  }'
{
  "result": {
    "cvv": "847291"
  },
  "exception": null,
  "pagination": null
}
{
  "result": null,
  "exception": {
    "errorCode": "ERR_400",
    "shortMessage": "Bad Request",
    "detailMessage": "Invalid or missing required fields in the request payload."
  },
  "pagination": null
}
{
  "result": null,
  "exception": {
    "errorCode": "ERR_404",
    "shortMessage": "Not Found",
    "detailMessage": "No card or entity found for the provided entityId or kitNo."
  },
  "pagination": null
}
{
  "result": null,
  "exception": {
    "errorCode": "ERR_500",
    "shortMessage": "Internal Server Error",
    "detailMessage": "An unexpected error occurred. Please try again later."
  },
  "pagination": null
}