A NodeJS(Expressjs) + Typescript + KnexJS wallet service using the Karma API to lookup potential users before onboarding with simple deposit, withdrawal and transfer features
first, clone the project then open the project file and run the command below
npm install
npm run start
method: POST
URL: /auth/register
payload: {
firstname: "",
lastname: "",
email: "",
phone: "",
password: ""
}
method: POST
URL: /auth/login
payload: {
email: "",
password: ""
}
method: GET
URL: /user/profile
method: POST
URL: /wallet/deposit
payload: {
amount: "",
}
method: POST
URL: /wallet/withdrawal
payload: {
amount: "",
narration: "",
account_number: "",
bank_code: ""
}
method: POST
URL: /wallet/transfer
payload: {
amount: "",
phone: ""
}