x402 facilitator for Concordium
An independent facilitator for x402's exact scheme on Concordium, the one @x402/concordium clients use. The buyer signs a transfer of CCD or a protocol-level token (PLT, e.g. EURR) to the seller and names this facilitator as fee payer (sponsor). The facilitator checks it, co-signs as sponsor, pays the fee and submits it. The buyer pays no fees, and the facilitator never holds anyone's funds.
Latest payments
Read from the chain: every transfer this facilitator's account sponsored. The buyer paid no fee; the fee column is what the sponsor paid (Concordium mainnet CCD).
| UTC | Amount | To | Fee | Transaction |
|---|---|---|---|---|
| 2026-11-29 12:15 | 1 CCD | 45R4vB9J…xnFP7J | 6.257676 | a1d30310…7fe6bd |
| 2026-11-29 11:24 | 1 CCD | 4qqrSf3C…keoVoq | 6.268931 | 73bab29f…392062 |
| 2026-11-29 08:58 | 20 CCD | 45R4vB9J…xnFP7J | 6.271165 | ff8b3ca2…cb371c |
| 2026-11-28 20:28 | 20 CCD | 45R4vB9J…xnFP7J | 6.057273 | b0909b0f…c25770 |
| 2026-11-28 19:41 | 20 CCD | 45R4vB9J…xnFP7J | 6.032443 | 98db8fa2…3f301b |
| 2026-11-16 12:58 | – | 10.885068 | b81efdbd…b567af | |
| 2026-11-16 12:54 | 0.001 CCD | 45R4vB9J…xnFP7J | 4.782885 | 7f27f1e1…879e85 |
| 2026-11-16 12:48 | 0.001 CCD | 45R4vB9J…xnFP7J | 4.782885 | 3fc860fd…2a00f7 |
| 2026-11-16 12:46 | – | 14.590147 | 18e75886…12b403 | |
| 2026-11-16 12:20 | – | 13.999976 | 8702f186…afc939 |
How a payment works
- The seller's API answers
402with a Concordium option that names this facilitator inextra.feePayer. - The buyer signs a sponsored transfer (account transaction v1) of exactly that amount to the seller and sends it in the
PAYMENT-SIGNATUREheader. - The seller posts it to
/verify, then/settle: this facilitator checks amount, payee, signature, nonce, expiry and balance, co-signs as sponsor, submits it and waits until it is final.
Who you pay: checked with Concordium
Every Concordium account is opened from an identity a regulated identity provider verified. Before sponsoring a payment this facilitator reads the seller's own credential (which provider, valid until when) and, when the seller's endpoint shows a Concordium badge in its Agent Card, checks its agent in Concordium's Agent Registry: active, its anchored card unchanged, this endpoint listed, and the payTo its registered agent wallet. The answer rides along in every /verify and /settle response as extensions["concordium-identity"]: verified-agent, identity-backed, expired or not-read.
A zero-knowledge proof about the person behind the payTo. A seller's owner can prove, from their own Concordium wallet, facts such as 18 or older or lives in the EU without revealing them (make one), tied to the payTo and the site, and serve it at /.well-known/concordium-proof.json. This facilitator verifies it against the chain with its own node, checks that it came from the payTo account's own credential, and reports the proven facts as proof; nothing else about the person is known to it.
This instance reports it; set IDENTITY=agent to sponsor only verified agents, or IDENTITY=proof to sponsor only sellers with a verified proof. Check a seller before going live: GET /identity?url=<paid endpoint>&payTo=<account>.
Who pays: the buyer's proof
It works the other way round too. A seller that may only sell to adults, or only to people living in the EU, adds "buyerProof": ["adult"] to its 402's extra. The paying agent's owner proves it once from their own Concordium wallet (make one), tied to the account the agent pays from, and the agent sends that file with its payments as extensions["concordium-buyer-proof"]. Before sponsoring, this facilitator verifies it against the chain, checks that it came from the paying account's own credential and shows what the seller asked; otherwise it refuses (buyer_proof_required or buyer_proof_invalid) and nothing is signed. The seller learns that the fact holds, and nothing else about the buyer.
What did my agent pay?
Every payment this facilitator sponsors is a transfer the agent's own account signed, so it is on chain for good. GET /statement?account=<the account your agent pays from> lists them: when, to whom, how much (with totals per asset), and for each payee what Concordium says about it now (an identity-backed account, its identity provider, an expired credential). Read from the chain, it needs no log of ours and holds after restarts.
For sellers: the 402 option
Add this to accepts[] (here 0.01 CCD; amounts are in the smallest unit, 6 decimals for CCD):
{
"scheme": "exact",
"network": "ccd:9dd9ca4d19e9393877d2c44b70f89acb",
"amount": "10000",
"asset": "CCD",
"payTo": "<your Concordium account>",
"maxTimeoutSeconds": 120,
"extra": {
"feePayer": "4HxSuKYFJw4wZaDFt3buyTTX7kogz3SxWTnXwvBDAHbq9poqQJ"
}
}
For a PLT, set its token id (the decimals are read from the chain):
{
"asset": "EURR",
"amount": "10000",
"extra": {
"feePayer": "4HxSuKYFJw4wZaDFt3buyTTX7kogz3SxWTnXwvBDAHbq9poqQJ"
}
}
Then use https://checkout.fizzl.eu as your facilitator URL.
Who pays the fees. Every sponsored transfer costs the sponsor a fee in CCD. 3 sponsored payments a day are free for any seller (listed sellers have no limit). After that a seller pays its fees in advance: send CCD from your payTo account to the sponsor 4HxSuKYFJw4wZaDFt3buyTTX7kogz3SxWTnXwvBDAHbq9poqQJ, and each fee is taken from it. Both are on chain, so GET /fees?payTo= reads your balance from the chain, and anyone can check it.
Routes
GET /supported | the scheme, network and sponsor account |
POST /verify | { paymentPayload, paymentRequirements } → { isValid, payer } or invalidReason |
POST /settle | same body → { success, transaction, network, payer } once final on chain |
GET /identity | ?url=&payTo=: what Concordium says about a seller (credential, registered agent, zero-knowledge proof) |
GET /fees | ?payTo=: free payments left today and the fee balance, read from the chain |
GET /payto | ?payTo=: per token on this network, whether your payTo can be paid in it (allow and deny lists) |
GET /payments | the sponsored payments, read from the chain |
POST /receipt | { receipt, tx }: did this transaction pay exactly what the receipt says (seller, amount, the resource bought)? The receipt is what /prepare gave; the chain shows only its hash in the memo |
GET /statement | ?account=: what one agent paid through this facilitator, to whom, and who those payees are |
GET /health | live state as JSON |
Spec and code
The scheme: scheme_exact_concordium.md in the x402 repository. On top of its checks this facilitator also caps the energy at what the transfer needs, checks a PLT's pause and allow/deny lists before sponsoring, and has a seller allow-list and a daily limit (SPEC.md). Code (MIT), tests and a buyer-side helper: github.com/Fizzl13/x402-examples. Built on Concordium's sponsored transactions (protocol 10) with @concordium/web-sdk.