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
cardIdstringpathrequiredBody
mobilePrefixstringbodyOptional. When provided, concatenated with mobile server-side.
mobilestringbodyMobile number. Provide together with mobilePrefix if you want a country code on the stored value.
emailstringbodyEmail address.
Response
successbooleancardIdstringmobilestringFinal stored value (with prefix if provided).
emailstringmessagestringRequest
{
"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"
}
}