{
  "opencollection": "1.0.0",
  "info": {
    "name": "Client API v1.8 authenticated payables API",
    "version": "1.8.45"
  },
  "request": {
    "auth": {
      "type": "apikey",
      "key": "x-api-key",
      "value": "{{x-api-key}}",
      "placement": "header"
    }
  },
  "items": [
    {
      "info": {
        "name": "payables",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Get a List of Payables",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://client-api.staging.roadsync.com/{basePath}/payables",
            "headers": [
              {
                "name": "broker-id",
                "value": ""
              }
            ]
          },
          "docs": "Returns a list of all payees for the specified Broker."
        },
        {
          "info": {
            "name": "Create a Payable",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://client-api.staging.roadsync.com/{basePath}/payables",
            "headers": [
              {
                "name": "broker-id",
                "value": ""
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Create a Payable. A Payable is an amount owed to a creditor with a scheduled date for a payment to be initiated."
        },
        {
          "info": {
            "name": "Get a Single Payable",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://client-api.staging.roadsync.com/{basePath}/payables/:id",
            "headers": [
              {
                "name": "broker-id",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Retrieve a single Payable by its ID. A Payable represents a scheduled payment to a Payee for a specific amount.\n\nA Payee is always one of two types, determined by the `is_factoring_company` flag:\n- **Carrier** (`is_factoring_company: false`): A transportation company that moves freight.\n  Carriers may have DOT and MC numbers for regulatory compliance.\n\n- **Factoring Company** (`is_factoring_company: true`): A financial entity that purchases\n  invoices from Carriers. When paying a Factoring Compa"
        },
        {
          "info": {
            "name": "Update a Single Payable",
            "type": "http"
          },
          "http": {
            "method": "PATCH",
            "url": "https://client-api.staging.roadsync.com/{basePath}/payables/:id",
            "headers": [
              {
                "name": "broker-id",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Edit a Payable if it’s not already processing or completed."
        },
        {
          "info": {
            "name": "Delete a Single Payable",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://client-api.staging.roadsync.com/{basePath}/payables/:id",
            "headers": [
              {
                "name": "broker-id",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Delete a Payable if it’s not already processing or completed."
        }
      ]
    }
  ],
  "bundled": true
}