Setu's own SDK for faster integration
Project description
Setu
This package helps you work with Setu's deeplink APIs.
- To generate a payment link
- To check status of the payment link
Usage
from setu import deeplink
dl = deeplink.Deeplink(
"random-uuid-here", // SchemeId
"another-uuid-here", // Secret
"123123123123123", // Product instance ID
)
link = dl.generate_link(2300, 4, "gb", "1231243")
print(link["paymentLink"], link["platformBillID"])
status = dl.check_status(link['platformBillID'])
print(status["status"])
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
setu-0.4.1.tar.gz
(2.6 kB
view hashes)
Built Distribution
setu-0.4.1-py3-none-any.whl
(3.3 kB
view hashes)