Bank of America · Schema

Transaction

An account transaction record

BankingCorporate BankingFinancePaymentsTreasuryCashProFortune 100

Properties

Name Type Description
transactionId string Unique transaction identifier
accountId string Account the transaction belongs to
type string Transaction type (debit, credit)
amount number Transaction amount
currency string Transaction currency
description string Transaction description or memo
referenceNumber string Bank reference number
valueDate string Value date of the transaction
postDate string Post date of the transaction
status string Transaction status
View JSON Schema on GitHub

JSON Schema

transaction-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://api-evangelist.github.io/bank-of-america/json-schema/transaction-schema.json",
  "title": "Transaction",
  "type": "object",
  "description": "An account transaction record",
  "properties": {
    "transactionId": {
      "type": "string",
      "description": "Unique transaction identifier"
    },
    "accountId": {
      "type": "string",
      "description": "Account the transaction belongs to"
    },
    "type": {
      "type": "string",
      "description": "Transaction type (debit, credit)",
      "enum": [
        "debit",
        "credit"
      ]
    },
    "amount": {
      "type": "number",
      "format": "double",
      "description": "Transaction amount"
    },
    "currency": {
      "type": "string",
      "description": "Transaction currency"
    },
    "description": {
      "type": "string",
      "description": "Transaction description or memo"
    },
    "referenceNumber": {
      "type": "string",
      "description": "Bank reference number"
    },
    "valueDate": {
      "type": "string",
      "format": "date",
      "description": "Value date of the transaction"
    },
    "postDate": {
      "type": "string",
      "format": "date",
      "description": "Post date of the transaction"
    },
    "status": {
      "type": "string",
      "description": "Transaction status"
    }
  }
}