API Reference

Domestic Usage Enable API

This API is used to enable the usage of card for ATM, POS and/or e-commerce transactions done in the home country of the cardholder through various channels such as online banking or mobile banking for the specified duration. The Credit+ Issuing system receives, validates and processes the request. If the request is successful, domestic usage is enabled on the card, system logs the Device Usage Control (service code: 454)service request (SR) and sendsthe service request detailsin the response message.In case of API channel, the SR is processed immediately irrespective of whether the checker/maker configuration is enabled for this SR or not. If the request fails, the system returns the corresponding error code in the response and the SR is not logged. **NOTE:

  1. The API, if sent with cardNumberAlias (CNA), will internally fetch the corresponding associated device for further processing only if DEVICE _STATUS_CODE = NORMAL (0) OR (DEVICE_STATUS_CODE = UPGRADE (9) AND UPGRADE_STATUS = 1).
  2. Either deviceNumber or cardNumberAlias parameter’s value must be provided to process the request. However, if both are received in request then the system will not validate if the cardNumberAliasislinked to that particular device. System processesthe request based on the device number itself.**

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
201CDUSG000Request processed successfully
201CCRBO0004Request processed successfully
403900Invalid User
404998Device(s) does not exist
500999Invalid Request Type
400997Start Date field is mandatory
400997Start Date must be in dd/MM/yyyy format.
400997End Date field is mandatory
400997End Date must be in dd/MM/yyyy format.
400997Product Type field is invalid.
400997Program Code field should only contain [A-Z 0-9] and underscore and must start and end with alphanumeric character.
400997Program Code field value must have max length 6.
400997Device Plan Code field should only contain [A-Z 0-9] and underscore and must start and end with alphanumeric character.
400997Device Plan Code field value must have max length 10.
400997Request Date should be less than or equal to institution date.
400997Start Date should be greater than or equal to institution date.
400997End Date should be greaterthan or equal to institution date
400997End Date should be greater than or equal to start date.
400CNA001Bank Does Not Exists.
400CNA002Card Number Alias Functionality is not applicable forthisInstitution.
400CNA003Record does not exists for the given details
400CNA005Multiple device numbers are active for given details
500CNA006Error while fetching device details
400998Invalid device number.
400DOM001Invalid device number.
500DOM002Error while fetching details from device.
500DOM105Error while executing Domestic Usage Enable API
400HDE050Institution code is mandatory
400HDE051Device number is mandatory
400HDE052Service code is mandatory.
500HDE053Error in fetching data from service_code_mst.
400HDE054Active request Already exist
400HDE523This Service Request is not allowed for Addon device
400HDE524This Service Request is not allowed for closed device
500HDE053Error in fetching data from service_code_mst
400SERVIC001Service request is not applicable to product type.
400HDE100Service not allowed, DEVICE status is <STATUS_CODE>. NOTE: This error code will return for the following STATUS_CODEs: 1: Supervision, 3: Cancelled, 4: Replaced, 5: Lost, 6: Stolen, 7: Counterfeit, 8: Returned, 9: Upgrade (future use), 10: Returned Card Renewal (future use), 11: Not activated Card, 12: Expired, 13: Inactive
400HDE012DEVICE is in production
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
Language
URL
Click Try It! to start a request and see the response here!