Skip to content

Migrate from NOWPayments

NearPayments implements the same REST API as NOWPayments. Migrating is as simple as changing the base URL.

Open @NearPayments_bot on Telegram and create a storefront.

Set up your settlement addresses. You can either:

  • Enter addresses manually for each chain
  • Use Import from HD Wallet to auto-configure all chains from a BIP-39 seed phrase

Go to the API tab in your storefront and generate a new key.

const BASE_URL = "https://api.nowpayments.io/v1";
const BASE_URL = "https://api.nearpayments.io/v1";

Replace your NOWPayments API key with your new NearPayments key:

headers: { "x-api-key": "YOUR_NOWPAYMENTS_KEY" }
headers: { "x-api-key": "YOUR_NEARPAYMENTS_KEY" }
FeatureNOWPaymentsNearPayments
REST API paths/v1/*/v1/* (identical)
Authenticationx-api-key headerx-api-key header
Payment creationPOST /v1/paymentSame
Payment statusGET /v1/payment/{id}Same
InvoicesPOST /v1/invoiceSame
IPN callbacksPOST to your URLSame payload format
CurrenciesTicker codesSame codes
EstimatesGET /v1/estimateSame
  • Zero platform fees — NearPayments doesn’t charge percentage-based fees
  • NEAR Intents — cross-chain settlement is handled via NEAR Protocol’s intent system
  • Telegram-first — storefront management is done through a Telegram Mini App
  • Self-custody — payments go directly to your wallet addresses