Logo
30 days challenge API Documentation

The Good Bank APIs

Number of APIs: 11


1. Ping

GET {{baseUrl}}/



2. Our customers

GET {{baseUrl}}/people/customers



3. user - Update User Information

PUT {{baseUrl}}/user

Authenticated users can update their user information.



4. user - Create User

POST {{baseUrl}}/user

Register a new user with The Good Bank. The username must be unique.



5. user - User Change Password

POST {{baseUrl}}/user/change-password

This API is used to update the user password. The user must be authenticated and must remember the current password to update.



6. user - User Logout

GET {{baseUrl}}/user/logout

This API revokes an active user session.



7. user - User Login

POST {{baseUrl}}/user/login



8. account - Account summary

GET {{baseUrl}}/account/:user_id/summary

Fetch account summary for a single user.



9. account - Account transactions

GET {{baseUrl}}/account/transactions?limit=-1213791&filter=sunt irure

Fetch transactions for a single account.



10. admin - Credit amount

POST {{baseUrl}}/admin/credit

To be used by the bank tellers to cash checks, receive deposits, savings account transactions among other things.



11. admin - Debit amount

POST {{baseUrl}}/admin/debit

To be used by the bank tellers to cash checks, receive deposits, savings account transactions among other things.



ENDPOINTS