{"uid":"cap_SKI_7ZlDqMG6JTaT4CA0j","slug":"ed25519-receipt-verification-cbd9c89f","name":"Ed25519 Receipt Verification","description":"Verify one Ed25519 signature over up to 8,000 characters of exact UTF-8 receipt text using a supplied 32-byte public key. Returns cryptographic validity and message hash. Does not establish issuer identity, trusted time, licensing or the truth of the receipt. No private keys accepted. New modular adapter: retained result recovery for 24 hours, minimal receipt metadata for 90 days. Existing live route unchanged.","url":"https://www.mahastrategies.com/api/v1/verify/receipts/signature?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"message":{"type":"string","maxLength":8000,"minLength":1},"encoding":{"enum":["exact-utf8"],"type":"string"},"dataClass":{"enum":["public","synthetic"],"type":"string"},"publicKeyBase64":{"type":"string","maxLength":44},"signatureBase64":{"type":"string","maxLength":88}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.012501","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.012501/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.012501","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.012501","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_Jvf9SoFhrDb7wSZXLglaO","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.012501","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Verifies a single Ed25519 cryptographic signature over up to 8,000 characters of exact UTF-8 receipt text using a caller-supplied 32-byte public key, returning cryptographic validity and message hash.","exampleAgentPrompt":"Can you verify that this Ed25519 signature over my receipt text is cryptographically valid? The receipt message is 'Order #4521 total $42.00 paid 2024-06-01', the public key in base64 is 'MCowBQYDK2VdAyEA...' and the signature in base64 is 'abc123sig==', treat the data as public and encoding as exact-utf8.","exampleUseCases":[{"title":"Payment receipt authenticity check","prompt":"I received a payment receipt and want to confirm it hasn't been tampered with — the message text is 'Invoice #8821 amount 150 USDC paid 2024-05-30', here's the Ed25519 public key base64 and signature base64 from the sender, please check if the cryptographic signature is valid using exact-utf8 encoding and treat the data as public."},{"title":"Automated invoice signature audit","prompt":"As part of our invoice processing, verify the Ed25519 signature on this vendor receipt: message is 'Vendor: Acme Corp, Total: $2,340.00, Date: 2024-06-15', public key is 'ABCD1234pubkey==', signature is 'XYZsig789==', encoding exact-utf8, data class public — tell me if the signature checks out and give me the message hash."},{"title":"Synthetic receipt integrity test","prompt":"I'm running a QA test with a synthetic receipt — please verify the Ed25519 signature where the message is 'TEST-RECEIPT-001 amount 0.00', public key base64 is 'testPubKey44chars==', signature base64 is 'testSig88chars==', encoding is exact-utf8, and mark the data class as synthetic."}],"resultDescription":"Returns whether the Ed25519 signature is cryptographically valid for the supplied message and public key, along with the hash of the message. Does not confirm issuer identity, trusted timestamp, licensing status, or the truthfulness of the receipt contents. Results are retained for 24 hours and minimal receipt metadata for 90 days.","failureModes":["Invalid or malformed base64 public key (wrong length or format)","Signature base64 exceeds 88-character limit or is malformed","Message text exceeds 8,000 character limit","Signature is cryptographically invalid for the given message and public key","Unsupported encoding value other than 'exact-utf8'","Private key supplied instead of public key (rejected by design)","Missing required fields such as message, publicKeyBase64, or signatureBase64"],"whenToPreferThis":"Choose this endpoint when you need to verify a single Ed25519 digital signature over a short-to-medium UTF-8 receipt or document text using a caller-supplied public key, without needing issuer identity resolution, timestamp authority, or licensing checks. Prefer this over general-purpose signature libraries when you need a hosted, pay-per-call verification service that returns a message hash alongside validity, and when the receipt text fits within 8,000 characters.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-28T06:47:06.975Z","isFirstParty":false,"canonicalSlug":"ed25519-receipt-verification-cbd9c89f"}