Skip to main content
POST
/
cards
/
change-pin
cURL
curl --request POST \
  --url https://access.utgl.io/v1/cards/change-pin \
  --header 'Authorization: Basic <encoded-value>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "cardAccountId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "cardId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "pin": "848484"
}
'

Authorizations

Authorization
string
header
required

Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.

Body

application/json
cardAccountId
string<uuid>
required

Card account ID of the card to change PIN

cardId
string<uuid>
required

Card ID of the card to change PIN

pin
string
required

New PIN, numeric pin must be 6 digits

Required string length: 6
Example:

"848484"

Response

200

Card PIN Changed successfully