<aside> 💡 This guide contains steps to integrate the Rampay widget in your website/app
</aside>
<iframe
src="<https://exchange.rampay.io>
?apiKey={PARTNER_API_KEY}"
width="50%"
height="100%"
>
Your browser does not support iframes.
</iframe>
The widget is customisable in a lot of ways.
The customisation options can be passed as query params with the widget link in src
tag of iframe. For eg. below example will always open up the widget with default selected fiat currency as US dollars and cryptocurrency as Bitcoin.
<iframe
src="<https://exchange.rampay.io>
?from=usd&to=btc"
width="50%"
height="100%"
>
Your browser does not support iframes.
</iframe>
Following list contains all the possible query params that can be used to customise the widget.
apiKey
apiKey=5b3b5af4-c9cd-4fc3-88b9-ec6aca28d6f2
to
to=btc
eth
from
from=gbp
usd
amt
amt=1000
200
walletAddress
<crypto code>:<wallet address>
walletAddress=btc:0x43rwerlknwenrlekwnrewlnkr,eth:0x34kwmrkwernjnrs4k435kmk4432glfd
. In this case, whenever the selected currencies in the widget are btc
or eth
the provided wallet address would prefill in the wallet address field in the transaction flow.primaryColor
primaryColor=4a88ce
cl
cl
stands for crypto list. Comma separated list of crypto currencies if you only want to show a subset of available cryptocurrencies.cl=btc,eth