Setting up the gateway
Step 1: Procure credentials from Amazonpay
Reach out to Amazonpay and complete the business formalities and procure the credentials.
Account creation with Amazon Pay; Merchant Registration Process
The API key generated for the new secure profile created at Amazonpay has to be whitelisted at their end. Refer for more information.
Step 2: Setup Amazonpay PG on Juspay Dashboard
Login to Juspay Dashboard
Navigate to Payments > PG Control Centre > Click on Other Gateways > Search for Amazonpay.
Configure credentials : Access Key, Secret Key, Seller ID, S2S Access Key, S2S Secret Key
Set the flags
Direct Debit: true (For Link and Pay flow only)Pre-Authorization: falseV2 Integration: true
Under payment methods, enable Amazon Pay Balance wallet.
Save and complete.
WarningThe Direct Debit flag should be set to true only for the Amazonpay Link & Pay flow.
The Is Pre-Authorisation Enabled flag should be set to true only if you have a use case for the pre-authorisation mechanism. If it is set to true, you will need to call the Transaction API/Process Payload to hold the amount and then call the Capture API to release the on-hold funds, after which the actual charge will be processed.

