Codat · Schema

Banking: Transaction

The Banking Transactions data type provides an immutable source of up-to-date information on income and expenditure. Responses are paged, so you should provide `page` and `pageSize` query parameters in your request.

Unified-API
View JSON Schema on GitHub

JSON Schema

codat-bankingtransaction-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/BankingTransaction",
  "title": "Banking: Transaction",
  "description": "The Banking Transactions data type provides an immutable source of up-to-date information on income and expenditure.\n\nResponses are paged, so you should provide `page` and `pageSize` query parameters in your request.",
  "type": "object",
  "allOf": [
    {
      "type": "object",
      "properties": {
        "id": {
          "minLength": 1,
          "type": "string",
          "description": "The unique identifier of the bank transaction."
        },
        "accountId": {
          "minLength": 1,
          "type": "string",
          "description": "The unique identifier of the bank account."
        },
        "description": {
          "type": "string",
          "nullable": true,
          "description": "The description of the bank transaction."
        },
        "amount": {
          "type": "number",
          "format": "decimal",
          "description": "The amount of the bank transaction."
        },
        "currency": {
          "minLength": 1,
          "type": "string",
          "description": "The currency of the bank transaction."
        },
        "postedDate": {
          "$ref": "#/components/schemas/DateTime",
          "description": "The date the bank transaction was cleared."
        },
        "authorizedDate": {
          "$ref": "#/components/schemas/DateTime",
          "description": "The date the bank transaction was authorized."
        },
        "code": {
          "$ref": "#/components/schemas/BankingTransaction/definitions/transactionCode"
        },
        "merchantName": {
          "type": "string",
          "nullable": true,
          "description": "The name of the merchant."
        },
        "transactionCategoryRef": {
          "$ref": "#/components/schemas/BankingTransactionCategory/definitions/transactionCategoryRef"
        }
      }
    },
    {
      "$ref": "#/components/schemas/CommerceOrder/allOf/3"
    }
  ],
  "required": [
    "id",
    "accountId",
    "currency"
  ],
  "definitions": {
    "transactionCode": {
      "type": "string",
      "x-internal": true,
      "description": "Code to identify the underlying transaction.",
      "enum": [
        "Unknown",
        "Fee",
        "Payment",
        "Cash",
        "Transfer",
        "Interest",
        "Cashback",
        "Cheque",
        "DirectDebit",
        "Purchase",
        "StandingOrder",
        "Adjustment",
        "Credit",
        "Other",
        "NotSupported"
      ]
    }
  },
  "examples": [
    {
      "id": "0130b5bb-1419-40f6-8a27-7362d0381229",
      "accountId": "1703194f-7805-4da8-bac0-2ba5da4a4216",
      "description": "Payments for direct income ce149943-c157-43fc-aac7-42a716b655b6",
      "amount": 5062.39,
      "currency": "GBP",
      "postedDate": "2021-07-06T00:00:00",
      "authorizedDate": "2021-07-06T00:00:00",
      "merchantName": "New Look",
      "transactionCategoryRef": {
        "id": "health-and-fitness-sports"
      },
      "modifiedDate": "2022-05-23T16:32:50Z",
      "sourceModifiedDate": "2021-06-28T10:48:12"
    }
  ]
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/codat-bankingtransaction"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.