http://localhost:3000/api/v1
Access interactive Swagger documentation here:
👉 http://localhost:3000/api-docs
POST /auth/signupRequest:
{
"email": "user@example.com",
"password": "securepassword123",
"firstName": "John",
"lastName": "Doe",
"phone": "+1234567890"
}POST /auth/loginRequest:
{
"email": "user@example.com",
"password": "securepassword123"
}POST /auth/refreshRequest:
{
"refreshToken": "your-refresh-token"
}POST /transfersHeaders:
Authorization: Bearer <ACCESS_TOKEN>
Request:
{
"fromAccountId": "64f1a2b3c4d5e6f7a8b9c0d1",
"toAccountNumber": "1234567890",
"amount": 100.50,
"reference": "Monthly rent",
"description": "Payment for apartment rent"
}GET /transfers/accounts/:id/history?page=1&limit=10Headers:
Authorization: Bearer <ACCESS_TOKEN>
GET /fizzbuzzGET /fizzbuzz/custom?start=1&end=20&rules=[[2,"Even"],[3,"Three"]]Example error structure:
{
"status": "error",
"message": "Invalid credentials"
}