HubSpot · Schema

CommercePayment

A commerce payment object representing a payment transaction

AnalyticsCommerceContentCRMCustomer ServiceEmail MarketingMarketingMarketing AutomationSales

Properties

Name Type Description
id string The unique identifier of the commerce payment
properties object The properties of the commerce payment
createdAt string When the commerce payment was created
updatedAt string When the commerce payment was last updated
archived boolean Whether the commerce payment is archived
archivedAt string When the commerce payment was archived
associations object Associated objects
propertiesWithHistory object Properties with their value history
View JSON Schema on GitHub

JSON Schema

commerce-payments-api-commerce-payment-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/hubspot/refs/heads/main/json-schema/commerce-payments-api-commerce-payment-schema.json",
  "title": "CommercePayment",
  "description": "A commerce payment object representing a payment transaction",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "description": "The unique identifier of the commerce payment",
      "example": "500123"
    },
    "properties": {
      "type": "object",
      "description": "The properties of the commerce payment",
      "additionalProperties": {
        "type": "string"
      },
      "example": {
        "key": "value"
      }
    },
    "createdAt": {
      "type": "string",
      "format": "date-time",
      "description": "When the commerce payment was created",
      "example": "2025-03-15T14:30:00Z"
    },
    "updatedAt": {
      "type": "string",
      "format": "date-time",
      "description": "When the commerce payment was last updated",
      "example": "2025-03-15T14:30:00Z"
    },
    "archived": {
      "type": "boolean",
      "description": "Whether the commerce payment is archived",
      "example": true
    },
    "archivedAt": {
      "type": "string",
      "format": "date-time",
      "description": "When the commerce payment was archived",
      "example": "2025-03-15T14:30:00Z"
    },
    "associations": {
      "type": "object",
      "description": "Associated objects",
      "additionalProperties": {
        "type": "object",
        "description": "Association results for an object",
        "properties": {
          "results": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "id": {
                  "type": "string"
                },
                "type": {
                  "type": "string"
                }
              }
            },
            "example": [
              {
                "id": "500123",
                "type": "standard"
              }
            ]
          },
          "paging": {
            "$ref": "#/components/schemas/Paging"
          }
        }
      },
      "example": {
        "key": "value"
      }
    },
    "propertiesWithHistory": {
      "type": "object",
      "description": "Properties with their value history",
      "additionalProperties": {
        "type": "array",
        "items": {
          "type": "object",
          "description": "A historical property value",
          "required": [
            "value",
            "timestamp",
            "sourceType"
          ],
          "properties": {
            "value": {
              "type": "string",
              "description": "The property value",
              "example": "example-value"
            },
            "timestamp": {
              "type": "string",
              "format": "date-time",
              "description": "When this value was set",
              "example": "2025-03-15T14:30:00Z"
            },
            "sourceType": {
              "type": "string",
              "description": "The source that set this value",
              "example": "standard"
            },
            "sourceId": {
              "type": "string",
              "description": "The identifier of the source",
              "example": "500123"
            },
            "sourceLabel": {
              "type": "string",
              "description": "A human-readable label for the source",
              "example": "Example Record"
            },
            "updatedByUserId": {
              "type": "integer",
              "description": "The user ID that made the change",
              "example": 1718153645993
            }
          }
        }
      },
      "example": {
        "key": "value"
      }
    }
  },
  "required": [
    "id",
    "properties",
    "createdAt",
    "updatedAt"
  ]
}

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/commerce-payments-api-commerce-payment"
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 email required.

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