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.
You must use Python v3.12 or higher. Know more about the
.- Create a .
- Log in to the Razorpay Dashboard and in test mode.
Follow these steps to install the Razorpay Python SDK:
- Download the latest source code zip file from .
- Unzip the file and add it to your project.
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:
client.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.
- Integrate with :
- Queries: If you have queries, .
- Feature Request: If you have a feature request, raise an issue on .
Is this integration guide useful?
python
install python
about
server
sdk