Dinakel
لماذا ديناكل؟كيف تعمل ديناكلبوابة الدفعالتاجردليل المستخدم
دليل المستخدم
دليل المستخدمبوابة الدفعالتاجرمفتاح API
حالة مفتاح APIحالة التاجرالعملات المتاحةبوابة التبرعاتإنشاء فاتورةحالة الفاتورة

تسجيل الدخول

تسجيل الدخول

Donation gateway

The merchant backend receives active networks, one address per network, and the currencies supported by that address in one request. No amount is required; the merchant site renders a QR code directly from address.

This API is server-to-server only. Never expose the API key in a browser, public JavaScript, or a client application.
Server-to-server

Backend integration examples

Choose your backend language. Every example reads credentials from environment variables and prepares only the safe payment_options response for your site.

API key stays server-side
Node.js 18+ · native fetch
const response = await fetch(
  "https://api.dinakel.com/api/gateway/v1/donation",
  {
    method: "POST",
    headers: {
      Authorization: `Bearer ${process.env.DINAKEL_API_KEY}`,
      "Content-Type": "application/json",
      Accept: "application/json"
    },
    body: JSON.stringify({
      merchant_id: process.env.DINAKEL_MERCHANT_ID
    })
  }
);

const result = await response.json();
if (!response.ok) throw new Error(result.message || "Dinakel request failed");

for (const option of result.payment_options) {
  console.log(option.network_name, option.protocol, option.address);
  console.log(option.supported_currencies);
}
DINAKEL_API_KEYMerchant secret API key
DINAKEL_MERCHANT_IDMerchant identifier

Request


POST https://api.dinakel.com/api/gateway/v1/donation

Headers:
Authorization: Bearer <your_api_key>
Content-Type: application/json

Body:
{
  "merchant_id": "<merchant_uuid>"
}
        

Successful response


{
  "status": true,
  "statusCode": 200,
  "payment_options": [
    {
      "network_name": "Tron",
      "protocol": "trc20",
      "address": "TXXXXXXXXXXXXXXXX",
      "supported_currencies": [
        {
          "name": "Tron",
          "symbol": "TRX"
        },
        {
          "name": "Tether",
          "symbol": "USDT"
        }
      ]
    }
  ]
}
        

Each network appears once with one address. A network with no active, permitted currency is omitted. Internal identifiers and icon are intentionally excluded.

Security and limits

  • 30 requests per minute per API key
  • Only an active merchant and its own API key are accepted
  • Only active wallets, networks, and currencies are returned
  • 401 for an invalid key; 403 for an invalid or inactive merchant
  • 429 after the rate limit; honor Retry-After
API key guideMerchant status
Dinakel

بنية احترافية لمدفوعات العملات الرقمية للأعمال الحديثة.

بنية آمنة للتجارة

الخدمات

  • لماذا ديناكل؟
  • كيف تعمل ديناكل
  • دليل المستخدم
  • بوابة الدفع
  • التاجر
  • مفتاح API

القانوني

  • شروط الاستخدام
  • سياسة العملات الرقمية
  • سياسة الخصوصية
  • سياسة ملفات تعريف الارتباط
© 2026 Dinakelبسيط · آمن · قابل للتتبع