Skip to content

Overview

NearPayments exposes three adapter APIs, each fully compatible with a major crypto payment provider. Merchants can point their existing SDK at NearPayments with zero code changes — no KYC, no platform fees.

AdapterBase URLAuthSDK
NOWPaymentshttps://api.nearpayments.io/v1x-api-key header@nowpaymentsio/nowpayments-api-js
Cryptomushttps://api.nearpayments.io/cryptomus/v1merchant + sign headerscryptomus-js
OxaPayhttps://api.nearpayments.io/oxapay/v1merchant_api_key headeroxapay

All three adapters share the same internal payment engine (NEAR Intents). The only difference is the wire format — request/response shapes, authentication scheme, and webhook format match each provider exactly.


Include your API key in the x-api-key header.

Terminal window
curl -H "x-api-key: YOUR_API_KEY" https://api.nearpayments.io/v1/payment/
MethodPathAuthDescription
GET/v1/statusNoHealth check
GET/v1/currenciesNoList currency tickers
GET/v1/full-currenciesNoFull currency list with metadata
GET/v1/merchant/coinsYesMerchant-specific currencies
GET/v1/estimateNoPrice estimate
GET/v1/min-amountNoMinimum payment amount
POST/v1/paymentYesCreate a payment
GET/v1/payment/{id}YesGet payment status
GET/v1/payment/YesList payments
POST/v1/payment/{id}/update-merchant-estimateYesRefresh payment estimate
POST/v1/invoiceYesCreate an invoice
GET/v1/invoice-paymentYesGet invoice payment
GET/v1/subscriptionsYesList subscriptions
GET/v1/subscriptions/plansYesList subscription plans
GET/v1/subscriptions/plans/{id}YesGet a subscription plan

Uses merchant (your storefront UUID) and sign (MD5 signature) headers. All endpoints are POST except exchange rates.

Terminal window
curl -X POST https://api.nearpayments.io/cryptomus/v1/payment \
-H "Content-Type: application/json" \
-H "merchant: YOUR_MERCHANT_UUID" \
-H "sign: COMPUTED_MD5_SIGN" \
-d '{ "amount": "100", "currency": "USD", "order_id": "order-1" }'
MethodPathDescription
POST/cryptomus/v1/paymentCreate a payment
POST/cryptomus/v1/payment/infoGet payment info
POST/cryptomus/v1/payment/listList payments
POST/cryptomus/v1/payment/servicesList available services
POST/cryptomus/v1/payment/resendResend webhook
GET/cryptomus/v1/exchange-rate/{currency}/listExchange rates
POST/cryptomus/v1/test-webhook/paymentTest webhook

Common endpoints need no auth. Payment endpoints use the merchant_api_key header.

Terminal window
curl https://api.nearpayments.io/oxapay/v1/common/prices
curl -H "merchant_api_key: YOUR_API_KEY" \
https://api.nearpayments.io/oxapay/v1/payment/TRACK_ID
MethodPathAuthDescription
GET/oxapay/v1/common/pricesNoToken prices
GET/oxapay/v1/common/currenciesNoSupported currencies
GET/oxapay/v1/common/networksNoSupported networks
GET/oxapay/v1/common/monitorNoHealth check
GET/oxapay/v1/common/fiatsNoFiat currencies
POST/oxapay/v1/payment/invoiceYesGenerate invoice
POST/oxapay/v1/payment/white-labelYesWhite-label payment
GET/oxapay/v1/payment/{track_id}YesPayment info
GET/oxapay/v1/payment/YesPayment history
GET/oxapay/v1/payment/accepted-currenciesYesAccepted currencies

100 requests per minute per IP across all adapters.