Buvei
API ReferenceCards

Update Card Contact

Update phone or email for a card.

POST/open-api/v1/cards/{cardId}/contact

Updates the contact information attached to a single card. Provide at least one of mobile or email.

Path parameters

cardIdstringpathrequired

Body

mobilePrefixstringbody

Optional. When provided, concatenated with mobile server-side.

mobilestringbody

Mobile number. Provide together with mobilePrefix if you want a country code on the stored value.

emailstringbody

Email address.

Response

successboolean
cardIdstring
mobilestring
Final stored value (with prefix if provided).
emailstring
messagestring
Request
{
  "mobilePrefix": "+1",
  "mobile": "2025550123",
  "email": "[email protected]"
}
Response
{
  "code": 0,
  "message": "SUCCESS",
  "data": {
    "success": true,
    "cardId": "cid_1234567890",
    "mobile": "+12025550123",
    "email": "[email protected]",
    "message": "Card contact updated successfully"
  }
}