Soledgic Documentation

Double-entry accounting for creator platforms. Track revenue splits, manage payouts, and maintain an immutable audit trail.

Record your first salePOST
curl -X POST https://api.soledgic.com/v1/record-sale \
  -H "x-api-key: sk_test_your_api_key" \
  -H "Content-Type: application/json" \
  -d '{
    "reference_id": "order_123",
    "creator_id": "creator_456",
    "amount": 2999,
    "description": "Digital product sale"
  }'

How It Works

Every financial write runs inside a PostgreSQL RPC with row locks and atomic transactions—your ledger either records the full double-entry set or nothing. Stateless Edge Workers handle auth, validation, and orchestration, then delegate to these database RPCs. Learn more about the architecture →

Why Soledgic?

Double-Entry Accounting

Every transaction creates balanced entries. Your books always reconcile, with a complete audit trail.

Test & Live Modes

Develop with test API keys, then switch to live when ready. Data is completely isolated between modes.

Built for Platforms

Handle creator revenue splits, tax withholding, and payout scheduling out of the box.

Need help?

Can't find what you're looking for? Our team is here to help.