🚀 VaultsPay API v1 is live. See what's new →
UsersUpdate User

Update User

Partially update a user. Only the fields you provide will change.

PATCH/v1/users/{id}

Body parameters

FieldTypeDescription
emailstringNew email. Subject to uniqueness check.
mobilestringNew E.164 phone number.
addressobjectFull or partial replacement of address.
statusenumactive | suspended. Use this to suspend/reactivate the user.
metadataobjectMerge-replaces your stored metadata.
curl -X PATCH https://api.vaultspay.ae/v1/users/usr_01HX71YM6FJ3A8W7T5K6NRB2DN \
  -H "Authorization: Bearer sk_test_yourApiKeyHere" \
  -H "Content-Type: application/json" \
  -d '{ "mobile": "+971551111222" }'
200 OK
{
  "id": "usr_01HX71YM6FJ3A8W7T5K6NRB2DN",
  "object": "user",
  "mobile": "+971551111222",
  "updated_at": "2026-04-24T14:52:03.182Z",
  ...
}