API Reference

PIN Authentication

As per Pine Labs Information Security team’s recommendations, PIN set operation must be performed in two different ways: PIN Authentication API and PIN Authorization API. In PIN Authentication API, cardholder will be authenticated based on parameters configured at the Institution level (Either Date of Birth, CVV2/CVC2 or Card Expiry date defined in Credit+ Issuing Customer Portal). Once cardholder Authentication issuccessful with PIN Authentication API, API consumer should initiate (immediately) PIN Authorization API. PIN Authorization API should not be initiated by consumer in case PIN Authentication API failed. If the PIN set failed for three times, the cardholder must contact the bank for assistance. Pine Labs does not allow more than 3 requests within 24 hours. No request is allowed within 30 minutes of last successful PIN set. The PIN Set Through Netbanking API is also applicable for the SVC Products (Credit, Debit, and Prepaid) of Credit+ Issuing.

NOTE: 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).

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
200000Successful.
400901Device is not normal.
404902Invalid Device.
400903Request not allowed for virtual card
400905Invalid CVV2, DOB, Expiry date or Old Pin.
408906No request allowed within 30 minutes of last successful PIN set.
408907No more than 3 requests allowed within 24 hours.
403908PIN set failed 3 times. Please contact your bank for assistance.
403909PIN set request through other channel is already open.
400911Mandatory field validation failed.
408912Forward Offset Time limit violated.
408913Backward Offset Time limit violated.
500920PIN change operation is not permitted
500914Validation parameters are not configured.
500999Error while processing request.
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.
400997Only alphanumeric characters and underscore are allowed.
400997Card Number Alias field value must have max length 24.
400997Product Type field is invalid.
400997Device Number and Card Number Alias fields are empty. Please provide value for atleast one field.
400CNA001Bank Does Not Exists
400CNA002Card Number Alias Functionality is not applicable for this Institution
400CNA003Record does not exists for the given details
400CNA005Multiple device numbers are active for given details
400CNA006Error while fetching device details
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!