PublicCards_qr
GET
/api/public/w/{workspace}/{card}/qrcode.png
const url = 'https://met.cards/api/public/w/example/example/qrcode.png?mark=1';const options = {method: 'GET'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url 'https://met.cards/api/public/w/example/example/qrcode.png?mark=1'Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”workspace
required
string
card
required
string
Query Parameters
Section titled “Query Parameters”mark
string
Draw the met.cards mark in the centre when the code still scans with it (error correction H, up to 382 bytes). Ignored when logo is given, or when fg or bg is set to anything but the default black on white.