Get Zakat calculation results for a stock ticker.
Token is generated from secretKey + time + symbol (path parameter), not a JSON body.
| Field | Type | Description |
|---|---|---|
| symbol | string | Stock symbol |
| value | number | Market price of a stock |
| investment_type | string | Short-term or Long-term. Short-term holdings (typically < 1 year) are treated as liquid/cash and zakat is 2.5% of the total amount. Long-term holdings (> 1 year) use the underlying zakatable assets of the company. |
| zakat_amount_per_share | number | Zakat amount per share |
- Mock serverhttps://docs.musaffa.us/_mock/apis/demo/musaffa/stocks/calculate_zakat/{symbol}
- https://b2b.musaffa.us/b2b/apihttps://b2b.musaffa.us/b2b/api/demo/musaffa/stocks/calculate_zakat/{symbol}
curl --location 'https://b2b.musaffa.us/b2b/api/demo/musaffa/stocks/calculate_zakat/AAPL' \
--header 'Content-Type: application/json' \
--header 'clientId: AX6kFk5ywERyXobt' \
--header 'time: 20260831110225' \
--header 'token: 8JlA17aQxmNWWI77YCijo+XmFEDQFLzzcBGEOHnv6g8VN4BmQqwr7LiGu1zCjhstVkh2ircylrgdGFT+iAdIMA=='Response
{ "symbol": "string", "value": 0, "investment_type": "string", "zakat_amount_per_share": 0 }