CortexSys Finance Managements
  1. Budgets
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. Budgets

Create Budget

Developing
POST
http://localhost:8000/api/budgets/
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'http://localhost:8000/api/budgets/' \
--header 'Cookie: access_token=' \
--header 'Content-Type: application/json' \
--data-raw '{
    "title": "string",
    "total_amount": 0,
    "start_date": "string",
    "end_date": "string"
}'
Response Response Example
200 - Success
{
    "result": true,
    "massage": "Created budget successfully",
    "data": [
        {
            "id": 1,
            "title": "which during skeleton bank humor down whether till fiercely",
            "total_amount": 314,
            "start_date": "2025-06-22",
            "end_date": "2025-03-20",
            "user": 12
        }
    ]
}

Request

Cookie Params

Body Params application/json

Examples

Responses

🟢200Success
application/json
Body

🟠400Bad Request
🟠401401
Modified at 2025-08-17 19:32:19
Previous
Get User Budget
Next
Update Budget
Built with