m2pfintech
API LibraryCard Lifecycle

Kit Activation

Activates a card kit that is in INACTIVE or ASSIGNED status. Once activated, the card becomes ready for use in transactions. Both entityId and kitNo are required to identify the specific card to activate.

POST
/kit-manager/kitActivation

Authorization

tenantAuth
tenant<token>

The DCMS tenant name for multi-tenant isolation. Every API call must include this header to identify the client organization.

In: header

Header Parameters

tenant*string

The DCMS client or tenant name for multi-tenant isolation.

Request Body

application/json

entityId*string

Customer entity identifier who owns the card.

kitNo*string

Kit number of the card to activate.

Response Body

application/json

application/json

curl -X POST "https://api.dcms.example.com/v1/kit-manager/kitActivation" \  -H "tenant: ACME_BANK" \  -H "Content-Type: application/json" \  -d '{    "entityId": "req7",    "kitNo": "4240171508"  }'
{
  "result": "success",
  "exception": null,
  "pagination": null
}
{
  "result": null,
  "exception": {
    "errorCode": "MCC007",
    "shortMessage": "valid kit not found",
    "detailMessage": "No valid kit found for the given kit number and entity ID",
    "httpStatus": "BAD_REQUEST",
    "fieldError": [
      "Invalid Kit No"
    ],
    "languageCode": "en"
  },
  "pagination": null
}