Daffy

App · 15 actions

Find charities and manage donations from your Daffy fund.

Actions

ActionWhat it does
Cancel a pending donationCancel a pending donation.
Create a Daffy GiftCreate a Daffy Gift.
Create a donationCreate a donation.
Get a Daffy GiftGet a Daffy Gift.
Get a donationGet a donation.
Get a nonprofitGet a nonprofit.
Get a user by usernameGet a user by username.
Get fund balanceGet fund balance.
Get your profileGet your profile.
List causes for a userList causes for a user.
List contributionsList contributions.
List Daffy GiftsList Daffy Gifts.
List donations for a userList donations for a user.
List your donationsList your donations.
Search nonprofitsSearch nonprofits.

Cancel a pending donation

Cancel a pending donation.

Inputs

Donation IDdonation_idnumberRequired
Donation id.At least 1.

Outputs

dataobject
The response from Daffy.
Example output
{
  "data": {}
}

Create a Daffy Gift

Create a Daffy Gift.

Inputs

NamenametextRequired
Name.
AmountamountnumberRequired
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

EINeintextRequired
Ein.
AmountamountnumberRequired
Donation amount in US dollars.At least 10.
Notenotetext
Note.
Private memoprivate_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

CodecodetextRequired
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 IDvendor_user_idnumberRequired
Vendor user id.At least 1.
Donation IDdonation_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

EINeintextRequired
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

UsernameusernametextRequired
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 IDvendor_user_idnumberRequired
Vendor user id.At least 1.

Outputs

dataobject
The response from Daffy.
Example output
{
  "data": {}
}

List contributions

List contributions.

Inputs

Pagepagenumber
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

Pagepagenumber
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 IDvendor_user_idnumberRequired
Vendor user id.At least 1.
Pagepagenumber
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

Pagepagenumber
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

Queryquerytext
Query.
Cause IDcause_idnumber
Cause id.At least 1.
Pagepagenumber
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
    }
  }
}

On this page