Delete contribution

Delete a single manually-entered contribution. Contributions processed through a payment gateway, or that belong to a closed batch, cannot be deleted. Deleting a payment recorded against a form entry takes its amount back off the entry's amount paid. The response reports whether it was deleted or skipped: while multi-campus is on, a caller with a campus limit or campus overrides who does not hold Limited Write Contributions across the contribution's entire scope (every campus of its designations or, for a contribution placed organization-wide, every active campus of its organization) gets the contribution left in place and counted as skipped, not refused; the contributor's campuses do not count. A contribution with no campus and no organization read (one with no campus while multi-org is off) counts as outside that scope for a caller with a campus limit or campus overrides, so it is left in place and counted as skipped. An id you cannot see, a gateway contribution or an unknown id answers {deleted: 0, skipped: 1} for a caller whose campus limit, campus overrides or organization limit bind, and {deleted: 0, skipped: 0} for any other caller.

Required permission: Limited Write Contributions

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
int32
required
≥ 1

The id of the contribution

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