Pokoapp.xyz
  • Overview
    • 🛠️What we do
    • 😎Our vision
    • 📌Key products
    • 🤖Getting help & support
    • 👋Meet our team
  • Onramp Aggregator
    • What is Onramp Aggregator
    • Getting Started
    • Why use Onramp Aggregator
    • Onramp Aggregator dashboard
    • SDK integration & documentation
      • Web integration
        • Parameters
        • Redirect integration
        • Iframe integration
        • Customized integration
        • Theme customization
        • Quote API
        • URL signature
      • Mobile integration
        • Android native
        • Poko SDK for React Native
      • Dashboard API
      • Check availability of pairs API
      • Deployment examples
      • Support for integration
    • Dashboard
    • Testing guideline
    • Token coverage
    • Country & payment method coverage
    • Pricing
    • FAQs
  • Direct Checkout
    • What is Direct Checkout
    • Why use Direct Checkout
    • Integration
      • NFT Checkout & Defi
      • Wallet
        • Whitelist Endpoints
      • Setup Widget
      • Off-chain integration
    • Dashboard
    • Testing guideline
    • Country & payment method coverage
    • Pricing
    • KYC
  • Coverage
    • 🖇️Token coverage
    • 🌎Country & payment method coverage
    • 📋Request token & country coverage
  • Other resources
    • Readings about payments
Powered by GitBook
On this page
  1. Onramp Aggregator
  2. SDK integration & documentation
  3. Web integration

Redirect integration

PreviousParametersNextIframe integration

Last updated 2 years ago

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

  • Required params: userId, apiKey ()

  • Environment params: Widget_URL ()

<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 to any elements. This could be a text, a button or anything

https://onramp.pokoapp.xyz/?apiKey=734c4a23-e256-46c4-b917-974f759a6aee&userId=poko_prod
see all params
see all params