Create a fundraising pledge

Creates a pledge for the active school and resolves or creates its fundraising donor from the supplied payer and contact details.

Authentication

AuthorizationBearer

The signed-in SchoolSet user token sent by the frontend.

Request

This endpoint expects an object.
fundraising_fund_idintegerRequired
payer_idintegerRequired
payer_typeenumRequired
pledge_datedateRequired
fundraising_idinteger or nullOptional
amountdouble or nullOptional
due_datedate or nullOptional
of_installmentsinteger or nullOptional
frequencystring or nullOptional
amount_per_installmentdouble or nullOptional
recurring_period_idinteger or nullOptional
indefiniteboolean or nullOptional
emailstring or nullOptional
cell_phonestring or nullOptional
notestring or nullOptional
pairlist of enumsOptional
Allowed values:

Response

Created pledge detail.
statusstringOptional
messagestringOptional
datamap from strings to anyOptional

Errors

401
Unauthorized Error
403
Forbidden Error
422
Unprocessable Entity Error