Redirect integration

A redirect integration allows you to add a URL to any element that will redirect to our onramp widget.

<a
    href="{{Widget_URL}}?fiat=USD&crypto=ETH-ethereum&fiatAmount=100
         &receiveWalletAddress=0xabc&userId=gamer-id&apiKey={{API-KEY}}
         &fiatList=vnd,usd&cryptoList=ETH-ethereum,BTC-bitcoin"
    target="_blank"
>
  Buy cryptocurrencies
</a>

Customization

  • It is possible to customize the list of fiat currency and cryptocurrency. Example:

{{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 updated