API Reference
Note
The following URLs apply to all the API endpoints except the Access Token endpoint.
-
Sandbox endpoint URL:
https://amazonpay-sandbox.amazon.in/<Operation_name>
-
Production endpoint URL:
https://amazonpay.amazon.in/<Operation_name>
Request Header (except for Access Token API)
Parameter | Type | Description |
---|---|---|
x-amz-client-id | String | Merchant ID provided by Amazon. |
x-amz-source | String | The source of transaction origination like Android, iOS, Browser, Server |
x-amz-user-ip | String | User’s ip from where transaction is originating |
x-amz-user-agent | String | The user agent of the browser used by the user or the device info. |
x-amz-algorithm | String | The algorithm used for signature generation. Possible values - AWS4-HMAC-SHA384 |
Authorization | String | AMZ+<access_key_id>:<signature> e.g. AMZ+44CF9590007:jZNOcbfWmD/A/f3hSvVzXZjM2HU= |
x-amz-date | String | Date must be in UTC and should be same as the date used during signature generation. Ex 22010101T204041Z |
x-amz-expires | String | Provides the time period in seconds, for which the generated signature is valid. |
Response Header (except for Access Token API)
Parameter | Type | Description |
---|---|---|
x-amz-request-id | String | Unique Id provided by Amazon for each request |
x-amz-signature | String | Signature generated by Amazon for you to validate the response |