Laravel package

The crypto payment gateway for Laravel

A facade, env-based config, and a webhook route that verifies signatures and fires a Laravel event. Accept 14 coins with the code you already know.

composer require oxialink/oxialink-laravel

Then php artisan vendor:publish --tag=oxialink-config and set three .env keys.

Free & MIT licensed14 coins, 6 networksSigned webhooks built in

Create an invoice

use Oxialink\Laravel\Facades\Oxialink;

$invoice = Oxialink::createInvoice([
    'amount' => 25,
    'fiat_currency' => 'USD',
    'coin' => 'USDT_TON',
    'external_id' => (string) $order->id,
    'callback_url' => route('oxialink.webhook'),
    'redirect_url' => route('orders.show', $order),
]);

return redirect()->away($invoice['url']);

Listen for payments

use Oxialink\Laravel\Events\OxialinkWebhook;

// POST /oxialink/webhook is registered for you,
// CSRF-exempt and signature-verified.

Event::listen(function (OxialinkWebhook $webhook) {
    if ($webhook->event === 'payment.completed') {
        Order::find($webhook->data['external_id'])
            ?->markPaid($webhook->data['tx_hash']);
    }
});

Everything the integration needs

Install and forget

Auto-discovered service provider, publishable config, three .env keys.

Webhook route included

POST /oxialink/webhook is registered, CSRF-exempt, and verified before your code runs.

Native Laravel events

One OxialinkWebhook event for every verified delivery; handle it with a listener.

external_id passthrough

Pass your model id at creation; webhooks echo it back for a one-line lookup.

Full API via the facade

Invoices, balances, withdrawals, address validation and Telegram pay buttons.

No chargebacks

Crypto is final. Orders complete only after real on-chain confirmation.

Fees are flat and public on the fees page. Not on PHP? There is also a WooCommerce plugin, a WHMCS module and a plain REST API.

FAQ

Common questions

Install oxialink/oxialink-laravel, publish the config, set your API keys in .env, and create an invoice through the Oxialink facade. The package registers a verified webhook route and fires a Laravel event when the payment settles.

Laravel 9 through 12 on PHP 8.0+. The underlying client is plain PHP, so nothing exotic is required.

14 coins across 6 networks: USDT on TON, Tron, BSC, Solana and Ethereum, USDC, Bitcoin, Ethereum, Litecoin, Dogecoin, Dash, BNB, TRX and Toncoin.

Every delivery is signed with HMAC-SHA256 over the delivery id, timestamp, event name and the exact bytes of the payload. The SDK verifies the signature and rejects stale deliveries before your code runs, so a forged notification can never mark an order paid.

The SDK is free and MIT licensed. Oxialink accounts are free, and a payment costs 0.2% on Premium or 0.5% free, plus one flat per-coin network fee published at oxialink.com/fees.

First payment in minutes

Free SDK, free account, no KYC to start.

Create a free account