Returns the authenticated investor's portfolio performance metrics.
Request
Authorization
Bearer Token
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************
or
Responses
🟢200
application/json
Portfolio performance
Body
Example
{"success":true,"data":{"total_invested":250000,"current_value":275000,"total_earnings":25000,"roi_percentage":10,"units_owned":3,"currency":"EGP","breakdown_by_category":[{"category_id":1,"category_name":"Commercial Real Estate","invested":150000,"current_value":165000,"percentage_of_portfolio":60}],"monthly_earnings":[{"month":"2024-01","earnings":2500}]}}