Funds

POST

Create Funds

Create a new fund.

Required Permission: Create Fund
POST /funds

Request Body

JSON

    

Request 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

201 Created
Status Code
HTTP status code (201)
Message
Human-readable description
Data
Created fund details