API Reference

Device Usage Control API

The Device Usage Control API enables the cardholder to toggle between the card control usages, wherein the cardholder can allow or restrict the card usage for international and domestic ATM, POS, e-commerce, contactless, MDES in-app or VTS in-app, MDES contactless or VTS contactless, and MDES token QR transactions based on the activation type provided in the input. The Credit+ Issuing system receives, validates, and processes the request. If the request is successful, the device usage is allowed or restricted on the card. The system then logs the Device Usage Control (service code: 454) service request (SR) and sends the service request details in 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.

The following validations are performed during activation and deactivation:

• The highest priority is given to lifelong activation, followed by periodic activation, and lastly the immediate activation in hours.

• If any combination of channel activation type and origin exist, and the lifelong activation request for all channels is received, then the request is accepted. However, if all these combinations are received again in a request, then the request is declined.

• If the periodic or hourly activation for all channels is existing and the lifelong activation request is received, then the request is accepted

• Ifthe periodic activation or deactivation for all or any ofthe channelsis existing, then the activation for same or overlapping period is not allowed.

• If lifelong activation or deactivation is existing and a periodic or hourly request is initiated with the same combination of lifelong, then the new periodic and hourly request does not get processed.

• If one or more channels (not all) is configured for lifelong activation or deactivation, and the request is initiated for all channels, then the remaining channels are also activated or deactivated for lifelong. The existing channel entry in the channel transaction setting does not change.

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
201HDS000Request processed successfully
403900Invalid User
404998Device(s) does not exist
500999Invalid Request Type
400997Device Number field is mandatory.
400997Device Number field should be numeric.
400997Priority Request field is invalid.
400997Request Date field is mandatory.
400997Request Date field must be in MM/dd/yyyy HH:mm:ss format.
400997Form Factor Type field is mandatory.
400997Form Factor Type field is invalid.
400997Form Factor field is mandatory.
400997Form Factor field value must have max length 24.
400997Activation Flag field is mandatory.
400997Activation Flag field is invalid.
400997Transaction Origin field is mandatory.
400997Transaction Origin field is invalid.
400997Transaction Channel field is mandatory.
400997Transaction channel field value must have length 4.
400997Atleast one transaction channel required as '1'
400997Only numeric characters 0 and 1 are allowed.
400997Activation Type field is mandatory.
400997Activation Type field is invalid.
400997Channel field is invalid.
400997Transaction country is not allowed for activation Type {}.
400997Transaction country is not allowed for non international transactions
400997Transaction country is mandatory.
400997Transaction country is invalid.
400997Country code {} is invalid.
400997Start Date is not allowed for Activation Type - 'Time in Hrs'.
400997End Date is not allowed for Activation Type - 'Time in Hrs'.
400997Time in Hrs field is mandatory.
400997Time in Hrs field should be numeric.
400997Time in Hrs field should be between 1 to 24.
400997Time in Hrs field should be between 1 to 24.
400997Start Date field is mandatory.
400997End Date field is mandatory.
400997Start Date field must be in dd/MM/yyyy format.
400997End Date field must be in dd/MM/yyyy format.
400997Time in Hrs is not allowed for Activation Type - 'Life Long Activation'.
400997End Date is not allowed for Activation Type - 'Life Long Activation'.Start Date is not allowed for Activation Type - 'Life Long Activation'.
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 10.
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 equal to or greater than institution date.
400997End Date should be greater than institution date.
400997End Date should be greater than start date.
400CNA003Record does not exists for the given details
400CNA005Multiple device numbers are active for given details
400CNA006Error while fetching device details
400927Invalid Country
400998DEVICE_ERROR
500INT101Error while retriving data from device
500INT102Error while executing International allow/disallow API
500HDEERR004Internal error occurred
400HDE100Device is not normal
400INT201country white list plan not available
400INT201Selected country is blacklisted
400HDE259Device is already deactivated for life long.
400HDE260Device is already activated for life long.
400HDE261DEVICE is already activated.
400HDE262Start Date is not allowed for Activation Type - 'Life LongDevice is already deactivated for a specific period for same transaction mode.
400HDE263Device is already activated for given date range.
400HDE264Only activated device will be deactivate.
400HDE270Device is already activated for a specific period for same transaction mode.
400HDE417Error while processing request
400BTHCM00018Error while processing request
400913Backward offset time limit violated.
400944Invalid Request - Unrecognized field.
400988Encryption type Not Supported
400913Forward offset time limit violated.
400DUCE001Exception occurred while fetching the existing details.
400DUC0003Device is already activated for lifelong
400DUC0004Device is already deactivated for lifelong
400HDE274Device is already activated for a specific period for same transaction mode and country
400HDE276Device is already deactivated for a specific period for same transaction mode and country
400DUC0007Device is already activated for lifelong
400DUC0008Device is already deactivated for lifelong
400DUC0010Device is already activated for a specific period for same transaction mode and country
400DUC0011Device is already activated for a specific period for same transaction mode
400DUC0012Device is already deactivated for a specific period for same transaction mode and country
400DUC0013Device is already deactivated for a specific period for same transaction mode
400DUC0015Device is already activated for specific hours
400DUC0016Device is already deactivated for specific hours
400DUCE111Internal error while processing the request
400DUC0017Request has been rejected, as the Device Usage Control settings are already present in the system for selected channels or Pre-digitization is not done on device for MDES/VTS channels.
400INT200Error while fetching the white and black list country code plan
400HDE232Start date should be greater than or equal to Institution Current Local Date.
400HDE1030Request has been rejected as pre-digitization is not done for the device. Please try again after pre-digitization of the device.
400HDE279Requested Details of one of the channels and origin is overlapping with existing device usage, hence rejecting the multi-channel request.
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!