Skip to main content

A NowPayments.io client for Python

Project description

nowpayment - A payment gateway client for NowPayments.io

PyPI - Downloads PyPI

NOWPayments is a noncustodial crypto payment gateway that lets you accept payments in 75+ cryptocurrencies and auto coin conversion supported. The gateway is designed to be simple and fast to integrate, with low fees and no minimum balance required. It also supports instant settlement and has a variety of features, including integrated invoices and a donation page builder.

Installation

pip install nowpayment

Supported APIs

  • Payments API
  • Currency API
  • Payout API
  • Recurring Payments API
  • Billing API
from nowpayment import NowPayments

# Create a NowPayment instance
np = NowPayments("API_KEY")

# Create Invoice
invoice = np.payment.create_invoice(
    price_amount=1,
    price_currency="USD"
)

# Get Available Currencies
currencies = np.currency.get_available_currencies()

If you're looking for a more detailed example, check out the examples.

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

nowpayment-1.5.0.tar.gz (7.0 kB view details)

Uploaded Source

File details

Details for the file nowpayment-1.5.0.tar.gz.

File metadata

  • Download URL: nowpayment-1.5.0.tar.gz
  • Upload date:
  • Size: 7.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.9

File hashes

Hashes for nowpayment-1.5.0.tar.gz
Algorithm Hash digest
SHA256 161f8980908c26a148bb10bdcbcea3a2d7cbcb8f6300267df5fd6a9609ad5785
MD5 d5a5dd561695e41c63bd493052c1002d
BLAKE2b-256 24eb62bf6aa7895255845428feaf7cf0b9880206a6b06208a47192cb7ad6a428

See more details on using hashes here.

Supported by

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