Integrate Mati KYC service to your website with Mati web button
How it looks like in your code:
<mati-button clientid="<YOUR_CLIENT_ID>" metadata="<JSON_METADATA_STRING>" flowId="<YOUR_FLOW_ID>" />
And with "live" configuration:
<mati-button clientid="1234567890abcdef12345678" metadata="{'ourKey':'ourValue','anotherKey':'anotherValue'}" flowId="1234567890abcdef12345678" />
How it looks like on your page:
Add this script to your <script>
tag
<script src="http://web-button.mati.io/button.js"></script>
Get your client ID from Mati Dashboard and put this code snippet anywhere in your page
<mati-button clientid="<YOUR_CLIENT_ID>" />
Attribute name | Description |
---|---|
clientid |
Your client id from Mati Dashboard |
metadata |
JSON string for varification metadata. Use it to pass user ids or any other related information |
-
Vanilla JS: see
index.html