API Reference

OTC Device Replacement API

Credit+ Issuing system will receive the OTC (Over the Counter) device replacement API request call and respond back with the OTC device replacement API response. For Successful response, the new device number will be replaced with the old device. This Request is applicable only for Prepaid/ Debit products. Replacement should be allowed even if the card status is Lost, Stolen or blocked. This API will not be applicable for LVC (Limited Validity Card) and SVC (Static Virtual Card).

NOTE:

The API, if sent with Card Number Alias (CNA), will fetch the corresponding associated device for further processing only if DEVICE _STATUS_CODE = LOST (05), or STOLEN (06), or BLOCK (14) or EXPIRED (12).

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 CodeDescription
201000Successful
400151Failed due to internal error. Please contact system admin.
400169Card Pack ID is mandatory for OTC replacement.
400400OTC Device Replacement failed: invalid request
400404Device(s) does not exist
400417Error while getting plan details
500500Invalid Request Type
400997Form Factor Type is mandatory
400997Form Factor Type should be CRD or CPI
400997Form Factor field is mandatory
400997Device Number in Form Factor field is mandatory
400997Card Pack ID in Form Factor field is mandatory
400997Device Number is of invalid format
400997Replacement reason is mandatory
400997New card pack ID is mandatory
400997Replacement fee indicator should be 0 or 1
400170Request not allowed for this device type
400150Device Status should be in Lost or Stolen or Blocked for OTC replacement
400GETDEV001Invalid Device
400GETDEV002Invalid Card Pack ID
400GETDEV003Invalid Client Code
400GETDEV004Error while facing device number
400HDE181Device Status should be in Lost or Stolen or Blocked for OTC replacement
400OTC041This pack cannot be sold from agent portal
400OTC100Device Status and replace reason should be same
400OTC051Instant Device Replacement is not allowed for this device plan
400OTC003OTC is not allowed as new card pack id is of different program or product
400OTC006New card number is already sold and delivered
400OTC015Pack ID can be sold only from agent portal
400OTC117Primary Device Exists. Please stop list the device
400OTC118Error while getting device plan details
400OTC002Replacement is not allowed on limited virtual validity device
400OTC011Expired Device
400OTC008Replaced Device
400OTC009Cancelled Device
400OTC021Device In Production
400OTC017Paired device present. Use Activate Paired Device service request to activate the paired device
400OTC145Device is already replaced, or its pair card is already activated
400OTC146Replacement not allowed for this device because Paired card of this device is already replaced
400997Program Code field should only contain [A-Z 0-9] and underscore and must start and end with alphanumeric character.
400997Device Plan Code field should only contain [A-Z 0-9] and underscore and must start and end with alphanumeric character.
400997Product Type field is invalid.
400997Only alphanumeric characters and underscore are allowed.
400997FORM_FACTOR field value must have max length 24.
400CNA006Multiple device numbers are active for given details
400CNA002Card Number Alias Functionality is not applicable for this Institution
400CNA003Record does not exist for the given details
400CNA001Bank Does Not Exists
400APPUP00105Branch code does not exist.
400BRCHCD001Invalid Branch Code.
Language
URL
Click Try It! to start a request and see the response here!