Nrypto

Integration guides

Use https://payments.nrypto.com as your gateway URL. Each merchant manages their own store and wallet connections. Contact support for onboarding during setup.

WordPress & WooCommerce

  1. Install and activate BTCPay Server for WooCommerce in WordPress.
  2. Open WooCommerce payment settings, enable BTCPay, and enter the Nrypto gateway URL.
  3. Authorize just the intended store, then test an order and its status update before enabling the method for customers.

WHMCS

  1. Download a compatible version from the official module releases.
  2. Install its gateway and callback files following the module guide. Activate BTCPay in WHMCS Payment Gateways.
  3. Enter the Nrypto URL, store ID and store-scoped key. Follow the module guide to configure the webhook and signing secret. Verify a settled test invoice credits the corresponding bill once.

Laravel, scripts & mobile apps

On your backend, load your API key from a secret store. Look up the authenticated customer’s order and calculate its amount and currency on the server. Create an invoice and save its ID with the order before returning the checkout link. If a request times out, reconcile the existing invoice before retrying.

POST /api/v1/stores/{storeId}/invoices
Authorization: token YOUR_STORE_KEY
Content-Type: application/json

{"amount":"12.50","currency":"USD","metadata":{"orderId":"order-42"}}

Laravel

$invoice = Http::withToken(config('services.nrypto.key'), 'token')
    ->post('https://payments.nrypto.com/api/v1/stores/' .
        rawurlencode(config('services.nrypto.store')) . '/invoices', [
            'amount' => $order->total,
            'currency' => $order->currency,
            'metadata' => ['orderId' => (string) $order->id],
        ])->throw()->json();

Android or another client

Call your own backend with the order ID and open the returned checkoutLink in a browser or Android Custom Tab. Keep the store key on the backend. On return, fetch the order status from your backend.

Confirm payment

Verify the BTCPay-Sig header against an HMAC-SHA256 of the raw webhook body using the store’s webhook secret and a constant-time comparison. Fetch the invoice using its ID. Match the store, order, amount and currency, then fulfill once when its status is Settled. Handle partial payments and expired invoices separately.

Open the gateway API reference ↗