API Reference

International Use Allow/Disallow API

This API is used to allow or restrict the usage of card for international ATM, POS and/or e-commerce transactions through various channels such as online banking or mobile banking for the specified duration in the designated countries. The Credit+ Issuing system receives, validates and processes the request. If the request is successful, international usage is allowed/restricted on the card, system 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 whetherthe 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
201CCRBO0004Request processed successfully
201HDS0000Service request has been processed successfully
400997Retail Transaction To Loan Request failed: invalid request
403900Invalid User
404998Device(s) does not exist
500999Invalid Request Type
400997Device Number field is mandatory.
400997Invalid Device Number field should be numeric.
400997Device Number field value must have min length 10.
400997Device Number field value must have max length 24.
400997Priority Request field is invalid.
400997Request Date field is mandatory.
400997Request Date field must be in MM/dd/yyyy HH:mm:ss format.
400997Operation field is mandatory.
400997Operation field is invalid.
400997Activation Type field is mandatory.
400997Activation Type field is invalid.
400997Activation Type is not allowed for Deactive operation '0'.
400997Transaction mode is not allowed for Deactive operation '0'.
400997Transaction country is not allowed for Deactive operation '0'.
400997Device Number field should be numeric.
400997Card Number Alias field should be alphanumeric with only allowed special characters are [_!'()*+,-.].
400997Card Number Alias field value must have max length 24.
400997Device Number field should be numeric.
400997Card Number Alias field should be alphanumeric with only allowed special characters are [_!'()*+,-.].
400997Either Device Number or Card Number Alias field must be present.
400997Time in Hrs is not allowed for Deactive operation '0'.
400997Start Date is not allowed for Deactive operation '0'.
400997End Date is not allowed for Deactive operation '0'.
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 is not allowed for Activation Type - 'Activation in Period'.
400997Start Date field is mandatory.
400997End Date field is mandatory.
400997Start Date field must be in MM/dd/yyyy format.
400997End Date field must be in MM/dd/yyyy format.
400997Time in Hrsis not allowed for Activation Type - 'Life Long Activation'.
400997Start Date is not allowed for Activation Type - 'Life Long Activation'.
400997End Date is not allowed for Activation Type - 'Life Long Activation'.
400997Transaction Mode is not allowed for Activation Type - 'Life Long Activation'.
400997Transaction Mode is not allowed for Activation Type - 'Time in Hrs'.
400997Transaction Mode is invalid.
400997Transaction Mode field is mandatory.
400997Transaction Country field is mandatory.
400997Country code {} is invalid.
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
500CNA006Error while fetching device details
400927Invalid Country
400998DEVICE_ERROR
500INT101Error while retrieving 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 de-activated
400HDE260DEVICE is already activated for life long use
400HDE261DEVICE is already activated for
400HDE262Device activated for a specific period for same transaction mode and transaction country
400HDE264Only Activated DEVICE can be De-Activate
400HDS455Duplicate configuration received
400994Invalid Request - Unrecognized field.
400988Encryption type Not Supported.
400913Forward offset time limit violated.
500HDE417Error while processing request
500BTHCM00018Error while processing request
500913Backward 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!