1. Home
  2. Scplite
  3. Change Pin

Change Pin

Endpoint: POST -> {host}/scplite/cards/pins

Request Headers

NameKeyValue (Sample)TypeLengthPurpose (Use cases)
Card’s encrypted Auth Data oldAuthData …SASA22312=StringAuthData Specification
Card’s encrypted Auth Data newAuthData …SASA22312= String AuthData Specification
Bank CodeBankCode999numberSubmitted with the CMS API requests. CMS uses this value to query for the Card Programs value. 
User IduserIduser.namestringThis is submitted as part of the calls to Postman to identify the user making the call.
Issuer NumberissuerNr2stringCard issuer unique id.

Sample Request

{
"productCode": "21"
}

Sample Response (Success)

HTTP Response code 204

Sample Response (Failure)

{
"errors": [
{
"code": 57, //A postilion response code
"message": "PAN not found" //Interpretation of the postilion code
}
]   
}

Was this article helpful to you? Yes 1 No

How can we help?