{ "opencollection": "1.0.0", "info": { "name": "ServiceTitan Accounting Adjustments Payments API", "version": "2.0.0" }, "request": { "auth": { "type": "oauth2", "flow": "client_credentials", "accessTokenUrl": "https://auth.servicetitan.io/connect/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "items": [ { "info": { "name": "Payments", "type": "folder" }, "items": [ { "info": { "name": "List Payments", "type": "http" }, "http": { "method": "GET", "url": "https://api.servicetitan.io/accounting/v2/{tenant}/payments", "params": [ { "name": "page", "value": "", "type": "query" }, { "name": "pageSize", "value": "", "type": "query" }, { "name": "modifiedOnOrAfter", "value": "", "type": "query" } ] }, "docs": "List Payments" }, { "info": { "name": "Create Payment", "type": "http" }, "http": { "method": "POST", "url": "https://api.servicetitan.io/accounting/v2/{tenant}/payments", "body": { "type": "json", "data": "{}" } }, "docs": "Create Payment" }, { "info": { "name": "Get Payment", "type": "http" }, "http": { "method": "GET", "url": "https://api.servicetitan.io/accounting/v2/{tenant}/payments/:id", "params": [ { "name": "id", "value": "", "type": "path" } ] }, "docs": "Get Payment" }, { "info": { "name": "Update Payment", "type": "http" }, "http": { "method": "PATCH", "url": "https://api.servicetitan.io/accounting/v2/{tenant}/payments/:id", "params": [ { "name": "id", "value": "", "type": "path" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Update Payment" }, { "info": { "name": "List Payment Types", "type": "http" }, "http": { "method": "GET", "url": "https://api.servicetitan.io/accounting/v2/{tenant}/payment-types" }, "docs": "List Payment Types" } ] } ], "bundled": true }