PDF2MD · Schema

V2CheckoutRequest

Specify price_id OR (tier_code+interval). email is required only for the anonymous flow.

PDFConversionMarkdownOCR

Properties

Name Type Description
price_id string
tier_code object
interval string
email string for anonymous checkout (if there is no session)
channel string Checkout source for runtime purchase flags (EP-023-T23). Treat absence as web for site/pricing or by the calling client.
trial_days integernull
upgrade boolean IGNORED since EP-062-T4 (the server decides from the stored subscription whether ignoreActivePurchase applies). Still accepted so already-published extension builds keep working.
intent_token string EP-028: device-signed checkout-intent token (from POST /billing/checkout-intent). When valid it names the account to charge (the extension's account), overriding the web session. One-time consume; inv
View JSON Schema on GitHub

JSON Schema

pdf2md-dev-v2-checkout-request-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/pdf2md-dev/json-schema/pdf2md-dev-v2-checkout-request-schema.json",
  "title": "V2CheckoutRequest",
  "description": "Specify price_id OR (tier_code+interval). email is required only for the anonymous flow.",
  "x-generated": "2026-11-20",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/pdf2md-dev-openapi.json#/components/schemas/V2CheckoutRequest",
  "type": "object",
  "properties": {
    "price_id": {
      "type": "string"
    },
    "tier_code": {
      "$ref": "#/$defs/V2Tier"
    },
    "interval": {
      "type": "string",
      "enum": [
        "month",
        "year"
      ]
    },
    "email": {
      "type": "string",
      "format": "email",
      "description": "for anonymous checkout (if there is no session)"
    },
    "channel": {
      "type": "string",
      "enum": [
        "extension",
        "web"
      ],
      "description": "Checkout source for runtime purchase flags (EP-023-T23). Treat absence as web for site/pricing or by the calling client."
    },
    "trial_days": {
      "type": [
        "integer",
        "null"
      ]
    },
    "upgrade": {
      "type": "boolean",
      "default": false,
      "deprecated": true,
      "description": "IGNORED since EP-062-T4 (the server decides from the stored subscription whether ignoreActivePurchase applies). Still accepted so already-published extension builds keep working."
    },
    "intent_token": {
      "type": "string",
      "description": "EP-028: device-signed checkout-intent token (from POST /billing/checkout-intent). When valid it names the account to charge (the extension's account), overriding the web session. One-time consume; invalid/expired falls back to session/email."
    }
  },
  "$defs": {
    "V2Tier": {
      "type": "string",
      "enum": [
        "anonymous",
        "free",
        "lifetime",
        "builder",
        "pro",
        "business",
        "enterprise"
      ],
      "description": "EP-069: `lifetime` is the one-time unlock, ranked BETWEEN free and builder — it raises the interactive limits and carries 600 pages/month, but grants no API keys, hosted MCP, webhooks or batch, so a subscription is genuinely more and its holder may still buy one.\n"
    }
  }
}

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/pdf2md-dev-v2-checkout-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.