تحويل أحداث الاستخدام الخام إلى كميات قابلة للفوترة مع التجميع والتصفية.
تحوّل العدادات الأحداث الأولية إلى كميات قابلة للفوترة. وهي تعمل على تصفية الأحداث وتطبيق دوال التجميع (Count وSum وMax وLast) لحساب الاستخدام لكل عميل.
تسمية الوحدة المستخدمة في الفواتير والتقارير. أمثلة: calls وtokens وGB وhours.
3
Filtering (Optional)
أضف شروطاً لتصفية الأحداث التي يتم احتسابها:
منطق AND: يجب أن تتطابق جميع الشروط
منطق OR: يمكن أن تتطابق أي شرط
عوامل المقارنة المتاحة: يساوي، لا يساوي، أكبر من، أكبر من أو يساوي، أقل من، أقل من أو يساوي، يتضمن، لا يتضمن.فعّل التصفية، واختر المنطق الذي تريده، ثم أضف الشروط باستخدام مفتاح خاصية وعامل مقارنة وقيمة.
بشكل افتراضي، تفرض العدادات رسومًا على العملاء لكل وحدة بالدولار (أو بالعملة التي ضبطتها). ويمكنك بدلًا من ذلك إعداد العداد للخصم من رصيد ائتمان العميل، بحيث يستهلك الاستخدام أرصدة بدلًا من إنشاء رسم مالي.
يتطلب الخصم المستند إلى الائتمان وجود Credit Entitlement مرتبط بالمنتج نفسه. أنشئ استحقاق الائتمان أولًا، ثم اربطه بالعداد.
أنشئ أولًا استحقاق ائتمان في Products → Credits. حدّد الوحدة (مثل “API Calls” و”Tokens”) والدقة وإعدادات دورة الحياة (تاريخ الانتهاء والترحيل وتجاوز الحد).اطّلع على دليل الفوترة المستندة إلى الاعتمادات للحصول على تعليمات مفصلة.
2
Create or Edit a Usage-Based Product
اذهب إلى منتجك المستند إلى الاستخدام وافتح قسم تكوين Meter.
3
Add a Meter
انقر على زر + لإرفاق عداد. قم بتكوين اسم الحدث، نوع التجميع، ووحدة القياس كالمعتاد.
4
Enable 'Bill Usage in Credits'
فعّل Bill usage in Credits في إعدادات العداد لإظهار إعدادات الائتمان:
Toggle 'Bill usage in Credits' to switch from currency-based to credit-based deduction.
عدد وحدات الاستخدام المطلوبة لخصم اعتماد واحد. على سبيل المثال:
1 = كل حدث عداد يخصم اعتمادًا واحدًا
100 = 100 حدث عداد يخصمان اعتمادًا واحدًا
1000 = 1,000 مكالمة API تستهلك اعتمادًا واحدًا
5
Free Threshold and Credits
ينطبق Free Threshold على العدادات التي تتم فوترتها بالمال، وليس على العدادات التي تتم فوترتها بالأرصدة. عندما تتم فوترة العداد بالأرصدة، تُحتسب كل وحدة ضمن خصم الائتمان.مثال: مع ضبط meter-units-per-credit على 1، يُخصم من العميل الذي يجري 2,500 مكالمة API عدد 2,500 رصيد.
معالجة العامل في الخلفية — يجلب عامل كل دقيقة الأحداث الجديدة منذ آخر نقطة تحقق.
خصم الأرصدة — يُحوّل الاستخدام المُجمّع إلى أرصدة باستخدام معدل meter_units_per_credit، ثم يُخصم بترتيب FIFO (استهلاك المنح التي ينتهي أجلها أولًا).
تتبّع التجاوز — إذا وصل الرصيد إلى الصفر، يُسجّل الاستخدام اللاحق كتجاوز ويُعالج وفقًا للسلوك المُعدّ (إعفاؤه عند إعادة الضبط، أو فوترته في الفاتورة التالية، أو ترحيله كعجز). لا تحظر Dodo Payments الاستخدام عند نفاد الرصيد. ولإيقاف الوصول عند الوصول إلى الصفر، تحقّق من الرصيد في تطبيقك.
يُنفّذ خصم الائتمان بشكل غير متزامن (كل دقيقة تقريبًا). وقد يحدث تأخير قصير بين استيعاب الحدث وخصم الرصيد. صمّم تطبيقك للتعامل مع هذا التأخير، ولا تعتمد على عمليات التحقق من الرصيد في الوقت الفعلي للتحكم في الوصول إلى الطلبات الفردية.
يمكنك ربط عدة عدادات باستحقاق الائتمان نفسه ضمن المنتج نفسه. وتخصم جميع العدادات من رصيد مشترك واحد.مثال: منصة ذكاء اصطناعي تضم عدادين:
text.generation — رصيد واحد لكل 1,000 رمز مميز
image.generation — 10 أرصدة لكل صورة
كلاهما يخصم من نفس تجمع “اعتمادات الذكاء الاصطناعي”. يرى العميل رصيدًا موحدًا واحدًا في بوابته.
استخدم معدلات meter_units_per_credit مختلفة عبر العدادات للتعبير عن التكاليف النسبية. العمليات المكلفة (توليد الصور) تستهلك وحدات عداد أقل لكل اعتماد من العمليات الرخيصة (استكمال النص).
List Customer Ledger
اطّلع على السجل الكامل لخصم الاعتمادات لعميل.
Get Customer Balance
تحقق من رصيد الاعتمادات الحالي لعميل عبر واجهة برمجة التطبيقات.
ابدأ في إرسال أحداث الاستخدام من تطبيقك إلى عداداتك.
View Blueprints
استخدم تكوينات عدادات جاهزة لحالات الاستخدام الشائعة.
آخر تعديل في ٢٦ سبتمبر ٢٠٢٦
هل كانت هذه الصفحة مفيدة؟
⌘I
{"docsConfig":{"theme":"maple","$schema":"https://mintlify.com/docs.json","name":"Dodo Payments Documentation","description":"Documentation for Dodo Payments — the all-in-one payments, billing, and merchant of record platform for SaaS, AI, and digital products.","colors":{"primary":"#779812","light":"#C6FE1E","dark":"#166534"},"logo":{"light":"https://mintcdn.com/dodopayments/nM_mJfYkri-OpC5M/logo/light.svg?fit=max\u0026auto=format\u0026n=nM_mJfYkri-OpC5M\u0026q=85\u0026s=23f7a052f7ecb9d6570b7c95ee359a97","dark":"https://mintcdn.com/dodopayments/nM_mJfYkri-OpC5M/logo/dark.svg?fit=max\u0026auto=format\u0026n=nM_mJfYkri-OpC5M\u0026q=85\u0026s=cd6c20238a54526436f21c43fee51b26"},"favicon":"https://mintcdn.com/dodopayments/doYQc9oUE-WNz0cs/favicon.svg?fit=max\u0026auto=format\u0026n=doYQc9oUE-WNz0cs\u0026q=85\u0026s=271c6cc8ce7d6bf4d7f2b9cca029e004","background":{"color":{"light":"#FFFFFF","dark":"#0D0D0D"}},"navbar":{"links":[{"icon":"link","href":"https://docs.dodopayments.com/llms-full.txt","label":"llms-full.txt"},{"icon":"discord","href":"https://discord.gg/bYqAp4ayYh","label":"Community"},{"icon":"house","href":"https://app.dodopayments.com/","label":"Dashboard"}]},"footer":{"socials":{"x":"https://x.com/dodopayments","linkedin":"https://linkedin.com/company/dodopayments","website":"https://dodopayments.com","discord":"https://discord.gg/bYqAp4ayYh","github":"https://github.com/dodopayments","instagram":"https://www.instagram.com/dodo.payments","facebook":"https://www.facebook.com/profile.php?id=61565515607280"}},"seo":{"metatags":{"og:site_name":"Dodo Payments Documentation","twitter:card":"summary_large_image"},"indexing":"navigable"},"fonts":{"heading":{"family":"ApfelGrotezk","weight":400,"source":"fonts/ApfelGrotezk-Regular.woff2","format":"woff2"},"body":{"family":"Inter","weight":400,"source":"fonts/Inter-Variable.woff2","format":"woff2"}},"contextual":{"options":["copy","view","chatgpt","claude","perplexity","cursor"],"display":"header"},"metadata":{"timestamp":true},"styling":{"latex":true},"navigation":{"languages":[{"language":"en","href":"introduction"},{"language":"es","href":"es/introduction"},{"language":"ar","href":"ar/introduction"},{"language":"fr","href":"fr/introduction"},{"language":"de","href":"de/introduction"},{"language":"id","href":"id/introduction"},{"language":"ja","href":"ja/introduction"},{"language":"ko","href":"ko/introduction"},{"language":"pt-BR","href":"pt-BR/introduction"},{"language":"vi","href":"vi/introduction"},{"language":"cn","href":"cn/introduction"},{"language":"hi","href":"hi/introduction"},{"language":"it","href":"it/introduction"},{"language":"sv","href":"sv/introduction"}]}},"deployment":{"deploymentMetadataValue":{"subdomain":"dodopayments","hasAudioNarration":false,"actualSubdomain":"dodopayments","customDomains":["docs.dodopayments.com"],"gitSource":{"type":"github","owner":"dodopayments","repo":"dodo-docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"chroma":{"liveDeploymentHistoryId":"6ae2f30efa2de0cee84fe45c","collectionId":"cf3f41c9-9b48-4aa9-a97a-56d5cd2f4911","schemaVersion":"v3","latestBuiltDeploymentHistoryId":"6ae2f30efa2de0cee84fe45c"},"feedback":{"thumbs":true,"edits":false,"issues":false},"entitlements":{"AI_CHAT":{"status":"ENABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"ENABLED"}},"buildId":"6ae2f30efa2de0cee84fe45c","clientVersion":"0.0.4006","searchFilterCounts":[{"language":"en","tag":"Docs","count":170},{"language":"en","tag":"API Reference","count":163},{"language":"ar","tag":"Docs","count":153},{"language":"cn","tag":"Docs","count":153},{"language":"de","tag":"Docs","count":153},{"language":"es","tag":"Docs","count":153},{"language":"fr","tag":"Docs","count":153},{"language":"hi","tag":"Docs","count":153},{"language":"id","tag":"Docs","count":153},{"language":"it","tag":"Docs","count":153},{"language":"ja","tag":"Docs","count":153},{"language":"ko","tag":"Docs","count":153},{"language":"pt-BR","tag":"Docs","count":153},{"language":"sv","tag":"Docs","count":153},{"language":"vi","tag":"Docs","count":153},{"language":"ar","tag":"API Reference","count":151},{"language":"cn","tag":"API Reference","count":151},{"language":"de","tag":"API Reference","count":151},{"language":"es","tag":"API Reference","count":151},{"language":"fr","tag":"API Reference","count":151},{"language":"hi","tag":"API Reference","count":151},{"language":"id","tag":"API Reference","count":151},{"language":"it","tag":"API Reference","count":151},{"language":"ja","tag":"API Reference","count":151},{"language":"ko","tag":"API Reference","count":151},{"language":"pt-BR","tag":"API Reference","count":151},{"language":"sv","tag":"API Reference","count":151},{"language":"vi","tag":"API Reference","count":151},{"language":"en","tag":"Features","count":81},{"language":"ar","tag":"Features","count":81},{"language":"cn","tag":"Features","count":81},{"language":"de","tag":"Features","count":81},{"language":"es","tag":"Features","count":81},{"language":"fr","tag":"Features","count":81},{"language":"hi","tag":"Features","count":81},{"language":"id","tag":"Features","count":81},{"language":"it","tag":"Features","count":81},{"language":"ja","tag":"Features","count":81},{"language":"ko","tag":"Features","count":81},{"language":"pt-BR","tag":"Features","count":81},{"language":"sv","tag":"Features","count":81},{"language":"vi","tag":"Features","count":81},{"language":"en","tag":"Integrate","count":73},{"language":"en","tag":"Changelog","count":65},{"language":"ar","tag":"Changelog","count":65},{"language":"cn","tag":"Changelog","count":65},{"language":"de","tag":"Changelog","count":65},{"language":"es","tag":"Changelog","count":65},{"language":"fr","tag":"Changelog","count":65},{"language":"hi","tag":"Changelog","count":65},{"language":"id","tag":"Changelog","count":65},{"language":"it","tag":"Changelog","count":65},{"language":"ja","tag":"Changelog","count":65},{"language":"ko","tag":"Changelog","count":65},{"language":"pt-BR","tag":"Changelog","count":65},{"language":"sv","tag":"Changelog","count":65},{"language":"vi","tag":"Changelog","count":65},{"language":"ar","tag":"Integrate","count":59},{"language":"cn","tag":"Integrate","count":59},{"language":"de","tag":"Integrate","count":59},{"language":"es","tag":"Integrate","count":59},{"language":"fr","tag":"Integrate","count":59},{"language":"hi","tag":"Integrate","count":59},{"language":"id","tag":"Integrate","count":59},{"language":"it","tag":"Integrate","count":59},{"language":"ja","tag":"Integrate","count":59},{"language":"ko","tag":"Integrate","count":59},{"language":"pt-BR","tag":"Integrate","count":59},{"language":"sv","tag":"Integrate","count":59},{"language":"vi","tag":"Integrate","count":59},{"language":"en","tag":"External Integrations","count":32},{"language":"ar","tag":"External Integrations","count":30},{"language":"cn","tag":"External Integrations","count":30},{"language":"de","tag":"External Integrations","count":30},{"language":"es","tag":"External Integrations","count":30},{"language":"fr","tag":"External Integrations","count":30},{"language":"hi","tag":"External Integrations","count":30},{"language":"id","tag":"External Integrations","count":30},{"language":"it","tag":"External Integrations","count":30},{"language":"ja","tag":"External Integrations","count":30},{"language":"ko","tag":"External Integrations","count":30},{"language":"pt-BR","tag":"External Integrations","count":30},{"language":"sv","tag":"External Integrations","count":30},{"language":"vi","tag":"External Integrations","count":30},{"language":"en","tag":"Webhooks","count":23},{"language":"ar","tag":"Webhooks","count":23},{"language":"cn","tag":"Webhooks","count":23},{"language":"de","tag":"Webhooks","count":23},{"language":"es","tag":"Webhooks","count":23},{"language":"fr","tag":"Webhooks","count":23},{"language":"hi","tag":"Webhooks","count":23},{"language":"id","tag":"Webhooks","count":23},{"language":"it","tag":"Webhooks","count":23},{"language":"ja","tag":"Webhooks","count":23},{"language":"ko","tag":"Webhooks","count":23},{"language":"pt-BR","tag":"Webhooks","count":23},{"language":"sv","tag":"Webhooks","count":23},{"language":"vi","tag":"Webhooks","count":23},{"language":"en","tag":"Guides","count":22},{"language":"ar","tag":"Guides","count":22},{"language":"cn","tag":"Guides","count":22},{"language":"de","tag":"Guides","count":22},{"language":"es","tag":"Guides","count":22},{"language":"fr","tag":"Guides","count":22},{"language":"hi","tag":"Guides","count":22},{"language":"id","tag":"Guides","count":22},{"language":"it","tag":"Guides","count":22},{"language":"ja","tag":"Guides","count":22},{"language":"ko","tag":"Guides","count":22},{"language":"pt-BR","tag":"Guides","count":22},{"language":"sv","tag":"Guides","count":22},{"language":"vi","tag":"Guides","count":22},{"language":"en","tag":"Entitlements","count":20},{"language":"ar","tag":"Entitlements","count":20},{"language":"cn","tag":"Entitlements","count":20},{"language":"de","tag":"Entitlements","count":20},{"language":"es","tag":"Entitlements","count":20},{"language":"fr","tag":"Entitlements","count":20},{"language":"hi","tag":"Entitlements","count":20},{"language":"id","tag":"Entitlements","count":20},{"language":"it","tag":"Entitlements","count":20},{"language":"ja","tag":"Entitlements","count":20},{"language":"ko","tag":"Entitlements","count":20},{"language":"pt-BR","tag":"Entitlements","count":20},{"language":"sv","tag":"Entitlements","count":20},{"language":"vi","tag":"Entitlements","count":20},{"language":"en","tag":"Customers","count":16},{"language":"ar","tag":"Customers","count":16},{"language":"cn","tag":"Customers","count":16},{"language":"de","tag":"Customers","count":16},{"language":"es","tag":"Customers","count":16},{"language":"fr","tag":"Customers","count":16},{"language":"hi","tag":"Customers","count":16},{"language":"id","tag":"Customers","count":16},{"language":"it","tag":"Customers","count":16},{"language":"ja","tag":"Customers","count":16},{"language":"ko","tag":"Customers","count":16},{"language":"pt-BR","tag":"Customers","count":16},{"language":"sv","tag":"Customers","count":16},{"language":"vi","tag":"Customers","count":16}]},"assistantConfig":{"deflection":{"enabled":false,"email":"support@dodopayments.com","showHelpButton":true}},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":true,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"pause-universal-search-reconcile","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"per-site-search-delta","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-private-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"byok-sep-25","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"vite-origin","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-updated-9-15","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[{"filePath":"styles.css","content":"#content-area{max-width:60rem}h1,h2,h3,h4,h5,h6{letter-spacing:.05em!important}.welcome-page .card-group{margin:3rem auto 8rem;max-width:70rem;padding-left:1.25rem;padding-right:1.25rem}.welcome-page .card-group .card{padding:1rem}.welcome-hero{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:20vh;text-align:center;margin-top:3rem;margin-bottom:2.5rem}.welcome-hero h1{font-size:2.5rem;font-weight:700;margin-bottom:1rem;line-height:1.2;color:#fff;color:rgb(41 42 37/1)}.welcome-hero p{font-size:1.25rem;max-width:600px;margin:0 auto;color:rgb(83 85 79/1)}.dark .welcome-hero h1{color:rgb(255 255 255/1)}.dark .welcome-hero p{color:rgb(162 164 158/1)}"}],"page":{"pagePath":"ar/features/usage-based-billing/meters","slug":"/ar/features/usage-based-billing/meters","pageMetadata":{"sidebarTitle":"المقاييس","title":"المقاييس","description":"تحويل أحداث الاستخدام الخام إلى كميات قابلة للفوترة مع التجميع والتصفية.","icon":"sliders","keywords":["Dodo Payments","عدادات الاستخدام","القياس","تتبع الاستهلاك","التجميع"],"href":"/ar/features/usage-based-billing/meters"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"تحويل أحداث الاستخدام الخام إلى كميات قابلة للفوترة مع التجميع والتصفية.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,li:`li`,ol:`ol`,p:`p`,strong:`strong`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,ul:`ul`,..._provideComponents(),...props.components},{Accordion,AccordionGroup,Card,CardGroup,Frame,Heading,Info,Mermaid,OptimizedImage,ParamField,Step,Steps,Table,Tip,Warning}=_components;if(!Accordion)_missingMdxReference(`Accordion`,true);if(!AccordionGroup)_missingMdxReference(`AccordionGroup`,true);if(!Card)_missingMdxReference(`Card`,true);if(!CardGroup)_missingMdxReference(`CardGroup`,true);if(!Frame)_missingMdxReference(`Frame`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Info)_missingMdxReference(`Info`,true);if(!Mermaid)_missingMdxReference(`Mermaid`,true);if(!OptimizedImage)_missingMdxReference(`OptimizedImage`,true);if(!ParamField)_missingMdxReference(`ParamField`,true);if(!Step)_missingMdxReference(`Step`,true);if(!Steps)_missingMdxReference(`Steps`,true);if(!Table)_missingMdxReference(`Table`,true);if(!Tip)_missingMdxReference(`Tip`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsx(_components.p,{children:`تحوّل العدادات الأحداث الأولية إلى كميات قابلة للفوترة. وهي تعمل على تصفية الأحداث وتطبيق دوال التجميع (Count وSum وMax وLast) لحساب الاستخدام لكل عميل.`}),`\n`,_jsx(Frame,{children:_jsx(OptimizedImage,{src:`https://mintcdn.com/dodopayments/w9oVTi6CzZMAOQA3/images/usage-based/UBB-2.png?fit=max\u0026auto=format\u0026n=w9oVTi6CzZMAOQA3\u0026q=85\u0026s=f9d85a463fba231437151db3d4a2052a`,alt:`واجهة إنشاء العداد توضح اسم الحدث، نوع التجميع، وخيارات التصفية`,style:{maxHeight:`500px`,width:`auto`},\"data-og-width\":`2324`,width:`2324`,\"data-og-height\":`1600`,height:`1600`,\"data-path\":`images/usage-based/UBB-2.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/dodopayments/w9oVTi6CzZMAOQA3/images/usage-based/UBB-2.png?w=280\u0026fit=max\u0026auto=format\u0026n=w9oVTi6CzZMAOQA3\u0026q=85\u0026s=18fdbbf75ab4df7ede6c45f6e248b783 280w, https://mintcdn.com/dodopayments/w9oVTi6CzZMAOQA3/images/usage-based/UBB-2.png?w=560\u0026fit=max\u0026auto=format\u0026n=w9oVTi6CzZMAOQA3\u0026q=85\u0026s=e404194a942a1276de7148f9b8eff36d 560w, https://mintcdn.com/dodopayments/w9oVTi6CzZMAOQA3/images/usage-based/UBB-2.png?w=840\u0026fit=max\u0026auto=format\u0026n=w9oVTi6CzZMAOQA3\u0026q=85\u0026s=1bec71463cb2e00acd0841b9968f2b7e 840w, https://mintcdn.com/dodopayments/w9oVTi6CzZMAOQA3/images/usage-based/UBB-2.png?w=1100\u0026fit=max\u0026auto=format\u0026n=w9oVTi6CzZMAOQA3\u0026q=85\u0026s=746ef8eb5f8bb76a355122d8253e9cba 1100w, https://mintcdn.com/dodopayments/w9oVTi6CzZMAOQA3/images/usage-based/UBB-2.png?w=1650\u0026fit=max\u0026auto=format\u0026n=w9oVTi6CzZMAOQA3\u0026q=85\u0026s=8f10a20590e5c9056b9c7f285b827217 1650w, https://mintcdn.com/dodopayments/w9oVTi6CzZMAOQA3/images/usage-based/UBB-2.png?w=2500\u0026fit=max\u0026auto=format\u0026n=w9oVTi6CzZMAOQA3\u0026q=85\u0026s=a503c04b328416b03f7e20dc6c4c0a28 2500w`})}),`\n`,_jsx(Heading,{level:`2`,id:`موارد-api`,children:`موارد API`}),`\n`,_jsx(AccordionGroup,{children:_jsx(Accordion,{title:`View Meter API References`,id:`view-meter-api-references`,children:_jsxs(CardGroup,{cols:2,children:[_jsx(Card,{title:`Create Meter`,icon:`plus`,href:`/api-reference/meters/create-meter`,children:_jsx(_components.p,{children:`قم بإنشاء العدادات برمجيًا عبر واجهة برمجة التطبيقات.`})}),_jsx(Card,{title:`List Meters`,icon:`list`,href:`/api-reference/meters/get-meters`,children:_jsx(_components.p,{children:`استرجع كل العدادات في حسابك.`})}),_jsx(Card,{title:`Get Meter`,icon:`eye`,href:`/api-reference/meters/retrieve-meter`,children:_jsx(_components.p,{children:`احصل على تفاصيل عداد معين بواسطة المعرف.`})}),_jsx(Card,{title:`Archive Meter`,icon:`arrow-rotate-right`,href:`/api-reference/meters/archive-meter`,children:_jsx(_components.p,{children:`أرشف عدادًا لإيقاف تتبُّع الاستخدام.`})}),_jsx(Card,{title:`Unarchive Meter`,icon:`arrow-rotate-left`,href:`/api-reference/meters/unarchive-meter`,children:_jsx(_components.p,{children:`استعد عدادًا مؤرشفًا لاستئناف التتبع.`})})]})})}),`\n`,_jsx(Heading,{level:`2`,id:`إنشاء-مقياس`,children:`إنشاء مقياس`}),`\n`,_jsxs(Steps,{children:[_jsxs(Step,{title:`Basic Information`,children:[_jsx(ParamField,{path:`Meter Name`,type:`string`,required:true,id:`param-meter-name`,children:_jsx(_components.p,{children:`اسم وصفي للعداد (مثل “API Requests” أو “Token Usage”).`})}),_jsx(ParamField,{path:`Event Name`,type:`string`,required:true,id:`param-event-name`,children:_jsxs(_components.p,{children:[`اسم الحدث الدقيق المطلوب مطابقته (مع مراعاة حالة الأحرف). أمثلة: `,_jsx(_components.code,{children:`api.call`}),` و`,_jsx(_components.code,{children:`image.generated`}),`.`]})})]}),_jsxs(Step,{title:`Aggregation`,children:[_jsxs(ParamField,{path:`Aggregation Type`,type:`string`,required:true,id:`param-aggregation-type`,children:[_jsx(_components.p,{children:`اختر كيفية تجميع الأحداث:`}),_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Count`}),`: العدد الإجمالي للأحداث (مكالمات API وعمليات الرفع)`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Sum`}),`: مجموع القيم الرقمية (الرموز المميزة والبايتات)`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Max`}),`: أعلى قيمة خلال الفترة (ذروة عدد المستخدمين)`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Last`}),`: أحدث قيمة`]}),`\n`]})]}),_jsx(ParamField,{path:`Over Property`,type:`string`,id:`param-over-property`,children:_jsxs(_components.p,{children:[`مفتاح البيانات الوصفية المطلوب تجميعه (مطلوب لـ Sum وMax وLast). أمثلة: `,_jsx(_components.code,{children:`tokens`}),` و`,_jsx(_components.code,{children:`bytes`}),` و`,_jsx(_components.code,{children:`duration_ms`}),`.`]})}),_jsx(ParamField,{path:`Measurement Unit`,type:`string`,required:true,id:`param-measurement-unit`,children:_jsxs(_components.p,{children:[`تسمية الوحدة المستخدمة في الفواتير والتقارير. أمثلة: `,_jsx(_components.code,{children:`calls`}),` و`,_jsx(_components.code,{children:`tokens`}),` و`,_jsx(_components.code,{children:`GB`}),` و`,_jsx(_components.code,{children:`hours`}),`.`]})})]}),_jsxs(Step,{title:`Filtering (Optional)`,children:[_jsx(Frame,{children:_jsx(OptimizedImage,{src:`https://mintcdn.com/dodopayments/w9oVTi6CzZMAOQA3/images/usage-based/UBB-3.png?fit=max\u0026auto=format\u0026n=w9oVTi6CzZMAOQA3\u0026q=85\u0026s=ce231b0559d31723bc12c22cd9ff9d64`,alt:`واجهة تصفية الأحداث باستخدام منطق AND/OR وعوامل المقارنة`,style:{maxHeight:`500px`,width:`auto`},\"data-og-width\":`1558`,width:`1558`,\"data-og-height\":`942`,height:`942`,\"data-path\":`images/usage-based/UBB-3.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/dodopayments/w9oVTi6CzZMAOQA3/images/usage-based/UBB-3.png?w=280\u0026fit=max\u0026auto=format\u0026n=w9oVTi6CzZMAOQA3\u0026q=85\u0026s=2cd814d88c0043f59bd0809f62a70932 280w, https://mintcdn.com/dodopayments/w9oVTi6CzZMAOQA3/images/usage-based/UBB-3.png?w=560\u0026fit=max\u0026auto=format\u0026n=w9oVTi6CzZMAOQA3\u0026q=85\u0026s=6346cf2daf9635f53f9280701b1fefc2 560w, https://mintcdn.com/dodopayments/w9oVTi6CzZMAOQA3/images/usage-based/UBB-3.png?w=840\u0026fit=max\u0026auto=format\u0026n=w9oVTi6CzZMAOQA3\u0026q=85\u0026s=d5b459ab63581aa80b9ddcd6a2d9be25 840w, https://mintcdn.com/dodopayments/w9oVTi6CzZMAOQA3/images/usage-based/UBB-3.png?w=1100\u0026fit=max\u0026auto=format\u0026n=w9oVTi6CzZMAOQA3\u0026q=85\u0026s=95c547968201d65d65981b0dc6271c0a 1100w, https://mintcdn.com/dodopayments/w9oVTi6CzZMAOQA3/images/usage-based/UBB-3.png?w=1650\u0026fit=max\u0026auto=format\u0026n=w9oVTi6CzZMAOQA3\u0026q=85\u0026s=52e270bd88d839ea0c148fcfadbbf7dd 1650w, https://mintcdn.com/dodopayments/w9oVTi6CzZMAOQA3/images/usage-based/UBB-3.png?w=2500\u0026fit=max\u0026auto=format\u0026n=w9oVTi6CzZMAOQA3\u0026q=85\u0026s=f737d26f50ab2a4cc45cc03927936d4e 2500w`})}),_jsx(_components.p,{children:`أضف شروطاً لتصفية الأحداث التي يتم احتسابها:`}),_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`منطق AND`}),`: يجب أن تتطابق جميع الشروط`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`منطق OR`}),`: يمكن أن تتطابق أي شرط`]}),`\n`]}),_jsx(_components.p,{children:`عوامل المقارنة المتاحة: يساوي، لا يساوي، أكبر من، أكبر من أو يساوي، أقل من، أقل من أو يساوي، يتضمن، لا يتضمن.`}),_jsx(_components.p,{children:`فعّل التصفية، واختر المنطق الذي تريده، ثم أضف الشروط باستخدام مفتاح خاصية وعامل مقارنة وقيمة.`})]}),_jsx(Step,{title:`Create`,children:_jsxs(_components.p,{children:[`راجع إعداداتك وانقر على `,_jsx(_components.strong,{children:`Create Meter`}),`.`]})})]}),`\n`,_jsx(Heading,{level:`2`,id:`عرض-التحليلات`,children:`عرض التحليلات`}),`\n`,_jsx(Frame,{children:_jsx(OptimizedImage,{src:`https://mintcdn.com/dodopayments/w9oVTi6CzZMAOQA3/images/usage-based/UBB-1.png?fit=max\u0026auto=format\u0026n=w9oVTi6CzZMAOQA3\u0026q=85\u0026s=7fb86a266b5aa84f281b680601bd998e`,alt:`لوحة تحليلات العداد تعرض نظرة عامة على الاستخدام والأحداث وبيانات العملاء`,style:{maxHeight:`500px`,width:`auto`},\"data-og-width\":`1536`,width:`1536`,\"data-og-height\":`1252`,height:`1252`,\"data-path\":`images/usage-based/UBB-1.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/dodopayments/w9oVTi6CzZMAOQA3/images/usage-based/UBB-1.png?w=280\u0026fit=max\u0026auto=format\u0026n=w9oVTi6CzZMAOQA3\u0026q=85\u0026s=23a2bbb81a88052bec92772f03254690 280w, https://mintcdn.com/dodopayments/w9oVTi6CzZMAOQA3/images/usage-based/UBB-1.png?w=560\u0026fit=max\u0026auto=format\u0026n=w9oVTi6CzZMAOQA3\u0026q=85\u0026s=b9ebba13d62c1e5e0470097382319a8c 560w, https://mintcdn.com/dodopayments/w9oVTi6CzZMAOQA3/images/usage-based/UBB-1.png?w=840\u0026fit=max\u0026auto=format\u0026n=w9oVTi6CzZMAOQA3\u0026q=85\u0026s=2cb2348f913ebdc8175d07c533553d74 840w, https://mintcdn.com/dodopayments/w9oVTi6CzZMAOQA3/images/usage-based/UBB-1.png?w=1100\u0026fit=max\u0026auto=format\u0026n=w9oVTi6CzZMAOQA3\u0026q=85\u0026s=84b14f137b8f737d8e269cb9c2213915 1100w, https://mintcdn.com/dodopayments/w9oVTi6CzZMAOQA3/images/usage-based/UBB-1.png?w=1650\u0026fit=max\u0026auto=format\u0026n=w9oVTi6CzZMAOQA3\u0026q=85\u0026s=9059aafa1890c7a834a0acbd2a115567 1650w, https://mintcdn.com/dodopayments/w9oVTi6CzZMAOQA3/images/usage-based/UBB-1.png?w=2500\u0026fit=max\u0026auto=format\u0026n=w9oVTi6CzZMAOQA3\u0026q=85\u0026s=7a1008d882d31dc4699b07353c4121f6 2500w`})}),`\n`,_jsx(_components.p,{children:`تعرض لوحة معلومات العداد لديك ما يلي:`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Overview`}),`: إجمالي الاستخدام واتجاهات الاستخدام بمرور الوقت`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Events`}),`: الأحداث الفردية المستلمة والبيانات الوصفية الخاصة بها`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Customers`}),`: إجماليات الاستخدام والرسوم لكل عميل`]}),`\n`]}),`\n`,_jsx(Heading,{level:`2`,id:`الفوترة-بالاعتمادات-بدلاً-من-العملات`,children:`الفوترة بالاعتمادات بدلاً من العملات`}),`\n`,_jsx(_components.p,{children:`بشكل افتراضي، تفرض العدادات رسومًا على العملاء لكل وحدة بالدولار (أو بالعملة التي ضبطتها). ويمكنك بدلًا من ذلك إعداد العداد للخصم من رصيد ائتمان العميل، بحيث يستهلك الاستخدام أرصدة بدلًا من إنشاء رسم مالي.`}),`\n`,_jsx(Info,{children:_jsxs(_components.p,{children:[`يتطلب الخصم المستند إلى الائتمان وجود `,_jsx(_components.a,{href:`/features/credit-based-billing`,children:`Credit Entitlement`}),` مرتبط بالمنتج نفسه. أنشئ استحقاق الائتمان أولًا، ثم اربطه بالعداد.`]})}),`\n`,_jsx(Heading,{level:`3`,id:`متى-تستخدم-الخصم-المستند-إلى-الاعتمادات`,children:`متى تستخدم الخصم المستند إلى الاعتمادات`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`السيناريو`}),_jsx(_components.th,{children:`Standard (العملة)`}),_jsx(_components.th,{children:`المستند إلى الائتمان`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`تسعير بسيط لكل وحدة ($0.01/مكالمة)`}),_jsx(_components.td,{children:`✅ الأنسب`}),_jsx(_components.td,{children:`عبء غير ضروري`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`حزم ائتمانات مسبقة الدفع (شراء 10 آلاف رمز مميز واستخدامها بمرور الوقت)`}),_jsx(_components.td,{children:`❌ لا يمكن التعبير عنه`}),_jsx(_components.td,{children:`✅ الأنسب`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`استخدام مجمّع مع الاشتراكات (تتضمن خطة Pro عدد 100 ألف مكالمة)`}),_jsx(_components.td,{children:`ممكن عبر حد مجاني`}),_jsx(_components.td,{children:`✅ أفضل: تنتقل الأرصدة، وتنتهي صلاحيتها، وتظهر في البوابة`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`منتجات متعددة العدادات تتشارك مجموعة ائتمانات`}),_jsx(_components.td,{children:`❌ يفوتر كل عداد بشكل منفصل`}),_jsx(_components.td,{children:`✅ تخصم جميع العدادات من رصيد واحد`})]})]})]}),`\n`,_jsx(Heading,{level:`3`,id:`تكوين-عداد-لخصم-الاعتمادات`,children:`تكوين عداد لخصم الاعتمادات`}),`\n`,_jsxs(Steps,{children:[_jsxs(Step,{title:`Create a Credit Entitlement`,children:[_jsxs(_components.p,{children:[`أنشئ أولًا استحقاق ائتمان في `,_jsx(_components.strong,{children:`Products → Credits`}),`. حدّد الوحدة (مثل “API Calls” و”Tokens”) والدقة وإعدادات دورة الحياة (تاريخ الانتهاء والترحيل وتجاوز الحد).`]}),_jsxs(_components.p,{children:[`اطّلع على `,_jsx(_components.a,{href:`/features/credit-based-billing`,children:`دليل الفوترة المستندة إلى الاعتمادات`}),` للحصول على تعليمات مفصلة.`]})]}),_jsx(Step,{title:`Create or Edit a Usage-Based Product`,children:_jsxs(_components.p,{children:[`اذهب إلى منتجك المستند إلى الاستخدام وافتح قسم تكوين `,_jsx(_components.strong,{children:`Meter`}),`.`]})}),_jsx(Step,{title:`Add a Meter`,children:_jsxs(_components.p,{children:[`انقر على زر `,_jsx(_components.strong,{children:`+`}),` لإرفاق عداد. قم بتكوين اسم الحدث، نوع التجميع، ووحدة القياس كالمعتاد.`]})}),_jsxs(Step,{title:`Enable 'Bill Usage in Credits'`,children:[_jsxs(_components.p,{children:[`فعّل `,_jsx(_components.strong,{children:`Bill usage in Credits`}),` في إعدادات العداد لإظهار إعدادات الائتمان:`]}),_jsx(Frame,{caption:`Toggle 'Bill usage in Credits' to switch from currency-based to credit-based deduction.`,children:_jsx(OptimizedImage,{src:`https://mintcdn.com/dodopayments/ibNfoFRyCIGyt3pO/images/CBB/Desktop%20-%20Attach%20Credit%20-%20UBB-5.jpg?fit=max\u0026auto=format\u0026n=ibNfoFRyCIGyt3pO\u0026q=85\u0026s=b4ef2fe5079cbf3bb39eb3814f101cbd`,alt:`تكوين العداد مع تمكين تبديل استخدام الفاتورة في الأرصدة`,style:{maxHeight:`500px`,width:`auto`},\"data-og-width\":`2880`,width:`2880`,\"data-og-height\":`2282`,height:`2282`,\"data-path\":`images/CBB/Desktop - Attach Credit - UBB-5.jpg`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/dodopayments/ibNfoFRyCIGyt3pO/images/CBB/Desktop%20-%20Attach%20Credit%20-%20UBB-5.jpg?w=280\u0026fit=max\u0026auto=format\u0026n=ibNfoFRyCIGyt3pO\u0026q=85\u0026s=0f765142d0ca9ab3916a4f01d4ca170e 280w, https://mintcdn.com/dodopayments/ibNfoFRyCIGyt3pO/images/CBB/Desktop%20-%20Attach%20Credit%20-%20UBB-5.jpg?w=560\u0026fit=max\u0026auto=format\u0026n=ibNfoFRyCIGyt3pO\u0026q=85\u0026s=6bf59eadfa5cd6c865d0ac90e760854b 560w, https://mintcdn.com/dodopayments/ibNfoFRyCIGyt3pO/images/CBB/Desktop%20-%20Attach%20Credit%20-%20UBB-5.jpg?w=840\u0026fit=max\u0026auto=format\u0026n=ibNfoFRyCIGyt3pO\u0026q=85\u0026s=a995ab0ab4952c8cfd90279c2d6bf472 840w, https://mintcdn.com/dodopayments/ibNfoFRyCIGyt3pO/images/CBB/Desktop%20-%20Attach%20Credit%20-%20UBB-5.jpg?w=1100\u0026fit=max\u0026auto=format\u0026n=ibNfoFRyCIGyt3pO\u0026q=85\u0026s=7971d02b844038a9978418b23c7b8071 1100w, https://mintcdn.com/dodopayments/ibNfoFRyCIGyt3pO/images/CBB/Desktop%20-%20Attach%20Credit%20-%20UBB-5.jpg?w=1650\u0026fit=max\u0026auto=format\u0026n=ibNfoFRyCIGyt3pO\u0026q=85\u0026s=c69a3883012f141c59228a0fb3a7655f 1650w, https://mintcdn.com/dodopayments/ibNfoFRyCIGyt3pO/images/CBB/Desktop%20-%20Attach%20Credit%20-%20UBB-5.jpg?w=2500\u0026fit=max\u0026auto=format\u0026n=ibNfoFRyCIGyt3pO\u0026q=85\u0026s=68e2d8094dbec7704060f0a28ea10a2f 2500w`})}),_jsx(ParamField,{path:`Credit Entitlement`,type:`string`,required:true,id:`param-credit-entitlement`,children:_jsx(_components.p,{children:`حدّد استحقاق الائتمان الذي سيخصم منه هذا العداد.`})}),_jsxs(ParamField,{path:`Meter units per credit`,type:`number`,required:true,id:`param-meter-units-per-credit`,children:[_jsx(_components.p,{children:`عدد وحدات الاستخدام المطلوبة لخصم اعتماد واحد. على سبيل المثال:`}),_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`1`}),` = كل حدث عداد يخصم اعتمادًا واحدًا`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`100`}),` = 100 حدث عداد يخصمان اعتمادًا واحدًا`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`1000`}),` = 1,000 مكالمة API تستهلك اعتمادًا واحدًا`]}),`\n`]})]})]}),_jsxs(Step,{title:`Free Threshold and Credits`,children:[_jsxs(_components.p,{children:[`ينطبق `,_jsx(_components.strong,{children:`Free Threshold`}),` على العدادات التي تتم فوترتها بالمال، وليس على العدادات التي تتم فوترتها بالأرصدة. عندما تتم فوترة العداد بالأرصدة، تُحتسب كل وحدة ضمن خصم الائتمان.`]}),_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`مثال`}),`: مع ضبط meter-units-per-credit على 1، يُخصم من العميل الذي يجري 2,500 مكالمة API عدد 2,500 رصيد.`]})]})]}),`\n`,_jsx(Heading,{level:`3`,id:`كيف-يعمل-خصم-الاعتمادات`,children:`كيف يعمل خصم الاعتمادات`}),`\n`,_jsx(_components.p,{children:`بمجرد تكوينه، يعمل خط أنابيب الخصم تلقائيًا:`}),`\n`,_jsxs(_components.ol,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`وصول الأحداث`}),` — يرسل تطبيقك أحداث الاستخدام عبر `,_jsx(_components.a,{href:`/features/usage-based-billing/event-ingestion`,children:`Event Ingestion API`}),`.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`تجميع العداد`}),` — تُجمّع الأحداث وفقًا لإعدادات العداد (Count وSum وMax وLast).`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`معالجة العامل في الخلفية`}),` — يجلب عامل كل دقيقة الأحداث الجديدة منذ آخر نقطة تحقق.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`خصم الأرصدة`}),` — يُحوّل الاستخدام المُجمّع إلى أرصدة باستخدام معدل `,_jsx(_components.code,{children:`meter_units_per_credit`}),`، ثم يُخصم بترتيب FIFO (استهلاك المنح التي ينتهي أجلها أولًا).`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`تتبّع التجاوز`}),` — إذا وصل الرصيد إلى الصفر، يُسجّل الاستخدام اللاحق كتجاوز ويُعالج وفقًا للسلوك المُعدّ (إعفاؤه عند إعادة الضبط، أو فوترته في الفاتورة التالية، أو ترحيله كعجز). لا تحظر Dodo Payments الاستخدام عند نفاد الرصيد. ولإيقاف الوصول عند الوصول إلى الصفر، تحقّق من الرصيد في تطبيقك.`]}),`\n`]}),`\n`,_jsx(Mermaid,{chart:`flowchart LR\n A[Usage Event] --> B[Meter Aggregation]\n B --> C{Credits Available?}\n C -->|Yes| D[Deduct from Balance]\n C -->|No| E{Overage Enabled?}\n E -->|Yes| F[Track Overage]\n E -->|No| G[Your App Enforces Limits]\n D --> H[Update Ledger]\n F --> H`}),`\n`,_jsx(Warning,{children:_jsx(_components.p,{children:`يُنفّذ خصم الائتمان بشكل غير متزامن (كل دقيقة تقريبًا). وقد يحدث تأخير قصير بين استيعاب الحدث وخصم الرصيد. صمّم تطبيقك للتعامل مع هذا التأخير، ولا تعتمد على عمليات التحقق من الرصيد في الوقت الفعلي للتحكم في الوصول إلى الطلبات الفردية.`})}),`\n`,_jsx(Heading,{level:`3`,id:`عدة-عدادات،-مجموعة-اعتماد-واحدة`,children:`عدة عدادات، مجموعة اعتماد واحدة`}),`\n`,_jsx(_components.p,{children:`يمكنك ربط عدة عدادات باستحقاق الائتمان نفسه ضمن المنتج نفسه. وتخصم جميع العدادات من رصيد مشترك واحد.`}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`مثال`}),`: منصة ذكاء اصطناعي تضم عدادين:`]}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`text.generation`}),` — رصيد واحد لكل 1,000 رمز مميز`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`image.generation`}),` — 10 أرصدة لكل صورة`]}),`\n`]}),`\n`,_jsx(_components.p,{children:`كلاهما يخصم من نفس تجمع “اعتمادات الذكاء الاصطناعي”. يرى العميل رصيدًا موحدًا واحدًا في بوابته.`}),`\n`,_jsx(Tip,{children:_jsxs(_components.p,{children:[`استخدم معدلات `,_jsx(_components.code,{children:`meter_units_per_credit`}),` مختلفة عبر العدادات للتعبير عن التكاليف النسبية. العمليات المكلفة (توليد الصور) تستهلك وحدات عداد أقل لكل اعتماد من العمليات الرخيصة (استكمال النص).`]})}),`\n`,_jsxs(CardGroup,{cols:2,children:[_jsx(Card,{title:`List Customer Ledger`,icon:`scroll`,href:`/api-reference/credit-entitlements/list-customer-ledger`,children:_jsx(_components.p,{children:`اطّلع على السجل الكامل لخصم الاعتمادات لعميل.`})}),_jsx(Card,{title:`Get Customer Balance`,icon:`wallet`,href:`/api-reference/credit-entitlements/get-customer-balance`,children:_jsx(_components.p,{children:`تحقق من رصيد الاعتمادات الحالي لعميل عبر واجهة برمجة التطبيقات.`})})]}),`\n`,_jsx(Heading,{level:`2`,id:`استكشاف-الأخطاء-وإصلاحها`,children:`استكشاف الأخطاء وإصلاحها`}),`\n`,_jsxs(AccordionGroup,{children:[_jsx(Accordion,{title:`Events not appearing`,id:`events-not-appearing`,children:_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`يجب أن يطابق اسم الحدث تمامًا (مع مراعاة حالة الأحرف)`}),`\n`,_jsx(_components.li,{children:`تحقّق من أن عوامل تصفية العداد لا تستبعد الأحداث`}),`\n`,_jsx(_components.li,{children:`تحقّق من وجود معرّفات العملاء في حسابك`}),`\n`,_jsx(_components.li,{children:`عطّل عوامل التصفية مؤقتًا للاختبار`}),`\n`]})}),_jsx(Accordion,{title:`Aggregation not working`,id:`aggregation-not-working`,children:_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`تحقّق من أن Over Property يطابق مفتاح البيانات الوصفية تمامًا`}),`\n`,_jsxs(_components.li,{children:[`استخدم أرقامًا، وليس سلاسل نصية: `,_jsx(_components.code,{children:`tokens: 150`}),` وليس `,_jsx(_components.code,{children:`tokens: \"150\"`})]}),`\n`,_jsx(_components.li,{children:`أدرج الخصائص المطلوبة في جميع الأحداث`}),`\n`]})}),_jsx(Accordion,{title:`Filters not working`,id:`filters-not-working`,children:_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`طابق حالة الأحرف تمامًا`}),`\n`,_jsx(_components.li,{children:`استخدم العوامل الصحيحة لنوع البيانات`}),`\n`,_jsx(_components.li,{children:`تأكّد من أن الأحداث تتضمن الخصائص التي تتم تصفيتها`}),`\n`]})}),_jsx(Accordion,{title:`Wrong usage totals`,id:`wrong-usage-totals`,children:_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`تحقّق من علامة التبويب Events لعدّ الأحداث المستلمة فعليًا`}),`\n`,_jsx(_components.li,{children:`تحقّق من نوع التجميع (Count مقابل Sum)`}),`\n`,_jsx(_components.li,{children:`تأكّد من أن القيم رقمية لاستخدام Sum وMax`}),`\n`]})})]}),`\n`,_jsx(Heading,{level:`2`,id:`الخطوات-التالية`,children:`الخطوات التالية`}),`\n`,_jsxs(CardGroup,{cols:2,children:[_jsx(Card,{title:`Send Events`,icon:`bolt`,href:`/features/usage-based-billing/event-ingestion`,children:_jsx(_components.p,{children:`ابدأ في إرسال أحداث الاستخدام من تطبيقك إلى عداداتك.`})}),_jsx(Card,{title:`View Blueprints`,icon:`copy`,href:`/features/usage-based-billing/ingestion-blueprints`,children:_jsx(_components.p,{children:`استخدم تكوينات عدادات جاهزة لحالات الاستخدام الشائعة.`})})]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"sidebarTitle":"المقاييس","title":"المقاييس","description":"تحويل أحداث الاستخدام الخام إلى كميات قابلة للفوترة مع التجميع والتصفية.","icon":"sliders","keywords":["Dodo Payments","عدادات الاستخدام","القياس","تتبع الاستهلاك","التجميع"],"href":"/ar/features/usage-based-billing/meters"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"موارد API","slug":"موارد-api","depth":2,"children":[]},{"title":"إنشاء مقياس","slug":"إنشاء-مقياس","depth":2,"children":[]},{"title":"عرض التحليلات","slug":"عرض-التحليلات","depth":2,"children":[]},{"title":"الفوترة بالاعتمادات بدلاً من العملات","slug":"الفوترة-بالاعتمادات-بدلاً-من-العملات","depth":2,"children":[{"title":"متى تستخدم الخصم المستند إلى الاعتمادات","slug":"متى-تستخدم-الخصم-المستند-إلى-الاعتمادات","depth":3,"children":[]},{"title":"تكوين عداد لخصم الاعتمادات","slug":"تكوين-عداد-لخصم-الاعتمادات","depth":3,"children":[]},{"title":"كيف يعمل خصم الاعتمادات","slug":"كيف-يعمل-خصم-الاعتمادات","depth":3,"children":[]},{"title":"عدة عدادات، مجموعة اعتماد واحدة","slug":"عدة-عدادات،-مجموعة-اعتماد-واحدة","depth":3,"children":[]}]},{"title":"استكشاف الأخطاء وإصلاحها","slug":"استكشاف-الأخطاء-وإصلاحها","depth":2,"children":[]},{"title":"الخطوات التالية","slug":"الخطوات-التالية","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":["/_mintlify/custom/dodopayments/0ee82a08f7b65bcb/seo.js","/_mintlify/custom/dodopayments/6f88c9bbee313616/assistant-loader.js"],"subdomain":"dodopayments","siteName":"Dodo Payments Documentation","title":"المقاييس - Dodo Payments Documentation","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{"en":{"href":"/features/usage-based-billing/meters","matchLevel":1},"es":{"href":"/es/features/usage-based-billing/meters","matchLevel":1},"ar":{"href":"/ar/features/usage-based-billing/meters","matchLevel":0},"fr":{"href":"/fr/features/usage-based-billing/meters","matchLevel":1},"de":{"href":"/de/features/usage-based-billing/meters","matchLevel":1},"id":{"href":"/id/features/usage-based-billing/meters","matchLevel":1},"ja":{"href":"/ja/features/usage-based-billing/meters","matchLevel":1},"ko":{"href":"/ko/features/usage-based-billing/meters","matchLevel":1},"pt-BR":{"href":"/pt-BR/features/usage-based-billing/meters","matchLevel":1},"vi":{"href":"/vi/features/usage-based-billing/meters","matchLevel":1},"cn":{"href":"/cn/features/usage-based-billing/meters","matchLevel":1},"hi":{"href":"/hi/features/usage-based-billing/meters","matchLevel":1},"it":{"href":"/it/features/usage-based-billing/meters","matchLevel":1},"sv":{"href":"/sv/features/usage-based-billing/meters","matchLevel":1}}},"lastModified":"2026-09-26T16:06:36.970Z","gitLastModified":"2026-09-26T16:03:47.000Z","originalFileLocation":"ar/features/usage-based-billing/meters.mdx","locale":"ar"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"تحويل أحداث الاستخدام الخام إلى كميات قابلة للفوترة مع التجميع والتصفية.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Dodo Payments Documentation\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/dodopayments/KuV_TozyHuGHOyyc/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/dodopayments/KuV_TozyHuGHOyyc/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/dodopayments/KuV_TozyHuGHOyyc/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/dodopayments/KuV_TozyHuGHOyyc/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/dodopayments/KuV_TozyHuGHOyyc/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/dodopayments/KuV_TozyHuGHOyyc/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/dodopayments/KuV_TozyHuGHOyyc/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/dodopayments/KuV_TozyHuGHOyyc/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/dodopayments/KuV_TozyHuGHOyyc/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"المقاييس - Dodo Payments Documentation\">\u003cmeta data-mint-head property=\"og:description\" content=\"تحويل أحداث الاستخدام الخام إلى كميات قابلة للفوترة مع التجميع والتصفية.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Dodo Payments Documentation\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.dodopayments.com/ar/features/usage-based-billing/meters\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://dodopayments.mintlify.app/_mintlify/api/og/v2?division=Usage+Based+Billing\u0026amp;title=%D8%A7%D9%84%D9%85%D9%82%D8%A7%D9%8A%D9%8A%D8%B3\u0026amp;description=%D8%AA%D8%AD%D9%88%D9%8A%D9%84+%D8%A3%D8%AD%D8%AF%D8%A7%D8%AB+%D8%A7%D9%84%D8%A7%D8%B3%D8%AA%D8%AE%D8%AF%D8%A7%D9%85+%D8%A7%D9%84%D8%AE%D8%A7%D9%85+%D8%A5%D9%84%D9%89+%D9%83%D9%85%D9%8A%D8%A7%D8%AA+%D9%82%D8%A7%D8%A8%D9%84%D8%A9+%D9%84%D9%84%D9%81%D9%88%D8%AA%D8%B1%D8%A9+%D9%85%D8%B9+%D8%A7%D9%84%D8%AA%D8%AC%D9%85%D9%8A%D8%B9+%D9%88%D8%A7%D9%84%D8%AA%D8%B5%D9%81%D9%8A%D8%A9.\u0026amp;theme=7deaaa10b0ab3bbb6a23be51\u0026amp;signature=295c0a00f480c9032c29eacd502eea013cf1a90590f0180a2b968427c07f507b\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"المقاييس - Dodo Payments Documentation\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"تحويل أحداث الاستخدام الخام إلى كميات قابلة للفوترة مع التجميع والتصفية.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://dodopayments.mintlify.app/_mintlify/api/og/v2?division=Usage+Based+Billing\u0026amp;title=%D8%A7%D9%84%D9%85%D9%82%D8%A7%D9%8A%D9%8A%D8%B3\u0026amp;description=%D8%AA%D8%AD%D9%88%D9%8A%D9%84+%D8%A3%D8%AD%D8%AF%D8%A7%D8%AB+%D8%A7%D9%84%D8%A7%D8%B3%D8%AA%D8%AE%D8%AF%D8%A7%D9%85+%D8%A7%D9%84%D8%AE%D8%A7%D9%85+%D8%A5%D9%84%D9%89+%D9%83%D9%85%D9%8A%D8%A7%D8%AA+%D9%82%D8%A7%D8%A8%D9%84%D8%A9+%D9%84%D9%84%D9%81%D9%88%D8%AA%D8%B1%D8%A9+%D9%85%D8%B9+%D8%A7%D9%84%D8%AA%D8%AC%D9%85%D9%8A%D8%B9+%D9%88%D8%A7%D9%84%D8%AA%D8%B5%D9%81%D9%8A%D8%A9.\u0026amp;theme=7deaaa10b0ab3bbb6a23be51\u0026amp;signature=295c0a00f480c9032c29eacd502eea013cf1a90590f0180a2b968427c07f507b\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/dodopayments/KuV_TozyHuGHOyyc/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Dodo Payments Documentation\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#779812\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.dodopayments.com/ar/features/usage-based-billing/meters\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/ar/features/usage-based-billing/meters.md\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"ar\" href=\"https://docs.dodopayments.com/ar/features/usage-based-billing/meters\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"en\" href=\"https://docs.dodopayments.com/features/usage-based-billing/meters\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"es\" href=\"https://docs.dodopayments.com/es/features/usage-based-billing/meters\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"fr\" href=\"https://docs.dodopayments.com/fr/features/usage-based-billing/meters\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"de\" href=\"https://docs.dodopayments.com/de/features/usage-based-billing/meters\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"id\" href=\"https://docs.dodopayments.com/id/features/usage-based-billing/meters\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"ja\" href=\"https://docs.dodopayments.com/ja/features/usage-based-billing/meters\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"ko\" href=\"https://docs.dodopayments.com/ko/features/usage-based-billing/meters\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"pt-BR\" href=\"https://docs.dodopayments.com/pt-BR/features/usage-based-billing/meters\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"vi\" href=\"https://docs.dodopayments.com/vi/features/usage-based-billing/meters\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"zh\" href=\"https://docs.dodopayments.com/cn/features/usage-based-billing/meters\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"hi\" href=\"https://docs.dodopayments.com/hi/features/usage-based-billing/meters\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"it\" href=\"https://docs.dodopayments.com/it/features/usage-based-billing/meters\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"sv\" href=\"https://docs.dodopayments.com/sv/features/usage-based-billing/meters\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"x-default\" href=\"https://docs.dodopayments.com/features/usage-based-billing/meters\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.dodopayments.com/#organization\",\"name\":\"Dodo Payments Documentation\",\"url\":\"https://docs.dodopayments.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/dodopayments/nM_mJfYkri-OpC5M/logo/light.svg?fit=max\u0026auto=format\u0026n=nM_mJfYkri-OpC5M\u0026q=85\u0026s=23f7a052f7ecb9d6570b7c95ee359a97\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.dodopayments.com#website\",\"name\":\"Dodo Payments Documentation\",\"url\":\"https://docs.dodopayments.com\",\"publisher\":{\"@id\":\"https://docs.dodopayments.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.dodopayments.com/ar/features/usage-based-billing/meters#webpage\",\"url\":\"https://docs.dodopayments.com/ar/features/usage-based-billing/meters\",\"name\":\"المقاييس\",\"description\":\"تحويل أحداث الاستخدام الخام إلى كميات قابلة للفوترة مع التجميع والتصفية.\",\"dateModified\":\"2026-09-26T16:03:47.000Z\",\"isPartOf\":{\"@id\":\"https://docs.dodopayments.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.dodopayments.com/ar/features/usage-based-billing/meters#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.dodopayments.com/ar/features/usage-based-billing/meters#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Features\",\"item\":\"https://docs.dodopayments.com/ar/features/products\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Usage Based Billing\",\"item\":\"https://docs.dodopayments.com/ar/features/usage-based-billing/introduction\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"المقاييس\",\"item\":\"https://docs.dodopayments.com/ar/features/usage-based-billing/meters\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.dodopayments.com/ar/features/usage-based-billing/meters#article\",\"headline\":\"المقاييس\",\"name\":\"المقاييس\",\"description\":\"تحويل أحداث الاستخدام الخام إلى كميات قابلة للفوترة مع التجميع والتصفية.\",\"url\":\"https://docs.dodopayments.com/ar/features/usage-based-billing/meters\",\"mainEntityOfPage\":{\"@id\":\"https://docs.dodopayments.com/ar/features/usage-based-billing/meters#webpage\"},\"dateModified\":\"2026-09-26T16:03:47.000Z\",\"keywords\":\"Dodo Payments, عدادات الاستخدام, القياس, تتبع الاستهلاك, التجميع\",\"publisher\":{\"@id\":\"https://docs.dodopayments.com/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.dodopayments.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Dodo Payments Documentation\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"Dodo Payments Documentation","nav":{"global":null,"languages":[{"language":"en","pages":[{"title":"en","href":"/features/usage-based-billing/meters"}]},{"language":"es","pages":[{"title":"es","href":"/es/features/usage-based-billing/meters"}]},{"language":"ar","tabs":[{"tab":"Docs","icon":"book","groups":[{"group":"Getting Started","pages":[{"title":"مرحبًا بك في Dodo Payments","sidebarTitle":"مقدمة","icon":"rocket","href":"/ar/introduction"},{"title":"البناء باستخدام وكلاء الترميز بالذكاء الاصطناعي","sidebarTitle":"وكلاء الترميز بالذكاء الاصطناعي","icon":"robot","href":"/ar/developer-resources/build-with-ai-coding-agents"},{"title":"الانتقال إلى مدفوعات دودي","icon":"arrow-right-arrow-left","href":"/ar/migrate-to-dodo"},{"title":"التحقق من الحساب","icon":"id-card","href":"/ar/miscellaneous/verification-process"}]},{"group":"Features","pages":[{"sidebarTitle":"المنتجات","title":"المنتجات","icon":"box","href":"/ar/features/products"},{"sidebarTitle":"مجموعات المنتجات","title":"مجموعات المنتجات","icon":"layer-group","href":"/ar/features/product-collections"},{"sidebarTitle":"المدفوعات لمرة واحدة","title":"المدفوعات لمرة واحدة","icon":"credit-card","href":"/ar/features/one-time-payment-products"},{"group":"Subscriptions","icon":"infinity","pages":[{"sidebarTitle":"Subscriptions","title":"Subscriptions","icon":"repeat","href":"/ar/features/subscription"},{"sidebarTitle":"الإضافات","title":"الإضافات للاشتراكات","icon":"puzzle","href":"/ar/features/addons"},{"title":"الاشتراكات عند الطلب","icon":"bolt","href":"/ar/developer-resources/ondemand-subscriptions"}]},{"group":"Usage Based Billing","icon":"arrow-trend-up","pages":[{"sidebarTitle":"مقدمة","title":"الفوترة حسب الاستخدام","description":"افرض رسوماً على العملاء استناداً إلى ما يستخدمونه فعلياً، مع قياس مرن وفوترة مؤتمتة.","icon":"box","href":"/ar/features/usage-based-billing/introduction"},{"sidebarTitle":"المقاييس","title":"المقاييس","icon":"sliders","href":"/ar/features/usage-based-billing/meters"},{"sidebarTitle":"إدخال الأحداث","title":"إدخال الأحداث","description":"أرسل أحداث الاستخدام من تطبيقك لتتبع استهلاك العملاء وتشغيل الفوترة القائمة على الاستخدام.","icon":"bolt","href":"/ar/features/usage-based-billing/event-ingestion"},{"group":"Ingestion Blueprints","icon":"copy","pages":[{"sidebarTitle":"مقدمة","title":"خطط الإدخال","icon":"box","href":"/ar/features/usage-based-billing/ingestion-blueprints"},{"title":"مخطط LLM","icon":"brain-circuit","href":"/ar/developer-resources/ingestion-blueprints/llm"},{"title":"API Gateway Blueprint","icon":"cloud","href":"/ar/developer-resources/ingestion-blueprints/api-gateway"},{"title":"خطة تخزين الكائنات","icon":"box-archive","href":"/ar/developer-resources/ingestion-blueprints/object-storage"},{"title":"مخطط البث","icon":"tower-broadcast","href":"/ar/developer-resources/ingestion-blueprints/stream"},{"title":"نموذج نطاق الوقت","icon":"clock","href":"/ar/developer-resources/ingestion-blueprints/time-range"}]}]},{"sidebarTitle":"Credit-Based Billing","title":"Credit-Based Billing","icon":"coins","tag":"NEW","href":"/ar/features/credit-based-billing"},{"sidebarTitle":"الفوترة المعتمدة على المقاعد","title":"الفوترة المعتمدة على المقاعد","icon":"users","href":"/ar/features/seat-based-billing"},{"sidebarTitle":"الفوترة الهجينة","title":"نماذج الفوترة الهجينة","icon":"layer-group","href":"/ar/features/hybrid-billing"},{"title":"Upsells \u0026 Downsells","icon":"arrow-up-right-dots","href":"/ar/features/upsells-and-downsells"},{"group":"Customers","icon":"user-group","pages":[{"title":"إدارة العملاء","icon":"user-group","href":"/ar/features/customers"},{"sidebarTitle":"بوابة العملاء","title":"بوابة العملاء","icon":"id-card","href":"/ar/features/customer-portal"},{"title":"محافظ العملاء","icon":"wallet","tag":"NEW","href":"/ar/features/customer-wallet"},{"sidebarTitle":"رسائل البريد الإلكتروني المرسلة","title":"سجلات رسائل البريد الإلكتروني للعملاء","icon":"envelope","tag":"NEW","href":"/ar/features/email-logs"},{"sidebarTitle":"قائمة حظر العملاء","title":"قائمة حظر العملاء","icon":"user-slash","tag":"NEW","href":"/ar/features/customer-blocklist"}]},{"sidebarTitle":"Discounts","title":"Discounts","icon":"percent","href":"/ar/features/discount-codes"},{"group":"Recovery","icon":"rotate","tag":"NEW","pages":[{"sidebarTitle":"نظرة عامة","title":"استرداد الإيرادات","icon":"rotate","href":"/ar/features/recovery/overview"},{"sidebarTitle":"استعادة عربات التسوق المتروكة","title":"استعادة عربات التسوق المتروكة","icon":"cart-shopping","href":"/ar/features/recovery/abandoned-cart-recovery"},{"sidebarTitle":"إدارة الاشتراكات","title":"إدارة الاشتراكات","icon":"repeat","href":"/ar/features/recovery/subscription-dunning"},{"sidebarTitle":"إعادة محاولات دفع الاشتراكات","title":"إعادة محاولات دفع الاشتراكات","icon":"arrow-rotate-right","href":"/ar/features/recovery/payment-retries"},{"sidebarTitle":"إعادة المحاولة اليدوية","title":"إعادة محاولة الدفع اليدوية","icon":"hand-pointer","tag":"NEW","href":"/ar/features/recovery/manual-retry"}]},{"group":"Transactions","icon":"credit-card","pages":[{"title":"المدفوعات","icon":"money-bill-transfer","href":"/ar/features/transactions/payments"},{"title":"الاستردادات","icon":"rotate-left","href":"/ar/features/transactions/refunds"},{"title":"النزاعات","icon":"circle-exclamation","href":"/ar/features/transactions/disputes"}]},{"group":"Entitlements","icon":"gift","tag":"NEW","pages":[{"title":"مقدمة","sidebarTitle":"مقدمة","icon":"box-archive","href":"/ar/features/entitlements/introduction"},{"title":"مفاتيح التراخيص","icon":"key","href":"/ar/features/license-keys"},{"title":"توصيل المنتجات الرقمية","sidebarTitle":"المنتجات الرقمية","icon":"download","href":"/ar/features/digital-product-delivery"},{"title":"Feature Flag Entitlement","sidebarTitle":"Feature Flags","icon":"flag","tag":"NEW","href":"/ar/features/entitlements/feature-flags"},{"title":"استحقاق Discord","sidebarTitle":"Discord","icon":"discord","href":"/ar/features/entitlements/discord"},{"title":"استحقاق GitHub","sidebarTitle":"GitHub","icon":"github","href":"/ar/features/entitlements/github"},{"title":"استحقاق تيليجرام","sidebarTitle":"تيليجرام","icon":"telegram","href":"/ar/features/entitlements/telegram"},{"title":"Framer Entitlement","sidebarTitle":"Framer","icon":"puzzle-piece","href":"/ar/features/entitlements/framer"},{"title":"استحقاق Notion","sidebarTitle":"Notion","icon":"book","href":"/ar/features/entitlements/notion"}]},{"group":"Payouts and Balances","icon":"wallet","pages":[{"title":"عملية المدفوعات","icon":"money-bill","href":"/ar/features/payouts/payout-structure"},{"title":"الأرصدة","icon":"file-invoice-dollar","href":"/ar/features/account-summary-payout-wallet"}]},{"group":"Account Management","icon":"user","pages":[{"sidebarTitle":"أرشفة نشاط تجاري","title":"أرشفة نشاط تجاري","icon":"box-archive","tag":"NEW","href":"/ar/features/archive-business"},{"title":"إعداد متعدد العلامات التجارية","icon":"building-columns","href":"/ar/features/multi-brands"},{"title":"إدارة الفواتير","icon":"file-invoice-dollar","href":"/ar/features/invoice-generation"},{"title":"أعضاء الفريق","icon":"user-gear","href":"/ar/features/team"},{"title":"تفضيلات التواصل","sidebarTitle":"تفضيلات التواصل","icon":"bell","tag":"NEW","href":"/ar/features/communication-preferences"},{"title":"حسابي","icon":"user-gear","href":"/ar/miscellaneous/accounts"}]},{"group":"Pricing","icon":"dollar-sign","pages":[{"sidebarTitle":"أسعار شاملة للضرائب","title":"أسعار شاملة للضرائب","icon":"file-invoice","href":"/ar/features/tax-inclusive-pricing"},{"sidebarTitle":"ادفع ما تريد","title":"أسعار ادفع ما تريد","icon":"dollar-sign","href":"/ar/features/pay-what-you-want"},{"title":"مدفوعات B2B","icon":"money-bills","href":"/ar/features/b2b-payments"},{"title":"التسعير المحلي","sidebarTitle":"التسعير المحلي","icon":"earth-americas","href":"/ar/features/localized-pricing"},{"sidebarTitle":"تعادل القوة الشرائية","title":"تعادل القوة الشرائية","tag":"NEW","icon":"money-bill-trend-up","href":"/ar/features/purchasing-power-parity"},{"sidebarTitle":"التسعير الجذّاب","title":"التسعير الجذّاب","tag":"NEW","icon":"tag","href":"/ar/features/charm-pricing"}]},{"sidebarTitle":"الدفع","title":"ميزات الدفع","icon":"cart-shopping","href":"/ar/features/checkout"},{"sidebarTitle":"التصميم","title":"تخصيص التصميم والثيم","icon":"palette","tag":"NEW","href":"/ar/features/design"},{"group":"Payment Methods","icon":"money-bill-wave","pages":[{"title":"Payment Methods","sidebarTitle":"Overview","icon":"layer-group","href":"/ar/features/payment-methods"},{"title":"بطاقات الائتمان والخصم","sidebarTitle":"البطاقات","icon":"credit-card","href":"/ar/features/payment-methods/cards"},{"title":"المحافظ الرقمية","sidebarTitle":"المحافظ الرقمية","icon":"wallet","href":"/ar/features/payment-methods/digital-wallets"},{"title":"اشتر الآن وادفع لاحقًا (BNPL)","sidebarTitle":"BNPL","icon":"calendar-days","href":"/ar/features/payment-methods/bnpl"},{"title":"ACH Direct Debit","sidebarTitle":"ACH Direct Debit","icon":"building-columns","href":"/ar/features/payment-methods/ach"},{"title":"طرق الدفع في الهند","sidebarTitle":"الهند","icon":"indian-rupee-sign","href":"/ar/features/payment-methods/india"},{"title":"طرق الدفع الأوروبية","sidebarTitle":"أوروبا","icon":"euro-sign","href":"/ar/features/payment-methods/europe"},{"title":"طرق الدفع في كوريا الجنوبية","sidebarTitle":"كوريا الجنوبية","icon":"won-sign","href":"/ar/features/payment-methods/south-korea"},{"title":"طرق الدفع في منطقة آسيا والمحيط الهادئ","sidebarTitle":"آسيا والمحيط الهادئ","icon":"earth-asia","href":"/ar/features/payment-methods/asia-pacific"},{"title":"Pix","sidebarTitle":"Pix","icon":"brazilian-real-sign","href":"/ar/features/payment-methods/pix"},{"title":"العملات المستقرة","sidebarTitle":"العملات المستقرة","icon":"dollar-sign","href":"/ar/features/payment-methods/stablecoins"},{"title":"WeChat Pay","sidebarTitle":"WeChat Pay","icon":"comment-dollar","href":"/ar/features/payment-methods/wechat"}]},{"title":"تحليلات الجهات الخارجية","sidebarTitle":"تحليلات الجهات الخارجية","icon":"chart-line","tag":"NEW","href":"/ar/features/analytics"},{"sidebarTitle":"العملة التكيفية","title":"العملة التكيفية","icon":"money-bill-transfer","href":"/ar/features/adaptive-currency"},{"group":"BYOP","icon":"shuffle","tag":"BETA","pages":[{"title":"استخدام المعالج الخاص بك (BYOP)","sidebarTitle":"نظرة عامة","tag":"BETA","icon":"boxes-stacked","href":"/ar/features/byop"},{"title":"Stripe - الاتصال و الوصول إلى واجهة برمجة التطبيقات لبيانات البطاقات الخام","sidebarTitle":"Stripe","icon":"stripe","href":"/ar/features/byop/stripe"},{"title":"Adyen - Connect \u0026 Raw Card API Access","sidebarTitle":"Adyen","icon":"https://mintlify.s3.us-west-1.amazonaws.com/dodopayments/images/logos/adyen.svg","href":"/ar/features/byop/adyen"}]},{"title":"واجهة المتجر","icon":"store","href":"/ar/features/storefront"},{"title":"الشركاء","icon":"users-line","href":"/ar/features/affiliates"},{"title":"Moderation API","icon":"shield-check","tag":"NEW","href":"/ar/features/moderation"},{"title":"بيع السلع الرقمية على iOS","icon":"mobile","href":"/ar/features/appstore-digital-goods"},{"title":"تحليلات لوحة التحكم","sidebarTitle":"تحليلات لوحة التحكم","icon":"chart-line","href":"/ar/features/analytics-and-reporting"},{"title":"التقارير","sidebarTitle":"التقارير","icon":"file-invoice","href":"/ar/features/reports"}]},{"group":"Integrate","pages":[{"group":"SDKs","icon":"box-open","pages":[{"sidebarTitle":"نظرة عامة","title":"SDKs الرسمية","icon":"box","href":"/ar/developer-resources/dodo-payments-sdks"},{"title":"TypeScript","icon":"js","href":"/ar/developer-resources/sdks/typescript"},{"title":"بايثون","icon":"python","href":"/ar/developer-resources/sdks/python"},{"title":"اذهب","icon":"golang","href":"/ar/developer-resources/sdks/go"},{"title":"روبي","icon":"gem","href":"/ar/developer-resources/sdks/ruby"},{"title":"جافا","icon":"java","href":"/ar/developer-resources/sdks/java"},{"title":"Kotlin","icon":"k","href":"/ar/developer-resources/sdks/kotlin"},{"title":"PHP","icon":"php","href":"/ar/developer-resources/sdks/php"},{"title":"C#","icon":"c","href":"/ar/developer-resources/sdks/csharp"},{"title":"Rust","icon":"rust","href":"/ar/developer-resources/sdks/rust"}]},{"group":"Mobile Checkout SDKs","icon":"mobile","pages":[{"title":"Mobile Integration Guide","sidebarTitle":"Integration Guide","icon":"mobile","href":"/ar/developer-resources/mobile-integration"},{"title":"Android","sidebarTitle":"Android","tag":"NEW","icon":"android","href":"/ar/developer-resources/sdks/android"},{"title":"iOS","sidebarTitle":"iOS","tag":"NEW","icon":"apple","href":"/ar/developer-resources/sdks/ios"},{"title":"React Native","sidebarTitle":"React Native","tag":"NEW","icon":"react","href":"/ar/developer-resources/sdks/react-native"},{"title":"Flutter","sidebarTitle":"Flutter","tag":"NEW","icon":"layer-group","href":"/ar/developer-resources/sdks/flutter"}]},{"group":"Framework Adaptors","icon":"frame","pages":[{"sidebarTitle":"نظرة عامة","title":"نظرة عامة على موصلات الإطار","icon":"box","href":"/ar/developer-resources/framework-adaptors"},{"title":"موصل Next.js","icon":"code-merge","href":"/ar/developer-resources/nextjs-adaptor"},{"title":"محوّل Better Auth","icon":"code-merge","href":"/ar/developer-resources/better-auth-adaptor"},{"title":"مكون Convex","icon":"code-merge","href":"/ar/developer-resources/convex-component"},{"title":"TanStack Adaptor","icon":"code-merge","href":"/ar/developer-resources/tanstack-adaptor"},{"title":"محوّل Nuxt","icon":"code-merge","href":"/ar/developer-resources/nuxt-adaptor"},{"title":"موصل إكسبريس","icon":"code-merge","href":"/ar/developer-resources/express-adaptor"},{"title":"محول أسترو","icon":"code-merge","href":"/ar/developer-resources/astro-adaptor"},{"title":"موائم SvelteKit","icon":"code-merge","href":"/ar/developer-resources/sveltekit-adaptor"},{"title":"Hono Adaptor","icon":"code-merge","href":"/ar/developer-resources/hono-adaptor"},{"title":"محول ريمكس","icon":"code-merge","href":"/ar/developer-resources/remix-adaptor"},{"title":"محول Fastify","icon":"code-merge","href":"/ar/developer-resources/fastify-adaptor"},{"title":"Bun Adaptor","icon":"code-merge","href":"/ar/developer-resources/bun-adaptor"}]},{"group":"Webhooks","icon":"webhook","pages":[{"sidebarTitle":"نظرة عامة","title":"Webhooks","icon":"webhook","href":"/ar/developer-resources/webhooks"},{"title":"دليل Webhook Events","icon":"bell","href":"/ar/developer-resources/webhooks/intents/webhook-events-guide"},{"group":"Webhook Payloads","icon":"code","pages":[{"title":"الدفع","icon":"credit-card","href":"/ar/developer-resources/webhooks/intents/payment"},{"sidebarTitle":"الاشتراك","title":"أحداث ويب الاشتراك","icon":"repeat","href":"/ar/developer-resources/webhooks/intents/subscription"},{"title":"استرداد","icon":"rotate-left","href":"/ar/developer-resources/webhooks/intents/refund"},{"sidebarTitle":"النزاع","title":"Webhooks النزاعات","icon":"circle-exclamation","href":"/ar/developer-resources/webhooks/intents/dispute"},{"title":"مفتاح الترخيص","icon":"key","href":"/ar/developer-resources/webhooks/intents/license-key"},{"title":"منح الاستحقاق","icon":"gift","href":"/ar/developer-resources/webhooks/intents/entitlement-grant"},{"sidebarTitle":"الفوترة القائمة على الائتمان","title":"خطافات ويب الفوترة القائمة على الائتمان","icon":"coins","href":"/ar/developer-resources/webhooks/intents/credit"},{"title":"استرداد","icon":"rotate","href":"/ar/developer-resources/webhooks/intents/recovery"},{"sidebarTitle":"دفعة","title":"Webhooks الخاصة بالدفعات","icon":"money-bill-transfer","href":"/ar/developer-resources/webhooks/intents/payout"}]},{"group":"Deploy to Cloud","icon":"rocket","pages":[{"title":"وظائف Vercel","icon":"triangle","href":"/ar/developer-resources/webhooks/examples/vercel-example"},{"title":"Cloudflare Workers","icon":"cloud","href":"/ar/developer-resources/webhooks/examples/cloudflare-example"},{"title":"وظائف Supabase Edge","icon":"bolt","href":"/ar/developer-resources/webhooks/examples/supabase-example"},{"title":"وظائف Netlify","icon":"diamond","href":"/ar/developer-resources/webhooks/examples/netlify-example"}]}]},{"group":"Testing \u0026 Demo Tools","icon":"flask","pages":[{"title":"وضع الاختبار مقابل وضع التشغيل","icon":"toggle-on","href":"/ar/miscellaneous/test-mode-vs-live-mode"},{"title":"عملية الاختبار","icon":"flask","href":"/ar/miscellaneous/testing-process"},{"title":"منتج عرض أطلس","icon":"palette","href":"/ar/features/atlas-demo-website"}]},{"group":"Boilerplates","icon":"box-open","pages":[{"sidebarTitle":"Expo","title":"Expo Boilerplate","icon":"https://mintlify.s3.us-west-1.amazonaws.com/dodopayments/images/logos/expo.svg","tag":"NEW","href":"/ar/developer-resources/expo-boilerplate"},{"sidebarTitle":"Supabase","title":"قالب Supabase الجاهز","icon":"https://mintlify.s3.us-west-1.amazonaws.com/dodopayments/images/logos/supabase.svg","href":"/ar/developer-resources/supabase-boilerplate"},{"sidebarTitle":"إضافة Figma","title":"إضافة Figma","icon":"https://mintlify.s3.us-west-1.amazonaws.com/dodopayments/images/logos/figma.svg","href":"/ar/integrations/figma-plugin"},{"sidebarTitle":"Next.js","title":"Next.js Minimal Boilerplate","icon":"https://mintlify.s3.us-west-1.amazonaws.com/dodopayments/images/logos/nextjs.svg","href":"/ar/developer-resources/nextjs-boilerplate"},{"sidebarTitle":"أسترو","title":"نموذج أسترو الأساسي","icon":"https://mintlify.s3.us-west-1.amazonaws.com/dodopayments/images/logos/astro.svg","href":"/ar/developer-resources/astro-boilerplate"},{"sidebarTitle":"FastAPI","title":"نموذج FastAPI","icon":"https://mintlify.s3.us-west-1.amazonaws.com/dodopayments/images/logos/fastapi.svg","tag":"NEW","href":"/ar/developer-resources/fastapi-boilerplate"},{"sidebarTitle":"Go","title":"قالب Go الجاهز","icon":"golang","tag":"NEW","href":"/ar/developer-resources/go-boilerplate"}]},{"title":"Dodo CLI","icon":"terminal","tag":"NEW","href":"/ar/developer-resources/sdks/cli"},{"title":"Overlay Checkout","icon":"cart-shopping","href":"/ar/developer-resources/overlay-checkout"},{"title":"Inline Checkout","icon":"credit-card","href":"/ar/developer-resources/inline-checkout"},{"title":"SDK الفوترة","icon":"boxes-stacked","href":"/ar/developer-resources/billingsdk"},{"title":"Dodo Payments MCP Server","icon":"server","href":"/ar/developer-resources/mcp-server"},{"title":"مهارات الوكلاء","icon":"wand-magic-sparkles","href":"/ar/developer-resources/agent-skills"},{"sidebarTitle":"مزامنة قاعدة البيانات","title":"المزامنة مع قاعدة بياناتك","icon":"database","href":"/ar/developer-resources/dodo-sync"},{"sidebarTitle":"ترحيل الاشتراكات","title":"ترحيل الاشتراكات إلى مدفوعات دودي","icon":"file-import","href":"/ar/miscellaneous/subscription-migration"}]},{"group":"Merchant of Record","pages":[{"sidebarTitle":"ما هو MoR؟","title":"مقدمة","icon":"building-columns","href":"/ar/features/mor-introduction"},{"title":"MoR مقابل PG","icon":"scale-balanced","href":"/ar/features/mor-vs-pg"},{"title":"الدول المؤهلة لقبول التجار","icon":"globe","href":"/ar/miscellaneous/accepted-countries-and-territories"},{"title":"سياسة المراجعة والمراقبة","icon":"magnifying-glass","href":"/ar/miscellaneous/review-monitoring-policy"},{"sidebarTitle":"تجاوز رسوم App Store","title":"تجاوز رسوم App Store وPlay Store باستخدام Dodo Payments","icon":"shield-check","href":"/ar/features/bypassing-app-store-fees"}]},{"group":"Miscellaneous","pages":[{"group":"Support Channels","icon":"headset","pages":[{"title":"المساعدة والدعم","icon":"headset","href":"/ar/miscellaneous/help-support"},{"title":"طلب ميزة وخارطة الطريق","icon":"lightbulb","href":"/ar/features/feature-request"}]},{"title":"تطبيقات الجوال وسطح المكتب","icon":"mobile","href":"/ar/features/mobile-app"},{"title":"سياسة الإبلاغ عن الأمان","icon":"shield","href":"/ar/miscellaneous/security-policy"}]}]},{"tab":"Guides","icon":"compass","pages":[{"title":"Guides","href":"/ar/developer-resources/integration-guide"}]},{"tab":"API Reference","icon":"rectangle-code","pages":[{"title":"API Reference","href":"/ar/api-reference/introduction"}]},{"tab":"External Integrations","icon":"plug","pages":[{"title":"External Integrations","href":"/ar/integrations/introduction"}]},{"tab":"Changelog","icon":"calendar-days","pages":[{"title":"Changelog","href":"/ar/changelog/introduction"}]},{"tab":"Community Projects","icon":"users","pages":[{"title":"Community Projects","href":"/ar/community/overview"}]}]},{"language":"fr","pages":[{"title":"fr","href":"/fr/features/usage-based-billing/meters"}]},{"language":"de","pages":[{"title":"de","href":"/de/features/usage-based-billing/meters"}]},{"language":"id","pages":[{"title":"id","href":"/id/features/usage-based-billing/meters"}]},{"language":"ja","pages":[{"title":"ja","href":"/ja/features/usage-based-billing/meters"}]},{"language":"ko","pages":[{"title":"ko","href":"/ko/features/usage-based-billing/meters"}]},{"language":"pt-BR","pages":[{"title":"pt-BR","href":"/pt-BR/features/usage-based-billing/meters"}]},{"language":"vi","pages":[{"title":"vi","href":"/vi/features/usage-based-billing/meters"}]},{"language":"cn","pages":[{"title":"cn","href":"/cn/features/usage-based-billing/meters"}]},{"language":"hi","pages":[{"title":"hi","href":"/hi/features/usage-based-billing/meters"}]},{"language":"it","pages":[{"title":"it","href":"/it/features/usage-based-billing/meters"}]},{"language":"sv","pages":[{"title":"sv","href":"/sv/features/usage-based-billing/meters"}]}]},"title":"المقاييس - Dodo Payments Documentation","buildId":"dpl_2xiSHD9XEvLsPGPcfoMtkLTB3dy9","deploymentId":"dpl_2xiSHD9XEvLsPGPcfoMtkLTB3dy9","dynamics":["07c022d89b","a74be98ba7"],"chunks":["Frame-DYplxqhs.js","DynamicMarkdown-Cc6AuSHS.js","zoom-image-lightbox-BNnMwe0F.js","lightbox-handle-r17bVUz3.js"]}