John Voorhees followed the lessons from his previous project, Blink, and released an app dedicated to Amazon affiliate links: Associate. Support for x-callback-url didn't make the cut for the 1.0 release, but was added in a subsequent update and I have some actions for you.
Here's the same action built for 1Writer:
You can look at the documentation yourself here and you can always access this documentation and many others from the x-callback-url library. If you rely on Amazon affiliate revenue for income, Associate is a no-brainer.