API · deposit wallets · webhooks

Accept crypto without operating the chain yourself

NxtGateW generates receive addresses, tracks on-chain activity (Ethereum, Polygon, Tron, Solana), applies server-side splits on EVM, and notifies your backend via HTTPS callback on each event.

From deposit to split: the flow

Typical journey for a merchant integrated via the API (key + secret) and a notification URL.

Create the deposit wallet

You call POST /api/v1/wallets/create with the merchant address, network, and your callback. The platform returns the generated address to share with the payer.

On-chain receipt

Funds arrive at the deposit address. A cron syncs the explorer (native, ERC-20, internal transfers) into the database.

Split & settlement

On Ethereum / Polygon, platform, affiliate, and merchant shares are applied according to your configuration (contract or server scripts, depending on deployment).

Partner notifications

Each movement can trigger wallet.balance_changed. When sync is stable, wallet.movements_snapshot summarizes movements and counters.

What the platform handles

Less infrastructure for you to run: encrypted keys, indexing, and callbacks from one service.

Deposit wallets

Dedicated address per payment or customer, tied to your merchant / PSP account and callback URL.

API

Multi-chain

Ethereum, Polygon, Tron, and Solana for wallet creation; detailed explorer indexing on EVM.

Chain

Splits & fees

Affiliate / sub-affiliate shares, platform fee frozen at wallet creation, check-config for database vs on-chain.

EVM

Webhooks & retries

JSON POSTs with X-IPN-Token, automatic retries on HTTP failure (dedicated cron).

IPN

Developer integration

Authenticate with X-API-Key and X-API-Secret headers, JSON bodies, standardized responses. Simplified example:

POST /api/v1/wallets/create
{
  "address": "0xYourMerchantWallet…",
  "callback": "https://your-site.com/webhooks/nxtgatew",
  "network": "polygon"
}
Webhook wallet.balance_changed (excerpt)
{
  "event": "wallet.balance_changed",
  "deposit_address": "0x…",
  "labels": {
    "merchant_wallet": "0x…",
    "platform_wallet": "0x…",
    "deposit_wallet": "0x…"
  },
  "movement": { "direction": "in", … }
}

Full reference (authentication, request bodies, wallet.balance_changed and wallet.movements_snapshot webhooks): API documentation · Markdown source doc/API-Merchants.md in the repository.

Get started

Create a merchant or PSP account, copy your API pair from your profile, then call the documented endpoints.

Admin area and dashboards are available after authentication.