Funds

The Fundraise API allows to manage comprehensive fundraising activities by handling funds (base entity for collecting money), campaigns (targeted fundraising initiatives tied to specific funds), pledges (promises for future donations), and actual donations. Create and track multiple fundraising campaigns simultaneously, each connected to one or more funds, while managing incoming donations and pledges.

Endpoints

The Fund object

The FundResource serves as the foundational entity in fundraising, allowing to create named fundraising buckets with optional financial targets and deadlines. Each fund can track its progress towards a specific monetary goal by a target date, while the optional externalId enables seamless integration with external systems or third-party fundraising platforms.

Attributes

_id
Required
string

The ID of the Fund

name
Required
string

The name of the fund

sellerId
Required
string

The ID of the seller owning the fund

createdAt
Required
string date-time

An ISO timestamp indicating when the fund was created.

updatedAt
Required
string date-time

An ISO timestamp indicating when the fund was created.

Optional Attributes

Collapse all
Was this section helpful?
YesNo
Example
{
"_id": "string",
"name": "string",
"target": {
"amount": 1,
"date": "2030-01-23T23:00:00.123Z"
},
"externalId": "string",
"sellerId": "string",
"createdAt": "2030-01-23T23:00:00.123Z",
"updatedAt": "2030-01-23T23:00:00.123Z"
}

Create a Fund

Payload

name
Required
string

The name of the fund

Optional Attributes

Collapse all
Responses
201
Created
400
Bad Request
401
Unauthorized

Was this section helpful?

YesNo
post
/api/fundraise/funds
{
"name": "string",
"target": {
"amount": 1,
"date": "2030-01-23T23:00:00.123Z"
},
"externalId": "string"
}
Response
application/json
{
"_id": "string",
"name": "string",
"target": {
"amount": 1,
"date": "2030-01-23T23:00:00.123Z"
},
"externalId": "string",
"sellerId": "string",
"createdAt": "2030-01-23T23:00:00.123Z",
"updatedAt": "2030-01-23T23:00:00.123Z"
}

Update a Fund

Parameter

id
Required

The ID or external ID of the fund to retrieve. In case of external ID, the external ID must be prefixed with 'externalId:'.

Payload

Optional Attributes

Collapse all
Responses
200
OK
400
Bad Request
401
Unauthorized

Was this section helpful?

YesNo
put
/api/fundraise/funds/{id}
{
"name": "string",
"target": {
"amount": 1,
"date": "2030-01-23T23:00:00.123Z"
},
"externalId": "string"
}
Response
application/json
{
"_id": "string",
"name": "string",
"target": {
"amount": 1,
"date": "2030-01-23T23:00:00.123Z"
},
"externalId": "string",
"sellerId": "string",
"createdAt": "2030-01-23T23:00:00.123Z",
"updatedAt": "2030-01-23T23:00:00.123Z"
}

Get a Fund

Parameter

id
Required

The ID or external ID of the fund to retrieve. In case of external ID, the external ID must be prefixed with 'externalId:'.

Query

No supported query parameters
Responses
200
OK
400
Bad Request
401
Unauthorized

Was this section helpful?

YesNo
get
/api/fundraise/funds/{id}
Response
application/json
{
"_id": "string",
"name": "string",
"target": {
"amount": 1,
"date": "2030-01-23T23:00:00.123Z"
},
"externalId": "string",
"sellerId": "string",
"createdAt": "2030-01-23T23:00:00.123Z",
"updatedAt": "2030-01-23T23:00:00.123Z"
}

Get All Funds

Query

top
Optional
integer

A limit on the number of objects to be returned. Can range between 1 and 1000.

skip
Optional
integer

The number of objects to skip for the requested result

_id
Optional
string

The ID of the fund to search for

name
Optional
string

The name of the fund to search for

externalId
Optional
string

The external ID of the fund to search for

Responses
200
OK
400
Bad Request
401
Unauthorized

Was this section helpful?

YesNo
get
/api/fundraise/funds
Response
application/json
{
"docs": [
{
"_id": "string",
"name": "string",
"target": {
"amount": 1,
"date": "2030-01-23T23:00:00.123Z"
},
"externalId": "string",
"sellerId": "string",
"createdAt": "2030-01-23T23:00:00.123Z",
"updatedAt": "2030-01-23T23:00:00.123Z"
}
],
"total": 1
}