cURL
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>" } '
"{}"
Change PIN for a specific card. Available for AfriGo (physical and virtual) cards. For Verve only virtual are supported at the moment.
The _id of the card to update.
_id
4 digits old card PIN.
4 digits new card PIN.
200
The response is of type object.
object