Skip to content
Web Button for Mati JS SDK
JavaScript HTML
Branch: master
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
src Remove typo Sep 20, 2019
.gitignore Initial commit v 1.1.0 Sep 20, 2019
README.md Initial commit v 1.1.0 Sep 20, 2019
button.js Fix dynamic imports for angular. Oct 17, 2019
index.html Initial commit v 1.1.0 Sep 20, 2019
main.js Initial commit v 1.1.0 Sep 20, 2019
package-lock.json Initial commit v 1.1.0 Sep 20, 2019
package.json Initial commit v 1.1.0 Sep 20, 2019
webpack.config.js Initial commit v 1.1.0 Sep 20, 2019

README.md

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>" />

How it looks like on your page:

Integrate

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>" />

API

Button attributes

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

Examples

You can’t perform that action at this time.