Onmeta Widget Integration
Widget Creation
Production checklist
4min
things to check before moving to production the script tag should be changed kindly contact our sales team to get the details api key needs to be changed to production api key apikey "api key", //production key from dashboard client id make sure you use the mainnet mainnet chainid and tokenaddress tokenaddress for the required tokens if you set from widget code, or else just select required tokens from the dashboard page sample values for binance smart chain (bsc) mainnet chainid is 56 56 and usdt usdt token address is as shown below to find out mainnet chain id check this link let createwidget = new onmetawidget({ chainid "56", // optional (it should be passed along with the tokenaddress to show a particular token to the user) tokenaddress "0x55d398326f99059ff775485246999027b3197955", // optional }); for widget also we send webhook event data to call back url's registered in dashboard, kindly refer to webhook documentaion for onramp and offramp details for kyc kindly allow below permission in the ios webview implementation code "allowsinlinemediaplayback" true"