Shopee interview question

How would you design a secure API for your client