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-laravelThen php artisan vendor:publish --tag=oxialink-config and set three .env keys.
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']);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']);
}
});Auto-discovered service provider, publishable config, three .env keys.
POST /oxialink/webhook is registered, CSRF-exempt, and verified before your code runs.
One OxialinkWebhook event for every verified delivery; handle it with a listener.
Pass your model id at creation; webhooks echo it back for a one-line lookup.
Invoices, balances, withdrawals, address validation and Telegram pay buttons.
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