Pregunta de entrevista de Bitso

For the technical interview, I was asked to implement a method/function that would perform validation for a money withdrawal operation. After that, I was asked to modify a the REST API to adhere to the best practices for REST APIs.