NowgateDocs

Introduction

Accept crypto payments on nine networks with one API.

On this page

Nowgate gives each order its own deposit address on Bitcoin, Ethereum, BNB Smart Chain, Polygon, Base, TRON, Solana, Stellar or Bittensor. It watches the chain, waits until the deposit is final, credits your balance and tells your server with a signed webhook.

Networks and assets#

Each network–asset pair is its own asset: USDT on TRON and USDT on Ethereum never share a balance. Send both network and asset when you create a payment.

Supported networks and assets
NetworkAssets (asset)Credited
BitcoinbitcoinBTCAfter 1 to 6 confirmations, by amount
EthereumethereumETHUSDTUSDCAt the network's finalized block
BNB Smart ChainbscBNBUSDTUSDCAt the network's finalized block
Polygon PoSpolygonPOLUSDTUSDCAt the network's finalized block
BasebaseETHUSDCAt the safe head, once the block's data is on Ethereum
TRONtronTRXUSDTAt the network's finalized block
SolanasolanaSOLUSDTUSDCAt the network's finalized block
StellarstellarUSDCAt the network's finalized block
BittensorbittensorTAOAt the network's finalized block

How it fits together#

  • Payment. You create one per order with a network, an asset and an amount. It holds the deposit address you show your customer, and its status tells you where things stand.
  • Deposit. Your customer sends funds to that address. Nowgate follows the chain, counts confirmations and handles reorganizations before anything is credited.
  • Webhook. Every change to the payment is sent to your server as a signed event, retried for about 72 hours until you acknowledge it.
  • Balance. Confirmed funds are credited to your balance in a double-entry ledger, minus Nowgate's fee.
  • Checkout. Every payment has a hosted checkout page at its checkout_url, and a payment link is a reusable one. Price either in an asset or in USD or EUR, and bring checkout to your own site with the widget or the overlay.
  • Dashboard. Your team manages payments, payouts, keys and webhooks in the dashboard, each member with their own permissions and a second factor, and sells in person with the point of sale.

Environments#

EnvironmentBase URLAPI keys
Livehttps://api.nowgate.io/v1ngk_live_…
Sandboxhttps://sandbox-api.nowgate.io/v1ngk_sandbox_…

The sandbox runs on test networks with its own keys and data. A key works only in its own environment. It can also play the payer, so you can test every case without testnet coins.

Next steps#