HubSpot · JSON Structure

Hubspot Commerce Payments Commerce Payment Input Structure

Input for creating a new commerce payment

Type: object Properties: 2 Required: 1
AnalyticsCommerceContentCRMCustomer ServiceEmail MarketingMarketingMarketing AutomationSales

CommercePaymentInput is a JSON Structure definition published by HubSpot, describing 2 properties, of which 1 is required. It conforms to the https://json-structure.org/draft/2020-12/schema meta-schema.

Properties

properties associations

Meta-schema: https://json-structure.org/draft/2020-12/schema

JSON Structure

Raw ↑
{
  "type": "object",
  "description": "Input for creating a new commerce payment",
  "name": "CommercePaymentInput",
  "properties": {
    "properties": {
      "type": "object",
      "description": "The properties to set on the commerce payment"
    },
    "associations": {
      "type": "array",
      "description": "Associations to create with other objects",
      "items": {
        "type": "object",
        "description": "Input for creating an association",
        "properties": {
          "to": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string",
                "description": "The ID of the object to associate with"
              }
            },
            "required": [
              "id"
            ]
          },
          "types": {
            "type": "array",
            "description": "The association types",
            "items": {
              "type": "object",
              "description": "An association type definition",
              "properties": {
                "associationCategory": {
                  "type": "string",
                  "description": "The category of the association",
                  "enum": [
                    "HUBSPOT_DEFINED",
                    "USER_DEFINED",
                    "INTEGRATOR_DEFINED"
                  ]
                },
                "associationTypeId": {
                  "type": "integer",
                  "description": "The numeric ID of the association type"
                }
              },
              "required": [
                "associationCategory",
                "associationTypeId"
              ]
            }
          }
        },
        "required": [
          "to",
          "types"
        ]
      }
    }
  },
  "required": [
    "properties"
  ],
  "$schema": "https://json-structure.org/draft/2020-12/schema"
}

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/hubspot-commerce-payments-commerce-payment-input-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.