Quickstart
-
Open the Telegram Bot
Start a conversation with @NearPayments_bot on Telegram.
-
Create a Storefront
Tap “Create Storefront” and give it a name. This represents your business or project.
-
Configure Wallets
Go to Settings → Enabled Blockchains. Either:
- Set addresses manually for each chain, or
- Use Import from HD Wallet to auto-configure all 16 chains from a BIP-39 seed phrase
-
Generate an API Key
Go to the API tab and generate a key. Copy it — it’s only shown once.
-
Create a Payment
Terminal window curl -X POST https://api.nearpayments.io/v1/payment \-H "x-api-key: YOUR_API_KEY" \-H "Content-Type: application/json" \-d '{"price_amount": 10,"price_currency": "usd","pay_currency": "btc","order_id": "order-001"}' -
Check Payment Status
Terminal window curl https://api.nearpayments.io/v1/payment/PAYMENT_ID \-H "x-api-key: YOUR_API_KEY"
Payment Flow
Section titled “Payment Flow”waiting → confirming → confirmed → sending → finishedAlternative statuses: partially_paid, failed, refunded, expired