![]() The Amazon Pay Scratchpad will generate the signature on your behalf and share the steps in this section. The signature is used to verify the identity of the requestor and protect the data during transit. On a successful request, the Amazon Pay Scratchpad displays the following information as response:ĪPI Request - All API requests to Amazon Pay must be secured by signing them with your private key. There are instances where adding one optional parameter will then require setting additional optional parameters on the request, so be sure to refer to the Amazon Pay API documentation for details. ![]() An API parameter that is not required will include “(optional)” beside the parameter name. Required and optional API parameters will vary across Amazon Pay API’s. Select an API OperationĮxpand the API section in the left navigation to view the list of available API operations and click an operation to configure the request parameters. This value is passed in the header key X-Amz-Pay-AuthToken 2. RSA Public Key ID (this is not the Merchant or Seller ID)Īuthorization token used by third party developers to make delegated API calls on behalf of a merchant. The region in which the merchant account you will be using is registered. See Get your Public Key ID for more info. Clicking Authentication in the left navigation opens the Authentication configuration and displays the following input fields. In the Authentication area of Amazon Pay Scratchpad enter your Region, Public Key Id, Private Key, and optionally Authorization Token. If you don't have valid Sandbox (only) environment credentials, please refer to Register for Amazon Pay and Get your Public Key ID in order. Note: You won't be able to use Amazon Pay Scratchpad without valid credentials for the Amazon Pay Sandbox environment. Be sure to use the right tool for your specific region: US, EU, JP. The Scratchpad tool returns sample code to help you understand how the Amazon Pay API works and helps you integrate with ease. Use the tool to submit a request to the Amazon Pay API and get a response. Once you’ve registered for an Amazon Pay account and acquired your API keys, you can begin interacting with the Amazon Pay API’s using Amazon Pay Scratchpad. ![]() Using Amazon Pay Scratchpad to Generate Button Code.For more information, see Checkout with Amazon Pay. To use Amazon Pay Scratchpad, you should have a basic understanding of how to submit a request to Amazon Pay APIs. Examining the Amazon Pay API responses that Amazon Pay Scratchpad displays for each of your requests can help you develop a successful integration to Amazon Pay. Because Amazon Pay Scratchpad automatically generates and displays many of the inputs that are required in a request to Amazon Pay APIs, you can see how these inputs look when they are correctly formed. Amazon Pay Scratchpad then displays the response from Amazon Pay Web Service.Īmazon Pay Scratchpad can be a helpful tool for software developers who are developing solutions using Amazon Pay APIs. Amazon Pay Scratchpad automatically creates a valid request signature, necessary headers, and then submits your request to the Amazon Pay Sandbox environment. If you are configuring the Amazon Pay button, you can use the Button Code generator to generate the necessary code to render the button. You can indicate any required and optional parameters of the request from the Amazon Pay Scratchpad user interface. Downloading reports via the Amazon Pay Reports APIĪmazon Pay Scratchpad is an application that enables you to easily submit requests using any of the Amazon Pay APIs.Set up Instant Payment Notifications (IPN).
0 Comments
Leave a Reply. |