Create a report
This API allows you create a miv report by providing a list of transactions over the last 2 months. The html report is received via the API response after a few seconds.
Stage | URL |
---|---|
Staging | https://stgbackend.kliqr.services/api/v1/miv/report |
Sample Request (POST)
POST
/api/v1/miv/report
Request Body
{"cuid": "2265","fname": "Olami","month": "Aug","year": "2020","transactions": [{"description": "- TREVOR flights from THOMAS to TIM , TREVOR AMANDA","amount": 42500,"timestamp": 1521736374891,"isCredit": 0},{"description": "- TIM SCH FEES IFO : ZBN/TIM THOMAS","amount": 50600,"timestamp": 1537292387000,"isCredit": 0},{"description": "- TO DBN/ALEXANDRA THOMAS","amount": 10000,"timestamp": 1518782780630,"isCredit": 0},{"description": "- TO DBN/ALISON TIM","amount": 50,"timestamp": 1518782772957,"isCredit": 0},{"description": "-- - TIM IKEJA NGSTAN9999056531","amount": 10000,"timestamp": 1535625496000,"isCredit": 0},...]}
Success Response (200 OK)
Success Response (200 OK) [Preview]
Authentication Failure Response (400 Bad Request)
{"success": false,"error": "Sorry, transactions are not within Aug 2020"}