βœ…Widget Integration Methods

Learn how to inegrate Coindisco Widget on your side.


There are two approaches to including the widget in your website, exchange, wallet or dApp.

  • Button opening a new link in a Web Page

  • Embedding an iFrame

You can build a button on your side and point it to a Coindisco domain with your API key included. This will open a new tab for the user with a checkout experience hosted on Coindisco.

You code would end up looking something like this:

<a href="https://widget.coindisco.com/?publicKey=pk_prod_01JVMKTMUSMDYW48QCZKSI3HYY" target="_blank" >Buy Crypto

</a>

Embedding an iFrame:

Most of our partners prefer to have the checkout experience embedded inside their own UI. You can achieve this by embedding the iFrame. The snippet to add to your codebase would look something like this:

<iframe

src="https://widget.coindisco.com/?publicKey=pk_prod_01JVMKTMUSMDYW48QCZKSI3HYY"

title="Coindisco Widget"

height="650px"

width="450px"

/>

Last updated