Skip to content

OxaPay Alternative — Migrate to NearPayments

NearPayments implements an OxaPay-compatible REST API. Migrating is as simple as changing the base URL and swapping your API key.

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.

Change the base URL:

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

Use the same API key in the merchant_api_key header:

headers: { "merchant_api_key": "YOUR_OXAPAY_KEY" }
headers: { "merchant_api_key": "YOUR_NEARPAYMENTS_KEY" }
EndpointMethodSupported
/payment/invoicePOSTYes
/payment/white-labelPOSTYes
/payment/{track_id}GETYes
/payment/GETYes
/payment/accepted-currenciesGETYes
/common/pricesGETYes
/common/currenciesGETYes
/common/networksGETYes
/common/monitorGETYes
  • Zero platform fees — NearPayments doesn’t charge percentage-based fees
  • Self-custody — payments go directly to your wallet addresses, not to a custodial account
  • Telegram management — storefront management is done through a Telegram Mini App instead of a web dashboard