You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{
"status": "success",
"data": [
{
"reason": "Hotel",
"amount": 500,
"currency": "USD",
"date": "2024-12-19",
"full_name": "John Doe"
},
{
"reason": "Flight",
"amount": 200,
"currency": "USD",
"date": "2024-12-10",
"full_name": "John Doe"
}
]
}
## Error CodesThe API returns the following error codes and corresponding messages when a request fails:| **HTTP Code** | **Error Message** | **Description** ||---------------|-------------------------|---------------------------------------------------------------------------------|| `400` | `Missing username` | The `username` parameter is required but was not provided in the request. | || `401` | `Missing API key` | The `api_key` parameter is required but was not provided in the request. || `401` | `Invalid API key` | The provided API key is invalid or not active. || `404` | `No data found` | No expenses were found matching the given filters. || `500` | `An error occurred` | A server-side error occurred while processing the request. |---### Example Error Responses#### **Missing Username**```json
{
"error": "Missing username"
}
#### **Missing API key**```json
{
"error": "Missing API key"
}
#### **Invalid API key**```json
{
"error": "Invalid API key"
}