Revolut API client for Python
Project description
A Python wrapper for Revolut API, Python 3.x compatible.
Latest release
Release 0.10.1, a working beta.
Notes for 0.10.x
dropped top-level classes in favor of business and merchant submodules
MerchantClient throws exceptions on failures
dropped MerchantClient.update_order
Notes for 0.9.x
added revolut.merchant and MerchantClient within, which supports very basic Merchant API functionality (creating and retrieving simple orders)
the revolut.Client class has been renamed to revolut.business.BusinessClient; the old import will remain valid in 0.9.x, however it will issue warning and the resulting object will fail on type checks, like isinstance
moved other classes like Client, Transaction, etc. to the revolut.business submodule; top level import is deprecated, like above.
What is supported?
The module supports most of Business API features and some basic elements of the Merchant API.
Business API
As listed in Revolut Business API docs:
Accounts |
|
Get Accounts |
yes |
Get Account |
yes |
Get Account Details |
yes |
Counterparties |
|
Add Revolut Counterparty |
yes |
Add non-Revolut Counterparty |
yes |
Delete Counterparty |
yes |
Get Counterparty |
yes |
Get Counterparties |
yes |
Payments |
|
Transfer |
yes |
Create Payment |
yes |
Schedule Payment |
no |
Check Payment Status |
yes |
Cancel Payment |
no |
Get Transactions |
yes |
Merchant API
As described in Revolut Merchant API docs:
Orders |
|
Create an order |
yes, with capture_mode = AUTOMATIC only |
Retrieve an order list |
yes |
Retrieve an order |
yes |
Update an order |
partially |
Capture an order |
no |
Cancel an order |
no |
Refund an order |
no |
Confirm an order |
no |
Customers |
no |
Webhooks |
|
Retrieve all webhooks |
no |
Set a webhook URL |
yes |
Retrieve webhook details |
no |
Update webhook details |
no |
Delete a webhook |
no |
Other |
no |
Copyrights
Released under the BSD 3-Clause License. See LICENSE.txt.
Copyright (c) 2018-2022:
Michał Sałaban <michal@salaban.info>
Rafał Fuchs <r.fuchs@useme.com>
Nikita Grygoriev <n.grygoriev@useme.com>
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file revolut-python-0.10.1.tar.gz
.
File metadata
- Download URL: revolut-python-0.10.1.tar.gz
- Upload date:
- Size: 16.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.6.0 importlib_metadata/4.8.1 pkginfo/1.8.3 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.64.0 CPython/3.10.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e82324e61dc67cd5abf592694d96e8243e60245911348d5830b40ed2098906dd |
|
MD5 | 4b255b34f65def388a923e08b927d629 |
|
BLAKE2b-256 | fb42393ef49d364758b85ca1b0bf961d23ce53fff5747ddfb2f33a1e9b4ce247 |