ServiceTitan Payments API

The Payments API from ServiceTitan — 3 operation(s) for payments.

GitHub OpenAPI
Business capability
Accounts Receivable Management BC-200.30

Operations 5

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

GET /payments List payments · List Payments #
Ask an LLM
“Which payments have been recorded in ServiceTitan?”
“Can I list payments modified since a certain date?”
Tell an agent
List all payments.
Show payments modified on or after {modifiedOnOrAfter}.
POST /payments Record a payment · Create Payment #
Ask an LLM
“How do I record a customer's payment against an invoice?”
“Can I split a payment across several invoice lines?”
Tell an agent
Record a {type} payment of {total} dated {date} split as {splits}.
Post payment {total} of type {type} on {date} with memo {memo}.
GET /payments/{id} Get a payment · Get Payment #
Ask an LLM
“What amount and type is a specific payment?”
“Can I look up one payment by its ID?”
Tell an agent
Get payment {id}.
Show the details of payment {id}.
PATCH /payments/{id} Update a payment · Update Payment #
Ask an LLM
“Can I correct the amount on a payment I already recorded?”
“How do I edit an existing payment?”
Tell an agent
Update payment {id}.
Correct the recorded payment {id}.
GET /payment-types List payment types · List Payment Types #
Ask an LLM
“What payment types can I record, like cash or credit card?”
“Which payment type IDs are available for payments?”
Tell an agent
List all payment types.
Show the payment types I can use for new payments.

Work with this as data

Every API 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 apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • 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 API
curl "https://apis.io/api/v1/apis/servicetitan:servicetitan-payments-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

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. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

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

OpenAPI Specification

servicetitan-payments-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: ServiceTitan Accounting Payments API
  description: 'The Accounting API manages invoices, invoice items, AP credits, payments, payment terms,

    payment types, journal entries, journal entry details, tax zones, and GL accounts.

    Tenant-scoped; OAuth 2.0 + App Key. Integrates with QuickBooks, Sage Intacct, and Acumatica.'
  version: 2.0.0
  contact:
    name: ServiceTitan Developer Support
    url: https://developer.servicetitan.io/
    email: integrations@servicetitan.com
  license:
    name: ServiceTitan Terms of Service
    url: https://www.servicetitan.com/legal/terms-of-service
servers:
- url: https://api.servicetitan.io/accounting/v2/{tenant}
  description: Production
  variables:
    tenant:
      default: '0000000'
- url: https://api-integration.servicetitan.io/accounting/v2/{tenant}
  description: Integration (Sandbox)
  variables:
    tenant:
      default: '0000000'
security:
- OAuth2: []
  AppKey: []
tags:
- name: Payments
paths:
  /payments:
    get:
      summary: List Payments
      operationId: listPayments
      tags:
      - Payments
      parameters:
      - $ref: '#/components/parameters/Page'
      - $ref: '#/components/parameters/PageSize'
      - $ref: '#/components/parameters/ModifiedOnOrAfter'
      responses:
        '200':
          description: Paginated list of payments
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PaymentPagedResponse'
    post:
      summary: Create Payment
      operationId: createPayment
      tags:
      - Payments
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PaymentCreateRequest'
      responses:
        '200':
          description: Created payment
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Payment'
  /payments/{id}:
    get:
      summary: Get Payment
      operationId: getPayment
      tags:
      - Payments
      parameters:
      - $ref: '#/components/parameters/Id'
      responses:
        '200':
          description: Payment
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Payment'
    patch:
      summary: Update Payment
      operationId: updatePayment
      tags:
      - Payments
      parameters:
      - $ref: '#/components/parameters/Id'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
      responses:
        '200':
          description: Updated payment
  /payment-types:
    get:
      summary: List Payment Types
      operationId: listPaymentTypes
      tags:
      - Payments
      responses:
        '200':
          description: Payment types
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    type: array
                    items:
                      type: object
                      properties:
                        id:
                          type: integer
                        name:
                          type: string
                        active:
                          type: boolean
                        modifiedOn:
                          type: string
                          format: date-time
components:
  parameters:
    Page:
      name: page
      in: query
      schema:
        type: integer
        default: 1
    Id:
      name: id
      in: path
      required: true
      schema:
        type: integer
        format: int64
    ModifiedOnOrAfter:
      name: modifiedOnOrAfter
      in: query
      schema:
        type: string
        format: date-time
    PageSize:
      name: pageSize
      in: query
      schema:
        type: integer
        default: 50
        maximum: 500
  schemas:
    PaymentPagedResponse:
      type: object
      properties:
        page:
          type: integer
        pageSize:
          type: integer
        hasMore:
          type: boolean
        data:
          type: array
          items:
            $ref: '#/components/schemas/Payment'
    PaymentCreateRequest:
      type: object
      required:
      - date
      - typeId
      - total
      - splits
      properties:
        date:
          type: string
          format: date-time
        typeId:
          type: integer
        total:
          type: number
        referenceNumber:
          type: string
        memo:
          type: string
        splits:
          type: array
          items:
            type: object
            required:
            - invoiceId
            - amount
            properties:
              invoiceId:
                type: integer
              amount:
                type: number
    Payment:
      type: object
      properties:
        id:
          type: integer
          format: int64
        active:
          type: boolean
        referenceNumber:
          type: string
          nullable: true
        date:
          type: string
          format: date-time
        type:
          type: string
        typeId:
          type: integer
          nullable: true
        total:
          type: number
        unappliedAmount:
          type: number
        memo:
          type: string
          nullable: true
        customer:
          type: object
          properties:
            id:
              type: integer
            name:
              type: string
        batch:
          type: object
          properties:
            id:
              type: integer
              nullable: true
            name:
              type: string
              nullable: true
            number:
              type: string
              nullable: true
        status:
          type: string
        splits:
          type: array
          items:
            type: object
            properties:
              invoiceId:
                type: integer
              amount:
                type: number
        modifiedOn:
          type: string
          format: date-time
  securitySchemes:
    OAuth2:
      type: oauth2
      flows:
        clientCredentials:
          tokenUrl: https://auth.servicetitan.io/connect/token
          scopes: {}
    AppKey:
      type: apiKey
      in: header
      name: ST-App-Key