HubSpot · Arazzo Workflow

HubSpot List and Read Commerce Payments

Version 1.0.0

List commerce payments, then retrieve the full record for the first payment.

1 workflow 1 source API 1 provider
View Spec View on GitHub AnalyticsCommerceContentCRMCustomer ServiceEmail MarketingMarketingMarketing AutomationSalesArazzoWorkflows

Provider

hubspot

Workflows

list-payments
List commerce payments and read the first payment in detail.
Lists commerce payments, captures the first result's ID, and retrieves that payment record by ID with the requested properties.
2 steps inputs: after, limit, properties outputs: firstPaymentId, paymentId, paymentProperties
1
listPayments
listCommercePayments
Retrieve a paginated list of commerce payments and capture the first payment's identifier for a detailed read.
2
getPayment
getCommercePaymentById
Retrieve the first commerce payment from the list in full detail using its ID and the requested properties.

Source API Descriptions

Arazzo Workflow Specification

Raw ↑
arazzo: 1.0.1
info:
  title: HubSpot List and Read Commerce Payments
  summary: List commerce payments, then retrieve the full record for the first payment.
  description: >-
    A commerce payments read flow. The workflow retrieves a paginated list of
    commerce payments with the requested properties, captures the identifier of
    the first payment in the result set, and then reads that single payment in
    full detail. Every step spells out its request inline so the flow can be read
    and executed without opening the underlying OpenAPI description.
  version: 1.0.0
sourceDescriptions:
- name: singlePaymentOperationsApi
  url: ../openapi/hubspot-single-payment-operations-api-openapi.yml
  type: openapi
workflows:
- workflowId: list-payments
  summary: List commerce payments and read the first payment in detail.
  description: >-
    Lists commerce payments, captures the first result's ID, and retrieves that
    payment record by ID with the requested properties.
  inputs:
    type: object
    properties:
      limit:
        type: integer
        description: The maximum number of payments to return in the list page.
      properties:
        type: string
        description: A comma-separated list of property names to return on each payment.
      after:
        type: string
        description: A pagination cursor for fetching the next page of payments.
  steps:
  - stepId: listPayments
    description: >-
      Retrieve a paginated list of commerce payments and capture the first
      payment's identifier for a detailed read.
    operationId: listCommercePayments
    parameters:
    - name: limit
      in: query
      value: $inputs.limit
    - name: properties
      in: query
      value: $inputs.properties
    - name: after
      in: query
      value: $inputs.after
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      firstPaymentId: $response.body#/results/0/id
      paging: $response.body#/paging
  - stepId: getPayment
    description: >-
      Retrieve the first commerce payment from the list in full detail using its
      ID and the requested properties.
    operationId: getCommercePaymentById
    parameters:
    - name: commercePaymentId
      in: path
      value: $steps.listPayments.outputs.firstPaymentId
    - name: properties
      in: query
      value: $inputs.properties
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      paymentId: $response.body#/id
      paymentProperties: $response.body#/properties
  outputs:
    firstPaymentId: $steps.listPayments.outputs.firstPaymentId
    paymentId: $steps.getPayment.outputs.paymentId
    paymentProperties: $steps.getPayment.outputs.paymentProperties

Work with this as data

Every workflow 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 arazzo workflows

4 MCP tools reach this
  • find_arazzoBrowse and filter every workflow 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 workflow
curl "https://apis.io/api/v1/arazzo/hubspot-list-payments-workflow"
All arazzo workflows
curl "https://apis.io/api/v1/arazzo?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.