- Allow to Login and register users.
- Get current balance for user.
- Transactions between two users.
Version: /api/v1
GET /user/balance
Note: Token-Barer Authentication required.
POST /user/payment/send
Request:
{
"to": "test2@example.com",
"amount": 10
}
Note: Token-Barer Authentication required.
POST /auth/login
Request:
{
"email": "test@example.com",
"password": "some_pass"
}
POST /auth/register
Request:
{
"email": "test@example.com",
"password": "some_pass"
}