razorpay


Namerazorpay JSON
Version 1.4.2 PyPI version JSON
download
home_pagehttps://github.com/razorpay/razorpay-python
SummaryRazorpay Python Client
upload_time2024-03-19 12:12:08
maintainer
docs_urlNone
authorTeam Razorpay
requires_python
licenseMIT
keywords razorpay payment gateway india
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # Razorpay Python Client

[![PyPI Version](https://img.shields.io/pypi/v/razorpay.svg)](https://pypi.python.org/pypi/razorpay) [![Coverage Status](https://coveralls.io/repos/github/razorpay/razorpay-python/badge.svg?branch=master)](https://coveralls.io/github/razorpay/razorpay-python?branch=master) [![PyPI](https://img.shields.io/badge/python-3%20%7C%203.4%20%7C%203.5%20%7C%203.6-blue.svg)]() [![License](https://img.shields.io/:license-mit-blue.svg)](https://opensource.org/licenses/MIT)

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

```sh
$ 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>.

```py
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:

```py
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
- [Account](documents/account.md)

- [Addon](documents/addon.md)

- [Item](documents/items.md)

- [Customer](documents/customer.md)

- [Token](documents/token.md)

- [Fund](documents/fund.md)

- [Order](documents/order.md)

- [Payments](documents/payment.md)

- [Settlements](documents/settlement.md)

- [Refunds](documents/refund.md)

- [Invoice](documents/invoice.md)

- [Subscriptions](documents/subscription.md)

- [Payment Links](documents/paymentLink.md)

- [Smart Collect](documents/virtualAccount.md)

- [Route](documents/transfer.md)

- [QR Code](documents/qrcode.md)

- [Emandate](documents/emandate.md)

- [Cards](documents/card.md)

- [Paper NACH](documents/papernach.md)

- [UPI](documents/upi.md)

- [Register Emandate and Charge First Payment Together](documents/registerEmandate.md)

- [Register NACH and Charge First Payment Together](documents/registerNach.md)

- [Payment Verification](documents/paymentVerfication.md)

- [Product Configuration](documents/productConfiguration.md)

- [Stakeholder](documents/stakeholder.md)

- [Webhook](documents/webhook.md)

- [Document](documents/document.md)

- [Dispute](documents/dispute.md)

- [Iin](documents/iin.md)
---

## Bugs? Feature requests? Pull requests?

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

[issues]: https://github.com/razorpay/razorpay-python/issues
[pulls]: https://github.com/razorpay/razorpay-python/pulls

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/razorpay/razorpay-python",
    "name": "razorpay",
    "maintainer": "",
    "docs_url": null,
    "requires_python": "",
    "maintainer_email": "",
    "keywords": "razorpay payment gateway india",
    "author": "Team Razorpay",
    "author_email": "",
    "download_url": "https://files.pythonhosted.org/packages/97/fb/14d5baeffc5b812775bc34cb7d416aa090be6f5779c04aaf45d2ba17458b/razorpay-1.4.2.tar.gz",
    "platform": null,
    "description": "# Razorpay Python Client\n\n[![PyPI Version](https://img.shields.io/pypi/v/razorpay.svg)](https://pypi.python.org/pypi/razorpay) [![Coverage Status](https://coveralls.io/repos/github/razorpay/razorpay-python/badge.svg?branch=master)](https://coveralls.io/github/razorpay/razorpay-python?branch=master) [![PyPI](https://img.shields.io/badge/python-3%20%7C%203.4%20%7C%203.5%20%7C%203.6-blue.svg)]() [![License](https://img.shields.io/:license-mit-blue.svg)](https://opensource.org/licenses/MIT)\n\nPython bindings for interacting with the Razorpay API\n\nThis is primarily meant for merchants who wish to perform interactions with the Razorpay API programatically.\n\n## Installation\n\n```sh\n$ pip install razorpay\n```\n\n## Usage\n\nYou need to setup your key and secret using the following:\nYou can find your API keys at <https://dashboard.razorpay.com/#/app/keys>.\n\n```py\nimport razorpay\nclient = razorpay.Client(auth=(\"<YOUR_API_KEY>\", \"<YOUR_API_SECRET>\"))\n```\n\n## App Details\n\nAfter setting up client, you can set your app details before making any request\nto Razorpay using the following:\n\n```py\nclient.set_app_details({\"title\" : \"<YOUR_APP_TITLE>\", \"version\" : \"<YOUR_APP_VERSION>\"})\n```\n\nFor example, you can set the title to `Django` and version to `1.8.17`. Please ensure\nthat both app title and version are strings.\n\n## Supported Resources\n- [Account](documents/account.md)\n\n- [Addon](documents/addon.md)\n\n- [Item](documents/items.md)\n\n- [Customer](documents/customer.md)\n\n- [Token](documents/token.md)\n\n- [Fund](documents/fund.md)\n\n- [Order](documents/order.md)\n\n- [Payments](documents/payment.md)\n\n- [Settlements](documents/settlement.md)\n\n- [Refunds](documents/refund.md)\n\n- [Invoice](documents/invoice.md)\n\n- [Subscriptions](documents/subscription.md)\n\n- [Payment Links](documents/paymentLink.md)\n\n- [Smart Collect](documents/virtualAccount.md)\n\n- [Route](documents/transfer.md)\n\n- [QR Code](documents/qrcode.md)\n\n- [Emandate](documents/emandate.md)\n\n- [Cards](documents/card.md)\n\n- [Paper NACH](documents/papernach.md)\n\n- [UPI](documents/upi.md)\n\n- [Register Emandate and Charge First Payment Together](documents/registerEmandate.md)\n\n- [Register NACH and Charge First Payment Together](documents/registerNach.md)\n\n- [Payment Verification](documents/paymentVerfication.md)\n\n- [Product Configuration](documents/productConfiguration.md)\n\n- [Stakeholder](documents/stakeholder.md)\n\n- [Webhook](documents/webhook.md)\n\n- [Document](documents/document.md)\n\n- [Dispute](documents/dispute.md)\n\n- [Iin](documents/iin.md)\n---\n\n## Bugs? Feature requests? Pull requests?\n\nAll of those are welcome. You can [file issues][issues] or [submit pull requests][pulls] in this repository.\n\n[issues]: https://github.com/razorpay/razorpay-python/issues\n[pulls]: https://github.com/razorpay/razorpay-python/pulls\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "Razorpay Python Client",
    "version": "1.4.2",
    "project_urls": {
        "Homepage": "https://github.com/razorpay/razorpay-python"
    },
    "split_keywords": [
        "razorpay",
        "payment",
        "gateway",
        "india"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "e93d07a25e3c6f3d65a319da30300f055d946860e90f705c05bb39524dc46f30",
                "md5": "6c4ef8a57d5f8cac38348347b398ea89",
                "sha256": "aaf525baebc5001e5c54ae317a372c3c17c81314cedcbbf71aa0a2d3419a9757"
            },
            "downloads": -1,
            "filename": "razorpay-1.4.2-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "6c4ef8a57d5f8cac38348347b398ea89",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": null,
            "size": 174302,
            "upload_time": "2024-03-19T12:12:06",
            "upload_time_iso_8601": "2024-03-19T12:12:06.883683Z",
            "url": "https://files.pythonhosted.org/packages/e9/3d/07a25e3c6f3d65a319da30300f055d946860e90f705c05bb39524dc46f30/razorpay-1.4.2-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "97fb14d5baeffc5b812775bc34cb7d416aa090be6f5779c04aaf45d2ba17458b",
                "md5": "cfdb6f28b90dc829e9657a389a1cbe78",
                "sha256": "0d812030ba29e776e66d1ceaacc31635810fde18b66ff2591e582eb651bb5131"
            },
            "downloads": -1,
            "filename": "razorpay-1.4.2.tar.gz",
            "has_sig": false,
            "md5_digest": "cfdb6f28b90dc829e9657a389a1cbe78",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 194335,
            "upload_time": "2024-03-19T12:12:08",
            "upload_time_iso_8601": "2024-03-19T12:12:08.904575Z",
            "url": "https://files.pythonhosted.org/packages/97/fb/14d5baeffc5b812775bc34cb7d416aa090be6f5779c04aaf45d2ba17458b/razorpay-1.4.2.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-03-19 12:12:08",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "razorpay",
    "github_project": "razorpay-python",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "lcname": "razorpay"
}
        
Elapsed time: 0.22521s