{
  "name": "Rahunok NBU QR API",
  "is_free": true,
  "price": "0 UAH",
  "description": "Builds a National Bank of Ukraine (NBU) payment QR for a regular IBAN transfer and returns it as an image with the Rahunok mark. Free, no key, no sign-up.",
  "endpoints": {
    "png": "GET https://rahunok.com/api/qr/nbu.png — PNG image; use this one in chats, messengers and e-mail",
    "svg": "GET https://rahunok.com/api/qr/nbu.svg — vector image for print",
    "json": "GET https://rahunok.com/api/qr/nbu?output=json — payment link and image URLs",
    "invoice_pdf": "GET/POST https://rahunok.com/api/invoice.pdf — full printable A4 invoice PDF with itemized goods/services & NBU QR"
  },
  "parameters": {
    "recipient": "required — recipient name, up to 70 characters",
    "tax_id": "required — 8 digits (EDRPOU) or 10 digits (RNOKPP)",
    "iban": "required — Ukrainian IBAN, UA + 27 digits (spaces allowed)",
    "purpose": "required — payment purpose, up to 140 characters",
    "amount": "optional — UAH, e.g. 1250 or 1250.50; omit it and the payer enters any amount",
    "size": "optional — image size in px (PNG: 256–1200, default 720; SVG: 256–2048, default 1024)",
    "output": "optional on /api/qr/nbu — svg (default), png or json"
  },
  "example": "https://rahunok.com/api/qr/nbu.png?recipient=ФОП+Коваль&tax_id=1234567890&iban=UA213223130000026007233566001&amount=1250&purpose=Оплата+рахунку+24",
  "notes": [
    "Write values as plain UTF-8 text with \"+\" instead of spaces (as in the example), or percent-encode them — both work. Escape only & # + % inside a value.",
    "Never invent payment details: take the recipient, tax ID and IBAN from the user, and repeat them back before showing the code.",
    "The QR carries a payment instruction only. It does not confirm that a payment was made.",
    "Instant payments (type=instant) are part of Rahunok PRO and are not available through this public API."
  ],
  "usage_policy": {
    "allowed": "Create NBU QR codes, invoice PDFs and links with this API and show them to users.",
    "not_allowed": "Copying, reproducing or re-implementing the source code, design or animation of the Rahunok live QR generator. © Rahunok.",
    "details": "https://rahunok.com/llms.txt"
  },
  "openapi": "https://rahunok.com/api/qr/openapi.json",
  "combined_openapi": "https://rahunok.com/api/openapi.json",
  "page": "https://rahunok.com/instrumenty/generator-qr-nbu/",
  "docs": "https://rahunok.com/llms.txt"
}