← Developers
📦 SDKs

Official SDKs.
Your Language.

Official libraries for the most popular backend languages. Install in seconds. Works the same way in every language.

$ npm install @zyrix/nodeInstall
Node.jscreate_payment.js
const Zyrix = require('@zyrix/node');
const zyrix = new Zyrix('YOUR_API_KEY');

// Create payment
const payment = await zyrix.payments.create({
  amount: 10000,
  currency: 'SAR',
  method: 'card',
  customer: {
    name: 'Ahmed Al-Rashid',
    email: 'ahmed@example.com'
  }
});

console.log(payment.checkout_url);
🔐

Webhook Verification

All SDKs include built-in webhook signature verification using HMAC-SHA256.

const event = zyrix.webhooks.constructEvent( req.body, req.headers['x-zyrix-signature'], webhookSecret );

Start Building

Full sandbox environment for testing without fees.