Get Forecasted Transaction (by id)

GET {{base_url}}/forecasting/v2/transactions/:transactionId

A particular forecasted transaction can be retrieved by providing a transaction id.

Path variables

FieldTypeDescription
transactionIdstringUnique identifier for the transaction

Attributes

FieldTypeDescription
idstringUnique identifier for the transaction
bankIdintegerUnique identifier for the bank
accountIdstringUnique identifier for the bank account
forecastIdstringUnique identifier for the forecast
valueDatedatetimeValue date for the transaction
currencystringAccount currency
amountintegerTransaction amount
typestringTransaction type {DEBIT,CREDIT}
merchantstringName of the merchant
categorystringName of the category
reasonsstringReasons why a particular transaction has been added to the forecast
sourcestringSource of data import {MANUALIMPORT, MODEL}

Error Messages

ConditionResponse StatusResponse Body
Invalid transactionId404 Not Found
Invalid partnerId403 Forbidden
Invalid companyId403 Forbidden

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring
X-partner-idstring
X-Api-Keystring
Authorizationstring
X-Company-Idstring

RESPONSES

status: OK

{"id":"transactionId1234","forecastId":"5fb529e2-2172-4a60-a16e-0d4c5da2546c","bankId":16,"accountId":"9aed0933-8e38-4571-93dd-8e775c8233e7","valueDate":"2020-09-18T03:59Z","amount":"1000.00","currency":"USD","type":"CREDIT","merchant":"LLoyds","category":"Tax","reasons":"","source":"MANUALIMPORT"}