{
  "opencollection": "1.0.0",
  "info": {
    "name": "Puzzle Api Accounts Transactions API",
    "version": "0"
  },
  "items": [
    {
      "info": {
        "name": "Transactions",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Get Transactions",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://staging.southparkdata.com/rest/v0/company/:id/transactions",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "The company ID"
              },
              {
                "name": "startDate",
                "value": "",
                "type": "query"
              },
              {
                "name": "endDate",
                "value": "",
                "type": "query"
              },
              {
                "name": "accountIds",
                "value": "",
                "type": "query"
              },
              {
                "name": "vendorIds",
                "value": "",
                "type": "query"
              },
              {
                "name": "coaKeys",
                "value": "",
                "type": "query"
              },
              {
                "name": "status",
                "value": "",
                "type": "query"
              },
              {
                "name": "sortBy",
                "value": "",
                "type": "query"
              },
              {
                "name": "after",
                "value": "",
                "type": "query"
              },
              {
                "name": "count",
                "value": "",
                "type": "query"
              }
            ]
          },
          "docs": "Get transactions by filter\n\nRequired scope: read:company"
        },
        {
          "info": {
            "name": "Create Transactions",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://staging.southparkdata.com/rest/v0/company/:id/transactions",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "The company ID"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Create multiple transactions for a single financial account.\n\nYou can create up to 500 transactions per request\nTransactions can only be added to accounts with the following types: Depository, Credit, Investment, Loan, or PaymentProcessing\nTransactions are created asynchronously, so the response only includes a mapping of the Puzzle ID to the native ID and the status of the transaction, which will either be pending or duplicate.\npending = The data for that transaction has been saved and is curre"
        },
        {
          "info": {
            "name": "Get Transaction",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://staging.southparkdata.com/rest/v0/company/:id/transactions/:transactionId",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "The company ID"
              },
              {
                "name": "transactionId",
                "value": "",
                "type": "path",
                "description": "The transaction ID"
              }
            ]
          },
          "docs": "Get a single transaction by ID\n\nRequired scope: read:company"
        },
        {
          "info": {
            "name": "Update Transaction",
            "type": "http"
          },
          "http": {
            "method": "PATCH",
            "url": "https://staging.southparkdata.com/rest/v0/company/:id/transactions/:transactionId",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "The company ID"
              },
              {
                "name": "transactionId",
                "value": "",
                "type": "path",
                "description": "The transaction ID"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Updates an existing Transaction\n\nRequired scope: write:transaction"
        },
        {
          "info": {
            "name": "Create Document",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://staging.southparkdata.com/rest/v0/company/:id/transactions/:transactionId/document",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "The company ID"
              },
              {
                "name": "transactionId",
                "value": "",
                "type": "path",
                "description": "The transaction ID"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Create a document for a given transaction.\n\nRequired scope: write:transaction"
        }
      ]
    }
  ],
  "bundled": true
}