_  
FRAGMENT is the ledger API for engineers that move money.
Pleo LogoTrucksmarter LogoFragile LogoNala Logo
Why FRAGMENT
SQL tables weren't built for money, so they often lose track of it. FRAGMENT comes with real-time, double-entry accounts that store and track every penny.
Postgres
FRAGMENT
_
How it works
1
 Design your Schema
Choose from a library of example ledgers. Use our schema designer to customize them to match your flow of funds.
2
 Link your
financial systems
Track the state of every transaction from your bank, card and payment systems. Instantly update your ledger when they change.
3
 Integrate your product
Generate an SDK to read and write balances. Call our API to check or update them.
Store your Schema
mutation StoreSchema(
  $schema: SchemaInput!
) {
  storeSchema(schema: $schema) {
      schema {
        name
        version {
          version
          created
          json
        }
      }
    }
  }
}
Post an entry
mutation WalletTransfer(
  $ik: SafeString!
  $entry: LedgerEntryInput!
) {
  addLedgerEntry(
    ik: $ik, entry: $entry
  ) {
    lines {
      amount
      account { path }
    }
  }
}
Query a balance
query GetBalance(
  $account: LedgerAccountMatchInput!
) {
  ledgerAccount(
    ledgerAccount: $account
  ) {
    balance(
      consistencyMode: "strong"
      at: "2022-02-01"
    )
  }
}
Work with us to design your ledger in 45 minutes.
Performance
FRAGMENT is really fast. Check out our latest load test:
Requests: 19,622,609
Metric
Throughput
Latency
Reads
7,489rps
33ms
Writes
14,578rps
69ms
No one builds their own database. Why build one for money?
©
 FRAGMENT  
2024