Update Fund

Update the specified fund. Allows updating the editable fields of the fund, including 'internal_id' and 'description', and also closing the fund (status = 'closed'). When updating the status to 'open' from 'pending', the current amount will be reset to the initial amount. Cannot update to 'open' status from 'pending_approval' or when already 'open'.

Path Params
string
required
Defaults to v1

Api version

string
required

Id of the selected enterprise

string
required

Id of the selected subsidiary

string
required

Id of the desired object

Body Params
string
enum

The new status of the fund. Can be 'open' or 'closed'. You can close the fund using 'closed'. Only allowed to set to 'open' from 'pending'.

Allowed:
string

The internal ID of the fund. Can be updated.

string

The description of the fund. Can be updated.

string
enum

Payment method of the fund.

Allowed:
string

Payment date of the fund, must be a valid date in the format YYYY-MM-DD and must be in the past

string

ID of the admin that is updating the fund

Responses

Language
Credentials
Header
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json