Give from a Fund to a Campaign
An Advisor gives from their Fund to a live Campaign. The source Fund gets a transfer_out Ledger entry and the Campaign’s Fund a contribution entry, and contribution.created and contribution.succeeded follow. No tax receipt is issued, and the Contribution is left out of the Donor’s annual tax report, since the money was already receipted when it entered the Fund. A retry with the same Idempotency-Key returns the same Contribution and never moves the money twice. Refused with 409 donor_not_advisor when the Donor does not advise the source Fund, campaign_own_fund when the Campaign raises into the source Fund, insufficient_funds when the source Fund’s available_balance is short of amount, and fund_negative while the source Fund’s balance is below zero. A Campaign that is not live, or an amount under the sponsor’s minimum grant, is 400 invalid_request.
Your secret API key: dfl_live_… in production, dfl_test_… in the Sandbox.
In: header
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 <= 255Only fund: an Advisor gives from their Fund. Every other way money comes in goes through a Checkout Session.
"fund"The Fund the money comes from.
^fund_[0-9A-Za-z]{22}$An Advisor of the source Fund.
^donor_[0-9A-Za-z]{22}$The Campaign to give to; the money goes into its Fund.
^camp_[0-9A-Za-z]{22}$How much to give. Integer cents, greater than zero.
0 < valueHide the giver from the Campaign Fund’s Advisors and the donor wall.
falseYour own reference for the intent behind this payment. Returned on the Contribution and its Events.
1 <= length <= 200Up to 50 key-value pairs of your own. Keys up to 40 characters, values up to 500. Returned unchanged on the Contribution and its Events.
properties <= 50Empty Object
Response Body
curl -X POST "https://sandbox.api.getdaffodil.com/v1/contributions" \ -H "idempotency-key: 8e03978e-40d5-43e8-bc93-6894a57f9324" \ -H "Content-Type: application/json" \ -d '{ "source": "fund", "source_fund_id": "fund_2JqSDJkaCfO4pnMMD5na5G", "donor_id": "donor_0uwRQyfMSvamIzgNByaoYN", "campaign_id": "camp_3iQ8pN19o0ZBATqJs3QVlE", "amount": 10000, "currency": "USD", "is_anonymous": false, "client_reference_id": "ac_ref_7732" }'{
"id": "contrib_4jV68U95QzmwbX04gqFKu5",
"fund_id": "fund_2JqSDJkaCfO4pnMMD5na5G",
"campaign_id": null,
"checkout_session_id": "cs_5vl0KYPG4EdFiuWW0Ypu0Z",
"source": "card",
"source_fund_id": null,
"status": "succeeded",
"amount": 25000,
"currency": "USD",
"contributor": {
"type": "donor",
"donor_id": "donor_0uwRQyfMSvamIzgNByaoYN",
"name": "Jane Doe",
"email": "jane@example.com",
"address": null
},
"is_anonymous": false,
"message": null,
"client_reference_id": "ac_ref_7731",
"metadata": {
"member_tier": "gold"
},
"receipt_url": "https://mission.mydaffodil.app/pub/receipts/eyJvIjoi.Hq3xY9",
"created_at": "2026-11-11T21:42:00Z",
"succeeded_at": "2026-11-13T15:05:00Z"
}{
"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"
}