{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://raw.githubusercontent.com/api-evangelist/slash/main/json-schema/slash-paths-fdx-accounts-param-account-id-transactions-dto-investment-transaction-schema.json", "title": "InvestmentTransaction", "x-generated": "2026-10-12", "x-method": "derived", "x-generator": "derive-json-schema.py", "x-source": "openapi/slash-fdx-api-openapi.yml#/components/schemas/paths.fdx.accounts._param_accountId.transactions._dto.InvestmentTransaction", "type": "object", "properties": { "transactionId": { "type": "string", "description": "Long-term persistent identity of the transaction." }, "referenceTransactionId": { "type": "string", "description": "For reverse postings, the identity of the transaction being reversed. For the correction transaction, the identity of the reversing post. For credit card posting transactions, the identity of the authorization transaction" }, "postedTimestamp": { "type": "string", "description": "The ISO 8601 date and time that the transaction was posted to the account. This will be included if status is POSTED." }, "transactionTimestamp": { "type": "string", "description": "The ISO 8601 date and time that the transaction was initiated." }, "description": { "type": "string", "description": "A description of the transaction." }, "debitCreditMemo": { "type": "string", "description": "The posting type of a transaction. The transaction amount is an absolute value, and this parameter indicates the direction of the transaction. This will always be DEBIT or CREDIT.", "enum": [ "DEBIT", "CREDIT", "MEMO" ] }, "category": { "type": "string", "description": "The merchant category code (MCC) of the transaction, if available." }, "subCategory": { "type": "string", "description": "Additional information about the transaction category, if available." }, "status": { "type": "string", "description": "The status of the transaction. This will always be PENDING or POSTED.", "enum": [ "AUTHORIZATION", "MEMO", "PENDING", "POSTED" ] }, "amount": { "type": "number", "description": "The amount of money in the account currency in that currency's standard unit (e.g. dollars for USD). The amount is an absolute value. The debitCreditMemo parameter indicates the direction of the transaction." }, "foreignAmount": { "type": "number", "description": "This value is only included if the transaction's currency is different than the account's default currency." }, "foreignCurrency": { "$ref": "#/$defs/paths.fdx.accounts._param_accountId.transactions._dto.Iso4217CurrencyCode", "description": "ISO 4217 currency code. This value is only included if the transaction's currency is different than the account's default currency.", "x-entrypoint": { "virtualPath": "paths/fdx/accounts/{accountId}/transactions/_dto/Iso4217CurrencyCode", "sourcePath": "paths/fdx/accounts/{accountId}/transactions/_dto/Iso4217CurrencyCode.yaml", "title": "Iso4217CurrencyCode", "origin": "./src/publicApi" } }, "transactionType": { "type": "string", "enum": [ "ADJUSTMENT", "ATM", "CASH", "CHECK", "CLOSURE", "CLOSUREOPT", "CONTRIBUTION", "DEP", "DEPOSIT", "DIRECTDEBIT", "DIRECTDEP", "DIV", "DIVIDEND", "DIVIDENDREINVEST", "EXPENSE", "FEE", "INCOME", "INTEREST", "INVEXPENSE", "JRNLFUND", "JRNLSEC", "MARGININTEREST", "OPTIONEXERCISE", "OPTIONEXPIRATION", "OTHER", "PAYMENT", "POS", "PURCHASED", "PURCHASEDTOCOVER", "PURCHASETOCLOSE", "PURCHASETOOPEN", "REINVESTOFINCOME", "REPEATPMT", "RETURNOFCAPITAL", "SOLD", "SOLDTOCLOSE", "SOLDTOOPEN", "SPLIT", "SRVCHG", "TRANSFER", "XFER" ] }, "securityId": { "type": "string", "description": "The security identifier for the transaction, if applicable." }, "securityIdType": { "type": "string", "enum": [ "CINS", "CMC", "CME", "CUSIP", "ISIN", "ITSA", "NASDAQ", "SEDOL", "SICC", "VALOR", "WKN" ] }, "securityType": { "type": "string", "enum": [ "BOND", "DEBT", "DIGITALASSET", "MUTUALFUND", "OPTION", "OTHER", "STOCK", "SWEEP" ] }, "symbol": { "type": "string", "description": "Ticker symbol" }, "commission": { "type": "number" }, "fees": { "type": "number" }, "unitPrice": { "type": "number" }, "units": { "type": "number" }, "unitType": { "type": "string", "enum": [ "CURRENCY", "SHARES" ] }, "fiAttributes": { "type": "array", "items": { "type": "object", "properties": { "name": { "type": "string" }, "value": { "type": "string" } }, "required": [ "name", "value" ] } } }, "required": [ "transactionId", "transactionTimestamp", "description", "debitCreditMemo", "status", "amount", "fees" ], "x-entrypoint": { "virtualPath": "paths/fdx/accounts/{accountId}/transactions/_dto/InvestmentTransaction", "sourcePath": "paths/fdx/accounts/{accountId}/transactions/_dto/InvestmentTransaction.yaml", "title": "InvestmentTransaction", "origin": "./src/publicApi" }, "$defs": { "paths.fdx.accounts._param_accountId.transactions._dto.Iso4217CurrencyCode": { "type": "string", "description": "ISO 4217 currency code, per the FDX / Plaid Core Exchange specification.", "enum": [ "AED", "AFN", "ALL", "AMD", "ANG", "AOA", "ARS", "AUD", "AWG", "AZN", "BAM", "BBD", "BDT", "BGN", "BHD", "BIF", "BMD", "BND", "BOB", "BOV", "BRL", "BSD", "BTN", "BWP", "BYN", "BZD", "CAD", "CDF", "CHE", "CHF", "CHW", "CLF", "CLP", "CNY", "COP", "COU", "CRC", "CUC", "CUP", "CVE", "CZK", "DJF", "DKK", "DOP", "DZD", "EGP", "ERN", "ETB", "EUR", "FJD", "FKP", "GBP", "GEL", "GHS", "GIP", "GMD", "GNF", "GTQ", "GYD", "HKD", "HNL", "HTG", "HUF", "IDR", "ILS", "INR", "IQD", "IRR", "ISK", "JMD", "JOD", "JPY", "KES", "KGS", "KHR", "KMF", "KPW", "KRW", "KWD", "KYD", "KZT", "LAK", "LBP", "LKR", "LRD", "LSL", "LYD", "MAD", "MDL", "MGA", "MKD", "MMK", "MNT", "MOP", "MRU", "MUR", "MVR", "MWK", "MXN", "MXV", "MYR", "MZN", "NAD", "NGN", "NIO", "NOK", "NPR", "NZD", "OMR", "PAB", "PEN", "PGK", "PHP", "PKR", "PLN", "PYG", "QAR", "RON", "RSD", "RUB", "RWF", "SAR", "SBD", "SCR", "SDG", "SEK", "SGD", "SHP", "SLE", "SLL", "SOS", "SRD", "SSP", "STN", "SVC", "SYP", "SZL", "THB", "TJS", "TMT", "TND", "TOP", "TRY", "TTD", "TWD", "TZS", "UAH", "UGX", "USD", "USN", "UYI", "UYU", "UYW", "UZS", "VED", "VES", "VND", "VUV", "WST", "XAF", "XAG", "XAU", "XBA", "XBB", "XBC", "XBD", "XCD", "XDR", "XOF", "XPD", "XPF", "XPT", "XSU", "XTS", "XUA", "XXX", "YER", "ZAR", "ZMW", "ZWL" ], "x-entrypoint": { "virtualPath": "paths/fdx/accounts/{accountId}/transactions/_dto/Iso4217CurrencyCode", "sourcePath": "paths/fdx/accounts/{accountId}/transactions/_dto/Iso4217CurrencyCode.yaml", "title": "Iso4217CurrencyCode", "origin": "./src/publicApi" }, "title": "Iso4217CurrencyCode" } } }