Check Amazon Pay CV2 API Version
You can easily determine the Amazon Pay API Version by inspecting the API endpoint you are calling.
The API endpoint for different regions is structured like this:
https://pay-api.amazon.com/:environment/:version
https://pay-api.amazon.eu/:environment/:version
https://pay-api.amazon.jp/:environment/:version
In the provided endpoint, :version
represents the Amazon Pay CV2 API Version, with possible values being “v1” and “v2”.
If your endpoint resembles https://pay-api.amazon.com/sandbox/v1
or https://pay-api.amazon.com/live/v1
, you are on API Version V1. Migration to API Version V2 is possible by following the Version 2 Migration Guide.
On the other hand, if your endpoint looks like https://pay-api.amazon.com/sandbox/v2
or https://pay-api.amazon.com/live/v2
, congratulations, you are already on latest API Version i.e. V2.
For users employing Amazon Pay SDKs, it’s crucial to verify the SDK version in use. API Version V2 is applicable for SDK versions 2.0.0 and later across all four SDKs.