REST API · /v1
Post an entry from anywhere.
Decimal-string amounts, idempotent writes, signed cursors and RFC 9457 errors. API keys carry a role, and their writes go through the same approval rules as anyone’s.
curl https://raremargin.com/v1/journal-entries \
-H "Authorization: Bearer ck_…" \
-H "Idempotency-Key: 8c1f2e" \
-d '{
"date": "2026-10-31",
"memo": "October payroll",
"lines": [
{ "account_code": "6000", "debit": "84250.00" },
{ "account_code": "1000", "credit": "84250.00" }
]
}'
MCP server · /mcp
Bring your own agent.
Connect Claude or any MCP client to the same tools the assistant uses. Write tools create approval requests, never postings.
claude mcp add --transport http raremargin \
https://raremargin.com/mcp \
--header "Authorization: Bearer ck_…"
Webhooks
Hear about every posting.
Signed with HMAC-SHA256, sent from a transactional outbox, retried with backoff, and every delivery logged in Settings.