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.0.tar.gz
(2.0 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.0.tar.gz.
File metadata
- Download URL: notrix-0.6.0.tar.gz
- Upload date:
- Size: 2.0 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 |
e6c78ac203f787cd9718b23c62619aa965f7453a6ecbafdbb804cc778dee9e4f
|
|
| MD5 |
11e906ed98dbcf5145d9ea29c785aafb
|
|
| BLAKE2b-256 |
df1f3738e08c57c68fc7d8fb525f0cb4ec0de7a54299ca36f59c17818e0aa99c
|
File details
Details for the file notrix-0.6.0-py3-none-any.whl.
File metadata
- Download URL: notrix-0.6.0-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 |
7faff5d32441f4fe8f60df4edd2eefd87c031bbc8c058e33441610e6c1f2121b
|
|
| MD5 |
5ce742d4ca5d2acad5044ef44b973103
|
|
| BLAKE2b-256 |
a682e462b90360a3d25436cf9932fd03765c52b7a28e7019b0e5ab6c7411f402
|