Skip to main content

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


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 details)

Uploaded Source

Built Distribution

setu-0.4.1-py3-none-any.whl (3.3 kB view details)

Uploaded Python 3

File details

Details for the file setu-0.4.1.tar.gz.

File metadata

  • Download URL: setu-0.4.1.tar.gz
  • Upload date:
  • Size: 2.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.0.0 requests-toolbelt/0.9.1 tqdm/4.48.0 CPython/3.7.7

File hashes

Hashes for setu-0.4.1.tar.gz
Algorithm Hash digest
SHA256 140f06d505ab074a690d77634617a6921fbefd45c1b212d351102c831a1a1e91
MD5 5578aa98241fb69e72bfb08377615197
BLAKE2b-256 18aef2ad7b25bb3711b2b29d3e37463d224136b7f439407a8a8af8c4a3db76af

See more details on using hashes here.

Provenance

File details

Details for the file setu-0.4.1-py3-none-any.whl.

File metadata

  • Download URL: setu-0.4.1-py3-none-any.whl
  • Upload date:
  • Size: 3.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.0.0 requests-toolbelt/0.9.1 tqdm/4.48.0 CPython/3.7.7

File hashes

Hashes for setu-0.4.1-py3-none-any.whl
Algorithm Hash digest
SHA256 b4cbad28b476ff257d35e313c2ae52e5dcc0e2e641bb149689e4f83a22b32bf4
MD5 0d37a0223a990a134709019c2a7d5f3f
BLAKE2b-256 c5ec446f57b7fd2da4c6d3d3037d25e6a16a7b68c0f4ffd0e1214b58664ccccb

See more details on using hashes here.

Provenance

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page