Skip to content

Menu

Verify a receipt. Cryptographic proof.

Every paid response carries a signed receipt. Paste one here and your browser checks the signature against Phantom’s public key. No Phantom server gives the verdict.

  • Signature checked client-side via WebCrypto
  • Public key fetched from published keyset
  • Zero server-side logs during verification

The signature is checked in your browser

Trust root/v1/receipts/keyPublished Ed25519 public key
Optional anchorSolana ledgerImmutable blockchain proof

The x-phantom-receipt header, a whole curl -i response, or a stream’s phantom.receipt event.

Get a receipt

Paid calls return one in the x-phantom-receipt header. A chat stream sends it in a phantom.receipt event before it ends, and a video job returns it when you poll the finished job.

curl -si https://phantom.codes/v1/chat/completions \
  -H "Authorization: Bearer $PHANTOM_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model": "phantom-1",
       "messages": [{"role": "user", "content": "Hello"}]}' \
  | grep -i x-phantom-receipt