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
Output: empty object
createDonation
accounts.createDonation
Create a donation to a nonprofit (minimum $10 USD).
Risk: write
Output
non_profit full type
non_profit full type
fund full type
fund full type
user full type
user full type
getBalance
accounts.getBalance
Retrieve the authenticated user’s fund balance.
Risk: read
getContributions
accounts.getContributions
List contributions made to the authenticated fund.
Risk: read
Output
items full type
items full type
meta full type
meta full type
getDonation
accounts.getDonation
Retrieve a single donation by user and donation ID.
Risk: read
Output
non_profit full type
non_profit full type
fund full type
fund full type
user full type
user full type
getDonations
accounts.getDonations
List donations made by the authenticated user.
Risk: read
Output
items full type
items full type
meta full type
meta full type
getUserByUsername
accounts.getUserByUsername
Retrieve a public user profile by username.
Risk: read
Output
current_fund full type
current_fund full type
getUserCauses
accounts.getUserCauses
Retrieve a user’s supported charitable causes.
Risk: read
Output:
object[]
Output full type
Output full type
getUserDonations
accounts.getUserDonations
Retrieve a user’s public donations.
Risk: read
Output
items full type
items full type
meta full type
meta full type
getUserProfile
accounts.getUserProfile
Retrieve the authenticated user’s profile.
Risk: read
current_fund full type
current_fund full type
Gifts
create
gifts.create
Create a Daffy charitable gift for a beneficiary.
Risk: write
Output
getByCode
gifts.getByCode
Retrieve a gift by its unique code.
Risk: read
Output
list
gifts.list
List gifts associated with the authenticated user.
Risk: read
Output
items full type
items full type
meta full type
meta full type
Non Profits
getByEin
nonProfits.getByEin
Retrieve a nonprofit organization by EIN.
Risk: read
Output
cause full type
cause full type
causes full type
causes full type
search
nonProfits.search
Search nonprofit organizations by cause or text.
Risk: read
Output
items full type
items full type
meta full type
meta full type