Delete a webhook Destination
Deletes a webhook Destination. Deliveries still waiting to be retried are not sent. Sandbox only: exists on sandbox.api.getdaffodil.com and answers 404 not_found everywhere else.
Your secret API key: dfl_live_… in production, dfl_test_… in the Sandbox.
In: header
Path Parameters
^wh_[0-9A-Za-z]{22}$Header Parameters
Required on every write. A unique value you generate per intended write, such as a UUID. A retry with the same key and the same body returns the original response; the same key with a different body returns 422 idempotency_key_reused. Keys are kept for 24 hours, per Account and environment.
1 <= length <= 255Response Body
curl -X DELETE "https://sandbox.api.getdaffodil.com/v1/sandbox/webhook_destinations/wh_56TFFconQbqixIDRorZEa5" \ -H "idempotency-key: 8e03978e-40d5-43e8-bc93-6894a57f9324"{
"object": "webhook_destination",
"id": "wh_56TFFconQbqixIDRorZEa5",
"deleted": true
}{
"type": "http://example.com",
"title": "string",
"status": 0,
"detail": "string",
"code": "string",
"param": "string",
"request_id": "string"
}{
"type": "http://example.com",
"title": "string",
"status": 0,
"detail": "string",
"code": "string",
"param": "string",
"request_id": "string"
}{
"type": "http://example.com",
"title": "string",
"status": 0,
"detail": "string",
"code": "string",
"param": "string",
"request_id": "string"
}{
"type": "http://example.com",
"title": "string",
"status": 0,
"detail": "string",
"code": "string",
"param": "string",
"request_id": "string"
}{
"type": "http://example.com",
"title": "string",
"status": 0,
"detail": "string",
"code": "string",
"param": "string",
"request_id": "string"
}{
"type": "http://example.com",
"title": "string",
"status": 0,
"detail": "string",
"code": "string",
"param": "string",
"request_id": "string"
}{
"type": "http://example.com",
"title": "string",
"status": 0,
"detail": "string",
"code": "string",
"param": "string",
"request_id": "string"
}{
"type": "http://example.com",
"title": "string",
"status": 0,
"detail": "string",
"code": "string",
"param": "string",
"request_id": "string"
}Add a webhook Destination POST
Adds a webhook Destination, as an Admin would on the Destinations settings page, so an automated test can receive Events at a URL it controls. The response is the only time its signing secret is shown. A reset keeps Destinations, so delete yours when your test finishes. Sandbox only: exists on `sandbox.api.getdaffodil.com` and answers 404 `not_found` everywhere else.
Fail a pending Contribution POST
Makes a `pending` Contribution fail, as if its payment bounced: after a 2–15 second delay it becomes `failed` and `contribution.failed` is sent. Its Fund is never credited. Answers at once with the Contribution, still `pending`. A card or ACH Contribution settles by itself 2–15 seconds after it is created; this request replaces that outcome when it arrives first. Refused with 409 `contribution_not_pending` when it is not `pending`. Sandbox only: exists on `sandbox.api.getdaffodil.com` and answers 404 `not_found` everywhere else.