Ada Diamonds · Schema

CheckoutLink

JewelryLab DiamondsEngagement RingsNew YorkE-Commerce

Properties

Name Type Description
object string
id string Session id, `link_`.
url stringnull Stripe-hosted checkout URL; null while `state` is `needs_input`.
simulated boolean True in sandbox: nothing is payable.
expires_at stringnull
state string
currency string
totals object All cents: items_base_amount, discount, subtotal, fulfillment, tax, total.
line_items array
messages array
problems array Blocking problems when `state` is `needs_input`.
View JSON Schema on GitHub

JSON Schema

adadiamonds-com-checkout-link-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/adadiamonds-com/json-schema/adadiamonds-com-checkout-link-schema.json",
  "title": "CheckoutLink",
  "x-generated": "2026-10-31",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/adadiamonds-com-openapi.json#/components/schemas/CheckoutLink",
  "type": "object",
  "required": [
    "object",
    "id",
    "url",
    "simulated",
    "state",
    "totals"
  ],
  "properties": {
    "object": {
      "type": "string",
      "enum": [
        "checkout_link"
      ]
    },
    "id": {
      "type": "string",
      "description": "Session id, `link_<uuid>`."
    },
    "url": {
      "type": [
        "string",
        "null"
      ],
      "description": "Stripe-hosted checkout URL; null while `state` is `needs_input`."
    },
    "simulated": {
      "type": "boolean",
      "description": "True in sandbox: nothing is payable."
    },
    "expires_at": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time"
    },
    "state": {
      "type": "string",
      "enum": [
        "ready",
        "needs_input"
      ]
    },
    "currency": {
      "type": "string"
    },
    "totals": {
      "type": "object",
      "description": "All cents: items_base_amount, discount, subtotal, fulfillment, tax, total."
    },
    "line_items": {
      "type": "array",
      "items": {
        "type": "object"
      }
    },
    "messages": {
      "type": "array",
      "items": {
        "type": "object"
      }
    },
    "problems": {
      "type": "array",
      "items": {
        "type": "object"
      },
      "description": "Blocking problems when `state` is `needs_input`."
    }
  }
}

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/adadiamonds-com-checkout-link"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

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. See our Privacy Policy and Terms.

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