> ## Documentation Index
> Fetch the complete documentation index at: https://docs.didit.me/llms.txt
> Use this file to discover all available pages before exploring further.

# الحصول على فاتورة شحن الرصيد API: تتبع التحويل البنكي

> اقرأ فاتورة شحن الرصيد في Didit: حالتها، والمبلغ الذي وصل، والمضاف إلى رصيدك، وما زال مستحقاً عبر التحويل البنكي.

تعيد واجهة Didit البرمجية للحصول على فاتورة شحن الرصيد إحدى فواتير شحن الرصيد الخاصة بك بحالتها الحالية، لكي يعرف نظام أتمتة الشؤون المالية لديك ما إذا كانت الفاتورة مدفوعة، وما تبقّى لإرساله، وما الذي أُضيف إلى رصيدك.
أنشئ الفاتورة باستخدام [إنشاء فاتورة شحن الرصيد](https://docs.didit.me/ar/management-api/billing/create-top-up-invoice.md).

موجّه الحصول على فاتورة شحن الرصيد
        نسخ الموجّه إلى الحافظة



      
      

\<pre>

\`Goal: Read a Didit top-up invoice to know whether it is paid, what is still to send and what was added to the balance.

Endpoint: GET https://verification.didit.me/v3/billing/top-up-invoices/{top_up_id}/
Auth header: x-api-key: <DIDIT_API_KEY>
top_up_id: the id returned by POST /v3/billing/top-up-invoices/.

curl:
curl 'https://verification.didit.me/v3/billing/top-up-invoices/9a4f2c1e-7b3d-4e8a-a1c5-6f0d2b9e8c47/' \
-H 'x-api-key: YOUR_API_KEY'

Response 200: the same invoice body as the create call, in its current state.
Settle on status and the amounts: open (waiting), part_paid (send amount_open with the same reference before due_at), paid (credit_amount was added), expired (due_at passed; what arrived stays added), cancelled (cancelled in the console before anything arrived), failed (never issued, nothing owed).
confirmed_at is the latest confirmed transfer, a part payment included; closed_at is null for a paid invoice. Never use them to decide settlement. Give payment instructions only while status is open or part_paid and amount_open is above 0, and stop polling once status is paid, expired, cancelled or failed. Use due_at as returned: new invoices are due 45 days after issue, older ones keep their own date.
404 top_up_not_found for an id that is not one of the organization's top-up invoices; 404 billing_not_available when billing is not available yet.`

\</pre>



      
      

الصق في

## قراءة الحالة والمبالغ| `status` | المعنى |
| - | - |
| `open` | في انتظار التحويل. |
| `part_paid` | وصل جزء من `total` وأُضيفت حصته من الرصيد. أرسل `amount_open` بالمرجع نفسه قبل `due_at`. |
| `paid` | وصل كامل `total` وأُضيف `credit_amount` إلى الرصيد. |
| `expired` | انقضى `due_at` قبل وصول كامل `total`. يبقى ما وصل مضافاً، وأي تحويل يصل لاحقاً بالمرجع نفسه يُضاف بقدر ما يدفعه. |
| `cancelled` | ألغاه شخص من لوحة التحكم قبل وصول أي مبلغ. |
| `failed` | تعذّر إصدار الفاتورة. لا يُستحق أي مبلغ. |- `amount_received` هو المبلغ الذي وصل، و`amount_credited` هو المبلغ الذي أُضيف إلى رصيدك، و`amount_open` هو المبلغ المتبقي المطلوب إرساله.
- يظهر `bank_details` عندما تقبل الفاتورة تحويلاً (`open` أو `part_paid`). لا تعرض تعليمات الدفع إلا في هذه الحالة، وفقط طالما أن `amount_open` أكبر من صفر.
- توقف عن متابعة الفاتورة عندما تصبح `status` بقيمة `paid` أو `expired` أو `cancelled` أو `failed`.
- `due_at` هو التاريخ المذكور على الفاتورة، فاستخدمه كما يَرِد. الفواتير الجديدة يحل موعدها بعد 45 يوماً من إصدارها، أما الفاتورة الصادرة وفق شروط سابقة فتحتفظ بتاريخها الخاص.
- اعتمد على `status` والمبالغ في تحديد ما تم سداده. `confirmed_at` هو آخر تحويل مؤكد، بما في ذلك الدفعة الجزئية، و`closed_at` يكون null للفاتورة المدفوعة.## الأخطاء| HTTP | `code` | المعنى |
| - | - | - |
| 404 | `top_up_not_found` | لا توجد فاتورة شحن رصيد تابعة لمؤسستك بهذا المعرّف. |
| 404 | `billing_not_available` | الفوترة غير متاحة لمؤسستك بعد. |


## OpenAPI

````yaml ar/openapi-25.json GET /v3/billing/top-up-invoices/{top_up_id}/
openapi: 3.0.0
info:
  version: 3.0.0
  title: Didit Verification API
  description: واجهة برمجة تطبيقات التحقق من الهوية. صادِق باستخدام الترويسة x-api-key.
servers:
  - url: https://verification.didit.me
security: []
tags:
  - name: Bank Data
    description: >-
      Bank Link، والاتصالات والحسابات والأرصدة والمعاملات والمؤسسات والتغطية.
      القراءات لمرة واحدة من البنوك الحقيقية متاحة لتطبيقات الإنتاج. الوصول
      المستمر إلى البنوك الحقيقية غير متاح بعد لتطبيقات الإنتاج، وهو متاح
      لتطبيقات البيئة التجريبية مع Didit Test Bank، ويُفتح دولةً بعد دولة. لا
      تُحتسب أي رسوم في البيئة التجريبية. يحتاج الاستدعاء الذي يتم بمفتاح API
      إلى مفتاح يمكنه الوصول إلى بيانات البنك: المفتاح ذو الوصول الكامل يمكنه
      ذلك، أما المفتاح ذو النطاق المحدد فيحتاج إلى `bank-data` في نطاقاته (read
      للقراءات، وwrite للعمليات التي تغيّر شيئاً). يُرفض المفتاح ذو النطاق
      المحدد الذي لا يملك هذا النطاق، ويعيد الاستدعاء استجابة `403
      bank_data_access_denied`. فحص الحساب استثناء: يحتاج إلى صلاحية الكتابة على
      الجلسات، أو إلى الوصول الكامل، وليس نطاق بيانات البنك. كما أن البيانات
      الخام للبنك (الحسابات والأرصدة والمعاملات وقناة التغييرات) ترفض أيضاً
      الطلب الذي لا يحمل مفتاح API.


      كل رفض تحت `/v3/bank/` باستثناء رفض فحص الحساب له نفس جسم JSON (`code`
      و`message` و`request_id` و`field` و`next_action` و`retry_after`). يعيد
      المسار الذي ليس عملية، أو المعرّف الذي ليس UUID، أو المورد الفرعي غير
      المعروف، استجابة `404 not_found` لكل الطرق، ويعيد أي خطأ غير متوقع استجابة
      `500 internal_error` مع `request_id`. وعندما لا تكون بيانات البنك متاحة،
      تعيد كل عملية الخطأ القياسي `404` للمنصة، تماماً كما يعيد المسار غير
      المعروف.
paths:
  /v3/billing/top-up-invoices/{top_up_id}/:
    get:
      tags:
        - Billing
      summary: الحصول على فاتورة شحن رصيد
      description: >-
        اقرأ إحدى فواتير شحن الرصيد الخاصة بالمؤسسة: حالتها في `status`، والمبلغ
        الذي وصل في `amount_received`، والمبلغ الذي أُضيف إلى الرصيد في
        `amount_credited`، والمبلغ المتبقي للإرسال في `amount_open`، وما دامت
        الفاتورة تقبل تحويلًا، فـ `bank_details`. اعتمد على `status` والمبالغ لا
        على الطوابع الزمنية، وتوقف عن متابعة الفاتورة بمجرد أن تصبح `status` إما
        `paid` أو `expired` أو `cancelled` أو `failed`.
      operationId: billing_top_up_invoices_retrieve
      parameters:
        - name: top_up_id
          in: path
          required: true
          description: '`id` الخاص بالفاتورة، من `POST /v3/billing/top-up-invoices/`.'
          schema:
            type: string
            format: uuid
      responses:
        '200':
          description: الفاتورة بحالتها الحالية.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BillingTopUpInvoice'
              examples:
                Open:
                  value:
                    id: 9a4f2c1e-7b3d-4e8a-a1c5-6f0d2b9e8c47
                    lane: bank_transfer
                    status: open
                    credit_amount: '5000.00'
                    total: '5000.00'
                    tax: '0.00'
                    currency: usd
                    amount_received: '0.00'
                    amount_credited: '0.00'
                    amount_open: '5000.00'
                    presented: null
                    method:
                      type: customer_balance
                      name: Bank transfer
                    invoice_number: 7F3A2C1B-0012
                    hosted_invoice_url: https://invoice.example.com/i/7F3A2C1B-0012
                    invoice_pdf: https://invoice.example.com/i/7F3A2C1B-0012/pdf
                    po_number: PO-88213
                    due_at: '2027-01-14T10:00:00Z'
                    confirmed_at: null
                    closed_at: null
                    failure_reason: null
                    created_at: '2026-11-30T10:00:00Z'
                    bank_details:
                      currency: USD
                      amount_due: '5000.00'
                      account_holder_name: Didit
                      bank_name: Example Bank, N.A.
                      account_number: '000123456789'
                      routing_number: '000000000'
                      swift_code: EXAMUS33XXX
                      reference: 7F3A2C1B-0012
                Part paid:
                  value:
                    id: 9a4f2c1e-7b3d-4e8a-a1c5-6f0d2b9e8c47
                    lane: bank_transfer
                    status: part_paid
                    credit_amount: '1000.00'
                    total: '1100.00'
                    tax: '100.00'
                    currency: usd
                    amount_received: '550.00'
                    amount_credited: '500.00'
                    amount_open: '550.00'
                    presented: null
                    method:
                      type: customer_balance
                      name: Bank transfer
                    invoice_number: 7F3A2C1B-0012
                    hosted_invoice_url: https://invoice.example.com/i/7F3A2C1B-0012
                    invoice_pdf: https://invoice.example.com/i/7F3A2C1B-0012/pdf
                    po_number: null
                    due_at: '2027-01-14T10:00:00Z'
                    confirmed_at: '2026-12-04T09:12:00Z'
                    closed_at: null
                    failure_reason: null
                    created_at: '2026-11-30T10:00:00Z'
                    bank_details:
                      currency: USD
                      amount_due: '550.00'
                      account_holder_name: Didit
                      bank_name: Example Bank, N.A.
                      account_number: '000123456789'
                      routing_number: '000000000'
                      swift_code: EXAMUS33XXX
                      reference: 7F3A2C1B-0012
        '401':
          description: >-
            انتهت صلاحية مفتاح API أو رمز الوصول الخاص بالتطبيق، أو أُلغي:
            استبدل بيانات الاعتماد.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TopUpInvoiceDetailError'
              examples:
                Expired key:
                  value:
                    detail: This API key has expired.
        '403':
          description: >-
            لم يُرسل أي بيانات اعتماد، أو أن بيانات الاعتماد لا تستطيع استخدام
            فواتير شحن الرصيد لهذه المؤسسة.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TopUpInvoiceDetailError'
              examples:
                No credential:
                  value:
                    detail: Authentication credentials were not provided.
        '404':
          description: >-
            `top_up_not_found`: لا توجد فاتورة شحن رصيد لهذه المؤسسة بهذا
            المعرّف. `billing_not_available`: الفوترة غير متاحة لهذه المؤسسة حتى
            الآن.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TopUpInvoiceError'
              examples:
                Not found:
                  value:
                    code: top_up_not_found
                    detail: Top-up not found.
        '429':
          description: >-
            تجاوز حد المعدل؛ تراجع وأعد المحاولة بعد الفترة المذكورة في
            `Retry-After`.
          content:
            application/json:
              examples:
                Throttled:
                  value:
                    detail: >-
                      GET request rate limit exceeded. You can make up to 600
                      requests per minute.
                    reference: RL-00000000000040008000000000000001
                    limit: 600
                    remaining: 0
                    reset: 1794358860
                    window_seconds: 60
              schema:
                $ref: '#/components/schemas/RateLimitBudgetError'
          headers:
            Retry-After:
              $ref: '#/components/headers/BudgetRetryAfter'
            X-RateLimit-Scope:
              $ref: '#/components/headers/BudgetXRateLimitScope'
            X-RateLimit-Limit:
              $ref: '#/components/headers/BudgetXRateLimitLimit'
            X-RateLimit-Remaining:
              $ref: '#/components/headers/BudgetXRateLimitRemaining'
            X-RateLimit-Reset:
              $ref: '#/components/headers/BudgetXRateLimitReset'
      security:
        - ApiKeyAuth: []
        - BearerAuth: []
      x-codeSamples:
        - lang: curl
          label: curl
          source: >-
            curl
            'https://verification.didit.me/v3/billing/top-up-invoices/9a4f2c1e-7b3d-4e8a-a1c5-6f0d2b9e8c47/'
            \
              -H 'x-api-key: YOUR_API_KEY'
components:
  schemas:
    BillingTopUpInvoice:
      type: object
      description: >-
        فاتورة شحن رصيد يتم دفعها بتحويل بنكي: الفاتورة نفسها التي تصدرها نافذة
        شحن الرصيد في وحدة التحكم. اقرأ `status` والمبالغ لمعرفة وضعها؛ أما
        الطوابع الزمنية فتسجل الأحداث فقط.
      required:
        - id
        - lane
        - status
        - credit_amount
        - total
        - tax
        - currency
        - amount_received
        - amount_credited
        - amount_open
        - created_at
      properties:
        id:
          type: string
          format: uuid
          description: >-
            معرّف الفاتورة: اقرأه مجددًا باستخدام `GET
            /v3/billing/top-up-invoices/{top_up_id}/`.
        lane:
          type: string
          enum:
            - bank_transfer
          description: دائماً `bank_transfer`.
        status:
          type: string
          enum:
            - open
            - part_paid
            - paid
            - expired
            - cancelled
            - failed
          description: >-
            `open`: في انتظار التحويل. `part_paid`: وصل جزء من `total` وأُضيفت
            حصته من الرصيد؛ أرسل `amount_open` مع المرجع نفسه قبل `due_at`.
            `paid`: وصل `total` وأُضيف `credit_amount`. `expired`: انقضى
            `due_at` قبل وصول كامل `total`؛ يبقى ما وصل مضافاً، وأي تحويل يصل
            لاحقاً مع المرجع يُضاف بقدر ما يسدده. `cancelled`: ألغاها شخص من
            لوحة التحكم قبل وصول أي مبلغ (لا يمكن إلغاء الفاتورة بعد وصول
            الأموال). `failed`: تعذّر إصدار الفاتورة، ولم يصدر أي شيء.
        credit_amount:
          type: string
          description: >-
            ما يُضاف إلى الرصيد عند سداد `total` بالكامل، بالدولار الأمريكي، قبل
            الضريبة.
          example: '5000.00'
        total:
          type: string
          description: >-
            ما تطلبه الفاتورة، بالدولار الأمريكي، شاملًا الضريبة. وقد يكون أعلى
            من `credit_amount`.
          example: '5000.00'
        tax:
          type: string
          description: >-
            الضريبة على الفاتورة، بالدولار الأمريكي. تكون `0.00` عندما لا تنطبق
            أي ضريبة.
          example: '5000.00'
        currency:
          type: string
          enum:
            - usd
          description: دائماً `usd`.
        amount_received:
          type: string
          description: ما وصل حتى الآن، بالدولار الأمريكي.
          example: '5000.00'
        amount_credited:
          type: string
          description: >-
            ما أُضيف إلى الرصيد حتى الآن، بالدولار الأمريكي. يُضيف الدفع الجزئي
            رصيدًا بنسبة ما يسدّده من `total`: فسداد 550.00 من فاتورة قيمتها
            1,100.00 مقابل رصيد قدره 1,000.00 يضيف 500.00.
          example: '5000.00'
        amount_open:
          type: string
          description: >-
            ما يتبقى إرساله، بالدولار الأمريكي، طالما كانت `status` إما `open`
            أو `part_paid`: حوّل هذا المبلغ بالضبط، مع `invoice_number` مرجعًا.
            تجاهله بعد إغلاق الفاتورة.
          example: '5000.00'
        presented:
          type: object
          nullable: true
          description: دائماً null لفاتورة شحن الرصيد.
          properties:
            amount:
              type: string
            currency:
              type: string
        method:
          type: object
          nullable: true
          description: طريقة الدفع، كما يسمّيها سجل الفوترة.
          properties:
            type:
              type: string
              example: customer_balance
            name:
              type: string
              example: Bank transfer
        invoice_number:
          type: string
          nullable: true
          description: >-
            رقم الفاتورة. أدرجه في التحويل مرجعًا، فالتحويل الذي لا يتضمنه لا
            يمكن مطابقته بالفاتورة.
        hosted_invoice_url:
          type: string
          format: uri
          nullable: true
          description: صفحة الفاتورة، وتتضمن بيانات الحساب المصرفي.
        invoice_pdf:
          type: string
          format: uri
          nullable: true
          description: الفاتورة بصيغة PDF.
        po_number:
          type: string
          nullable: true
          description: رقم أمر الشراء المطبوع على الفاتورة، إن أُرسل.
        due_at:
          type: string
          format: date-time
          nullable: true
          description: >-
            تاريخ الاستحقاق المذكور في الفاتورة: استخدم هذه القيمة، ولا تحسبها
            بأي معادلة أبدًا. تستحق الفواتير الجديدة بعد 45 يومًا من تاريخ
            إصدارها، أما الفاتورة الصادرة بشروط سابقة فتحتفظ بالتاريخ الذي صدرت
            به. إذا لم يصل `total` كاملًا بحلول ذلك التاريخ، تصبح الحالة
            `expired`، أما الفاتورة المدفوعة فتبقى `paid`.
        confirmed_at:
          type: string
          format: date-time
          nullable: true
          description: >-
            وقت تأكيد آخر تحويل، بما فيه الدفع الجزئي. وهذا لا يعني أن الفاتورة
            مسوّاة، فاقرأ `status` و`amount_open`.
        closed_at:
          type: string
          format: date-time
          nullable: true
          description: >-
            وقت فشل الفاتورة أو انتهائها أو إلغائها. تكون القيمة فارغة (null)
            للفاتورة المفتوحة أو المدفوعة جزئيًا أو المدفوعة.
        failure_reason:
          type: string
          nullable: true
          description: سبب الفشل أو انتهاء الصلاحية، ومتى حدث ذلك.
        created_at:
          type: string
          format: date-time
          description: متى صدر.
        bank_details:
          type: object
          nullable: true
          description: >-
            وجهة إرسال الأموال، طالما تقبل الفاتورة التحويلات (`open` أو
            `part_paid`). تكون القيمة null بعد إغلاق الفاتورة، وكذلك عندما يتعذر
            قراءة بيانات الحساب البنكي في الوقت الحالي، وفي هذه الحالة استخدم
            `hosted_invoice_url` الذي يعرضها أيضاً. لا يُدرج هذا الحقل ضمن
            `open_invoice` في حالة الخطأ.
          required:
            - currency
            - amount_due
            - account_holder_name
            - bank_name
            - account_number
            - routing_number
            - swift_code
            - reference
          properties:
            currency:
              type: string
              description: دائماً `USD`.
            amount_due:
              type: string
              description: ما يجب إرساله، بالدولار الأمريكي، وهو نفس `amount_open`.
            account_holder_name:
              type: string
              description: الحساب الذي تُرسل إليه الأموال.
            bank_name:
              type: string
              description: البنك المستلِم.
            account_number:
              type: string
              description: رقم الحساب المستلِم.
            routing_number:
              type: string
              description: لتحويلات ACH والتحويلات البنكية الأمريكية (wire).
            swift_code:
              type: string
              description: للتحويلات الدولية.
            reference:
              type: string
              description: رقم الفاتورة. يجب أن يُذكر في التحويل.
    TopUpInvoiceDetailError:
      type: object
      description: >-
        رفض يحتوي على `detail` فقط: بيانات اعتماد منتهية الصلاحية أو ملغاة
        (401)، أو مفتاح مفقود أو إذن لا تملكه بيانات الاعتماد (403)، أو نص ليس
        JSON صالحاً (400).
      required:
        - detail
      additionalProperties: false
      properties:
        detail:
          type: string
          description: شرح مقروء للإنسان.
    TopUpInvoiceError:
      type: object
      description: نص الخطأ لطلب فاتورة شحن رصيد.
      required:
        - code
        - detail
      properties:
        code:
          type: string
          enum:
            - idempotency_key_required
            - billing_details_required
            - top_up_invoice_open
            - idempotency_key_conflict
            - top_up_not_allowed
            - top_up_not_completed
            - billing_customer_missing
            - billing_not_available
            - top_up_not_found
            - payment_provider_error
          description: رمز خطأ ثابت.
        detail:
          type: string
          description: شرح مقروء للإنسان.
        missing:
          type: array
          items:
            type: string
          description: >-
            في حالة `billing_details_required`: تفاصيل الفوترة التي لا يزال
            يتعين حفظها، مثل `legal_name` أو `address.line1`.
        open_invoice:
          description: >-
            في حالة `top_up_invoice_open`: الفاتورة المفتوحة أو المدفوعة جزئيًا،
            دون `bank_details` (اقرأها للحصول عليها). تكون القيمة فارغة (null)
            إذا أُغلقت قبل كتابة الإجابة، وعندها أنشئ الفاتورة من جديد.
          oneOf:
            - $ref: '#/components/schemas/BillingTopUpInvoice'
            - $ref: '#/components/schemas/TopUpInvoiceNoOpenInvoice'
    RateLimitBudgetError:
      type: object
      description: >-
        تُرجع فقط عند رفض ميزانية وسيط تحديد المعدل. أخطاء 429 الأخرى، بما في
        ذلك تعارضات idempotency والحدود الخاصة بنقطة النهاية، لا تضمن هذه الحقول
        الوصفية.
      required:
        - detail
        - reference
        - limit
        - remaining
        - reset
        - window_seconds
      properties:
        detail:
          type: string
          description: رسالة رفض الميزانية الحالية المقروءة للإنسان.
        reference:
          type: string
          pattern: ^RL-[0-9a-f]{32}$
          description: >-
            مرجع الدعم المعتم: RL- متبوعة بـ 32 حرفًا سداسيًا عشريًا صغيرًا من
            UUID.
        limit:
          type: integer
          description: الميزانية للنطاق الذي تجاوز الحد؛ تساوي X-RateLimit-Limit.
        remaining:
          type: integer
          minimum: 0
          description: >-
            الميزانية المتبقية، محدودة بحيث لا تقل عن الصفر؛ تساوي
            X-RateLimit-Remaining.
        reset:
          type: integer
          format: int64
          description: >-
            وقت إعادة تعيين النافذة بالثواني منذ حقبة Unix، ويساوي
            X-RateLimit-Reset.
        window_seconds:
          type: integer
          description: >-
            مدة النافذة الثابتة بالثواني، وليست الفترة المتبقية للانتظار. يجب
            احترام Retry-After قبل إعادة المحاولة.
      example:
        detail: >-
          Write request rate limit exceeded. You can make up to 300 requests per
          minute.
        reference: RL-00000000000040008000000000000001
        limit: 300
        remaining: 0
        reset: 1794358860
        window_seconds: 60
    TopUpInvoiceNoOpenInvoice:
      description: 'لا توجد فاتورة: أُغلقت الفاتورة المفتوحة قبل كتابة الإجابة.'
      enum:
        - null
      nullable: true
  headers:
    BudgetRetryAfter:
      description: >-
        عدد الثواني للانتظار، مقرّباً إلى أعلى حتى بداية النافذة التالية. يظهر
        في حالات رفض ميزانية الوسيط.
      schema:
        type: integer
    BudgetXRateLimitScope:
      description: النطاق الذي تجاوز ميزانيته. يظهر في حالات رفض ميزانية الوسيط.
      schema:
        type: string
    BudgetXRateLimitLimit:
      description: >-
        الميزانية المخصصة للنطاق الذي تم تجاوزه؛ وتساوي حد جسم الطلب. تظهر في
        حالات الرفض الصادرة عن ميزانية البرمجية الوسيطة.
      schema:
        type: integer
    BudgetXRateLimitRemaining:
      description: >-
        الميزانية المتبقية، محدودة بحيث لا تقل عن الصفر؛ تساوي remaining في
        الجسم. تظهر في حالات رفض الميزانية من الوسيط.
      schema:
        type: integer
    BudgetXRateLimitReset:
      description: >-
        وقت إعادة التعيين بالثواني منذ حقبة Unix؛ يساوي قيمة reset في جسم
        الاستجابة. يظهر في حالات رفض ميزانية الوسيط.
      schema:
        type: integer
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: x-api-key
      description: >-
        مفتاح API الخاص بتطبيقك، ويمكن الحصول عليه من Developers -> API keys في
        Business Console. يملك المفتاح الأساسي صلاحية وصول كاملة. يمكن تقييد
        المفتاح المسمّى: بلا صلاحية، أو قراءة، أو كتابة لكل مورد، ويمكن قصره على
        بعض سير العمل أو على الجلسات المعتمدة، وعلى قائمة من عناوين IP، وعلى
        تاريخ انتهاء. يعني الرمز 401 أن المفتاح غير صحيح أو ملغى أو منتهي
        الصلاحية. ويعني الرمز 403 أنه لم يُرسل أي مفتاح، أو أن المفتاح لا يملك
        صلاحية لهذا المورد أو الإجراء، أو أن الطلب صدر من عنوان خارج قائمة IP
        الخاصة به. ويعني الرمز 404 على مسار جلسة أن الجلسة خارج سير عمل المفتاح
        أو حالاته المسموح بها. يتلقى المفتاح الذي لا يملك وصولًا إلى الوسائط
        عناوين URL للصور والفيديو وملفات PDF بقيمة null، ويتلقى المفتاح الذي لا
        يملك صلاحية كتابة الجلسات روابط الجلسات والرموز بقيمة null. راجع
        https://docs.didit.me/console/api-keys.
    BearerAuth:
      type: http
      scheme: bearer
      description: رمز الوصول الخاص بالتطبيق، المستند إلى بيانات اعتماد العميل.

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.