Skip to main content

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)  # Payment link for users
print(payment_page.price)  # The price in USD
print(payment_page.webhook_url) 
print(payment_page.uuid)

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

notrix-0.5.0.tar.gz (1.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

notrix-0.5.0-py3-none-any.whl (2.4 kB view details)

Uploaded Python 3

File details

Details for the file notrix-0.5.0.tar.gz.

File metadata

  • Download URL: notrix-0.5.0.tar.gz
  • Upload date:
  • Size: 1.7 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

Hashes for notrix-0.5.0.tar.gz
Algorithm Hash digest
SHA256 7df3b0831df5f1cc6b857b3d10b1127651d562ae8e42536b77b3da19eef9d563
MD5 b2e6b4faa8398b2d56634eb07ff8f06f
BLAKE2b-256 d476b83a088f72a376e0755868c9e5e6b9971e3a85d1bb00fcd89646eb532801

See more details on using hashes here.

File details

Details for the file notrix-0.5.0-py3-none-any.whl.

File metadata

  • Download URL: notrix-0.5.0-py3-none-any.whl
  • Upload date:
  • Size: 2.4 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

Hashes for notrix-0.5.0-py3-none-any.whl
Algorithm Hash digest
SHA256 01020013e07555c2ed9140d720058d72cfaaa33fb20c779b6641f797aebc0c68
MD5 0f60e41456a365594e16074bb442c3c6
BLAKE2b-256 e6116c408d4b81fae56e27b381b570feb9dc7d1272500a5cfdceb05bde131e43

See more details on using hashes here.

Supported by

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