Skip to main content

Overview

Enable users to easily fund their crypto wallet. These demo apps will get you up and running with a basic Onramp API integration for mobile or web.

Mobile demo app (v2)

A React Native + Expo mobile app demonstrating Coinbase’s Onramp v2 API with CDP Embedded Wallets, Apple Pay integration, and real-time push notifications. The app uses Smart Accounts (ERC-4337) for all EVM transactions and supports gasless transfers for USDC, EURC, and cbBTC on Base. API keys are never exposed to the client (a secure backend proxy handles all CDP API calls).

Try it now

Features

FeatureDescription
Embedded WalletAutomatic wallet creation via CDP with EOA and Smart Account support
Apple PayNative iOS payment experience for seamless purchases
Coinbase WidgetOpens in the default browser for additional payment options
Multi-NetworkEVM (Base, Ethereum) and Solana networks supported
Push NotificationsReal-time transaction status updates via webhooks
Gasless TransfersFree USDC, EURC, and cbBTC transfers on Base via Paymaster
Transaction HistoryComplete purchase tracking
Sandbox ModeTest purchases without real money

Web demo app

A Next.js application demonstrating both Onramp and Offramp integration with multiple UI options: pre-built Fund Card component, custom integration with full control, or native Apple Pay with iframe embedding. All API calls use secure session tokens—credentials are never exposed to the client.

Try it now

Features

FeatureDescription
OnrampPurchase crypto with fiat via card, bank, Apple Pay, and more
OfframpCash out crypto to fiat (requires Coinbase account with linked bank)
Apple PayNative Apple Pay experience with embedded iframe
Multiple IntegrationsFund Card component, custom UI, or Apple Pay flow
Session TokensSecure server-side initialization for production apps
Global CoverageMultiple countries, currencies, and payment methods