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

Uploaded Source

Built Distribution

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

razorpay-1.4.1-py3-none-any.whl (172.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: razorpay-1.4.1.tar.gz
  • Upload date:
  • Size: 190.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.12

File hashes

Hashes for razorpay-1.4.1.tar.gz
Algorithm Hash digest
SHA256 236af5a6ae6512345907f4b7f42297980bb8314dbbbc684313a476b7f45179bd
MD5 9d9506adc96fc8202dbda18edf0e2332
BLAKE2b-256 11b8cd8bfd03083f4279140ab20ef10c911364a788d29b390cddd295499a8367

See more details on using hashes here.

File details

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

File metadata

  • Download URL: razorpay-1.4.1-py3-none-any.whl
  • Upload date:
  • Size: 172.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.12

File hashes

Hashes for razorpay-1.4.1-py3-none-any.whl
Algorithm Hash digest
SHA256 89b01c386cc93cc5af07d613c99c24fa3ded95d7def94b89e0ac294fb49cbe7c
MD5 6d5586adb621f6041c8989aee2c66d9f
BLAKE2b-256 95ea485ebb794452946ef65699534ebacb54e67d0e5e524d7298691ca2184805

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