member.fines

GET · api v1

Fines on the member that are not paid yet. Useful for a bank or phone app.

الغرامات على العضو اللي ما انسددت. مفيد لتطبيق البنك أو الجوال.

Parameters

NameTypeRequiredDescription
targetTargetrequiredWho to read about: { source = 7 } for an online player, { discord = "..." } or { code = "P-12" }.
factionstringrequiredThe in-game job name linked to the قطاع, e.g. "police".

Returns (res.data)

NameTypeDescription
countnumberUnpaid fines.
totalnumberSum of amounts.
itemstable[]{ id, amount, reason, created_at, issued_by_name }

Possible errors

Notes

Example

local res = exports.OrcaBot_V3:Get('member.fines', { target = { source = src }, faction = 'police' })

Example output

{
  "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
  }
}