Intuit · Arazzo Workflow

Intuit Void Payment Safely

Version 1.0.0

Read a payment for its SyncToken and then void it.

1 workflow 1 source API 1 provider
View Spec View on GitHub AccountingCustom FieldsFinancialFinancial-ServicesInvoicingPaymentsPayrollProject ManagementSales TaxSmall BusinessTaxTax PreparationTaxesTime TrackingFortune 1000ArazzoWorkflows

Provider

intuit

Workflows

void-payment-safely
Read a payment then void it with its current SyncToken.
Reads a Payment for its SyncToken and voids it via the void endpoint with the operation=void parameter.
2 steps inputs: accessToken, paymentId outputs: paymentId, voidedId
1
readPayment
readPayment
Read the payment to obtain its current Id and SyncToken.
2
voidPayment
voidPayment
Void the payment using its Id, SyncToken, and the operation parameter.

Source API Descriptions

Arazzo Workflow Specification

Raw ↑
arazzo: 1.0.1
info:
  title: Intuit Void Payment Safely
  summary: Read a payment for its SyncToken and then void it.
  description: >-
    A safe reversal flow for a recorded customer payment. The workflow reads a
    Payment to capture the current Id and SyncToken, then voids it by replaying
    that Id and SyncToken in the void request body together with the required
    operation=void query parameter. Reading first guarantees the void carries
    the latest SyncToken, which QuickBooks requires. 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: quickbooksAccounting
  url: ../openapi/quickbooks-accounting.yml
  type: openapi
workflows:
- workflowId: void-payment-safely
  summary: Read a payment then void it with its current SyncToken.
  description: >-
    Reads a Payment for its SyncToken and voids it via the void endpoint with
    the operation=void parameter.
  inputs:
    type: object
    required:
    - accessToken
    - paymentId
    properties:
      accessToken:
        type: string
        description: OAuth 2.0 bearer access token for the QuickBooks company.
      paymentId:
        type: string
        description: Id of the payment to void.
  steps:
  - stepId: readPayment
    description: Read the payment to obtain its current Id and SyncToken.
    operationId: readPayment
    parameters:
    - name: paymentId
      in: path
      value: $inputs.paymentId
    - name: Authorization
      in: header
      value: "Bearer $inputs.accessToken"
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      paymentId: $response.body#/Payment/Id
      syncToken: $response.body#/Payment/SyncToken
      totalAmt: $response.body#/Payment/TotalAmt
  - stepId: voidPayment
    description: Void the payment using its Id, SyncToken, and the operation parameter.
    operationId: voidPayment
    parameters:
    - name: paymentId
      in: path
      value: $steps.readPayment.outputs.paymentId
    - name: operation
      in: query
      value: void
    - name: Authorization
      in: header
      value: "Bearer $inputs.accessToken"
    requestBody:
      contentType: application/json
      payload:
        Id: $steps.readPayment.outputs.paymentId
        SyncToken: $steps.readPayment.outputs.syncToken
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      voidedId: $response.body#/Payment/Id
      totalAmt: $response.body#/Payment/TotalAmt
  outputs:
    paymentId: $steps.readPayment.outputs.paymentId
    voidedId: $steps.voidPayment.outputs.voidedId

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/intuit-void-payment-safely-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 email required.

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