docs-pr7559.prs-0-us-east-1.engineering.fragment.dev Open in urlscan Pro
2600:9000:21dd:1200:5:58b4:8ec0:93a1  Public Scan

URL: https://docs-pr7559.prs-0-us-east-1.engineering.fragment.dev/
Submission: On November 18 via api from US — Scanned from US

Form analysis 0 forms found in the DOM

Text Content

FRAGMENT
Documentation
Login↗
Menu
Get a demo→
The database for money
_
The database 
for money
_
Entries
☰
fund-operating
Parameter
Value
amount
50000

--------------------------------------------------------------------------------

new-invoice
Parameter
Value
user_id
alice
merchant_id
m_abc
fee_amount
300
gross_amount
10000

--------------------------------------------------------------------------------

new-invoice
Parameter
Value
user_id
alice
merchant_id
m_def
fee_amount
600
gross_amount
20000

--------------------------------------------------------------------------------

charge-user
Parameter
Value
user_id
alice
Amount
30000

--------------------------------------------------------------------------------

payout-merchant
Parameter
Value
merchant_id
m_abc

--------------------------------------------------------------------------------

payout-merchant
Parameter
Value
merchant_id
m_def

--------------------------------------------------------------------------------

record-bank-fees
Parameter
Value
Amount
100
1×◀◀Stop▶▶↺
Accounts
Assets
0
1
2
3
4
5
6
7
8
9
0
1
2
3
4
5
6
7
8
9
0
1
2
3
4
5
6
7
8
9
.
0
1
2
3
4
5
6
7
8
9
0
1
2
3
4
5
6
7
8
9
├╴
Bank
0
1
2
3
4
5
6
7
8
9
0
1
2
3
4
5
6
7
8
9
0
1
2
3
4
5
6
7
8
9
.
0
1
2
3
4
5
6
7
8
9
0
1
2
3
4
5
6
7
8
9
└╴
Receivables
0
1
2
3
4
5
6
7
8
9
.
0
1
2
3
4
5
6
7
8
9
0
1
2
3
4
5
6
7
8
9
└╴
Users
0
1
2
3
4
5
6
7
8
9
.
0
1
2
3
4
5
6
7
8
9
0
1
2
3
4
5
6
7
8
9
└╴
alice
0
1
2
3
4
5
6
7
8
9
.
0
1
2
3
4
5
6
7
8
9
0
1
2
3
4
5
6
7
8
9
Liabilities
0
1
2
3
4
5
6
7
8
9
0
1
2
3
4
5
6
7
8
9
0
1
2
3
4
5
6
7
8
9
.
0
1
2
3
4
5
6
7
8
9
0
1
2
3
4
5
6
7
8
9
├╴
Equity
0
1
2
3
4
5
6
7
8
9
0
1
2
3
4
5
6
7
8
9
0
1
2
3
4
5
6
7
8
9
.
0
1
2
3
4
5
6
7
8
9
0
1
2
3
4
5
6
7
8
9
└╴
Payables
0
1
2
3
4
5
6
7
8
9
0
1
2
3
4
5
6
7
8
9
.
0
1
2
3
4
5
6
7
8
9
0
1
2
3
4
5
6
7
8
9
└╴
Merchants
0
1
2
3
4
5
6
7
8
9
0
1
2
3
4
5
6
7
8
9
.
0
1
2
3
4
5
6
7
8
9
0
1
2
3
4
5
6
7
8
9
├╴
m_abc
0
1
2
3
4
5
6
7
8
9
.
0
1
2
3
4
5
6
7
8
9
0
1
2
3
4
5
6
7
8
9
└╴
m_def
0
1
2
3
4
5
6
7
8
9
0
1
2
3
4
5
6
7
8
9
.
0
1
2
3
4
5
6
7
8
9
0
1
2
3
4
5
6
7
8
9
Income
0
1
2
3
4
5
6
7
8
9
.
0
1
2
3
4
5
6
7
8
9
0
1
2
3
4
5
6
7
8
9
└╴
Invoice-fees
0
1
2
3
4
5
6
7
8
9
.
0
1
2
3
4
5
6
7
8
9
0
1
2
3
4
5
6
7
8
9
Expense
0
1
2
3
4
5
6
7
8
9
.
0
1
2
3
4
5
6
7
8
9
0
1
2
3
4
5
6
7
8
9
└╴
Bank-fees
0
1
2
3
4
5
6
7
8
9
.
0
1
2
3
4
5
6
7
8
9
0
1
2
3
4
5
6
7
8
9

FRAGMENT is a ledger API for building financial products. Compose any funds
flow, turn it into code, embed it in your product and never get another balance
wrong.
Get a demo→
Get a demo→
A ledger for engineers
wallet-instant-payout
Description
Reconcile user wallet instant payout

Account
Amount
operating-bank
-{{payout}}-{{bank_fee}}
user:{{id}}/available
-{{payout}}-{{rtp_fee}}
income/rtp-fees
{{rtp_fee}}
expense/bank-fees
{{bank_fee}}
Balanced✓
wallet-instant-payout.ts
1 await fragment.addLedgerEntry({
2 ik: "wallet-entry-ik-1",
3 ledgerIk: "prod-wallet-ledger",
4 type: "wallet-instance-payout",
5 posted: "2024-03-30T16:45:00Z",
6 parameters: {
7 id: "user-id-1",
8 payout: "100000",
9 bank_fee: "200",
10 rtp_fee: "50",
11 _

fragment generate...
/
We make ledgers accessible by turning them into code. So you can manage balances
that traditional financial systems can't. And build products that exchange value
in ways never before possible.
Balances, solved
Product
Available
$
0
1
2
3
4
5
6
7
8
9
,
0
1
2
3
4
5
6
7
8
9
0
1
2
3
4
5
6
7
8
9
0
1
2
3
4
5
6
7
8
9
.
0
1
2
3
4
5
6
7
8
9
0
1
2
3
4
5
6
7
8
9
↑↓⇆$
FRAGMENT
/Accounts
Bank
$
0
1
2
3
4
5
6
7
8
9
0
1
2
3
4
5
6
7
8
9
0
1
2
3
4
5
6
7
8
9
.
0
1
2
3
4
5
6
7
8
9
0
1
2
3
4
5
6
7
8
9
Available
$
0
1
2
3
4
5
6
7
8
9
,
0
1
2
3
4
5
6
7
8
9
0
1
2
3
4
5
6
7
8
9
0
1
2
3
4
5
6
7
8
9
.
0
1
2
3
4
5
6
7
8
9
0
1
2
3
4
5
6
7
8
9
Entries
Deposit
Deposit
Bank
Bank****3728
$
0
1
2
3
4
5
6
7
8
9
0
1
2
3
4
5
6
7
8
9
0
1
2
3
4
5
6
7
8
9
.
0
1
2
3
4
5
6
7
8
9
0
1
2
3
4
5
6
7
8
9
BalanceTransactions
Txn_238dhj
Txn_172ykz
FRAGMENT tracks every transaction across all your systems, so payments always
reconcile and balances are never wrong.
Get a demo→
Get a demo→
Enterprise-grade
Declarative schemas
1 {
2 "key": "wallets"
3 "chartOfAccounts": {..}
4 "ledgerEntries": {
5 "types": [
6_














Turn your funds flow into code and embed it in your product.
Multi-currency
Account................................
FX-Exposure
Balances..............................
0
1
2
3
4
5
6
7
8
9
0
1
2
3
4
5
6
7
8
9
0
1
2
3
4
5
6
7
8
9
.
0
1
2
3
4
5
6
7
8
9
0
1
2
3
4
5
6
7
8
9
USD
0
1
2
3
4
5
6
7
8
9
0
1
2
3
4
5
6
7
8
9
0
1
2
3
4
5
6
7
8
9
.
0
1
2
3
4
5
6
7
8
9
0
1
2
3
4
5
6
7
8
9
EUR
0
1
2
3
4
5
6
7
8
9
0
1
2
3
4
5
6
7
8
9
,
0
1
2
3
4
5
6
7
8
9
0
1
2
3
4
5
6
7
8
9
0
1
2
3
4
5
6
7
8
9
JPY
One ledger, every currency.
Integrations
Add+
Stripe
Unit
Increase
Custom
Sync transactions from your financial systems with entries in your ledger.
Features.............................................................................................................................
 1.  A
     Configurable schemas
     →
 2.  B
     Entry conditions
     →
 3.  C
     Strong consistency
     →
 4.  D
     Aggregated balances
     →
 5.  E
     Historical balances
     →
 6.  F
     Balance change queries
     →
 7.  G
     Timezone offsets
     →
 8.  H
     Ledger entry groups
     →
 9.  I
     Multi-currency accounts
     →
 10. J
     Custom currencies
     →
 11. K
     Report generation
     →
 12. L
     Ledger entry tags
     →
 13. M
     Idempotency
     →
 14. N
     Schema-based SDKs
     →
 15. O
     Schema migrations
     →
 16. P
     AWS regional deployments
     →
 17. Q
     Native links
     →
 18. R
     S3 export
     →

Building a real-time ledger is hard. It takes forever, requires lots of
engineers, and you won't know it's wrong until it's too late. FRAGMENT provides
all the power of double-entry with none of the risk or hassle.
Get a demo→
Get a demo→

Customers

“FRAGMENT's the system of record for all our historical balances. It's one of
the two or three core systems in our stack.”



“For us, the real advantage of FRAGMENT is that it changes what we can build.
We're designing lots of new financial products and owning our ledger is key to
all of them.”



“When we re-built Nala as a payments API, we needed a robust ledger. FRAGMENT’s
schema system made double-entry intuitive and helped us launch faster.”



Performance
Unlike relational databases, FRAGMENT fans out writes and aggregates reads so
your requests are never bottlenecked.
Modern Treasury ↗
1,200 writes/sec


FRAGMENT
14,578 writes/sec

Look under the hood →
Use CasesWith FRAGMENT, building financial products is like constructing Lego.
What once took months can now be assembled in a few clicks.
Wallets
Offer per-user stored balances
Remittance
Track cross border payments
Vertical Saas
Seamlessly embed many financial features
Cards
Own your own card auth rules
Credit
Offer more tailored credit products
Lending
Service loans on your schedule
Investments
Build and manage investment portfolios
Treasury
Manage liquidity across many accounts
Reconciliation
Automate your financial close
Reporting
Build internal reports and dashboards
Rewards
Offer custom rewards programs
SPVs
Manage special purpose vehicles
Wallets
Offer per-user stored balances
Remittance
Track cross border payments
Vertical Saas
Seamlessly embed many financial features
Cards
Own your own card auth rules
Credit
Offer more tailored credit products
Lending
Service loans on your schedule
Investments
Build and manage investment portfolios
Treasury
Manage liquidity across many accounts
Reconciliation
Automate your financial close
Reporting
Build internal reports and dashboards
Rewards
Offer custom rewards programs
SPVs
Manage special purpose vehicles
Updates
News
 * Fintech needs a better ledger, TechCrunch↗
   2024-07-22
 * FRAGMENT Under the Hood
   2024-02-19
 * FRAGMENT named to Fintech 50, GGV↗
   2024-01-23

Changelog
 * Oct: Search
   2024-11-01
 * Sep: Deploy Schema
   2024-10-01
 * Aug: Scenarios
   2024-09-01
 * Jul: Post Entry
   2024-08-01
 * Jun: Projects
   2024-07-01
 * May: SDKs
   2024-06-01

No one builds their own database. Why build one for your money?
Get a demo→
Get a demo→
©
 FRAGMENT  
2024
1 Documentation
2 Reference
3 Changelog
1 Documentation
2 Reference
3 Changelog
 1. About
 2. Careers
 3. FRAGMENT Mono
 4. Legal

 1. Login↗
 2. Status

○● Light
○● Dark
● System