Update a bankfeedtransaction
PUT/accounting/{connection_id}/bankfeedtransaction/{id}
Parameters
fieldsstring array
Fields to return
rawstring
Raw parameters to include in the 3rd-party request. Encoded as a URL component. eg. raw parameters: foo=bar&zoo=bar -> raw=foo%3Dbar%26zoo%3Dbar
connection_idstring required
ID of the connection
idstring required
ID of the Bankfeedtransaction
Payload
idstring
created_atdate
creation timestamp, in ISO 8601 format and UTC (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)
updated_atdate
last-update timestamp, in ISO 8601 format and UTC (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)
organization_idstring
ref -> accounting Organization this record belongs to
bankfeedaccount_idstring
ref -> BankfeedAccount this transaction belongs to
transaction_atdate
when the transaction occurred (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)
posted_atdate
when it posted / cleared (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)
amountnumber
transaction amount (positive; direction from type)
type enum
Valid values:
"DEBIT"
"CREDIT"
direction: DEBIT, CREDIT
bank_categorystring
the bank's own category label
descriptionstring
bank memo / statement text
merchant_namestring
counterparty as reported by the bank
is_pendingboolean
true if not yet cleared
referencestring
bank reference or check number
currencystring
ISO 4217
contact_idstring
matched vendor/customer once reconciled (reference to AccountingContact)
account_idstring
GL account once categorized (reference to AccountingAccount)
category_idsstring array
dimension refs -> AccountingCategory (class/department/location)
Returns
idstring
created_atdate
creation timestamp, in ISO 8601 format and UTC (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)
updated_atdate
last-update timestamp, in ISO 8601 format and UTC (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)
organization_idstring
ref -> accounting Organization this record belongs to
bankfeedaccount_idstring
ref -> BankfeedAccount this transaction belongs to
transaction_atdate
when the transaction occurred (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)
posted_atdate
when it posted / cleared (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)
amountnumber
transaction amount (positive; direction from type)
type enum
Valid values:
"DEBIT"
"CREDIT"
direction: DEBIT, CREDIT
bank_categorystring
the bank's own category label
descriptionstring
bank memo / statement text
merchant_namestring
counterparty as reported by the bank
is_pendingboolean
true if not yet cleared
referencestring
bank reference or check number
currencystring
ISO 4217
contact_idstring
matched vendor/customer once reconciled (reference to AccountingContact)
account_idstring
GL account once categorized (reference to AccountingAccount)
category_idsstring array
dimension refs -> AccountingCategory (class/department/location)
const options = {
method: 'PUT',
url: 'https://api.unified.to/accounting/5de520f96e439b002043d8dc/bankfeedtransaction/5de520f96e439b002043d8d8',
headers: {
authorization: 'bearer .....'
},
data: undefined,
params: {
fields: '',
raw: '',
}
};
const results = await axios.request(options); Are we missing anything? Let us know