### **Quick Links**

  • [**Plugin Integration - Test Setup**](🔗)

  • [**API Integration - Test Setup**](🔗)

<!--

  • [**Download PhonePe PreProd App**](🔗)

    • [**How to install the PhonePe PreProd app on an iOS device**](🔗)

  • [**How to add a Test Bank account in the PreProd App**](🔗)

  • [**How to Create/View VPA in the PreProd App**](🔗)

  • [**How to add Debit Card in the PreProd App**](🔗)

-->

  • [**Test Card Details**](🔗)

  • [**How to verify Net Banking Flow**](🔗)

## **Plugin Integration - Test Setup**

Use the below details to setup the test environment and test transactions in the UAT.

  1. **Host URL**: **<https://api-preprod.phonepe.com/apis/hermes>**

  2. **Merchant ID**: **PGTESTPAYUAT**

  3. **Salt Keys**: The below keys will be used for authentication.

Key IndexKey
1099eb0cd-02cf-4e2a-8aca-3e6c6aff0399

## **API Integration - Test Setup**

Use the below details to setup the test environment and test transactions in the UAT.

<!--

  1. **Host URL**: **[https://api-preprod.phonepe.com/apis/pg-sandbox](🔗)**

-->

  1. **Host URL**: **<https://api-preprod.phonepe.com/apis/pg-sandbox>**

  2. **Merchant ID**: Kindly request the MID if you haven't received it from the PhonePe Integration team.

  3. **Salt Keys**: Will be shared along with the MID details. If not received, kindly request from the PhonePe Integration team.

<!--

## **Download PhonePe PreProd App**

**Android - PreProd App**

Download the PhonePe Android app for test environment **v4.1.507-PREPROD** - [**here**](🔗)

**iOS - PreProd App**

Download the PhonePe iOS app for test environment **v5.8.50.1004-PREPROD** - [**here**](🔗)

### **How to install the PhonePe PreProd app on an iOS device**

To install the PreProd app on your iOS Device,

  • Connect the iOS Device to your mac.

  • Open Xcode and select: **Window -> Devices and Simulators** or click **Command + Shift + 2**

  • The Devices and Simulators window will open and you can drag & drop the downloaded PhonePe PreProd ipa file under "**Installed Apps**"



iOS PreProd App Installation

After installing, when you open the iOS PreProd app for the first time, you will get an alert saying "Untrusted Enterprise Developer". To resolve it:

  • Go to Settings > General > Device Management

  • Click on "Trust PhonePe"

## **How to add a Test Bank account in the PreProd App**

  1. Install the UAT(PhonePe PreProd) app from [here](🔗).

  2. Register/Login using the mobile number

  3. Select 'User Icon' in the top left corner.

  4. Select "View All Payment Methods" under "Payment Instruments".

  5. Click "Add new" under Bank Accounts.

  6. Select **"Test Bank - AABE/AABC/AABF/AABD"** bank from the list and add.

**Note**: **mPIN** for UPI Bank Account - Any Six Digit value that can be used to make payments.

## **How to Create/View VPA in the PreProd App**

  1. Install the UAT(PhonePe PreProd) app.

  2. Register/Login using the mobile number

  3. Perform the steps given in "Adding Test Bank account" above to add a test bank in order to create a VPA.

  4. Once done, select 'User Icon' in the top left corner.

  5. Click "UPI IDs" under "Payment Settings"

  6. You will be able to see the VPA associated with the test banks you have added

## **How to add Debit Card in the PreProd App**

  1. Install the UAT(PhonePe PreProd) app.

  2. Register/Login using the mobile number

  3. Select 'User Icon' in the top left corner.

  4. Select "View All Payment Methods" under "Payment Instruments".

  5. Click "Add Card" under Credit/Debit Cards

  6. Enter the following card details and click Add which should take you to the OTP screen. Enter the given OTP below and submit. The card will be saved successfully.

-->

### **Test Card Details**

## Debit Card

"card_number": "4622943126146407",  "card_type": "DEBIT_CARD",  "card_issuer": "VISA", "expiry_month": 12,  "expiry_year": 2023,  "cvv": "936"

## Credit Card

"card_number": "4208585190116667", "card_type": "CREDIT_CARD", "card_issuer": "VISA”, “expiry_month": 06, "expiry_year": 2027, "cvv": "508"

**Note**: The OTP to be used on the Bank Page: **123456**

## **How to verify Net Banking Flow**

Always use **"bankId": "SBIN"** for testing purposes in the request payload of PAY API.

Username: **test** Password: **test** and click "**Submit**" on the next screen.

**Note**: For testing transactions, the lower amount limit is defined as Rs.1/- and the upper amount limit is defined as Rs.1000/-. Please make sure your transaction requests are within these limits.