Funds
PATCH
Update Funds
Update an existing fund.
Required Permission:
Edit Fund
PATCH
/funds/{id}
Request Body
JSONRequest Parameters
| Parameter | Type | Required | Validation | Description |
|---|---|---|---|---|
| name | String | Required | string, required | The name |
| position | Integer | Optional | integer, optional | The position of the fund |
| description | String | Optional | string, optional | The description |
| type | Integer | Required | integer, required | The type (1: Other, 2: Bank) |
| initial_balance | Number | Optional | numeric, optional | The initial balance |
| is_default | Integer | Optional | integer, optional, in:0,1 | The is default |
Response
200 OKStatus Code
HTTP status code (200)
Message
Human-readable description
Data
Updated fund details