PUT
/
institutions
/
cards
/
pin
/
{cardId}
/
change
Change Card PIN
curl --request PUT \
  --url https://sandbox-api.cardcore.cloud/institutions/cards/pin/{cardId}/change \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "oldPIN": {
    "encryptedData": "7f8d92h3k4j5l6",
    "publicKeyFingerprint": "a884d7744252e1ec674983a91e6"
  },
  "newPIN": {
    "encryptedData": "9f8d92h3k4j5l6",
    "publicKeyFingerprint": "a884d7744252e1ec674983a91e6"
  }
}
'
{}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

cardId
string
required

Path parameter: cardId.

Body

application/json
oldPIN
object
required
newPIN
object
required

Response

200 - application/json

Change Card PIN completed successfully.

The response is of type object.