Comment on page
Redirect integration
A redirect integration allows you to add a URL to any element that will redirect to our onramp widget.
1
<a
2
href="{{Widget_URL}}?fiat=USD&crypto=ETH-ethereum&fiatAmount=100
3
&receiveWalletAddress=0xabc&userId=gamer-id&apiKey={{API-KEY}}
4
&fiatList=vnd,usd&cryptoList=ETH-ethereum,BTC-bitcoin"
5
target="_blank"
6
>
7
Buy cryptocurrencies
8
</a>
Customization
- It is possible to customize the list of fiat currency and cryptocurrency. Example:
1
{{WIDGET_URL}}/?apiKey=API_KEY&userId=test-id&cryptoList=BNB-bsc,USDT-bsc,USDC-bsc,DAI-bsc&fiatList=vnd,usd
Example
To get started, you can add
https://onramp.pokoapp.xyz/?apiKey=734c4a23-e256-46c4-b917-974f759a6aee&userId=poko_prod
to any elements. This could be a text, a button or anything
Last modified 7mo ago