Verify a Receipt

Confirm hash integrity, check evidence, and replay transactions

Verity Guarantees
Three levels of verification for every transaction
Hash Verification

Confirms the receipt hash matches the computed value

Evidence Chain

Validates the linked hash chain from negotiation to receipt

Deterministic Replay

Re-executes the settlement and compares results

01
Verify the Receipt Hash
Submit the receipt ID to the Verity service for hash verification.
curl -X POST https://api.sandbox.zexrail.com/v1/verity/verify \
  -H "Authorization: Bearer sk_test_your_key" \
  -H "Content-Type: application/json" \
  -d '{ "receipt_id": "rcpt_001" }'
02
Check Evidence Chain
Inspect the full evidence chain linking negotiation, settlement, and receipt.
curl https://api.sandbox.zexrail.com/v1/verity/evidence/rcpt_001 \
  -H "Authorization: Bearer sk_test_your_key"
03
Replay the Transaction
Deterministically replay the negotiation and settlement to confirm correctness.
curl -X POST https://api.sandbox.zexrail.com/v1/verity/replay \
  -H "Authorization: Bearer sk_test_your_key" \
  -H "Content-Type: application/json" \
  -d '{ "receipt_id": "rcpt_001" }'
Verification Response
{
  "receipt_id": "rcpt_001",
  "hash_matches": true,
  "evidence_complete": true,
  "replayed_at": "2026-03-14T10:00:00Z",
  "certificate": "verity_cert_abc123"
}