Updates a bank_transaction
Changed onHandles the updating of a bank_transaction by id
Request
- Base URLhttps://demo.invoiceninja.com
- Authnone declared. Required headers: X-API-TOKEN, X-Requested-With
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
The BankTransaction Hashed ID
Query parameters
Includes child relationships in the response, format is comma separated. Check each model for the list of associated includes
Headers
The API token to be used for authentication
Used to send the XMLHttpRequest header
Response
Returns the bank_transaction object
Example response
{
"id": "AS3df3A",
"user_id": "AS3df3A",
"transaction_id": 343434,
"amount": 10,
"currency_id": "1",
"account_type": "creditCard",
"description": "Potato purchases for kevin",
"category_id": 1,
"category_type": "Expenses",
"base_type": "CREDIT",
"date": "2022-09-01",
"bank_account_id": 1
}Changes
- info
the response optional property
became read-only for the status
- info
- breaking
the response's body type changed from no type to
objectfor status - breaking
the response's body type changed from no type to
objectfor status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status
- breaking