Paytm

Paytm Money is a technology-first investment platform backed by one of India’s leading fintech companies. With its secure and scalable API infrastructure, Paytm Money empowers developers and traders to build powerful trading systems that can manage portfolios, place real-time orders, and stream live market data with ease. Whether you're building retail trading applications or complex algorithmic strategies, Paytm Money offers a reliable and developer-friendly gateway to the markets.


Step 1: Create App

  1. Click on Create New App

  1. Choose the following APIs:

    • Trading API

    • Live Broadcast API (optional, but recommended for real-time data)

  2. Click Proceed


Step 2: Enter App Details

Fill out the app details as shown below:

  • App Name: openalgo

  • Product Type: Trading Bridge

  • Redirect URL: http://127.0.0.1:5000/paytm/callback

  • Postback URL: (leave empty)

  • Description: openalgo

  • Upload a logo (optional)

Click Create App


Step 3: Copy API Key and Secret

Once your app is in Active status:

  1. Go to My Apps

  2. Locate your app (e.g., openalgo)

  3. Copy the API Key and API Secret

Use these credentials in your OpenAlgo broker configuration.


Configuration

Once you have the credentials, add them to your OpenAlgo configuration:

BROKER_API_KEY = 'your_api_key_here'
BROKER_API_SECRET = 'your_api_secret_here'
REDIRECT_URL = 'http://127.0.0.1:5000/paytm/callback'

Make sure your local server is running and accessible at the callback URL you defined earlier.


What's Next?

Integrating with the Paytm Money API opens the door to building high-performance, automated trading workflows within the OpenAlgo ecosystem. To ensure seamless integration and performance, it’s essential to follow recommended practices such as securely storing your API credentials, managing session states effectively, and implementing robust logging and error-handling routines. With the right setup, Paytm Money becomes a dependable backbone for executing your trading strategies with precision and confidence.


Last updated