1. Home
  2. Virtual Card Management
  3. Enrollment

Enrollment


Single enrollment endpoint

Endpoint

POST {scheme}://{host}:{port}/virtual-card/api/v1/cards/enrol

Request Type is application/json

Authorization: {passport generated bearer token}

Request Message description

Field#Field nameData typeMax lengthRequiredDescription
1cardNameString100Yese.g Emeka Ugo
2pinNumeric4Yese.g 4040
3cardPanString50Yese.g 5060666666666666666
4cityString50Yese.g Surulere
5countryString50Yese.g Nigeria
6countryCodeString50Yese.g NG
7expiryDateString50Noe.g 2505
8cvvNumeric3Noe.g 366
9primaryMobileCountryCodeString3Yese.g NGN
10primaryMobileNumberString25Yese.g 2348075884533
11stateString50Noe.g Lagos
12titleString50Noe.g Mr

Plain Sample Request

{
      “cardName”:”Adewoye Adeyelr”,
      “pin”: “1234”,
      “cardPan”:”5061810000000152049″,
      “city”:”la”,
      “country”:”NG”,
      “countryCode”:”NG”,
      “expiryDate”:”1800″,
      “cvv”:”333″,
      “primaryMobileCountryCode”:”NGN”,
      “primaryMobileNumber”:”2348065186177″,
      “state”:”Lagos”,
      “title”: “Mr”
}

Encrypted Sample Request

{
   “data”:”T4DZPBE42uzXl61X+3D47lTyB1uXkvgTY/Q2ATx5/A2Qm/8fAlkbJbMtmpGciOCIOimf44BRnntAsX7mn5UwFd6yE+fnVQvWLti+MYKud6ywK5fckw8b0ZrzR5+nvNLEaTA9jFptCBq0nNN1tCk7QzcgajBbad1/pbC8QUf7oYZ1rVqQ/Kghyi0aC5tIyL2h3ul/jiPyjEmb18I0xTSz3w==”
}

Response Message description

Field#Field nameData typeMax lengthRequiredDescription
1responseCodeString


2responseMessageString


3messageString


4statusString


Sample Response

{

       “responseCode”: “00”,

       “responseMessage”:”Successful”,

       “data”: { 

           “status”:”SUCCESSFUL”,

           “message”:”Card successfully enrolled”

       }

}

Multiple enrollment endpoint

Endpoint

POST {scheme}://{host}:{port}/virtual-card/api/v1/cards/batch/enrol

Request Type is Multi-part form-data

Authorization: {passport generated bearer token}

Request Message description

Field#Field nameData typeMax lengthRequiredDescription
1fileFile
YesUpload .xls or .xslx file type 

Sample Response

{

       “responseCode”: “00”,

       “responseMessage”:”Successful”,

       “data”: { 

           “status”:”PROCESSING_IN_PROGRESS”,

           “message”:”The batch processing is in progress”

       }

}

Was this article helpful to you? Yes 1 No

How can we help?