Skip to content
Fourohtwo

Generate a styled QR code PNG with custom colors and error correction.

apistead.qd.je/api/v1/qr/generate/styled

Generate a styled QR code PNG with custom colors and error correction.

BaseUnchecked
POSThttps://apistead.qd.je/api/v1/qr/generate/styled

UptimeNot checked yet

30 days agoToday

Try it

Pays from your browser wallet in USDC on Base or USDG on Robinhood Chain, whichever the endpoint takes. The provider is paid directly; failed calls aren't refunded by Fourohtwo.

The response shows up here.

Call it from an agent

import { createPayer } from "fourohtwo";

// One agent key pays USDC on Base or USDG on Robinhood Chain,
// inside the spending rules you set on Fourohtwo.
const pay = createPayer({ privateKey: process.env.AGENT_KEY });
const res = await pay("https://apistead.qd.je/api/v1/qr/generate/styled", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"type":"object","required":["data"],"properties":{"data":{"type":"string","maxLength":2000,"minLength":1,"description":"Content to encode."},"border":{"type":"integer","default":4,"maximum":20,"minimum":0},"box_size":{"type":"integer","default":10,"maximum":40,"minimum":1},"back_color":{"type":"string","default":"#ffffff","description":"Background color as hex."},"fill_color":{"type":"string","de),
});
console.log(await res.json());

Example input

{"type":"object","required":["data"],"properties":{"data":{"type":"string","maxLength":2000,"minLength":1,"description":"Content to encode."},"border":{"type":"integer","default":4,"maximum":20,"minimum":0},"box_size":{"type":"integer","default":10,"maximum":40,"minimum":1},"back_color":{"type":"string","default":"#ffffff","description":"Background color as hex."},"fill_color":{"type":"string","de

More from APIStead