Can I send metadata to Mati button?

Yes you can! And it’s actually very simple.

When you integrate the Mati button on your website or Apps, you just need to add a couple lines of code to include metadata. This metadata will then be sent via webhook to your backend once Mati finishes the verification. That way you can keep the user reference on your backend.

This code shows you how to include metadata on Web SDK, please signup to your dashboard for more details:

<!-- Mati button-->
<div
  class="mati-button responsive"
  data-product="kyc"
  data-country="us"
  data-style="red">
</div>

<!-- Mati script-->
<script id="matiscript" src="https://sdk.getmati.com/mati-sdk.min.js">
</script>

<!-- Mati button initialization -->
<script>
Mati.init({
  clientId: '5bbd0cbc2746697f24r3s5bc',
  metadata: {
  	"user_id": "6343537"
  	"user_email": "john@gmail.com"
  	"other_metadata": "sample_metadata_goes_here"
  },
});
</script>