Developer.amazon.com is a portal that highlights some of the many resources available for developers interested in integrating Amazon Pay. Below, we introduce four tools that we think every Amazon Pay developer should know about. Spoiler alert: one of the tools will even write sample code for you!

1. Amazon Pay SDKs

Using an Amazon Pay SDK is not required for your integration, but we strongly recommend that you consider using one. Our SDKs make integrations easy by providing convenience functions, automatically generating request header signatures, parsing API responses, and giving developers an easy way to enable logs. See the list of supported languages below:

Pro-tip: Amazon Pay SDKs are easily accessible on GitHub. We regularly monitor issues and evaluate pull requests to review feedback from the Amazon Pay developer community, so submit a pull request if you think we can do better! 

2. MWS Scratchpad

Our Marketplace Web Service (MWS) scratchpad enables you to make API requests without writing a single line of code. Simply enter your credentials, fill in the required API parameters, and submit your request. Follow these instructions or watch this video to learn about how to retrieve your Amazon Pay credentials:

  1. Login to  Seller Central (or register for an Amazon Pay merchant account if you haven’t done so yet)
  2. Select "Amazon Pay (Sandbox View)" from the drop-down selector at the top of the screen
  3. Hover over the "Integration" tab
  4. Select "MWS Access Key" from the Integration menu
  5. Copy and paste “Seller ID”, “Access Key ID”,  and “Secret Access Key” into their respective fields.

Pro-tip: Use this tool as a quick and easy to way to test API requests and troubleshoot integration issues. Select “Off-Amazon Payments Sandbox” or “Off-Amazon Payments” from the API Section drop-down selector to toggle between making requests in sandbox or production environment. Be careful! Requests made in production will result in live transactions!

Link: https://mws.amazonservices.com/scratchpad/index.html

3. Widget Code Generator

Someday you might be able to ask Alexa to integrate Amazon Pay for you, but until then you can use our widget code generator to produce sample front-end code for your Amazon Pay integration. To get started, you will need your Seller ID and Client ID. Follow these instructions or watch this video to learn about how to retrieve your Amazon Pay credentials:

  1. Login to Seller Central (or register for an Amazon Pay merchant account if you haven’t done so yet)
  2. Select "Amazon Pay (Sandbox View)" from the drop-down selector at the top of the screen
  3. Hover over the "Integration" tab
  4. Select "MWS Access Key" from the Integration menu
  5. Copy and paste “Seller ID” and “Client ID” into their respective fields.

Once you've entered your credentials, you can customise the integration by making changes to the button widget parameters. Some of the inputs will only result in visual updates while others will change the integration entirely. Visit Amazon Pay documentation for more information about each parameter.

Once you've made your selections, copy and paste the generated HTML code to a blank page and you've got a working Amazon Pay button!

Pro-tip: This is an easy way to get familiar with the different options available for customisation. Try changing the various parameters to see how it affects the integration. 

Link: http://amzn.github.io/amazon-pay-sdk-samples/code_generator/

That's all for now, stay tuned for more updates as we build more developer tools and resources that simplify Amazon Pay integration.

Happy coding!