Amazon Pay
Amazon Pay authentication uses a public key / API key pair rather than the Merchant ID / Auth Token pair
used by older account setups, following a deprecation of the underlying API PayData used to access Amazon
Pay reports with the old credentials. New Amazon Pay merchants, and merchants that have had an account
restructuring, can no longer generate the old credentials at all and must use the new ones — see
Amazon Pay Account Fields for the two fields this adds, public-key-id and
api-key, alongside the older, now-deprecated ones.
If you're not using PayData's Account UI, you must update your requests that create or update Amazon Pay accounts — see API Requests below.
API Key Creation
The following steps are necessary to create a new API key.
- Log into the Amazon Pay Seller central.
- Click on the menu in the top-left corner and navigate to "Integration" → "Integration Central"
- Select "New Solution Provider" under "Anleitungen, Schlüssel und IDs zur Verknüpfung Ihres Shops" (German UI: "Guides, keys and IDs for linking your shop") and click on "Anleitungen anzeigen" (German UI: "Show guides")
- Look for the button "Schlüssel erstellen" (German UI: "Create keys") and click on it.
- Enter "PayData" (or something else) as the name and click on "Schlüssel erstellen" (German UI: "Create keys") again.
- The file with the API key is automatically downloaded, the "Public Key-ID" can be copied from the "Integration Central" page.
The screenshots and button labels above are from a German-locale Amazon Seller Central account; the labels in brackets are the German-UI wording so you can find the equivalent option regardless of your account's display language.
API Requests
You can change the authentication of an existing account by setting the new account fields public-key-id and api-key. If set, these fields take precedence over the old fields.
public-key-id: The "Public Key-ID" from the Amazon Pay Integration central.api-key: The contents of the.pemfile that was downloaded during the API key creation. Base64 encoded or as plain text.
| Request | Old Request | New Request |
|---|---|---|
| Account Creation | | |
| Account Update | | |
Warnings
Amazon Pay accounts that still use the deprecated credentials will have a warning that the credentials should be updated.
{
"id": "abc123",
"accountTypeId": "amazon_payments",
"name": "AmazonPay",
"status": "Idle",
"elementStatistics": { "count": 0, "first": null, "last": null },
"accountFields": {
"public-key-id": "",
"api-key": "",
"merchant-id": "A1...",
"start-date": "2025-01-08T23:00:00.0000000Z"
},
"errors": [],
"warnings": [
{
"type": "CredentialsDeprecation",
"message": "Please update the Amazon Pay credentials to use API keys. See account setup help for more details.",
"providerMessage": null,
"isUserActionRequired": true,
"isTemporary": false
}
]
}
Testing
Authentication with LIVE and SANDBOX Amazon Pay API keys can be tested in the PayData sandbox. The PayData sandbox is limited to Amazon Pay sandbox settlement reports but this does not affect the authentication.