Ghaem Gold API
26 APIs · 194 operations · always current, straight from the specs.
Assets API
The asset registry: what a balance line can be denominated in — Rial, gold and silver weights, individual coin variants, bullion, and foreign currenc…
3 operations v1.0.0Audit Log API
«مشاهده لاگها» — the append-only, tamper-evident record of everything that happened in the system, and the tool that proves it has not been altered.…
4 operations v1.0.0Admin Audit Log API
Exporting the audit trail — a single endpoint, and the most tightly gated read in the whole API. Browsing the trail, reading one row, listing the act…
1 operations v1.0.0Authentication API
Operator sign-in, refresh-token rotation and session management for the Ghaem Gold panel. §4.1 — the only population that signs in is the operator (p…
6 operations v1.0.0Bank Accounts API
Counterparty bank accounts — the destinations settlement money is actually sent to — plus the read-only bank catalog they are classified against. An …
9 operations v1.0.0Admin Bank Accounts API
The three flags on a bank account that govern how the settlement matching engine treats it: whether the account is excluded from matching altogether,…
3 operations v1.0.0Telegram Bot API
The API the Telegram bot calls — and nothing else does. The bot is a thin client: it holds the Telegram token and renders messages; the backend holds…
27 operations v1.0.0Custom Bank Accounts API
«حسابهای اختصاصی ادمین» — the business's own bank accounts, kept so an operator can top up a creditor's short matching bin («کسری») by hand from one…
5 operations v1.0.0Files API
Retrieval of stored receipt images. Two routes, with deliberately different security models. Files in this system live in private object storage. Not…
2 operations v1.0.0Financial Records API
«سوابق مالی» — multi-asset counterparty balances mirrored from the accounting system: the current book, one record's full snapshot history with per-a…
7 operations v1.0.0Health and Metrics API
Operational endpoints: two orchestrator probes and one Prometheus scrape target. None of them requires authentication, and none of them is part of th…
3 operations v1.0.0Ingestion API
«همگامسازی» — the pipeline that pulls parties and balances from the external accounting system, and the operator surface for watching it. Three idea…
7 operations v1.0.0Admin Ingestion API
The three ingestion operations that change canonical data by re-deriving it from stored vendor payloads: resolving a quarantine row, reprocessing a s…
3 operations v1.0.0Matching API
«لیست تطبیق» — the settlement allocation engine. It decides which debtor pays which creditor, into which nominated bank account, for how much. This i…
25 operations v2.0.0Admin Matching API
The three decisions in the settlement matching engine that have money attached: freezing a plan, issuing payment orders from it, and changing the eng…
6 operations v1.0.0Admin Operators API
Management of operators — the panel staff who sign in and hold permissions. §4.1 — this is not the counterparty list: a party is an external entity m…
8 operations v1.0.0Parties API
The counterparty list — «لیست کاربران» in the panel sidebar. A party is an external entity mirrored from the accounting system: it never signs in, ho…
15 operations v1.0.0Admin Parties API
Administrator-only control over whether a counterparty takes part in settlement matching at all. Everything else about a party — searching, reading, …
2 operations v1.0.0Party Groups API
Counterparty groups — صندوق / ويترين داران / خانگي and anything the sync has met since. A party group classifies an external counterparty; it confers…
5 operations v1.0.0Payments API
«سوابق پرداخت» — payment orders, the state machine they move through, and the receipt (فیش) evidence attached to them. Payments here are recorded, no…
19 operations v1.0.0Admin Roles and Permissions API
The panel's access-control settings: the panel roles operators are assigned to, and the read-only permission catalog those roles are built from. §4.1…
7 operations v1.0.0Settlement Cycles API
«دورههای تسویه» — every non-company bank account and every matching board belongs to exactly one settlement cycle. Since prompt 24 (this repo) nothi…
6 operations v2.0.0Admin Settlement Cycles API
The manual matching lifecycle. Nothing starts matching by itself: the admin starts it by hand in the evening with «شروع تطبیق», giving «حداقل مبلغ بد…
2 operations v2.0.0Telegram API
The panel's view of the Telegram bot: who is linked, what the bot was asked to send and what became of it, and the reminder that asks creditors for t…
4 operations v1.0.0Admin Telegram API
Cutting a Telegram user off the bot. Linking is the user's own act (they share their contact with the bot); revoking is the administrator's. Reading …
14 operations v1.0.0Withdrawal Requests API
«درخواستهای برداشت» — what creditors submitted through the Telegram bot: the accounts (IBAN or card) their receivable should be paid into, split unt…
1 operations v1.0.0Connect an AI agent
Point an agent here once and it always reads current docs — nothing to re-share.
{
"mcpServers": {
"apiwarden": { "type": "http", "url": "<origin>/mcp" }
}
}
Or fetch it as plain data: