Braintree · Schema

LineItem

A line item representing a single product or service in a transaction, used for Level 3 processing data.

PaymentsTransactionMobileSubscription

Properties

Name Type Description
name string Name or description of the product or service.
description string Additional description of the line item.
kind string Whether this item is a debit (charge) or credit (discount).
quantity string Quantity of the line item as a decimal string.
unit_amount string Unit price of the line item as a decimal string.
total_amount string Total amount for this line item (quantity * unit_amount) as a decimal.
unit_of_measure string Unit of measure for the quantity, such as "each" or "kg".
commodity_code string Commodity code for Level 3 processing.
tax_amount string Tax amount for this line item as a decimal string.
View JSON Schema on GitHub

JSON Schema

braintree-lineitem-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/LineItem",
  "title": "LineItem",
  "type": "object",
  "description": "A line item representing a single product or service in a transaction, used for Level 3 processing data.",
  "required": [
    "name",
    "quantity",
    "unit_amount",
    "total_amount",
    "kind"
  ],
  "properties": {
    "name": {
      "type": "string",
      "description": "Name or description of the product or service.",
      "maxLength": 127
    },
    "description": {
      "type": "string",
      "description": "Additional description of the line item.",
      "maxLength": 127
    },
    "kind": {
      "type": "string",
      "description": "Whether this item is a debit (charge) or credit (discount).",
      "enum": [
        "debit",
        "credit"
      ]
    },
    "quantity": {
      "type": "string",
      "description": "Quantity of the line item as a decimal string.",
      "example": "1.0000"
    },
    "unit_amount": {
      "type": "string",
      "description": "Unit price of the line item as a decimal string.",
      "example": "5.00"
    },
    "total_amount": {
      "type": "string",
      "description": "Total amount for this line item (quantity * unit_amount) as a decimal.",
      "example": "5.00"
    },
    "unit_of_measure": {
      "type": "string",
      "description": "Unit of measure for the quantity, such as \"each\" or \"kg\".",
      "maxLength": 12
    },
    "commodity_code": {
      "type": "string",
      "description": "Commodity code for Level 3 processing.",
      "maxLength": 12
    },
    "tax_amount": {
      "type": "string",
      "description": "Tax amount for this line item as a decimal string."
    }
  }
}

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/braintree-lineitem"
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.