V³ Aware · Schema

ValidateReceiptRequest

Mobile client POST body after a successful StoreKit purchase. The mobile SDK (react-native-iap) hands back two shapes depending on platform / API version: * ``transactionId`` + ``originalTransactionId`` + ``productId`` + ``signedTransaction`` (JWS) — modern StoreKit 2 path. * Legacy ``transactionReceipt`` (base64) — StoreKit 1 fallback. We accept either. The signed JWS is preferred (already verifiable against Apple's CA chain) — if absent we fall back to a transaction info lookup using the originalTransactionId via the App Store Server API.

Company

Properties

Name Type Description
transaction_id string StoreKit transactionId
original_transaction_id string StoreKit originalTransactionId — stable per-subscription ID
product_id string App Store Connect product ID
signed_transaction object Signed JWS transactionInfo from StoreKit 2 (preferred path)
transaction_receipt object Base64 receipt from StoreKit 1 (fallback path)
environment string Apple environment the purchase was made in. Mobile detects from the receipt; defaults to Production for live App Store buyers.
View JSON Schema on GitHub

JSON Schema

v3-news-validate-receipt-request-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/v3-news/json-schema/v3-news-validate-receipt-request-schema.json",
  "title": "ValidateReceiptRequest",
  "description": "Mobile client POST body after a successful StoreKit purchase.\n\nThe mobile SDK (react-native-iap) hands back two shapes depending\non platform / API version:\n\n  * ``transactionId`` + ``originalTransactionId`` + ``productId``\n    + ``signedTransaction`` (JWS) — modern StoreKit 2 path.\n  * Legacy ``transactionReceipt`` (base64) — StoreKit 1 fallback.\n\nWe accept either. The signed JWS is preferred (already verifiable\nagainst Apple's CA chain) — if absent we fall back to a transaction\ninfo lookup using the originalTransactionId via the App Store\nServer API.",
  "x-generated": "2026-11-27",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/v3-news-openapi.json#/components/schemas/ValidateReceiptRequest",
  "properties": {
    "transaction_id": {
      "type": "string",
      "title": "Transaction Id",
      "description": "StoreKit transactionId"
    },
    "original_transaction_id": {
      "type": "string",
      "title": "Original Transaction Id",
      "description": "StoreKit originalTransactionId — stable per-subscription ID"
    },
    "product_id": {
      "type": "string",
      "title": "Product Id",
      "description": "App Store Connect product ID"
    },
    "signed_transaction": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Signed Transaction",
      "description": "Signed JWS transactionInfo from StoreKit 2 (preferred path)"
    },
    "transaction_receipt": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Transaction Receipt",
      "description": "Base64 receipt from StoreKit 1 (fallback path)"
    },
    "environment": {
      "type": "string",
      "enum": [
        "Sandbox",
        "Production"
      ],
      "title": "Environment",
      "description": "Apple environment the purchase was made in. Mobile detects from the receipt; defaults to Production for live App Store buyers.",
      "default": "Production"
    }
  },
  "type": "object",
  "required": [
    "transaction_id",
    "original_transaction_id",
    "product_id"
  ]
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/v3-news-validate-receipt-request"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.