Python SDK for Cambodia Bakong Open API
Project description
pybakong
Python SDK for Cambodia Bakong Open API.
Installation
pip install pybakong
Usage
from pybakong import BakongClient
client = BakongClient()
# Step 1: Request token
client.request_token("your@email.com", "MyOrg", "MyProject")
# Step 2: Verify token with code from email
client.verify_token("123456")
# Step 3: Generate deeplink
link = client.generate_deeplink(
qr="QR_STRING",
app_icon_url="https://example.com/icon.png",
app_name="MyApp",
app_deep_link_callback="myapp://callback"
)
print("Payment Link:", link)
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
pybakong-0.1.0.tar.gz
(2.5 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pybakong-0.1.0.tar.gz.
File metadata
- Download URL: pybakong-0.1.0.tar.gz
- Upload date:
- Size: 2.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
650c232b3670d474d36f905a95f6aec3e5fcd54ad7fa68277e483d26350363fc
|
|
| MD5 |
ca606f89c6c77cbe6cf45c7a749df8c2
|
|
| BLAKE2b-256 |
a537802de73ef3eb881ca471e4505b283139efc4a88b9b3d7e44210e6afc988b
|
File details
Details for the file pybakong-0.1.0-py3-none-any.whl.
File metadata
- Download URL: pybakong-0.1.0-py3-none-any.whl
- Upload date:
- Size: 2.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c76ac17b6df1079007d46907c1713ab43f53b057c5068348baeae5552e203317
|
|
| MD5 |
6128628a850a5be0003029084a7d202a
|
|
| BLAKE2b-256 |
9a6385537e5a979162cc27eea5037cbd14819686725b034a93adf0f1d0bcdac4
|