Earnings history
get_earnings_historyRetrieve earnings records per service and collection over a selected period in USD to track how one service's balance changed.
Instructions
Earnings records per service and collection over a period, in USD. Use it to see how one service's balance moved; for daily totals use get_earnings_daily.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| period | Yes | week, month, year or all. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| earnings | Yes | CashPilot /api/earnings/history |