The financial engine other software can build on.
DigiCollect provides financial APIs that let developers, software companies and savings and microfinance businesses build on the same ledger and accounting engine DigiCollect runs on, instead of building one from scratch.
# request
GET {base_url}/v1/accounting/trial-balance
X-API-Key: dck_prod_…
# response
{
"currency": "GHS",
"rows": [ … ],
"totals": { "debits": …, "credits": … },
"balanced": true
}
The financial engine
One ledger underneath every product.
DigiCollect Core is the ledger and accounting engine underneath DigiCollect OS. Institutions and software teams can use it through an API. OS runs on Core, and Core can be used without OS. It is built around how susu, savings and microfinance businesses operate, with daily contributions, field collections and small-ticket loans, not around the needs of formal banks.
Third-party applications
- Fintech and savings apps
- Susu, savings and MFI systems
- Internal tools and dashboards
DigiCollect APIs
/v1/customers/v1/transactions/v1/groups/v1/accounting
Financial engine
- Double-entry general ledger
- Scoped, revocable API keys
- Idempotent writes
- Approval rules for withdrawals
Financial records
Savings and microfinance businesses
Already running on DigiCollect OS?
Your organisation already sits on Core. Approved organisations can request a production key to read their own customers, transactions and accounting from other systems.
Developers and software companies
Building an independent financial application?
Use the ledger and API without the full OS. Build against a sandbox with sample data, then talk to us about production access. Pricing is agreed with each institution.
Available financial capabilities
What the API does today, and what it does not.
Each capability is labelled with its current status, so you know what you can build against now.
Account management
Read live · write in sandboxYour own key's organisation, branches and customers with current balances. With the KYC scope, the last four characters of a customer's ID. Create customers in the sandbox.
GET /v1/me · /v1/branches · /v1/customers · POST /v1/customersDeposits and withdrawals
SandboxRecord deposits and withdrawals with an Idempotency-Key. A deposit credits the balance. A withdrawal is recorded as pending and moves the balance only when staff approve it.
POST /v1/transactionsSavings
AvailableSavings groups, their members, contribution cycles and group transactions.
GET /v1/groups · /members · /cycles · /transactionsLoan management
PlannedPart of the long-term roadmap. Loans are not exposed through the API today.
Transactions
AvailableList transactions with date filters, read a customer's transaction history, and retrieve a single transaction.
GET /v1/transactions · /v1/customers/{id}/transactionsAccounting
AvailableChart of accounts, journal entries, trial balance, balance sheet and income statement, for one branch or the whole institution. Amounts are whole integers in the smallest currency unit.
GET /v1/accounting/…API integration workflow
From first request to production.
Build in the sandbox
Make a key with no login, sign up and sign in. You get a test organisation with branches, customers, a month of transactions and balanced books.
Call the API
Read customers, transactions and accounting. Record test deposits and withdrawals, and approve or decline a withdrawal to see it go all the way through.
Request production access
An organisation that is approved asks for production access with a purpose and contact. DigiCollect reviews and decides.
Go live
Issue a production key scoped to what the integration needs. Revoke it at any time.
Developer onboarding
A working sandbox in four calls.
The sandbox is open and made by API calls, not a sign-up page. It never touches production data. A key lasts 30 days.
Make a key
POST /sandboxeswith no login and no body. Thedck_dev_key is shown once.Sign up
POST /v1/auth/signupwith the key inX-API-Key. This creates your test organisation, already approved and filled with sample data.Sign in
POST /v1/auth/loginreturns a short-lived access token that lasts 15 minutes.Call
Send the key and the token on every other endpoint.
# 1. make a sandbox key (no login)
POST https://sandbox.digicollect.app/sandboxes
# 2. sign up, then 3. sign in
POST /v1/auth/signup
X-API-Key: dck_dev_…
POST /v1/auth/login
X-API-Key: dck_dev_…
# 4. call
GET /v1/customers
X-API-Key: dck_dev_…
Authorization: Bearer dct_dev_…
Authentication and API keys
Keys limited to what an integration needs.
Every call is authenticated with an API key sent in the X-API-Key header. What a call can see comes from the key's own record, never from the request.
Scoped
Each key carries only the scopes it needs, such as customers:read, transactions:read, groups:read or accounting:read.
Per institution or per branch
An organisation key covers every branch. A branch key is pinned to its branch and ignores any branch parameter in the request.
Shown once, stored as a hash
The secret is returned once when the key is created. Only a SHA-256 of it is stored, and comparison is constant-time.
Revocable at any time
Revoking a key takes effect on its next request. Keys are revoked, never deleted, and creating and revoking are audited.
Separate environments
Sandbox keys (dck_dev_) work only in the sandbox. Production keys (dck_prod_) work only in production and need an approved organisation with an active subscription.
Rate limited per key
Each key has a per-minute allowance, 120 requests by default. Rate limit headers and a request id are returned on responses.
Security and reliability
Designed so a mistake cannot become a money movement.
Controls are built into how the API is deployed and what each credential is allowed to do.
Reads cannot write
Read requests run on a separate function with a read-only role and an explicit deny on every write.
No writes in production
Write endpoints exist only in the sandbox. They are blocked in production in four independent places, so turning them on later is a deliberate change.
Safe to retry
Writes require an Idempotency-Key. Repeating a request returns the original result, and the same key with a different request is refused.
Withdrawals need a person
A withdrawal recorded through the API stays pending. Nothing reachable with an API key can approve one in a real organisation.
Explicit response fields
Every response is a whitelist of documented fields. A field added internally stays private until it is documented.
Approval checked on every call
Withdrawing production approval, or an expired subscription, stops an organisation's production keys on their next request.
The API is pull-based today: there are no webhooks, so integrations poll. Per-key IP allow-lists are not available yet.
API documentation
Start in the sandbox. Talk to us when you are ready.
The developer portal has the full reference, a sandbox console and a guide to going live.