Canonical Request - The contents of your request (host, action, headers, etc.) arranged into a standard (canonical) format.See API introduction for mandatory headers. The canonical headers is a list of all the HTTP headers that you are including with the signed request. Request Headers - The canonical headers used in the request, followed by a newline character.Request Signature section displays the following: 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.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |