Get Card Status API

This API is used to retrieve the card status. The Credit+ Issuing system receives, validates and processes the request. If the request is successful, the system sends the card details in the response message. If the request fails, the system returns the corresponding error code in the response.

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 CodeError CodesReason
200000Successful
400997Either Mobile Number or Account Number is not specified
401990User is not authenticated
404998No card(s) found for the request
500999Error getting card details
400994Either Mobile number or Account number is not specified
400994Invalid type is specified
404998No cards
400994Mobile number Required
400994Product type should be either C, P or D
Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Query Params
string
length ≤ 24
^[0-9]+$

Account number of the customer (either accountNumber or mobileNumber is required)

string
length ≤ 15
^[0-9]+$

Mobile number of the customer (either accountNumber or mobileNumber is required)

string
enum

Card type to be returned (primary or all)

Allowed:
Headers
string
^[a-zA-Z0-9-]{1,50}$

API Consumer must share a Correlation-ID in the HTTP header for API requests. The Correlation-ID must be unique for each request. It is recommended to generate universally unique identifier (UUID) of length 32 or 36 that is compliant with RFC 4122. The maximum supported length is 50 alphanumeric characters. For example, ac97d177-9345-4934-8343-0f91a7a02836. If the Correlation-ID is not received in the incoming request, the system generates the UUID dynamically and assigns it to the request.

string

API Consumer can share Source in the HTTP header for API requests. For the list of Source values, see the Pre-conditions for HTTP Header of REST API topic in the Pre-requisite for Rest API section.

Response

Language
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json