Five Paisa

Add and validate your Five Paisa account in AutoTrader Web.

Account setupBroker independentTOTP login
In short

To add a 5paisa account to AutoTrader Web, set up a TOTP key on the 5paisa site, generate API keys, register a static IP, then create the trading account in Accounts -> Trading Accounts. This page covers the default 5Paisa Open API. 5Paisa also works through the Symphony XTS API.

5Paisa offers two different APIs you can use to onboard your account:

  1. 5Paisa Open API — the default. The steps below cover this option.
  2. Symphony XTS API — see the Symphony XTS guide to learn more.

Demo video

Step 1: TOTP key

  1. Install the Google Authenticator app on your phone.
  2. To get the TOTP Key, you need to set up TOTP on 5Paisa.
  3. Log in to the 5Paisa website.
  4. Click on your login id in the top right corner to open the menu.
  5. Go to menu Profile -> TOTP.
    • Note: If you already have TOTP enabled but do not have the “Totp Key”, disable TOTP and enable it again.
  6. Click Enable external TOTP.
    1. Enter the OTP received on your phone or email.
    2. Enter your 6-digit MPIN.
    3. Scan the QR code in your Google Authenticator app.
    4. Copy the TOTP KEY shown below the QR code and save it in notepad for later use.
    5. Enter the TOTP shown in the Google Authenticator app.
    6. Click the Enable button.
    7. You will see the message “Totp successfully enabled.”

Screenshots

TOTP Menu

1. TOTP Menu


Enable TOTP

2. Enable TOTP

Step 2: Generate APIs

  1. Log in to the 5Paisa website.
  2. Click on your Profile name (see screenshot below).
    1. Go to menu Xstream API -> Get API Keys (see screenshot below).
    2. Create App (see screenshot below).
    3. Redirect URL: https://webx.stocksdeveloper.in/auth/5paisa
    4. Static IP (see the next step).

Screenshots

Auto Assign IP button to get static IP

Click the “Auto Assign IP” button to get a static IP.

Register static IP and redirect URL

Register the static IP and redirect URL.

Step 3: Add trading account

  1. Log in to AutoTrader Web.
  2. Go to menu Accounts -> Trading Accounts.
  3. Click the Create button.

Use the mapping below to fill in each field. For reference, see the mapping screenshot above.

FieldValue
Broker5Paisa
PlatformFP_API_IPV6
Login idYour 5Paisa login id
Static IPClick “Auto-Assign IP” to get a static IP, then register it on 5Paisa on the API creation screen (see above screenshot)
MPINYour 6-digit MPIN
TOTP KeyYour TOTP Key
User keyYour API key in the API details
App sourceYour App source in the API details

After filling in the fields:

  1. Click the Validate button.
  2. Once you see a success message, click the Save button.

Note: We have seen occurrences of a UserKey Not Found error for newly created APIs. It seems 5Paisa takes some time to activate the APIs. In such cases, please try after a few hours or on the next day after API creation.

Next steps

Was this page helpful?

Last updated 20 June 2026