Introduction
NearPayments is a NOWPayments-compatible crypto payment processing API powered by NEAR Intents. It provides the same REST API surface as NOWPayments, so you can migrate by changing a single URL.
Why NearPayments?
Section titled “Why NearPayments?”- Zero platform fees — no percentage cuts on any transaction
- 16 supported chains — BTC, ETH, SOL, NEAR, TON, TRX, XRP, ADA, DOGE, LTC, ARB, BASE, POL, BSC, OP, AVAX
- Drop-in compatible — same endpoints, same schemas, same
x-api-keyauth - HD wallet setup — configure all chain addresses from a single BIP-39 seed phrase
- Hosted invoices — shareable payment pages with currency selection
- IPN callbacks — real-time webhook notifications on payment status changes
Quick Start
Section titled “Quick Start”- Open the NearPayments Telegram Bot
- Create a storefront
- Configure your wallet addresses (or use HD wallet import)
- Generate an API key
- Replace
api.nowpayments.iowithapi.nearpayments.ioin your code
# Beforecurl https://api.nowpayments.io/v1/status
# Aftercurl https://api.nearpayments.io/v1/statusThat’s it. Your existing integration works immediately.
Base URL
Section titled “Base URL”https://api.nearpayments.io/v1Authentication
Section titled “Authentication”All authenticated endpoints require an x-api-key header:
curl -H "x-api-key: YOUR_API_KEY" https://api.nearpayments.io/v1/payment/123API keys are generated through the Telegram Mini App.