Integration

To start integrate with The Webview component you can use your client secret as the URL parameter in example below :

URL

  https://webview-dev.rampable.co?clientSecret=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

It will navigate to the current page as shown below





You can also use Wallet Connect integration on the fly using : useWalletConnect parameter

URL

  https://webview-dev.rampable.co?clientSecret=xxxxxxxxxxxxxxxxxxxxxxx&useWalletConnect=true

So the Wallet Connect button will shown instead of "Continue" button also shows users balance at the top of the button which require users to connect their wallet before proceed further





These are other parameter that you can use to.

Optional Parameters

  • Name
    inputAmount
    Type
    string
    Description

    To prefill the input amount

  • Name
    inputCurrency
    Type
    string
    Description

    To select desired input currency by default See Reference

  • Name
    outputCurrency
    Type
    string
    Description

    To select desired output currency by default See Reference

If you manage to navigate to the webview page, then you are ready to serve your users using Rampable!.

Was this page helpful?