---
page_title: AmazonPay - Non Tokenized Flow
product: EC Headless
platform: Android
page_source: https://juspay.io/in/docs/ec-headless/android/additional-features/amazonpay--non-tokenized-flow
llms_txt: https://juspay.io/in/docs/llms.txt
product_llms_txt: https://juspay.io/in/docs/ec-headless/llms.txt
---


# **AmazonPay CCT - Non Tokenized** 




### Step 1.1. Prerequisites


All prerequisites and authorization required for Amazon Pay shall be completed by merchant.

* Account creation with Amazon Pay
* Configure the credentials provided by Amazonpay on Juspay Dashboard

**Dependencies** 

Ensure that below Chrome Custom tab dependencies are added.

* In case of Android X support libraries being used, add dependency as: _androidx.browser:browser:1.3.0_
* In other scenarios, add dependency as: _android.support.customtabs.CustomTabsIntent_

**User Experience for Amazon Pay redirection flow shall be as follows** 

First time and repeat users will be redirected to the Amazon Pay page opened on a Chrome Custom Tab to login and complete the payment. The Chrome Custom Tab is a security requirement from Amazon Pay.




### Step 1.1. Key integration changes for integrating Amazonpay via Hyper SDK


**Step 1 - Order creation:** 

[CreateOrder](https://docs.juspay.in/ec-headless/android/base-sdk-integration/create-order-api) on Juspay Servers.

**Step 2 - Initiate wallet transaction:** 

Use walletTxn operation to initiate Paypal transaction. Please note to send the below three parameters for the walletTxn operation.

* paymentMethod :: AMAZONPAY
* sdkPresent :: ANDROID_AMAZONPAY_NONTOKENIZED (For android) and IOS_AMAZONPAY_NONTOKENIZED (For iOS). Juspay SDK does the check for CCT if this value is passed for this param.
* sdkWalletIdentifier :: The seller ID provided by Amazonpay



## Sample Code Snippets:
### Sample Request:

#### AmazonPay CCT - Non Tokenized Code Snippet:

```amazonpay cct - non tokenized
{
    "requestId": "eee6f65e-23dc-42e1-ad7c-ec3cddd64ac9",
    "service": "in.juspay.hyperapi",
    "payload": {
        "action": "walletTxn",
        "orderId": "R2452240918",
        "clientAuthToken": "tkn_03b1f93512bd4e3587c98b40a304f043",
        "paymentMethodType": "Wallet",
        "paymentMethod": "AMAZONPAY",
        "sdkPresent": "ANDROID_AMAZONPAY_NONTOKENIZED",
        "shouldLink": false
    }
}
```

### Sample Response:

#### AmazonPay CCT - Non Tokenized:
```json
{
    "service": "in.juspay.hyperapi",
    "requestId": "eee6f65e-23dc-42e1-ad7c-ec3cddd64ac9",
    "payload": {
        "action": "walletTxn",
        "status": "CHARGED",
        "orderId": "R2452240918"
    },
    "errorMessage": "",
    "errorCode": "",
    "error": false
}
```



---

## See Also

- [AmazonPay Tokenized Flow](https://juspay.io/in/docs/ec-headless/android/additional-features/amazonpay-tokenized-flow)
- [AmazonPay UPI SDK](https://juspay.io/in/docs/ec-headless/android/additional-features/amazonpay-upi-sdk)
