🤝Integrate ZKP2P Onramp
Integrate the ZKP2P onramp directly into your app
With our redirect flow, any application or wallet can offer the entire ZKP2P onramp flow to their users. This includes taking advantage of all of our payment platforms (Venmo, Revolut, HDFC, Garanti), supported blockchains (Base, Ethereum, Polygon etc), supported assets (USDC, USDT, ETH) and gasless transactions.
Quickstart
Integration simply requires you to customize query parameters in the URL and adding the link in your application. With prepopulated fields, you will control exactly which address, chain and token you want your user to onramp onto
To learn more about the onramp flow, check out this section of the docs.
💵On-rampingConfiguration
Parameter | Description | Value | Example |
---|---|---|---|
appId | (Optional) Your application name | String |
|
amountUsdc | (Required) Amount in USDC to onramp. Note: users can onramp onto ETH or any other asset but ZKP2P denominates base currency in USDC. So you will need to do a conversion | Number |
|
recipientAddress | (Required) Recipient address of onramped asset. This is the wallet that the user will deposit funds in | Ethereum address |
|
platform | (Required) Payment platform user will onramp from | venmo | revolut | hdfc | garanti |
|
currencyIndex | (Required) Index of currency for a given payment platform | Venmo: 0 (USD) Revolut: 0 (EUR), 1 (GBP), 2 (SGD), 3 (USD) HDFC: 0 (INR) Garanti: 0 (TRY) |
|
network | (Required) Network to receive tokens on | base | polygon | zksync | ethereum | binance | optimism | arbitrum | avalanche |
|
toToken | (Required) Token to receive | Base: USDC | ETH Polygon: USDC | USDT Arbitrum: USDC | ETH Ethereum: USDC | USDT | ETH Optimism: ETH | USDC ZKSync: ETH | USDC Binance: USDT Avalance: USDC | USDT |
|
Examples
Onramp Revolut EUR to Base ETH
Onramp Venmo USD to Ethereum USDC
Onramp Revolut SGD to Base USDC
Last updated