Install Razorpay Python SDK

Install the Python server-side SDK to interact with Razorpay APIs.

You can install the Razorpay Python SDK and integrate it with your Python-based website to accept payments, initiate refunds and do much more. Handy Tips
Supported Python versions: 2.7, 2.7.6, 3.3 and above.


Follow these steps to install the Razorpay Python SDK:

  1. Download the latest source code zip file from GitHub.
  2. Unzip the file and add it to your project.

App Details🔗

After setting up the client, set up your app details before making requests to Razorpay. Run the following command to set up your app details:

Copyclient.set_app_details({"title" : "<YOUR_APP_TITLE>", "version" : "<YOUR_APP_VERSION>"})

The data type the app title and version is a string.

For example, you can set the title to Django and version to 1.8.17.