Payment trace x402 + HEDERA
0.01 HBAR ยท settledEvery machine payment leaves a verifiable trail: the agent hits the service, receives an HTTP 402 challenge, signs a payment request, settles on Hedera, and the x402 facilitator unlocks the response.
1
Agent calls the service
POST https://alpha.example/ocrContent-Type: application/jsonbody: {"image":"invoice_2026_09_06.png","task":"extract text and totals"}
2
Service responds: payment required
HTTP/1.1 402 Payment RequiredX-402-Version: 1.0X-402-PayTo: 0.0.4829103X-402-Amount: 0.01X-402-Currency: HBARX-402-Nonce: 0x8f2d4e19b
3
Agent signs the payment request
signer: 0.0.5902184 (agent wallet)message: x402 payment for ocr.alpha.eth ยท nonce 0x8f2d4e19bsignedAt: 2026-09-06T14:32:08.000Z
4
Hedera settles the transfer
transaction: 0.0.18293@1718293812.000000000amount: 0.01 HBARfrom: 0.0.5902184to: 0.0.4829103consensus: SUCCESS ยท latency 840ms
5
x402 facilitator verifies
facilitator: Blocky402status: verifiedverifiedAt: 2026-09-06T14:32:09.000Z
6
Service unlocks the response
status: service unlockedunlockedAt: 2026-09-06T14:32:09.500Z