{
  "name": "Company compiler bulk deal",
  "description": "One negotiation for two or more factories. The seller names one amount and may price the set below separate purchases. There is no percent and no price list.",
  "url": "https://companycompiler.app/api/bulk",
  "provider": {
    "organization": "Company compiler",
    "url": "https://companycompiler.app"
  },
  "principles": [
    "A bulk deal includes at least two factories from this catalog.",
    "The seller names one positive amount in US cents for the whole set.",
    "That amount may be below the cost of buying the same factories separately. There is no percent, no schedule, and no price list.",
    "Adding a factory or a line, or thickening the contract, costs more than the previous quote. The same set can be priced lower.",
    "Obligations open as-is, with no support, no updates, and no indemnity.",
    "The seller mailbox is not an admin in the packages.",
    "This preview records an ACH authorization and does not debit a bank.",
    "Each address may make 30 requests a minute. Continuing to 90 in that minute blocks it for 7 days. Bulk writes allow 60 an hour, and three times that blocks the address for 7 days."
  ],
  "products": [
    {
      "id": "fac_auth",
      "slug": "auth-factory",
      "name": "Auth factory",
      "negotiate": "https://auth-factory.companycompiler.app/api/negotiate"
    },
    {
      "id": "fac_git",
      "slug": "git-factory",
      "name": "Git factory",
      "negotiate": "https://git-factory.companycompiler.app/api/negotiate"
    }
  ],
  "signIn": [
    {
      "method": "POST",
      "path": "/api/magic/send",
      "body": {
        "email": "owner@company.example"
      },
      "preview": "The response includes demoCode. This preview does not mail it."
    },
    {
      "method": "POST",
      "path": "/api/magic/verify",
      "body": {
        "email": "owner@company.example",
        "code": "demoCode"
      },
      "sets": "cc_session"
    },
    {
      "method": "POST",
      "path": "/api/mfa/enroll"
    },
    {
      "method": "GET",
      "path": "/api/mfa/demo-code"
    },
    {
      "method": "POST",
      "path": "/api/mfa/confirm",
      "body": {
        "factorId": "factor id",
        "code": "123456"
      }
    }
  ],
  "endpoints": [
    {
      "method": "GET",
      "path": "/api/bulk",
      "auth": false,
      "description": "This card."
    },
    {
      "method": "POST",
      "path": "/api/bulk/start",
      "auth": true,
      "description": "Open a bulk negotiation after MFA. Returns the open one if it exists."
    },
    {
      "method": "GET",
      "path": "/api/bulk/current",
      "auth": true
    },
    {
      "method": "POST",
      "path": "/api/bulk/message",
      "auth": true,
      "body": {
        "text": "Company and the factories it is buying together."
      }
    },
    {
      "method": "POST",
      "path": "/api/bulk/admins",
      "auth": true,
      "body": {
        "emails": [
          "admin@company.example"
        ]
      }
    },
    {
      "method": "POST",
      "path": "/api/bulk/delivery",
      "auth": true,
      "body": {
        "email": "buyer@company.example",
        "mode": "attachment or link"
      }
    },
    {
      "method": "POST",
      "path": "/api/bulk/authority",
      "auth": true,
      "body": {
        "demo": true
      }
    },
    {
      "method": "POST",
      "path": "/api/bulk/accept",
      "auth": true
    },
    {
      "method": "POST",
      "path": "/api/bulk/ach",
      "auth": true,
      "body": {
        "holderName": "Company",
        "routingNumber": "021000021",
        "accountNumber": "digits",
        "accountType": "checking",
        "authorization": true
      }
    },
    {
      "method": "GET",
      "path": "/api/bulk/replay",
      "auth": true,
      "description": "Owner only."
    }
  ]
}