post https://uatmea-iss-apigw.creditpluspinelabs.com/cardmgmt/apis/v1/services/card/status
Update Card Status API is used to block or unblock the card. The cardholder must send the last 4 digits of the card number and either the mobile number or account number in the request. This API can be configured to work in two modes: ‘Block the Device’ and ‘Block or Unblock a Device’. If a cardholder wantsto block the device, a request israised and the card is blocked. If the cardholder wants to unblock the device, a request israised and the card is unblocked. For Apple Pay, if the status of a card or a wallet is updated, then the system automatically updates the status of the token.
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 |
---|---|---|
200 | 000 | Successful |
400 | 994 | Either Mobile Number or Account Number is not specified. |
401 | 900 | User is not authenticated |
404 | 998 | No card(s) found for the request. |
500 | 995 | Multiple cards found for card number. |
400 | 994 | Product Type should be either C, P or D |
400 | 998 | Card not found |
400 | 994 | Last 4 digits of card number should be specified |
400 | 994 | Card Number is not specified |
400 | 994 | Mobile Number is not specified |
400 | 994 | Unblock request not allowed for Institution |
500 | 999 | Error while fetching Customization Checklist configuration |