API Reference

Block or Unblock Device

This API can be configured to work in two modes- Block the Device and Unblock the Device. If a cardholder wants to block the device, a request (such as SMS) is raised, and the card is blocked. If the cardholder wants to unblock the device, a request is raised, and the card is unblocked. NOTE:

  1. For block request: The API, if sent with Card Number Alias (CNA), will 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. For unblock request: The API, if sent with Card Number Alias (CNA), will fetch the corresponding associated device for further processing only if DEVICE _STATUS_CODE = BLOCK (14). The following service codes will be logged based on status parameter: For Unblock Operation: 116, For Block Operation : 111

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
201BKWL000Request processed successfully [Application Code: BKWL000]
403900Invalid User
404998Device(s) does not exist
500999Internal error
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
400997Form Factor field value must have min length 10
400997Status field is mandatory
400997Status field is invalid
400VALFRM003Invalid Device
400VALFRM004Invalid Device
400VALFRM024Device is not stoplisted
400VALFRM026Error while getting device details
400VALFRM027DB INTERNAL ERROR
400VALFRM005Invalid Card Pack Id
400VALFRM006Invalid Client
400VALFRM007Invalid form factor type
400VALFRM008Device status is not normal
400VALFRM101Device is invalid for sale
400VALFRM009Device status is not normal
400VALFRM010Device is not block
400VALFRM011Device is not normal
400VALFRM012Device is not normal
400VALFRM013Device is not normal
400VALFRM014Device is not normal
400VALFRM015Invalid device
400VALFRM055Error getting device
400VALFRM016Invalid device plan
400VALFRM056Error getting device plan
400VALFRM017Not allowed for Static Virtual Card/Limited Validity Virtual Card
400VALFRM018Device is already delivered. Please use another pack id
400VALFRM019Bin of device(s) for entered card pack id is stoplisted
400VALFRM020Range of device(s) for entered card pack id is stoplisted
400VALFRM021Device(s) for entered card pack id is stoplisted
400VALFRM022Country is stoplisted
400VALFRM028Invalid Device Number
400VALFRM029Invalid device plan
400VALFRM040Not allowed for Virtual Cards
400VALFRM030Device is already Activated
400VALFRM031Device is Cancelled
400VALFRM032Device is Replaced
400VALFRM034Device is Expired
400VALFRM038Device is stoplisted
400VALFRM033Device is not Normal
400VALFRM035Device is not Delivered
400VALFRM036Device is not Registered
400VALFRM039Device cannot be activated as activation mode is not configured as Manual.
400VALFRM045Device not Found
400VALFRM046Error getting device information
400VALFRM046Invalid Product type
400VALFRM023Error while validating form factor
400BLKDEV002Invalid Card Pack Id
400BLKDEV003Error getting Card Pack Id
400BLKDEV004Invalid Form Factor
400BLKDEV005Error getting Form Factor details
400BLKDEV005Internal error occurred during record fetching from Device
400BLKDEV006Internal error occurred during record fetching from Program
400BLKDEV007Device is already blocked
400BLKDEV012Internal error occurred
400BLKDEV009Device is not in normal state
400BLKDEV011Error while processing request
400BLKDEV014Internal error occurred during record fetching from Program
400BLKDEV015Device is already active
400BLKDEV017Internal error occurred
400BLKDEV018Device is not in normal state
400BLKDEV020Non_fungible_limits insert SCR error. Limits validation failed
400CCNF0102Non_fungible_limits insert SCR error. Limits validation failed
400CCNF0103Non_fungible_limits insert SCR error. Limits validation failed
400CCNF0104Non_fungible_limits insert SCR error. Limits validation failed
400CCNF0105Non_fungible_limits insert SCR error. Limits validation failed
400CCNF0106Non_fungible_limits insert SCR error. Limits validation failed
400STPLST037Can Not Insert Into SERVICE_DETAILS For DEVICE Number
400STPLST038Can Not Insert Into SERVICE_DETAILS For DEVICE Number
400STPLST039Can Not Insert Into SERVICE_DETAILS For DEVICE Number
400CDUSG001Already active service request present for ATM within specified date range. Please choose different channel or dates.
400CDUSG002Already active service request present for E-Com within specified date range. Please choose different channel or dates
400CDUSG004Internal Error. Please check Batch Trace
400CDUSG005Error while inserting into SERVICE_DETAILS For DEVICE Number
400STPLST040Can Not Insert Into SERVICE_DETAILS For DEVICE Number
400SQLCODECan Not Insert Into SERVICE_DTL_ESTIMATED_CLS For DEVICE Number
400SQLCODECan Not update INSTANT_REWARD_SMS For DEVICE Number
400HDE001Internal Error
400CNA003Record does not exist for the given details
400CNA005Multiple device numbers are active for given details
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!