Fetch interview question

Design reciept processing api using any language of your choice