How XRPay's Auto-Sweep Off-Ramps Settle Crypto Directly to Your Bank Account

For online merchants, accepting cryptocurrency is only half the battle. The true operational bottleneck lies in treasury management: manually moving digital tokens from incoming checkouts, logging into exchanges, and executing manual wire transfers to get fiat deposits.
XRPay solves this operational bottleneck with its native Auto-Sweep engine. By combining automated cron jobs with regulated banking API bridges (like Bridge.app), XRPay automatically converts on-chain stablecoin balances and sweeps them directly into domestic bank accounts via ACH or SEPA.
By automating the conversion of stablecoins directly to regional banking rails, XRPay eliminates exchange risk and manual operations entirely.
1. The Anatomy of an Automated Off-Ramp
The sweep mechanism is divided into two distinct components: on-chain monitoring and the off-ramp banking bridge. Rather than running a sweep on every single transaction—which would rack up unnecessary bank transfer fees—XRPay groups settlements into batched daily or hourly intervals.
A backend schedule handler triggers the process by validating active merchant account settings:
// /app/services/auto-payout.server.ts
export async function executeAutoPayouts() {
const activeSweepSettings = await db.merchantSettings.findMany({
where: { autoSweepEnabled: true }
});
for (const setting of activeSweepSettings) {
const balance = await getWalletBalance(setting.xrplWalletAddress);
if (balance.usdc >= setting.minSweepThreshold) {
await initiateBankSweep(setting, balance.usdc);
}
}
}2. Setting Your Payout Thresholds
Merchants can configure their sweep preferences directly within the XRPay Merchant Dashboard:
- Minimum Threshold: The minimum stablecoin balance (e.g. $500 USDC) required to trigger a bank sweep.
- Frequency: Daily, weekly, or hourly sweeps depending on incoming order volumes.
- Target Destination: The verified corporate bank account (routing and account number for US ACH, or IBAN for European SEPA) linked via the merchant's KYC profile.
3. How Bridge.app Powers the Off-Ramp
To bridge the gap between blockchain ledger trustlines and the legacy banking system, XRPay integrates with Bridge.app, an API-driven fiat gateway. Once the sweep is triggered, XRPay’s backend initiates a payment request to the Bridge API, which returns a unique on-chain stablecoin deposit address. XRPay then signs a transaction from the merchant’s non-custodial wallet:
// Initiating the fiat off-ramp transfer
const liquidation = await bridge.liquidation.create({
amount: sweepAmount,
sourceCurrency: "usd_coin",
destinationAccount: merchantSavedBankAccountId,
network: "xrpl"
});
// Execute the non-custodial transfer of USDC to the Bridge deposit address
const txHash = await xrpService.sendTokens({
fromAddress: merchantWalletAddress,
toAddress: liquidation.depositAddress,
amount: sweepAmount,
tokenSymbol: "USDC"
});4. Why Auto-Sweep is a Game-Changer
- Zero Volatility: XRPay settles customers in RLUSD or USDC. The Auto-Sweep then moves this cash-equivalent directly to your bank account, preserving 100% of your margins.
- Elimination of Key Management Risks: The sweep process can be executed programmatically via backend API keys, reducing the need for administrative staff to access hot wallets.
- Unified Accounting: Because payouts are batched, accounting teams can reconcile hundreds of global checkouts against a single daily deposit on their bank statement.