A paid x402 endpoint that returns ProofReceipt-style SHA-256 verification verdicts for deliverables: recompute the deliverable hash and the canonical receipt hash (seller, client, job, amount, currency, wallet, created, deliverable) and learn whether the work received is byte-identical to what a delivery receipt covers. Verdicts: MATCH, MISMATCH (with the exact failing check), or INVALID.
POST /verify-receipt
Content-Type: application/json
{
"seller": "Nenzy Brown",
"client": "Demo Buyer",
"job": "Website copy — homepage draft",
"amount": "25.00",
"currency": "USD",
"created": "2026-10-26T00:00:00.000Z",
"deliverableText": "Final homepage copy, delivered as agreed.",
"claimedDeliverableSha256": "<sha256 of the deliverable>"
}
Unpaid calls receive an HTTP 402 with x402 v2 payment requirements
(PAYMENT-REQUIRED header). Pay with the exact scheme in
USDC on Base; resend with a PAYMENT-SIGNATURE header.
0.5% of the invoice amount — the amount field of the
request body — computed per request and rounded up to the next atomic
USDC unit, so the fee is never under 0.5%. A $25.00 invoice costs
$0.125; a $2.00 invoice costs $0.01. Requests without a parseable
amount are charged the $0.01 floor.
Health check: /health · Product: proofreceipt.netlify.app