🤝Integrate ZKP2P
Last updated
Last updated
Integrate the ZKP2P onramp directly into your application by using our redirect flow. With a single link, you can offer your users fast and affordable onchain onboarding, complete with:
Multiple payment platforms (Venmo, Revolut, Wise, Cash App)
Supported blockchains (Base, Solana, Ethereum, Polygon, etc.)
Supported assets (USDC, SOL, ETH, USDT, etc.)
Gasless transactions
Integration is simple:
Customize the query parameters in the URL.
Add the link to your application.
By prepopulating these parameters, you control exactly which fiat currency, amount, payment platform, and token are used to onramp.
Example for ramping 10 USD via Venmo to USDC on Base. The tokens are sent directly to the specified recipient address in the redirect URL.
referrerId
Your application name
String
referrerId=Rampy
fromCurrency
(Optional) Input currency user wants to swap. Defaults to users's national currency or USD.
String
fromCurrency=USD
inputAmount
(Optional) Amount of input currency the user wants to swap
Number (upto 2 decimal places)
inputAmount=12.34
paymentPlatform
(Optional) Payment platform user will onramp from
String
paymentPlatform=venmo
toToken
(Optional) Output token the user will onramp to
String (Has to be supported tokens listed below)
toToken=USDC
recipientAddress
(Optional) Address to which the output tokens will be sent. Note: toToken is required if you provide recipientAddress.
String
recipientAddress=0xf39...66
Supported Tokens
USDC
Base
0x833589fcd6edb6e08f4c7c32d4f71b54bda02913
USDC
ETH
Base
0x0000000000000000000000000000000000000000
Base+ETH
CBBTC
Base
0xcbb7c0000ab88b473b1f5afd9ef808440eed33bf
CBBTC
SOL
Solana
11111111111111111111111111111111
SOL
USDC
Solana
EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v
Solana+USDC
TRUMP
Solana
6p6xgHyF7AeE6TZkSmFsko444wqoP15icUSqi2jfGiPN
TRUMP
ETH
Ethereum
0x0000000000000000000000000000000000000000
ETH
USDC
Ethereum
0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48
Ethereum+USDC
USDT
Ethereum
0xdAC17F958D2ee523a2206206994597C13D831ec7
Ethereum+USDT
POL
Polygon
0x0000000000000000000000000000000000000000
Polygon
USDC
Polygon
0x3c499c542cef5e3811e1192ce70d8cc03d5c3359
Polygon+USDC
USDC
Polygon
0xc2132D05D31c914a87C6611C10748AEb04B58e8F
Polygon+USDT
Onramp Venmo USD to Base USDC
Onramp 10 EUR via Revolut to Base ETH
Please contact us Team ZKP2P if you're stuck or interested in a deeper integration of ZKP2P into your app!