{
  "opencollection": "1.0.0",
  "info": {
    "name": "Mercoa Entities API",
    "version": "1.0"
  },
  "request": {
    "auth": {
      "type": "bearer",
      "token": "{{bearerToken}}"
    }
  },
  "items": [
    {
      "info": {
        "name": "Entities",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List entities",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.mercoa.com/entity"
          },
          "docs": "List entities"
        },
        {
          "info": {
            "name": "Create entity",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.mercoa.com/entity"
          },
          "docs": "Create entity"
        },
        {
          "info": {
            "name": "Get entity",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.mercoa.com/entity/:entityId",
            "params": [
              {
                "name": "entityId",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Get entity"
        },
        {
          "info": {
            "name": "Update entity",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.mercoa.com/entity/:entityId",
            "params": [
              {
                "name": "entityId",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Update entity"
        },
        {
          "info": {
            "name": "Delete entity",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://api.mercoa.com/entity/:entityId",
            "params": [
              {
                "name": "entityId",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Delete entity"
        },
        {
          "info": {
            "name": "Accept Mercoa TOS for entity",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.mercoa.com/entity/:entityId/accept-tos",
            "params": [
              {
                "name": "entityId",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Accept Mercoa TOS for entity"
        },
        {
          "info": {
            "name": "Request KYB verification",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.mercoa.com/entity/:entityId/request-kyb",
            "params": [
              {
                "name": "entityId",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Request KYB verification"
        },
        {
          "info": {
            "name": "Generate entity token",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.mercoa.com/entity/:entityId/token",
            "params": [
              {
                "name": "entityId",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Generate entity token"
        },
        {
          "info": {
            "name": "List payee counterparties",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.mercoa.com/entity/:entityId/counterparties/payees",
            "params": [
              {
                "name": "entityId",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "List payee counterparties"
        },
        {
          "info": {
            "name": "List payor counterparties",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.mercoa.com/entity/:entityId/counterparties/payors",
            "params": [
              {
                "name": "entityId",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "List payor counterparties"
        }
      ]
    }
  ],
  "bundled": true
}