CortexSys Finance Managements
  1. Transactions
CortexSys Finance Managements
  • Auth
    • Register User
      POST
    • Login User
      POST
    • Refresh Token
      POST
    • User Info
      GET
  • Transactions
    • Get User Transactions
      GET
    • Create Transactions
      POST
    • Update Transaction
      PUT
    • Delete Transaction
      DELETE
  • Budgets
    • Get User Budget
      GET
    • Create Budget
      POST
    • Update Budget
      PUT
    • Delete Budget
      DELETE
  1. Transactions

Update Transaction

Developing
PUT
http://localhost:8000/api/transactions/
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request PUT 'http://localhost:8000/api/transactions/' \
--header 'Cookie: access_token=' \
--header 'Content-Type: application/json' \
--data-raw '{
    "id": 0,
    "title": "string",
    "amount": 0,
    "type": "Income",
    "date": "string",
    "notes": "string"
}'
Response Response Example
200 - Success
{
    "result": true,
    "message": "Transaction updated",
    "data": [
        {
            "id": 1,
            "title": "consectetur",
            "amount": 496,
            "type": "Income",
            "date": "2025-02-18",
            "notes": "incididunt consectetur dolor",
            "created_at": "2025-08-17T05:37:32.105376Z",
            "user": 12
        }
    ]
}

Request

Cookie Params

Body Params application/json

Examples

Responses

🟢200Success
application/json
Body

🟠404Record Not Found
🟠400Bad Request
🟠401401
Modified at 2025-08-17 19:31:55
Previous
Create Transactions
Next
Delete Transaction
Built with