An old project which can be seen on Mihape Transfer Website
API Endpoint for web based application to transfer money from Indonesia to Germany
1.0.0
JWT and Authorization header is needed with the bearer 'JWT-transfer' for some of the routes
GET /api/v1/user
Get the profile of the user.POST /api/v1/user/register
Register new user.GET /api/v1/user/confirm/:token
Confirm Email with the specify token.POST /api/v1/user/confirm
Send email to be confirmed.POST /api/v1/user/login
Log in user and get token.GET /api/v1/user/logout
Log out user.
GET /api/v1/rates
Get exchange rates from EUR. Query:amount
Number of money to be convertedbase
Base Currency (EUR, USD, IDR)destination
Destination Currency (EUR, USD, IDR)include_fee
Whether include fee in the amount or not
All routes need JWT and Authorization header is needed with the bearer 'JWT-transfer' for some of the routes
GET /api/v1/recipients
Get all of the recipients which belong to the userPOST /api/v1/recipients
Create new recipientDELETE /api/v1/recipients/:id
Delete recipient with specified idGET /api/v1/recipients/:id
Get recipient with specified id
All routes need JWT and Authorization header is needed with the bearer 'JWT-transfer' for some of the routes
GET /api/v1/transactions
Get all of the transactions which belong to the userPOST /api/v1/transactions
Create new transactionGET /api/v1/transactions/:id
Get recipient with specified idDELETE /api/v1/transactions/:id
Set the transaction's status to be IS_CANCELEDPUT /api/v1/transactions/:id
Edit the recipient, name, or description of the transaction