Activate Bank Card Kit to User

This api activate Bank Card Kit to User


REST


Headers

FieldsTypeDescriptionExampleO/MData Management
URLstring/v1/card-kitM
METHODstringPOSTM
content-typestringJSONapplication/jsonM
x-access-tokenstringSession token with validitytokenM

Request


{
    "entityId": "550000119",
    "entityType": "CUSTOMER",
    "businessType": "EQPAYSACK",
    "businessId": "550000119",
    "countryofIssue": "IND",
    "cardType": "P",
    "kitNo": "880000001",
    "title": "Mr",
    "firstName": "TEST",
    "lastName": "CUSTOMER",
    "gender": "M",
    "specialDate": "1999-09-29",
    "contactNo": "+919000000000",
    "emailAddress": "email@m2p.in",
    "address": "my address, my street",
    "address2": "my locality",
    "city": "mycity",
    "state": "mystate",
    "country": "India",
    "pincode": "600000",
    "idType": "PAN",
    "idNumber": "1234500001",
    "idExpiry": "2020-12-12",
    "kycStatus": "MIN_KYC/FULL_KYC",
    "countryCode": "+91",
    "programType": "EQPAYSACK",
    "documents": [
        {
            " docType ": "PAN",
            " docNo ": "ADOPA89013",
            "docExpDate": null
        },
        {
            " docType ": "PASSPORT",
            " docNo ": "ADOPA89013",
            " docExpDate ": "2025-12-12"
        }
    ],
    "addressDto": {
        "contactNo1": "+919677109523",
        "contactNo2": "+919236634491",
        "emailAddress1": "test@m2p.in",
        "emailAddress2": "test@gmail.com",
        "notification": "1010",
        "address": [
            {
                "title": "PERMANENT,",
                "address1": "Plot 23&23, AG1, Vidhya Apts,",
                "address2": "Vidhya nagar 2nd St",
                "address3": "Ullagaram",
                "city": "Chennai",
                "state": "TamilNadu",
                "country": "India",
                "pinCode": "600091"
            }
        ]
    }
}

{
        "kitNo": "000000222222",
        "employee_id": "598024db0532e4xxxxxxxxxx",
        "last_digits": "0456",
        "specialDate": "1987-07-26",
        "address": "b-4/8 rajouri garden",
        "address2": "2nd floor",
        "gender": "M",
        "isKitRegistered": false,
        "country": "India",
        "city": "New Delhi",
        "state": "New Delhi",
        "pincode": "110027",
        "idType": "PASSPORT/DL/PANCARD/AADHAR",
        "idNumber": "xxxxxxx",
        "countryofIssue": "IND",
        "title":"Mr/Ms"

    }

Success

 

Error

{
    "error": "Kit no 880000001 and last four  digits undefined dont match"
}

Adding `updateOnly:true' field to kit registration payload will update the kit on paysack servers only without hitting the actual m2p servers with registration payload.