Skip to main content
Version: 3.0.0 (current)

2. Load the client

HTML

The Create session & Read session requests will respond with a htmlSnippet that should be used to load the client by embedding it in your eCommerce page. We recommend giving the client a minimum width of 640 pixels on desktop and as much as possible on mobile. The modules will not take more than 640 pixels of width but modal payment methods can utilize more space.

JS SDK

The html snippet also contains our JS SDK that is required for the client to work properly. If you are injecting the snippet server-side, it will load automatically. If you are injecting client-side, you will have to manually add the SDK to your page <head>:

<script async src="https://api.briqpay.com/briq.min.js" id="briq-sdk" />

Demo