مرجع عام
Payments
كل نقاط النهاية في هذه المجموعة. افتح أي واحدة لعرض معاملاتها ومثال عملي عليها.
Payments
14GET /api/v1/admin/payments/config List configured gateways
Just the tenant's configured rows, with credentials masked, for a page that already holds the catalogue.
- المصادقة
- رمز موظّف أو جلسة
- تتطلب صلاحية
-
prm_settingsManage settings
POST /api/v1/admin/payments/config Configure a gateway
Upserts one gateway's credentials and settings. Every field is keep-existing, so a partial payload leaves unsent credentials alone rather than clearing them.
- المصادقة
- رمز موظّف أو جلسة
- تتطلب صلاحية
-
prm_settingsManage settings - حد المعدل
t_mutate
المعاملات
| المعامل | الوصف |
|---|---|
gatewayمطلوب
body · string
|
Driver id from the catalogue. |
DELETE /api/v1/admin/payments/config/{gateway} Remove a gateway configuration
Deletes the tenant's credentials for one driver. Transactions already recorded against it are untouched.
- المصادقة
- رمز موظّف أو جلسة
- تتطلب صلاحية
-
prm_settingsManage settings - حد المعدل
t_mutate
المعاملات
| المعامل | الوصف |
|---|---|
gatewayمطلوب
path · string
|
Driver id. |
PATCH /api/v1/admin/payments/config/{gateway} Update one gateway's configuration
The same upsert as the POST, with the gateway named in the path. The PATH wins over any gateway field in the body, so a stale client cannot retarget an edit at a different gateway.
- المصادقة
- رمز موظّف أو جلسة
- تتطلب صلاحية
-
prm_settingsManage settings - حد المعدل
t_mutate
المعاملات
| المعامل | الوصف |
|---|---|
gatewayمطلوب
path · string
|
Driver id. |
POST /api/v1/admin/payments/config/{gateway}/test Test a gateway configuration
Checks the stored credentials against the provider.
- المصادقة
- رمز موظّف أو جلسة
- تتطلب صلاحية
-
prm_settingsManage settings - حد المعدل
t_mutate
المعاملات
| المعامل | الوصف |
|---|---|
gatewayمطلوب
path · string
|
Driver id. |
GET /api/v1/admin/payments/config/{gateway}/webhook-url Read a gateway's callback URL
The exact URL to register with the provider, including the per-tenant secret path segment. Copy it verbatim.
- المصادقة
- رمز موظّف أو جلسة
- تتطلب صلاحية
-
prm_settingsManage settings
The URL contains a secret. It is what proves an inbound callback came from the provider you configured, so treat the response as a credential and do not paste it into a ticket.
المعاملات
| المعامل | الوصف |
|---|---|
gatewayمطلوب
path · string
|
Driver id. |
POST /api/v1/admin/payments/deposit Top up own wallet online
- المصادقة
- رمز موظّف أو جلسة
- تتطلب صلاحية
-
prm_managers_self_depositTop up own wallet online - حد المعدل
pay_init
مقروء مباشرة من الموجّه الذي يخدم هذه النسخة. لم يُضَف بعد وصف مكتوب لنقطة النهاية هذه.
GET /api/v1/admin/payments/deposit/gateways Top up own wallet online
- المصادقة
- رمز موظّف أو جلسة
- تتطلب صلاحية
-
prm_managers_self_depositTop up own wallet online
مقروء مباشرة من الموجّه الذي يخدم هذه النسخة. لم يُضَف بعد وصف مكتوب لنقطة النهاية هذه.
GET /api/v1/admin/payments/gateways List the gateway catalogue and what is configured
The drivers this build supports, the tenant's own configured rows with secrets masked, and the public base URL a gateway should call back to.
- المصادقة
- رمز موظّف أو جلسة
- تتطلب صلاحية
-
prm_settingsManage settings
Read implemented and pollable before building against a driver. implemented false is a registry stub whose vendor contract is not verified; pollable false means the gateway has no merchant-readable status API, so its callback is the only channel and a lost callback is a lost payment. min_amount is the PSP's own floor in major units, and 0 means no floor.
{
"data": {
"catalog": [
{
"id": "paymob",
"label": "Paymob",
"methods": [],
"fields": [],
"ttl_seconds": 900,
"min_amount": 0,
"implemented": true,
"pollable": true
}
],
"configured": [],
"public_base_url": "https://acme.example.com"
}
}
GET /api/v1/admin/payments/transactions/{id}
- المصادقة
- رمز موظّف أو جلسة
- تتطلب أيًّا من
-
prm_report_gateway_transactionsprm_report_gateway_transactions_all
مقروء مباشرة من الموجّه الذي يخدم هذه النسخة. لم يُضَف بعد وصف مكتوب لنقطة النهاية هذه.
POST /api/v1/admin/payments/transactions/{id}/recheck Re-check and write off gateway transactions
- المصادقة
- رمز موظّف أو جلسة
- تتطلب صلاحية
-
prm_payments_manageRe-check and write off gateway transactions - حد المعدل
pay_init
مقروء مباشرة من الموجّه الذي يخدم هذه النسخة. لم يُضَف بعد وصف مكتوب لنقطة النهاية هذه.
POST /api/v1/admin/payments/transactions/{id}/refund Mark gateway payments paid / refunded (moves money)
- المصادقة
- رمز موظّف أو جلسة
- تتطلب صلاحية
-
prm_payments_settleMark gateway payments paid / refunded (moves money) - حد المعدل
pay_init
مقروء مباشرة من الموجّه الذي يخدم هذه النسخة. لم يُضَف بعد وصف مكتوب لنقطة النهاية هذه.
POST /api/v1/admin/payments/transactions/{id}/settle Mark gateway payments paid / refunded (moves money)
- المصادقة
- رمز موظّف أو جلسة
- تتطلب صلاحية
-
prm_payments_settleMark gateway payments paid / refunded (moves money) - حد المعدل
pay_init
مقروء مباشرة من الموجّه الذي يخدم هذه النسخة. لم يُضَف بعد وصف مكتوب لنقطة النهاية هذه.
POST /api/v1/admin/payments/transactions/{id}/status Re-check and write off gateway transactions
- المصادقة
- رمز موظّف أو جلسة
- تتطلب صلاحية
-
prm_payments_manageRe-check and write off gateway transactions - حد المعدل
t_mutate
مقروء مباشرة من الموجّه الذي يخدم هذه النسخة. لم يُضَف بعد وصف مكتوب لنقطة النهاية هذه.
لا توجد نقطة نهاية تطابق هذا البحث.
مكتوب لتقرأه الأدوات الآلية أيضًا
المرجع عام ولا يتطلب حسابًا، فتستطيع أداة لم تَرَ X-Radius من قبل أن تصل إلى أول استدعاء صحيح بنفسها.
- /llms.txt
- فهرس لكل صفحة، مع ملخّص من سطر واحد.
- /llms-full.txt
- المرجع كاملًا في ملف Markdown واحد، دون تنقّل يحتاج إلى زحف.
- /openapi.json
- OpenAPI 3.1، مُولَّد من الموجّه الذي يخدم هذه النسخة.
- /skill.md
- ملف مهارة جاهز لمساعد آلي: المصادقة وشكل الاستجابة ورموز الأخطاء في صفحة واحدة.
<page-url>.md- أضف .md إلى رابط أي صفحة في المرجع لتحصل على الصفحة نفسها بصيغة Markdown.
Accept: text/markdown- أرسل هذه الترويسة على الرابط المعتاد فتصلك الإجابة بصيغة Markdown بدلًا من الصفحة.
اقرأ https://x-radius.com/llms.txt، ثم اجلب نقطة النهاية التي تحتاجها بصيغة Markdown بإضافة .md إلى رابطها.