Skip to main content
POST
/
account
/
add
Create an Account
curl --request POST \
  --url https://cashboard-f5x2.onrender.com/account/add \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "KCB Account",
  "desc": "My checking account",
  "currentAmount": 150000
}
'
{
  "accounts": [
    {
      "name": "KCB Account",
      "desc": "My checking account",
      "currentAmount": 150000,
      "_id": "662fbf9eac827e370c18d4b9"
    }
  ]
}

Query Parameters

user
string

required

Body

application/json

The body is of type object.

Response

200 - application/json

OK

The response is of type object.