Balance
The Daffy API let's you get information about your fund's balance.
⚠️
You can only get information and balance from your own fund, not others.
Get Balance
Resource
GET /v1/users/me/balance
Sample Response
{
"amount": 75.55232755,
"pending_deposit_balance": 0,
"portfolio_balance": 75.55232755,
"available_balance": 75.55232755
}
Response Reference
Name | Type | Description |
---|---|---|
amount | number | Total fund amount |
pending_deposit_balance | number | money deposited but not yet accounted |
portfolio_balance | number | money invested on your portfolio |
available_balance | number | money available for donations |
Sample Request
curl "https://public.daffy.org/v1/users/me/balance" -H 'X-Api-Key: <YOUR KEY HERE>'