Hello Sir, how are you ?
I worked with Amazon's api before, that's why I have to tell you that fully ordering the product via API is not possible in amazon, API only allows you to manage the card, but in payment it redirect you to the amazon page. contact me to talk about more about the project, thank you.