Daffy
App · 15 actions
Find charities and manage donations from your Daffy fund.
Actions
| Action | What it does |
|---|---|
| Cancel a pending donation | Cancel a pending donation. |
| Create a Daffy Gift | Create a Daffy Gift. |
| Create a donation | Create a donation. |
| Get a Daffy Gift | Get a Daffy Gift. |
| Get a donation | Get a donation. |
| Get a nonprofit | Get a nonprofit. |
| Get a user by username | Get a user by username. |
| Get fund balance | Get fund balance. |
| Get your profile | Get your profile. |
| List causes for a user | List causes for a user. |
| List contributions | List contributions. |
| List Daffy Gifts | List Daffy Gifts. |
| List donations for a user | List donations for a user. |
| List your donations | List your donations. |
| Search nonprofits | Search nonprofits. |
Cancel a pending donation
Cancel a pending donation.
Inputs
- Donation ID
donation_idnumberRequired - Donation id.At least 1.
Outputs
dataobject- The response from Daffy.
Example output
{
"data": {}
}Create a Daffy Gift
Create a Daffy Gift.
Inputs
- Name
nametextRequired - Name.
- Amount
amountnumberRequired - Amount.
Outputs
dataobject- The response from Daffy.
Example output
{
"data": {
"amount": 1,
"claimed": true,
"code": "example",
"name": "example",
"url": "example"
}
}Create a donation
Create a donation.
Inputs
- EIN
eintextRequired - Ein.
- Amount
amountnumberRequired - Donation amount in US dollars.At least 10.
- Note
notetext - Note.
- Private memo
private_memotext - A private note for your records.
Outputs
dataobject- The response from Daffy.
Example output
{
"data": {
"amount": 1,
"id": 1,
"non_profit": {
"ein": "example",
"name": "example"
},
"status": "example"
}
}Get a Daffy Gift
Get a Daffy Gift.
Inputs
- Code
codetextRequired - Code.
Outputs
dataobject- The response from Daffy.
Example output
{
"data": {
"amount": 1,
"claimed": true,
"code": "example",
"name": "example",
"url": "example"
}
}Get a donation
Get a donation.
Inputs
- Vendor user ID
vendor_user_idnumberRequired - Vendor user id.At least 1.
- Donation ID
donation_idnumberRequired - Donation id.At least 1.
Outputs
dataobject- The response from Daffy.
Example output
{
"data": {
"amount": 1,
"id": 1,
"non_profit": {
"ein": "example",
"name": "example"
},
"status": "example"
}
}Get a nonprofit
Get a nonprofit.
Inputs
- EIN
eintextRequired - Ein.
Outputs
dataobject- The response from Daffy.
Example output
{
"data": {
"ein": "example",
"name": "example"
}
}Get a user by username
Get a user by username.
Inputs
- Username
usernametextRequired - Username.
Outputs
dataobject- The response from Daffy.
Example output
{
"data": {
"id": 1,
"name": "example",
"username": "example"
}
}Get fund balance
Get fund balance.
Inputs
None.
Outputs
dataobject- The response from Daffy.
Example output
{
"data": {
"amount": 1,
"pending_deposit_balance": 1,
"portfolio_balance": 1
}
}Get your profile
Get your profile.
Inputs
None.
Outputs
dataobject- The response from Daffy.
Example output
{
"data": {
"id": 1,
"name": "example",
"username": "example"
}
}List causes for a user
List causes for a user.
Inputs
- Vendor user ID
vendor_user_idnumberRequired - Vendor user id.At least 1.
Outputs
dataobject- The response from Daffy.
Example output
{
"data": {}
}List contributions
List contributions.
Inputs
- Page
pagenumber - Page.At least 1.
Outputs
dataobject- The response from Daffy.
Example output
{
"data": {
"items": [
{
"status": "example",
"type": "example",
"units": 1,
"valuation": 1
}
],
"meta": {
"count": 1,
"last": 1,
"page": 1
}
}
}List Daffy Gifts
List Daffy Gifts.
Inputs
- Page
pagenumber - Page.At least 1.
Outputs
dataobject- The response from Daffy.
Example output
{
"data": {
"items": [
{
"amount": 1,
"claimed": true,
"code": "example",
"name": "example",
"url": "example"
}
],
"meta": {
"count": 1,
"last": 1,
"page": 1
}
}
}List donations for a user
List donations for a user.
Inputs
- Vendor user ID
vendor_user_idnumberRequired - Vendor user id.At least 1.
- Page
pagenumber - Page.At least 1.
Outputs
dataobject- The response from Daffy.
Example output
{
"data": {
"items": [
{
"amount": 1,
"id": 1,
"non_profit": {
"ein": "example",
"name": "example"
},
"status": "example"
}
],
"meta": {
"count": 1,
"last": 1,
"page": 1
}
}
}List your donations
List your donations.
Inputs
- Page
pagenumber - Page.At least 1.
Outputs
dataobject- The response from Daffy.
Example output
{
"data": {
"items": [
{
"amount": 1,
"id": 1,
"non_profit": {
"ein": "example",
"name": "example"
},
"status": "example"
}
],
"meta": {
"count": 1,
"last": 1,
"page": 1
}
}
}Search nonprofits
Search nonprofits.
Inputs
- Query
querytext - Query.
- Cause ID
cause_idnumber - Cause id.At least 1.
- Page
pagenumber - Page.At least 1.
Outputs
dataobject- The response from Daffy.
Example output
{
"data": {
"items": [
{
"ein": "example",
"name": "example"
}
],
"meta": {
"count": 1,
"last": 1,
"page": 1
}
}
}