post https://api.okra.ng/v2/assets/investment/process
Overview
The API route works by taking a user’s transactions then process the transaction description. Next, the processed text is passed through a model to extract transactions related to investments.
The extracted transactions are analysed to produce the following information:
confidence
: how confident the model is for the predictioninvestments
: extracted insights from extracted investment transactionsfirst_deposit_date
: date of first depositlast_deposit_date
: date of last depositfirst_returns_date
: date of first roi paymentlast_returns_date
: date of last roi paymenttotal_returns_received
: total amount of roitotal_deposits
: total amount of investment depositsno_returns_received
: total number of roi paymentsno_deposits
: total number of paymentsdeposits
: list of deposit transactionsreturns
: list of roi transactions