Skip to main content
Every daffy.api.* operation is listed below with parameter shapes and return types from the plugin Zod schemas.
New to Corsair? See API access, authentication, and error handling.

Accounts

cancelDonation

accounts.cancelDonation Cancel a pending donation owned by the API key holder. Risk: destructive
Input Output: empty object

createDonation

accounts.createDonation Create a donation to a nonprofit (minimum $10 USD). Risk: write
Input Output

getBalance

accounts.getBalance Retrieve the authenticated user’s fund balance. Risk: read
Input: empty object Output

getContributions

accounts.getContributions List contributions made to the authenticated fund. Risk: read
Input Output

getDonation

accounts.getDonation Retrieve a single donation by user and donation ID. Risk: read
Input Output

getDonations

accounts.getDonations List donations made by the authenticated user. Risk: read
Input Output

getUserByUsername

accounts.getUserByUsername Retrieve a public user profile by username. Risk: read
Input Output

getUserCauses

accounts.getUserCauses Retrieve a user’s supported charitable causes. Risk: read
Input Output: object[]

getUserDonations

accounts.getUserDonations Retrieve a user’s public donations. Risk: read
Input Output

getUserProfile

accounts.getUserProfile Retrieve the authenticated user’s profile. Risk: read
Input: empty object Output

Gifts

create

gifts.create Create a Daffy charitable gift for a beneficiary. Risk: write
Input Output

getByCode

gifts.getByCode Retrieve a gift by its unique code. Risk: read
Input Output

list

gifts.list List gifts associated with the authenticated user. Risk: read
Input Output

Non Profits

getByEin

nonProfits.getByEin Retrieve a nonprofit organization by EIN. Risk: read
Input Output

nonProfits.search Search nonprofit organizations by cause or text. Risk: read
Input Output