Skip to main content

Razorpay Python Client

Project description

Razorpay Python Client

PyPI Version Coverage Status PyPI License

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

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-1.4.2.tar.gz (194.3 kB view details)

Uploaded Source

Built Distribution

razorpay-1.4.2-py3-none-any.whl (174.3 kB view details)

Uploaded Python 3

File details

Details for the file razorpay-1.4.2.tar.gz.

File metadata

  • Download URL: razorpay-1.4.2.tar.gz
  • Upload date:
  • Size: 194.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.10.13

File hashes

Hashes for razorpay-1.4.2.tar.gz
Algorithm Hash digest
SHA256 0d812030ba29e776e66d1ceaacc31635810fde18b66ff2591e582eb651bb5131
MD5 cfdb6f28b90dc829e9657a389a1cbe78
BLAKE2b-256 97fb14d5baeffc5b812775bc34cb7d416aa090be6f5779c04aaf45d2ba17458b

See more details on using hashes here.

File details

Details for the file razorpay-1.4.2-py3-none-any.whl.

File metadata

  • Download URL: razorpay-1.4.2-py3-none-any.whl
  • Upload date:
  • Size: 174.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.10.13

File hashes

Hashes for razorpay-1.4.2-py3-none-any.whl
Algorithm Hash digest
SHA256 aaf525baebc5001e5c54ae317a372c3c17c81314cedcbbf71aa0a2d3419a9757
MD5 6c4ef8a57d5f8cac38348347b398ea89
BLAKE2b-256 e93d07a25e3c6f3d65a319da30300f055d946860e90f705c05bb39524dc46f30

See more details on using hashes here.

Supported by

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