Create pledge

Record a new giving pledge for a person toward a giving campaign.

Required permission: Full Write Pledges

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params

The details of the pledge

campaign
object | null
required

A reference to an existing record by its id.

person
object | null
required

A reference to an existing record by its id.

repetition
object | null

How the pledge's schedule ends. Provide the repetition code: "on" ends on the end date, "after" ends after the given number of occurrences.

double

The amount pledged per interval.

boolean

Whether contributions from the whole household count toward the pledge.

frequency
object | null

How often the pledged amount is given. Provide the frequency id: 1 Weekly, 2 Bi-Weekly, 3 Semi-Monthly, 4 Monthly, 5 Quarterly, 6 Semi-Annually, 7 Annually, 8 One Time, 9 Bi-Monthly.

date-time | null

The date the pledge starts.

date-time | null

The date the pledge ends.

int32 | null

The number of scheduled occurrences; meaningful when the pledge ends after a set number of occurrences. Defaults to 4 when omitted.

string | null

Notes recorded on the pledge.

double

The additional one-time amount pledged.

Headers
string
enum
Defaults to application/json

Generated from available response content types

Allowed:
Responses

401

Authentication is required, or the Ocs-Api-Key header is missing or invalid.

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