Onramp & Offramp
Let users buy and sell crypto in your app
A drop-in widget for card, bank and Apple Pay purchases, plus cash-out to bank accounts, with KYC handled for you.
const url = yb.onramp.url({
destination: userWalletAddress,
asset: "USDC",
network: "ethereum",
presetFiat: { currency: "EUR", amount: 50 }
})
window.open(url)
What you get
Popular payment methods
Cards, SEPA, Apple Pay and Google Pay.
KYC included
We verify users so you don't have to.
30+ countries
Local currencies and methods.
Offramp
Cash out to bank accounts.
Fees
| Method | Onramp fee | Offramp fee |
|---|---|---|
| SEPA transfer | 0.5% | 0.5% |
| Debit card | 2.5% | — |
| Apple / Google Pay | 2.5% | — |
Example fees. Replace with your pricing.
Quickstart
- Step 1
Create an account
Sign up for a free developer account.
- Step 2
Generate API keys
Create keys with the scopes you need.
- Step 3
Install the SDK
npm, pip or go get, whichever you prefer.
- Step 4
Ship it
Test on testnet, then switch to mainnet.
Start building in minutes
Create a free developer account and get API keys instantly.