added endpoint for loan application

This commit was merged in pull request #46.
This commit is contained in:
victorAnumudu
2024-04-30 19:03:22 +01:00
parent d90d515f60
commit 814bfe041a
7 changed files with 164 additions and 64 deletions
+9
View File
@@ -15,4 +15,13 @@ export const verifyOTP = (postData:any) => {
...postData
}
return postAuxEnd('/bvn/verify', reqData)
}
// FUNCTION TO APPLY FOR LOAN
export const applyForLoan = (postData:any) => {
let reqData = {
customer_uid: localStorage.getItem('uid'),
...postData
}
return postAuxEnd('/loan/apply', reqData)
}