Card Renewal API

The card renewal API allows the end user or customer to enable or disable the card renewal. This API enables Renewal Option flag at card/device level or disables this flag at card/device level. Based on this flag, the card renewal batch picks this card/device for renewal. This API is effective only when Allow Renewal flag at device plan level is enable. For example, If out of 100 cardsissued under Program X with device level plan A, and you want to renew only 50 cards. Then, the Card Renewal API is called with request parameters, such as card number or card pack ID and renewal yes or no.

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 CodeReason
400997Form Factor Type field is mandatory.
400997Form Factor Type should be CRD or CPI
400997Form Factor field is mandatory
400997Device Number is of invalid format
400997Card Pack ID is of invalid format
400997Renewal flag should be either Yes or No
400998Device Number not registered in the system
400998No Card Pack ID found for given details
201999Allow renewal is disabled. Please contact bank
201000Request processed successfully
500913Backward offset time limit violated
400994Invalid Request - Unrecognized field
400988Encryption type Not Supported
400913Forward offset time limit violated
400994Invalid Encryption - Algorithm header value
400994Invalid Encryption Request Parameters
400994Cryptography error
Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params
string
required
length ≤ 2

CSC / AGT / Network Code associated to Acquirer ID.

string
enum
required

Identifies whether the request contains Device Number (CRD) or Card Pack ID (CPI). Must be CRD or CPI.

Allowed:
string
required
length between 10 and 24

Card Number or Card Pack ID. Maximum length: 24. Minimum length: 10.

string
enum
required

Indicates whether renewal is enabled or disabled at the device level. Yes: Renewal option is selected at device level where card is picked for renewal. No: Renewal option is unchecked, if selected at device level and card is not picked for renewal. Must be Yes or No.

Allowed:
string
required
^[0-9]+$

Current UTC timestamp in milliseconds. Numeric. AES key expiration criteria depends on input UTC timestamp. Applicable only for encrypted requests.

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

API Consumer must share Correlation-ID in HTTP header for API requests. The Correlation-ID must be unique for each request. It is recommended to generate a 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
enum
required

API Consumer must share Encryption-Algorithm as a key (value: DES168) in HTTP header in order to encrypt the API requests.

Allowed:
string

API Consumer can share Source in 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