{
  "service": "Creditcrest Statement",
  "version": "1.0.0",
  "stores": "nothing",
  "reads": [
    "CBA",
    "NAB",
    "ANZ",
    "Westpac",
    "ING",
    "Up",
    "Macquarie"
  ],
  "endpoints": {
    "POST /v1/statement": {
      "what": "A bank statement read: income, commitments, expenses and the signals an assessor should be told, each with the transactions behind it.",
      "body": "the CSV export as text/csv, or JSON {statement, declaredIncome?, declaredIncomeSource?} plus any capacity field"
    },
    "GET /v1/statement/sample": {
      "what": "The same for an invented statement, so a program can be built before it has anybody’s data.",
      "query": {
        "example": "which invented statement: ordinary, strained"
      }
    },
    "GET /v1/statement/sample.csv": {
      "what": "That invented statement as a bank’s CSV export, to send back to POST /v1/statement.",
      "query": {
        "example": "which invented statement: ordinary, strained"
      }
    }
  }
}