diff --git a/app/app.py b/app/app.py index bba056b..d79811b 100644 --- a/app/app.py +++ b/app/app.py @@ -529,6 +529,15 @@ def offer_offers(): loan_result = json.loads( loan_data) return loan_result +@app.route('/loan/info') +def pending_loans(): + offer_detail = [ + {"cid": "425611f2-c692-4404-b93d-76ca7a5ce00", "description": "Total amount to replay N50,000" , "active" : 1 }, + {"cid": "425611f2-c692-4404-b93d-76ca7a5ce01", "description": "Total amount to replay N150,000" , "active" : 1 }, + {"cid": "425611f2-c692-4404-b93d-76ca7a5ce02", "description": "Total amount to replay N300,000" , "active" : 1 }, + ] + return offer_detail + if __name__ == '__main__':