Skip to content

verify_receipt ​

Read · No sign-in

Verify a receipt online

Checks a creator store receipt's signature and returns what it records (the item, quantity, wallet, amount paid, when) with its current status. A refunded order's receipt reads revoked: offline verification proves a receipt was issued, this proves it still stands. The receipt is the compact JWS exactly as issued (three base64url parts joined by dots).

The answer is 200 whatever the receipt is. Act on valid, which is true only for status valid. A string that is not a receipt Chain Daddy signed (a bad signature, a changed payload, an unknown key, not a JWS at all) answers {"valid": false, "status": "invalid", "error": "…"} with no payload.

INFO

Not offered to ChatGPT or Codex.

Reads or changesReads only
Sign-inNo
CallsPOST /api/v2/iap/receipts/verify (API Explorer)

Input ​

JSON Schema, as the server serves it.

json
{
  "additionalProperties": false,
  "properties": {
    "receipt": {
      "description": "The receipt JWS",
      "type": "string"
    }
  },
  "required": [
    "receipt"
  ],
  "type": "object"
}

Example ​

A tools/call request:

json
{
  "name": "verify_receipt",
  "arguments": {
    "receipt": "value"
  }
}

All MCP tools · Connect an AI app