Shared Forest · Schema

Order

CommunityOpen SourceDigital ForestEnvironmental

Properties

Name Type Description
id string
status string refund_pending: paid, but no tree could be planted or a refund is due. The operator refunds.
quantity integer
unitAmount integer Final price in euro cents.
total integer Final price in euro cents.
currency string
channel string
billingChoice string
checkoutUrl stringnull Stripe Checkout URL while status is open and the buyer confirmed.
confirmUrl stringnull Agent orders: the page where the human confirms and pays.
treeIds array Filled when fulfilled.
createdAt integer ms since epoch
paidAt integernull ms since epoch
refundDue integernull Cents still to refund while status is refund_pending.
paidThrough integernull Subscription paid-through timestamp in milliseconds.
firstTermEndsAt integernull End of the subscription's 12-month minimum term in milliseconds.
cancelAt integernull Scheduled end at the first term; null while renewal is active.
cancelledAt integernull Effective cancellation time in milliseconds.
View JSON Schema on GitHub

JSON Schema

sharedforest-com-order-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/sharedforest-com/json-schema/sharedforest-com-order-schema.json",
  "title": "Order",
  "x-generated": "2026-11-24",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/sharedforest-com-openapi.json#/components/schemas/Order",
  "type": "object",
  "required": [
    "id",
    "status",
    "quantity",
    "unitAmount",
    "total",
    "currency",
    "channel",
    "checkoutUrl",
    "confirmUrl",
    "treeIds",
    "createdAt",
    "paidAt"
  ],
  "properties": {
    "id": {
      "type": "string",
      "pattern": "^ord_"
    },
    "status": {
      "type": "string",
      "enum": [
        "open",
        "paid",
        "fulfilled",
        "expired",
        "refunded",
        "disputed",
        "cancelled",
        "refund_pending"
      ],
      "description": "refund_pending: paid, but no tree could be planted or a refund is due. The operator refunds."
    },
    "quantity": {
      "type": "integer"
    },
    "unitAmount": {
      "type": "integer",
      "description": "Final price in euro cents."
    },
    "total": {
      "type": "integer",
      "description": "Final price in euro cents."
    },
    "currency": {
      "type": "string",
      "const": "eur"
    },
    "channel": {
      "type": "string",
      "enum": [
        "web",
        "mcp",
        "api"
      ]
    },
    "billingChoice": {
      "type": "string",
      "enum": [
        "one_time",
        "subscription"
      ]
    },
    "checkoutUrl": {
      "type": [
        "string",
        "null"
      ],
      "format": "uri",
      "description": "Stripe Checkout URL while status is open and the buyer confirmed."
    },
    "confirmUrl": {
      "type": [
        "string",
        "null"
      ],
      "format": "uri",
      "description": "Agent orders: the page where the human confirms and pays."
    },
    "treeIds": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "Filled when fulfilled."
    },
    "createdAt": {
      "type": "integer",
      "description": "ms since epoch"
    },
    "paidAt": {
      "type": [
        "integer",
        "null"
      ],
      "description": "ms since epoch"
    },
    "refundDue": {
      "type": [
        "integer",
        "null"
      ],
      "description": "Cents still to refund while status is refund_pending."
    },
    "paidThrough": {
      "type": [
        "integer",
        "null"
      ],
      "description": "Subscription paid-through timestamp in milliseconds."
    },
    "firstTermEndsAt": {
      "type": [
        "integer",
        "null"
      ],
      "description": "End of the subscription's 12-month minimum term in milliseconds."
    },
    "cancelAt": {
      "type": [
        "integer",
        "null"
      ],
      "description": "Scheduled end at the first term; null while renewal is active."
    },
    "cancelledAt": {
      "type": [
        "integer",
        "null"
      ],
      "description": "Effective cancellation time in milliseconds."
    }
  }
}

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/sharedforest-com-order"
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.