Lunaris provides the infrastructure to integrate payments, custody, trading, and stablecoin capabilities into your product. Go from zero to production in days, not months.
// Initialize Lunaris SDK"color:oklch(0.62 0.22 270)">import { LunarisClient } "color:oklch(0.62 0.22 270)">from "color:oklch(0.78 0.16 150)">'@lunaris/sdk';const lunaris = new LunarisClient({ apiKey: process.env.LUNARIS_API_KEY, environment: "color:oklch(0.78 0.16 150)">'production',});// Send a global paymentconst payment = await lunaris.pay.send({ amount: 10000, currency: "color:oklch(0.78 0.16 150)">'USD', recipient: "color:oklch(0.78 0.16 150)">'[email protected]', memo: "color:oklch(0.78 0.16 150)">'Invoice #1042',});"color:oklch(0.62 0.22 270)">console.log(payment.status); // "color:oklch(0.78 0.16 150)">'settled'console.log(payment.settledAt); // 2025-01-01T00:00:00.847ZClean, predictable REST APIs with comprehensive OpenAPI documentation.
Instant event notifications for payments, custody, and trading events.
OAuth 2.0 and API key authentication with granular permission scopes.
Built on cloud-native infrastructure with 99.99% uptime SLA.
Full-featured test environment with simulated transactions and events.
Guides, tutorials, and API references to get you up and running fast.
Our APIs follow REST conventions with consistent patterns, clear error messages, and comprehensive documentation. Build with confidence.
/v1/payments/send/v1/payments/{id}/v1/wallets/create/v1/wallets/{id}/balance/v1/custody/deposit/v1/trade/order// Handle real-time webhooks
app.post('/webhooks/lunaris', (req, res) => {
const event = lunaris.webhooks.verify(
req.body,
req.headers['lunaris-signature']
);
switch (event.type) {
case 'payment.settled':
await updateOrder(event.data.paymentId);
break;
case 'custody.deposit':
await creditAccount(event.data.amount);
break;
}
res.json({ received: true });
});Free sandbox access. No credit card required. Ship your first integration in minutes.