Verify a receipt
Run the four receipt checks (hash, signature, chain link and on-chain anchor) on the public page, through the API, or by hand without trusting Abazi's database.
What you end up with
A verdict you can show an auditor: four checks, each PASS, and an overall PASS, for a receipt you were given. Or, if something was altered, a FAIL on exactly the check that caught it.
Try the checks
Change one character, break the chain or hold the anchor back, and watch which checks fail.
Receipt verifier
What do the four checks prove, and what makes one fail?
Receipt body (trimmed)
Envelope
- body
- canonical JSON
- SHA-256
- signed · chained · anchored
Checks
- 1. HashPASS
Recomputed hash equals the stated hash 9f2c…41ab.
- 2. SignaturePASS
The Ed25519 signature verifies over the recomputed hash with the published key.
- 3. Chain linkPASS
prev_hash 5a18…c3e2 equals the hash of the previous receipt.
- 4. AnchorPASS
The finalized memo on Solana says uapg:v1:9f2c…41ab.
Text description
A receipt is a JSON body plus four envelope fields: hash, signature, key id and anchor. The body is serialized as canonical JSON (RFC 8785) and hashed with SHA-256. The hash is signed with Ed25519; the public keys are published. The body carries its sequence number and the previous receipt's hash, so each organization's receipts form a chain. The hash is written to Solana in a memo that reads uapg:v1 followed by the hash.
- Hash: recompute SHA-256 over the canonical body and compare it with the stated hash.
- Signature: verify the Ed25519 signature over the recomputed hash with the published key. Because it is checked against the recomputed hash, changing the body fails both the hash and the signature.
- Chain link: the body's prev_hash must equal the hash of the previous receipt in the chain (64 zeros for the first). Rewriting an earlier receipt breaks the link of the one after it.
- Anchor: PENDING until the memo transaction is finalized; then the memo must equal uapg:v1 plus the recomputed hash.
The overall result is FAIL if any check fails, PASS if all four pass, and PENDING otherwise.
Current state: Hash PASS, Signature PASS, Chain link PASS, Anchor PASS. Result PASS.
Steps
Get the receipt id
The agent gets a receipt id with every paid purchase and can fetch the receipt and its public link with get_receipt. Owners and finance find every receipt in the Console.
Open the public check
The public verification page runs the four checks on the receipt and shows the result. It needs no account and works on a phone. The same checks are on the public operation GETVerify receipt publicly/verify/{id}.

{
"receipt": {
"anchor": { "status": "finalized" }
},
"checks": { "hash": "PASS", "signature": "PASS", "chain": "PASS", "anchor": "PASS" },
"result": "PASS"
}Check a copy you hold
If you kept the receipt document, send it to POSTVerify receipt document/v1/receipts/verify as {"receipt": <document>}. The checks run on your copy, not on the stored one, so any change in your copy shows up.
Or check it by hand
You do not need Abazi's word for the first two checks, and the fourth reads a public network:
- Remove the envelope fields (
hash,signature,kid,anchor) from the receipt document. Serialize the rest as canonical JSON (RFC 8785) and take its SHA-256. It must equalhash. - Fetch the published keys from
/.well-known/uapg-receipt-keys.json, pick the key whose id equalskid, and verify the Ed25519signatureover the 32 bytes of the hash you computed. - The body's
prev_hashmust equal the hash of the organization's previous receipt; the first receipt in a chain has 64 zeros. - Look up the anchor transaction on Solana. Once it is finalized, its memo must read
uapg:v1:followed by the hash.
What each check proves
| Check | Proves | Fails when |
|---|---|---|
| Hash | The body is exactly what was hashed. | Any character of the body changed. |
| Signature | Abazi's receipt key signed this body's hash. | The body changed, or the signature or key id is wrong. |
| Chain link | No receipt was removed or rewritten before this one. | The previous receipt was changed or is missing. |
| Anchor | The hash was public on Solana at the anchor's time. | The memo does not match. It reads PENDING until the memo transaction is finalized. |
The overall result is FAIL if any check fails, PASS if all four pass, and PENDING otherwise. A fresh receipt usually reads PENDING for a short while until its anchor is final.
Failure cases
| Situation | What you see |
|---|---|
| The amount in a copy was edited | Hash FAIL, signature FAIL, and anchor FAIL once the anchor is final. |
| An earlier receipt in the chain was rewritten | Chain link FAIL on the receipt that follows it. |
| The anchor is not final yet | Anchor PENDING, result PENDING. Check again later. |
| The receipt id does not exist | Not found; there is nothing to check. |
Next steps
Split a payment
Set a split rule on a platform so each confirmed agent payment is shared between the platform and its merchants in fixed proportions, with one ledger entry and a payout receipt.
A local model that pays, on QVAC and WDK
Run an agent whose model lives on the same machine under Tether QVAC with outbound network denied, sees three slim tools and no keys, and still pays in USDT through Abazi.