GET · api v1
Fines on the member that are not paid yet. Useful for a bank or phone app.
الغرامات على العضو اللي ما انسددت. مفيد لتطبيق البنك أو الجوال.
| Name | Type | Required | Description |
|---|---|---|---|
target | Target | required | Who to read about: { source = 7 } for an online player, { discord = "..." } or { code = "P-12" }. |
faction | string | required | The in-game job name linked to the قطاع, e.g. "police". |
res.data)| Name | Type | Description |
|---|---|---|
count | number | Unpaid fines. |
total | number | Sum of amounts. |
items | table[] | { id, amount, reason, created_at, issued_by_name } |
local res = exports.OrcaBot_V3:Get('member.fines', { target = { source = src }, faction = 'police' })
{
"ok": true,
"data": {
"count": 1,
"total": 5000,
"items": [
{
"id": 301,
"amount": 5000,
"reason": "مخالفة زي",
"created_at": "2026-10-12T21:00:00Z",
"issued_by_name": "نايف الحربي"
}
]
},
"meta": {
"action": "member.fines",
"method": "GET",
"api": 1
}
}