Get set up for integration
[Step 1 of 8] The first step to get set up for integration is to register for an Amazon Pay merchant account. After registration, you will create a sandbox buyer account for testing, and get your Public Key ID to access Amazon Pay APIs.
- 1. Register for Amazon Pay
- 2. Add Domains to Seller Central
- 3. Create a Sandbox test buyer account
- 4. Download the Amazon Pay SDK
- 5. Get your Public Key ID
1. Register for Amazon Pay
2. Add Domains to Seller Central
For example, ‘https://www.example.com/’ or ‘https://www.example.com:8000/’
Sandbox integrations are not affected by this verification process.
3. Create a Sandbox test buyer account
You will use Sandbox to conduct end-to-end tests of your integration before going live. For details, see Amazon Pay Sandbox accounts. After creating a Sandbox buyer account, return to this page.
4. Download the Amazon Pay SDK
Download the Amazon Pay SDK if one is available for your programming language. Please reach out to your Amazon Pay account manager if you don’t see a SDK in your preferred language.
5. Get your Public Key ID
Amazon Pay uses asymmetric encryption to secure communication. You will need a public/private key pair and a corresponding Public Key ID (a unique Amazon Pay identifier for the key pair) to access Amazon Pay APIs. You can generate a public/private key pair and access the Public Key ID using Amazon Pay Integration Central.
- Navigate to Amazon Pay Integration Central: US, EU, JP.
- Identify as a “Self-developed” integration
- Select “Self-developed” option from the drop-down menu
- Use the default “One-time Payments, Single Authorization” payment type setting
- Click on the “Get instructions” button
- Create a public/private key pair
- Navigate to the “API keys” section
- Click on the “Create keys” button
- Use the default “Generate API credentials” setting
- Name your API keys. Use a descriptive name, the name will be used to differentiate between multiple keys when you need to manage them in Integration Central. When naming the keys, you should consider who is using it and what they’re using it for
- Click on the “Create keys” button to create the public/private key pair
- Store the private key and Public Key ID
Creating the key pair will automatically download the private key (.pem) file to your browser, you do not need the public key. Save the private key file in a secure location, you will need it to access Amazon Pay APIs. You should never share your private key with anyone and this is the only time that you will be able to download the private key file. If you lose access to your private key, you must generate a new key pair
Store your Public Key ID, you will need it to access Amazon Pay APIs. Unlike the private key file, you can return to this page at a later time to access your Public Key ID