Skip to content

its0x4d/nowpayments

Folders and files

NameName
Last commit message
Last commit date

Latest commit

0c453c6 · Mar 9, 2023

History

18 Commits
Jan 18, 2023
Mar 9, 2023
Jan 9, 2023
Jan 18, 2023
Mar 9, 2023

Repository files navigation

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.