Skip to main content

An improved Razorpay python SDK

Project description

Razorpay Python Client

PyPI Version PyPI - Python Version License CI

Python bindings for interacting with the Razorpay API

This is primarily meant for merchants who wish to perform interactions with the Razorpay API programatically.

Installation

$ pip install razorpay-py

Usage

You need to setup your key and secret using the following: You can find your API keys at https://dashboard.razorpay.com/#/app/keys.

import razorpay
client = razorpay.Client(auth=("<YOUR_API_KEY>", "<YOUR_API_SECRET>"))

App Details

After setting up client, you can set your app details before making any request to Razorpay using the following:

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

For example, you can set the title to Django and version to 1.8.17. Please ensure that both app title and version are strings.

Supported Resources


Bugs? Feature requests? Pull requests?

All of those are welcome. You can file issues or submit pull requests in this repository.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

razorpay_py-0.0.1.tar.gz (196.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

razorpay_py-0.0.1-py3-none-any.whl (176.9 kB view details)

Uploaded Python 3

File details

Details for the file razorpay_py-0.0.1.tar.gz.

File metadata

  • Download URL: razorpay_py-0.0.1.tar.gz
  • Upload date:
  • Size: 196.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.5

File hashes

Hashes for razorpay_py-0.0.1.tar.gz
Algorithm Hash digest
SHA256 4a508e83413c57837812192f9bd32293f16879a4ec7340d37a0620d578887962
MD5 b3c7b4973445f087555f393a98cba67c
BLAKE2b-256 98ae6fc250afb57694fbdb62293e18616bf947b9ba1a86b114390d992799d51f

See more details on using hashes here.

File details

Details for the file razorpay_py-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: razorpay_py-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 176.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.5

File hashes

Hashes for razorpay_py-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 dd7cf0e2c01bd920850c6cc3cf7cc5d8884e5bcc616dc69d384b66551682f26c
MD5 8b7295103c28ae9f06c07ad17aa7fd2f
BLAKE2b-256 a5bd3acbc3cbae32cfbf410a1464ca03a477d18b6dd497c5e35a71e17be35c45

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page