HubSpot · JSON Structure

Commerce Payments Api Commerce Payment Structure

A commerce payment object representing a payment transaction

Type: object Properties: 8 Required: 4
AnalyticsCommerceContentCRMCustomer ServiceEmail MarketingMarketingMarketing AutomationSales

CommercePayment is a JSON Structure definition published by HubSpot, describing 8 properties, of which 4 are required. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

id properties createdAt updatedAt archived archivedAt associations propertiesWithHistory

Meta-schema: https://json-structure.org/meta/core/v0/#

JSON Structure

Raw ↑
{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/hubspot/refs/heads/main/json-structure/commerce-payments-api-commerce-payment-structure.json",
  "name": "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": "datetime",
      "description": "When the commerce payment was created",
      "example": "2025-03-15T14:30:00Z"
    },
    "updatedAt": {
      "type": "datetime",
      "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": "datetime",
      "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": "datetime",
              "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": "int32",
              "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 Structure 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 json structure

4 MCP tools reach this
  • find_json_structuresBrowse and filter every JSON Structure 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 Structure
curl "https://apis.io/api/v1/json-structures/commerce-payments-api-commerce-payment-structure"
All json structure
curl "https://apis.io/api/v1/json-structures?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.