Update a Transaction

Update a transaction

PUT https://api.omnimoney.app/v1/transactions/:transaction_id

To update a transaction, send the fields and new values that you would like the transaction to have. Only the fields you send will be updated and any field not sent remains the same.

Path Parameters

Name
Type
Description

transactions_id*

string

The identifier for the transaction

Headers

Name
Type
Description

Authorization*

string

Bearer ACCESS_TOKEN

Request Body

Name
Type
Description

transaction*

object

update_account_balance

boolean

Flag to update account balances after updating the transaction. Defaults to true

{
    "transaction": {
        "id": "fe8e935a-3408-4580-84e9-1581c4556526",
        "created_at": "2021-12-01T16:15:51.21841+00:00",
        "updated_at": "2021-12-01T16:15:51.21841+00:00",
        "account_id": "9e6c5e12-b6db-4ad8-8c6f-d7de0af54116",
        "transfer_account_id": null,
        "payee_id": "94995e63-a899-428b-8058-df41c1ee7e37",
        "amount": -10,
        "currency": "USD",
        "authorized_at": "2021-12-01",
        "posted_at": null,
        "is_pending": true,
        "notes": "",
        "category_id": "5a3da72d-7bb7-4aed-84af-8410c965b8b0",
        "source": "manual"
    }
}

Last updated

Was this helpful?