Delete multiple contributions at once. Provide ids, or explicitly set include to false to delete every contribution matching the filters (and every contribution outright when no filters are given); an empty body is rejected. Only manually-entered contributions in open batches can be deleted. Deleting a payment recorded against a form entry takes its amount back off the entry's amount paid. While multi-campus is on, a caller with a campus limit or campus overrides deletes only the selected contributions across whose entire scope they hold Limited Write Contributions: every campus of the contribution's designations or, for one placed organization-wide, every active campus of its organization; the contributor's campuses do not count; the rest, their own contributions placed elsewhere included, are left in place and counted as skipped, explicit ids included. A contribution with no campus and no organization read (one with no campus while multi-org is off) counts as outside that scope for such a caller. Inside a batch (the batch filter), while multi-campus is on, when the caller holds Limited Read Contributions and campus filtering, or a merchant account or giving portal limit, narrows them, the contributions considered are the rows the batch's Contributions tab lists (GET /contributions?batch={id}), whatever the contributor's campus, merchant account or giving portal; a batch the tab refuses is refused the same way (403 or 404). A caller whose Limited Read Contributions access campus limits or campus overrides narrow (the lens alone does not) may not filter or sort by email or phone (403), inside a batch or not. For a caller whose campus limit, campus overrides or organization limit bind, a contribution named by id that stays in place, whether the caller may not delete it or cannot see it, is counted in skipped; for any other caller skipped is 0.
Required permission: Limited Write Contributions
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
401Authentication is required, or the Ocs-Api-Key header is missing or invalid.
