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 Pledge object

A pledge represents a promised future donation to a fund, tracking the committed amount and optional target date for fulfillment, with the applications array recording when and how much of the pledge has been fulfilled through actual donations. Other than donations, pledges applications will only be set when a donation is created that fulfills the pledge. The applications will be handled automatically and are not allowed to be set by payload.

Attributes

_id
Required
string

The ID of the Pledge

amount
Required
number

The amount of the pledge

currency
Required
string

The currency of the pledge (will be automatically set using the seller's currency)

EURUSDGBPAUDCHFTHBILSCOPMXNDKKNOKSEKQARCADISKGTQINRDOPSGDPLNSARTTDZARKYDHKDCZKKRWJPYNZDAEDMADTWDBRLBWP
customerId
Required
string

The ID of the customer of the pledge

fundId
Required
string

The ID of the fund of the pledge

sellerId
Required
string

The ID of the seller owning the pledge

createdAt
Required
string date-time

An ISO timestamp indicating when the pledge was created.

updatedAt
Required
string date-time

An ISO timestamp indicating when the pledge was updated.

Optional Attributes

Collapse all
Was this section helpful?
YesNo
Example
{
"_id": "string",
"amount": 1,
"currency": "EUR",
"applications": [
{
"donationId": "string",
"amount": 1,
"appliedAt": "2030-01-23T23:00:00.123Z"
}
],
"customerId": "string",
"fundId": "string",
"campaignId": "string",
"salesChannelId": "string",
"notes": "string",
"targetDate": "2030-01-23T23:00:00.123Z",
"externalId": "string",
"pledgedAt": "2030-01-23T23:00:00.123Z",
"sellerId": "string",
"createdAt": "2030-01-23T23:00:00.123Z",
"updatedAt": "2030-01-23T23:00:00.123Z"
}

Create a Pledge

Payload

amount
Required
number

The amount of the pledge

fundId
Required
string

The ID of the fund of the pledge

customerId
Required
string

The ID of the customer of the pledge

Optional Attributes

Collapse all
Responses
201
Created
400
Bad Request
401
Unauthorized

Was this section helpful?

YesNo
post
/api/fundraise/pledges
{
"amount": 1,
"campaignId": "string",
"fundId": "string",
"customerId": "string",
"salesChannelId": "string",
"notes": "string",
"targetDate": "2030-01-23T23:00:00.123Z",
"externalId": "string",
"pledgedAt": "2030-01-23T23:00:00.123Z"
}
Response
application/json
{
"_id": "string",
"amount": 1,
"currency": "EUR",
"applications": [
{
"donationId": "string",
"amount": 1,
"appliedAt": "2030-01-23T23:00:00.123Z"
}
],
"customerId": "string",
"fundId": "string",
"campaignId": "string",
"salesChannelId": "string",
"notes": "string",
"targetDate": "2030-01-23T23:00:00.123Z",
"externalId": "string",
"pledgedAt": "2030-01-23T23:00:00.123Z",
"sellerId": "string",
"createdAt": "2030-01-23T23:00:00.123Z",
"updatedAt": "2030-01-23T23:00:00.123Z"
}

Get a Pledge

Parameter

id
Required

The ID or external ID of the pledge 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/pledges/{id}
Response
application/json
{
"_id": "string",
"amount": 1,
"currency": "EUR",
"applications": [
{
"donationId": "string",
"amount": 1,
"appliedAt": "2030-01-23T23:00:00.123Z"
}
],
"customerId": "string",
"fundId": "string",
"campaignId": "string",
"salesChannelId": "string",
"notes": "string",
"targetDate": "2030-01-23T23:00:00.123Z",
"externalId": "string",
"pledgedAt": "2030-01-23T23:00:00.123Z",
"sellerId": "string",
"createdAt": "2030-01-23T23:00:00.123Z",
"updatedAt": "2030-01-23T23:00:00.123Z"
}