Integrazione tramite URL Parameters
Puoi aprire il generatore con dati di pagamento precompilati tramite parametri URL:
// JavaScript – link al generatore con parametri
const url = 'https://www.girocodegenerator.com/it'
+ '?name=' + encodeURIComponent('Mario Rossi')
+ '&iban=' + encodeURIComponent('IT60X0542811101000000123456')
+ '&betrag=' + encodeURIComponent('99.99')
+ '&zweck=' + encodeURIComponent('Fattura 2025-001');
window.open(url, '_blank');// PHP – generazione QR via API
$url = 'https://www.girocodegenerator.com/api/generate'
. '?name=' . urlencode($name)
. '&iban=' . urlencode($iban)
. '&betrag=' . urlencode($betrag)
. '&zweck=' . urlencode($zweck);
$response = file_get_contents($url);
$data = json_decode($response, true);
$qrBase64 = $data['qr_base64']; // PNG Base64 del QR CodeGoogle Apps Script
Puoi chiamare il GiroCode Generator direttamente da Google Apps Script:
function createGiroCode(name, iban, betrag, zweck) {
const url = 'https://www.girocodegenerator.com/api/generate'
+ '?name=' + encodeURIComponent(name)
+ '&iban=' + encodeURIComponent(iban)
+ '&betrag=' + encodeURIComponent(betrag)
+ '&zweck=' + encodeURIComponent(zweck);
const response = UrlFetchApp.fetch(url);
const data = JSON.parse(response.getContentText());
return data.qr_base64; // PNG Base64 del QR Code
}API in Arrivo
L'API REST GiroCode è attualmente in fase beta. Iscriviti per ricevere accesso anticipato e la documentazione completa.
Registrati per accesso beta