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(
"262c5ab6-60d9-464e-a584-af008a8d0437", // SchemeId
"e056f034-9da3-47e6-ba84-6cd16ccce6a3", // Secret
"378992706761786990", // 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.tar.gz
(2.7 kB
view hashes)
Built Distribution
setu-0.4-py3-none-any.whl
(3.4 kB
view hashes)