post https://api.okra.ng/v2/insurance/getByCustomer
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 insurance (claims and payments). The extracted transactions are analysed to produce the following information:
claims
: transactions paid to the customer from the insurance companyfirst_claim_date
: date of first claim paymentfirst_payment_date
: date of first premium paymentlast_claim_date
: date of last claim paymentlast_payment_date
: date of last premium paymentPayments
: transactions paid to the insurance company from customer (premiums)Get Insurance for a customer