Payment systems like Interledger can generally be separated into two layers: A higher-performance clearing layer, where value is transferred in a provisional manner; and a lower-performance settlement layer, which resolves any liabilities between counterparties accrued in the clearing layer.
Most payments systems are organized in this way, and because many payment systems are often stacked on top of each other, it is common to see that one system's "settlement layer" is comprised of another system with its own clearing and settlement system. For example, from a consumer perspective, credit-card processors like Visa and Mastercard can be viewed as a "clearing systems" (swiping the card at a merchant) with an underlying settlement system to allow you to settle your debt to the credit card company each month (e.g., by making a payment from your bank account). What's interesting to see is that the system that appears to be a "settlement" system (i.e., the banking system) is actually comprised of its own clearing and settlement layers. For example, the bank's databases (i.e., the clearing system) and the Federal Reserve system (i.e., the settlement system).
As in the real world, settlement layers in Interledger can be based upon any medium of exchange that both parties in an Interledger peering relationship consider to be final, or "settled."
Example settlement layer systems include:
Offline fiat systems (e.g., cash or paper check)
Direct asset transfers (e.g., a shipment of gold)
Electronic ledgers (e.g., bank ledger, PayPal, Venmo)
Electronic payment networks (e.g., SWIFT, ACH, SEPA, Visa, Mastercard)
Cryptocurrency ledgers (e.g., Bitcoin or XRPL)
Signing and exchanging payment channel claims (e.g., XRP Paychan)
The Java ILP Connector build system currently runs a nightly integration test to exercise and validate the its ability to interact with settlement engines that are compatible with IL-RFC-40 [TODO Link]. These tests simulate a payment made from a hypothetical user
paul who pings a connector identified as
bob by traversing the
alice connector. The inverse flow is also tested (
alice) allowing settlement payments to
In this setup, the
bob connectors are able to clear payments using Interledger, accruing bilateral debt between themselves. When this debt reaches some threshold agreed between Alice and Bob, their Connectors "settle" this debt by making a payment on the XRP Ledger.
You can view the actual settlement transaction history of our integration test system by inspecting the XRP Ledger accounts in the XRPL Testnet Faucet.