68trust / 100

Generate Idempotency Key

by api.ibancheck.co.uk in Other

x402 APIFailing, checked 27 min ago

Generate a time-sortable UUIDv7-based Idempotency-Key with a deterministic payload hash. Send it as an Idempotency-Key header on a retried call to any paid endpoint: the same key and request returns the cached response with no new charge.

POST https://api.ibancheck.co.uk/api/generate-idempotency-key

Last 30 days

All checks passedSome failedAll failedNot checked
Uptime
66.7%
Response time
288 ms typical, 317 ms slowest 5%
Last check
27 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/generate-idempotency-key" \
  -H "content-type: application/json" \
  -d '{"payload":{"orderId":"A-1001"}}'
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%2Fgenerate-idempotency-key
const res = await pay("https://api.ibancheck.co.uk/api/generate-idempotency-key", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"payload":{"orderId":"A-1001"}}),
});
console.log(await res.json());

Example input

{
  "payload": {
    "orderId": "A-1001"
  }
}

Example output

{
  "curlExample": "curl -X POST https://api.ibancheck.co.uk/api/sepa-payout -H \"Idempotency-Key: idem_financial-payment_01a111ea2d247b2a84043e3c779dd31f_238186c0\" -d '{\"orderId\":\"A-1001\"}'",
  "entropyBits": 74,
  "idempotencyKey": "idem_financial-payment_01a111ea2d247b2a84043e3c779dd31f_238186c0",
  "isoDate": "2026-10-06T15:52:02.084Z",
  "payloadHash": "238186c045395ed9f8fe5eda2a253194a384bf392c8ba4a86bd8fdc4907a4d95",
  "scope": "financial-payment",
  "suggestedHeader": "Idempotency-Key: idem_financial-payment_01a111ea2d247b2a84043e3c779dd31f_238186c0",
  "timestampMs": 1791301922084,
  "ttlSeconds": 86400,
  "uuidV7": "01a111ea-2d24-7b2a-8404-3e3c779dd31f"
}

Security scan

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

Recent checks

WhenResultHTTPTimePrice
27 min agoExpected HTTP 402, got 53053053 ms-
4 h agoPassed402292 ms$0.002
8 h agoPassed402309 ms$0.002
12 h agoPassed402359 ms$0.002
15 h agoPassed402254 ms$0.002
19 h agoPassed402301 ms$0.002
22 h agoPassed402265 ms$0.002
26 h agoPassed402317 ms$0.002
30 h agoExpected HTTP 402, got 502502306 ms-
34 h agoExpected HTTP 402, got 502502287 ms-
37 h agoExpected HTTP 402, got 502502353 ms-
41 h agoExpected HTTP 402, got 502502250 ms-
45 h agoPassed402253 ms$0.002
2 days agoPassed402190 ms$0.002
2 days agoPassed402288 ms$0.002