→ المطورون
📦 SDKs

SDKs رسمية.
بلغتك.

مكتبات رسمية لأكثر لغات الخوادم شيوعاً. ثبّت في ثوانٍ. يعمل بنفس الطريقة في كل لغة.

$ npm install @zyrix/nodeتثبيت
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

جميع SDKs تتضمن التحقق المدمج من توقيع webhook باستخدام HMAC-SHA256.

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

ابدأ البناء

بيئة Sandbox كاملة للاختبار بدون رسوم.