Menu

Your client says the file never arrived. An API can settle that now.
📰

Your client says the file never arrived. An API can settle that now.

DEV Community: api·Nenzy Brown·18 days ago
#nzITdrog
#devtoapi#devto#dev#receipt#verify
Reading 0:00
15s threshold

The argument is always the same. You sent the work on Tuesday. The client says the folder was empty, or the version was wrong, or nothing showed up at all. There's no referee. Just two inboxes and a payment sitting in the middle.

ProofReceipt fixes the receipt side of that. When you deliver, the app hashes the file with SHA-256 and gives you a receipt that ties that exact file to that moment. Change one character in the file and the hash changes. That's the whole trick, and it holds up because the maths doesn't care who argues louder.

I've written about the app here before. This post is about the piece I shipped after it: a verify endpoint other software can call.

The x402 verify endpoint

It lives at https://proofreceipt-verify.netlify.app and it does one job. Send it a receipt and an invoice amount, and it answers MATCH or MISMATCH, naming the check that failed if it's a mismatch.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.