post https://uatmea-iss-apigw.creditpluspinelabs.com/cardmgmt/apis/v1/services/card/encard
This API is used to fetch the card detailsin an encrypted format. It includes the Card Number, Expiry Date and CV and is applicable for active cards. This API is applicable for all products. NOTE: This API, if sent with Card Number Alias (CNA), will fetch the corresponding associated device for further processing only if DEVICE _STATUS_CODE = NORMAL (0), BLOCKED (14) OR (DEVICE_STATUS_CODE = UPGRADE (9) AND UPGRADE_STATUS = 1).
HTTP Status and Response Status Matrix
- HTTP Code: This is the response status code issued by a server in response to a client's request made to the server.
- Error Code: This is the error code returned by Credit+ Issuing application in the ‘code’ field of the response message indicating if the request was processed successfully or failed.
- Reason: This is the description of the error code returned by Credit+ Issuing application.
HTTP Code | Error Code | Reason |
---|---|---|
201 | 000 | Successful |
400 | 900 | Either Mobile Number or Account Number is not specified. 'encKey' could not be decrypted. |
401 | 900 | User is not authenticated. |
404 | 998 | No card(s) found for the request. |
500 | 010 | Error getting card details |
400 | 994 | Bad Request |
400 | 994 | Account Number field should be numeric. |
400 | 994 | Account Number field value must have max length 24. |
400 | 994 | Mobile Number field should be numeric. |
400 | 994 | Mobile Number field value must have max length 15. |
500 | 993 | Encryption Error |
500 | 999 | Error while processing request |
408 | 912 | Forward offset time limit violated |
408 | 913 | Backward offset time limit violated |
400 | 995 | encKey could not be decrypted |
400 | 994 | CNA not supported for this institution |
400 | 994 | Request parameters are missing or invalid |
400 | 994 | Product Type should be either C, P or D |
400 | 997 | Program Code field value must have max length 10. |
400 | 997 | Device Plan Code field value must have max length 10. |
400 | 994 | There are no unique devices for this request |
400 | 994 | There are no unique devices for this CNA request |
400 | 994 | Invalid Request - Unrecognized field. |
400 | 988 | Encryption type Not Supported. |
400 | 994 | Invalid Encryption-Algorithm header value |
400 | 994 | Invalid Encryption Request Parameters |
400 | 997 | Cryptography error |