api-hub.ch
← All APIs

Swiss QR Bill

Generate and parse Swiss QR invoice payment slips: PDF, SVG, or PNG out — structured data back in.

First 100 calls/month free, then CHF 0.01 per call

Example request

curl -H "Authorization: Bearer ah_live_…" \
  -X POST \
  -H "Content-Type: application/json" \
  -d '{
  "data": {
    "currency": "CHF",
    "amount": 199.95,
    "creditor": {
      "account": "CH4431999123000889012",
      "name": "Robert Schneider AG",
      "address": "Rue du Lac 1268",
      "zip": "2501",
      "city": "Biel",
      "country": "CH"
    },
    "debtor": {
      "name": "Pia-Maria Rutschmann-Schnyder",
      "address": "Grosse Marktgasse 28",
      "zip": "9400",
      "city": "Rorschach",
      "country": "CH"
    },
    "reference": "210000000003139471430009017"
  }
}' \
  "https://api.api-hub.ch/v1/qrslip/bill"

Replace the placeholder key with your live key from checkout.

Full request and response schemas are in the interactive API reference.