PUT
/
cards
/
{id}
/
pin
curl --request PUT \
  --url https://api.sandbox.sudo.cards/cards/{id}/pin \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '{
  "oldPin": "<string>",
  "newPin": "<string>"
}'
"{}"

Authorizations

Authorization
string
header
required

Path Parameters

id
string
required

The _id of the card to update.

Body

application/json
oldPin
string
required

4 digits old card PIN.

newPin
string
required

4 digits new card PIN.

Response

200
application/json
200

The response is of type object.