Skip to content

Update card PIN

PUThttps://api.gravv.xyz/v1/cards/{card_id}/pin

Update the PIN for a card.

Path Params

  • card_idstringrequired

    The ID of the card to update the PIN for

Body Params

  • card_pinstringrequired

    New PIN for the card

Responses

Language
curl --request PUT \
--url 'https://api.gravv.xyz/v1/cards/{card_id}/pin' \
--header 'Api-Key: <Api Key>' \
--header 'accept: application/json' \
--header 'content-type: application/json' \
--data '{
"card_pin": "934829"
}'
{
"data": {
"message": "Card PIN updated successfully"
},
"error": null
}