I want to design a REST API given the following data model :
Accounts
UserId | Balance
user1 | 500
user2 | 200
And given the following Ui that must use the REST service for it's operation for a transfer of funds.
What would be the best way of designing the api for this data model that must also support the transfer UI action?
(URL, HTTP method , body ?)