Test the mock onramp
Validate your integration with mobile-money simulation and Base Sepolia USDC
The mock onramp follows the production HTTP contract while replacing the live fiat provider with a short simulated payment delay. Settlement sends test USDC from a server-controlled wallet on Base Sepolia.
Use a dedicated test wallet only. Never provide a recovery phrase, mainnet private key, or customer key.
Prerequisites
- A local checkout of the Ramps API
- Firebase development credentials and Data Connect configuration
- A dedicated Base Sepolia wallet funded with test ETH and test USDC
- Bun installed locally
Configure the service
The mock accepts a 32-byte hexadecimal MetaMask private key with or without the 0x prefix. It rejects
recovery phrases, production mode, non-USDC assets, non-Base-Sepolia networks, invalid addresses, and
amounts above the configured limit.
Test from the interactive reference
Open Create an onramp
The request body is pre-filled with a KES mobile-money to Base Sepolia USDC example.
A successful HTTP response initially reports processing. The token transfer happens asynchronously
after the settlement delay.
