68trust / 100

Iban Generate Epc Qr

by api.ibancheck.co.uk in Markets & finance

x402 APIFailing, checked 32 min ago

Generate a SEPA EPC (GiroCode) payment QR code as PNG or SVG from IBAN, beneficiary name, amount and reference. Scannable by European banking apps to prefill a SEPA credit transfer. The IBAN is validated first. $0.002 USDC per call on Base.

POST https://api.ibancheck.co.uk/api/iban/generate-epc-qr

Last 30 days

All checks passedSome failedAll failedNot checked
Uptime
66.7%
Response time
289 ms typical, 335 ms slowest 5%
Last check
32 min ago: Expected HTTP 402, got 530
Next check
any minute now

How to call it

# See the payment challenge (nothing is charged)
curl -i -X POST "https://api.ibancheck.co.uk/api/iban/generate-epc-qr" \
  -H "content-type: application/json" \
  -d '{"amount":150.5,"beneficiaryName":"Example GmbH","currency":"EUR","iban":"DE89370400440532013000"}'
import { wrapFetchWithPayment } from "@x402/fetch";
import { x402Client } from "@x402/core/client";
import { ExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";

const client = new x402Client().register(
  "eip155:8453",
  new ExactEvmScheme(privateKeyToAccount(process.env.AGENT_KEY)),
);
const pay = wrapFetchWithPayment(fetch, client);

// Not sure it's safe to pay? Preflight it first for $0.005:
// GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Fapi.ibancheck.co.uk%2Fapi%2Fiban%2Fgenerate-epc-qr
const res = await pay("https://api.ibancheck.co.uk/api/iban/generate-epc-qr", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"amount":150.5,"beneficiaryName":"Example GmbH","currency":"EUR","iban":"DE89370400440532013000"}),
});
console.log(await res.json());

Example input

{
  "amount": 150.5,
  "beneficiaryName": "Example GmbH",
  "currency": "EUR",
  "iban": "DE89370400440532013000"
}

Example output

{
  "amount": 150.5,
  "beneficiaryName": "Example GmbH",
  "epcCompliant": true,
  "format": "svg",
  "iban": "DE89370400440532013000",
  "payload": "BCD\n002\n1\nSCT\n\nExample GmbH\nDE89370400440532013000\nEUR150.50\n\n\nPlata servicii automate\n",
  "payloadSizeBytes": 87,
  "qrSvg": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 41 41\" …",
  "success": true
}

Security scan

  • No findings. We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.

Recent checks

WhenResultHTTPTimePrice
32 min agoExpected HTTP 402, got 530530141 ms-
5 h agoPassed402446 ms$0.002
8 h agoPassed402312 ms$0.002
12 h agoPassed402217 ms$0.002
15 h agoPassed402287 ms$0.002
19 h agoPassed402275 ms$0.002
23 h agoPassed402283 ms$0.002
26 h agoPassed402322 ms$0.002
30 h agoExpected HTTP 402, got 502502285 ms-
35 h agoExpected HTTP 402, got 502502279 ms-
37 h agoExpected HTTP 402, got 502502313 ms-
41 h agoExpected HTTP 402, got 502502208 ms-
45 h agoPassed402289 ms$0.002
2 days agoPassed402335 ms$0.002
2 days agoPassed402320 ms$0.002