Toss Payments SDK for python
Project description
Toss Payment SDK for Python
- python version >= 3.8
Pip install Link
Use
Load Lib
from tosspayments import Tosspayments
initialize
toss = Tosspayments("Your Toss Payment Secret Key")
Confirm Payment
toss.confirm(payment_key: str, order_id: str, idempotency_key: str, amount: int)
Cancel Payment
toss.cancel(payment_key: str, idempotency_key: str, cancel_data: dict)
Search Payment
toss.search_payment(payment_key: str)
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
Built Distribution
Close
Hashes for python-tosspayments-0.0.6.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | ad046fe90252b80b07b19b2272ed371adbdb87c5cc9da7d160b7903320ee1dee |
|
MD5 | 015e868fb8a8500d5b1ddf863fef7407 |
|
BLAKE2b-256 | ca72e8550468d79606efd271edc3064c9c3ca4f2bd8cbfaeac99ac8bd96229f7 |
Close
Hashes for python_tosspayments-0.0.6-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 65e0e1372d4e51e59eb23736bed84fffaf8d23e9fea98a2845391a81d780385a |
|
MD5 | 7d9c617f577bb1e2c80a043a22d1c334 |
|
BLAKE2b-256 | ea674c592ffcadfb1fa60e34374994534b731f7894698fcb00f015970dd65f2c |