diff --git a/API.md b/API.md index 5201101..b7e0b8c 100644 --- a/API.md +++ b/API.md @@ -248,3 +248,20 @@ Response: "decimal": int, } ``` +## GET /income +Get the total amount of income in each category + +Response: +```json +{ + "status": int, + "income_by_category": { + "example_category": { + "currency": string, + "whole": int, + "decimal": int, + }, + ... + } +} +```