When you liquidate payments - that is when the payment arrives in a source account - to a destination account, you need to configure a transfer path between two RippleNet accounts. RippleNet's Liquidation APIs support two liquidation use cases based on payment size.
One-to-one liquidation is suitable for payments that are small enough to be liquidated at once, for example $5000 USD.
The following API operations are available:
Create liquidation configurationDelete liquidation configurationGet all liquidation configurationsGet liquidation configuration by IDUpdate liquidation configuration
For more information, see the "Liquidation Configuration" API in the API reference.
Smart Liquidation is suitable for large payments that need to be split into multiple small payments, for example $1M USD.
The following API operations are available:
Create LiquidationGet LiquidationsGet Liquidation by ID
For more information, see Smart Liquidation and the "Smart Liquidation" API in the API reference.
Payment size determines whether a liquidation gets routed through Smart Liquidation or through one-to-one liquidation. Ripple sets that payment size or an exchange and trading pair threshold.