Notrix Official Python SDK
Project description
Notrix Python SDK
Installation
pip install notrix
Basic usage
from notrix import Client
client = Client("NOTRIX_SECRET_KEY")
payment_page = client.create_payment_page(
title="Bike",
description="My amazing bike",
image=open("bike.png", 'rb'),
price=1.5, # USD,
webhook_url="https://example.com/webhooks/notrix/"
)
print(payment_page.link("1234")) # Payment link with user_id 1234 (will be sent in the webhook)
print(payment_page.price) # The price in USD
print(payment_page.webhook_url)
print(payment_page.uuid)
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
notrix-0.6.1.tar.gz
(2.1 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 notrix-0.6.1.tar.gz.
File metadata
- Download URL: notrix-0.6.1.tar.gz
- Upload date:
- Size: 2.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.5.1 CPython/3.10.12 Linux/6.2.0-26-generic
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
13474875ecfc744272e2bb07017a86d1018cc8c7e7cbbb00bd9faf8c85ece95f
|
|
| MD5 |
1546af2df969550a0d6234225d25494a
|
|
| BLAKE2b-256 |
ea40242c159ad0f586aac924820305ced3719616c912db4b4e96a509af9c15cf
|
File details
Details for the file notrix-0.6.1-py3-none-any.whl.
File metadata
- Download URL: notrix-0.6.1-py3-none-any.whl
- Upload date:
- Size: 2.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.5.1 CPython/3.10.12 Linux/6.2.0-26-generic
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9b50d252bd058e397a921cd6dec91f07ccd7113a757702558abd016028ef885e
|
|
| MD5 |
1954e517ba063117b7b32952d2606263
|
|
| BLAKE2b-256 |
44e52a6a77ca6e69bff46ea4b145b4df66b6d1c5790c40e5730278a2afb74ce4
|