Skip to main content

Production-grade ledger for fintech products

Blnk provides a double-entry accounting ledger with reconciliation, identity management, and compliance tools to help you ship fintech products fast.

Double-entry accounting
Multi-currency support
Real-time reconciliation

Quick start

Get your ledger up and running in minutes

1

Install Blnk with Docker Compose

Clone the repository and start the services:
git clone https://github.com/blnkfinance/blnk && cd blnk
docker compose up
Blnk will start on http://localhost:5001 with PostgreSQL and Redis.
2

Create a ledger

Create your first ledger to organize balances:
curl -X POST http://localhost:5001/ledgers \
  -H "Content-Type: application/json" \
  -d '{
    "name": "Customer Ledger",
    "meta_data": {
      "project_id": "proj_123"
    }
  }'
{
  "ledger_id": "ldg_abc123",
  "name": "Customer Ledger",
  "created_at": "2024-03-04T10:00:00Z",
  "meta_data": {
    "project_id": "proj_123"
  }
}
3

Create balances and record a transaction

Create source and destination balances, then record a transaction:
# Create balances
curl -X POST http://localhost:5001/balances \
  -H "Content-Type: application/json" \
  -d '{
    "ledger_id": "ldg_abc123",
    "currency": "USD"
  }'

# Record transaction
curl -X POST http://localhost:5001/transactions \
  -H "Content-Type: application/json" \
  -d '{
    "source": "bal_source123",
    "destination": "bal_dest456",
    "amount": 10000,
    "precision": 100,
    "currency": "USD",
    "reference": "payment_001",
    "description": "Transfer funds"
  }'
The precision field defines decimal places. 100 means 2 decimal places, so 10000 = $100.00.
4

Explore the API

Check out the API Reference to explore all available endpoints including reconciliation, identity management, and webhooks.

Explore by topic

Learn about core concepts and features

Ledgers

Organize balances and transactions with ledgers

Balances

Track account balances with precision accounting

Transactions

Record financial movements between balances

Identities

Manage user identities with PII tokenization

Reconciliation

Match internal records with external statements

Balance Monitoring

Set alerts for balance thresholds

Ready to build?

Start building your fintech product with Blnk’s production-grade ledger infrastructure.