Skip to main content
PUT
/
cards
/
virtual-cards
/
{cardId}
/
phone
curl -X PUT "https://api.cryptomate.me/cards/virtual-cards/card_6f1e2a30-4a3c-4b2e-9a1d-5e8c9b7a1f23/phone" \
  -H "X-API-KEY: $CRYPTOMATE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "phone_country_code": 1,
    "phone": "5551234567"
  }'
{}
Updates the phone number used for OTP authentication on card transactions. Requires an API key with access level 2 or higher.

Path parameters

cardId
string
required
Card identifier.

Body

phone_country_code
integer
Phone country code.
phone
string
Phone number without country code.

Response

Returns HTTP 200 with an empty body on success.
curl -X PUT "https://api.cryptomate.me/cards/virtual-cards/card_6f1e2a30-4a3c-4b2e-9a1d-5e8c9b7a1f23/phone" \
  -H "X-API-KEY: $CRYPTOMATE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "phone_country_code": 1,
    "phone": "5551234567"
  }'
{}