Peguei o exemplo no site porém da erro nessa linha:
var response2 = endpoints.PixGenerateQRCode(param);
ViewBag.qrcode = response2;
JObject jsonResponse = JObject.Parse(response2);
-->> string img = (string)jsonResponse["QRCode"];
img=img.Replace("data:image/png;base64,","");