Onmeta Widget Integration
KYC with Widget
KYC as separate widget
3 min
kyc can be used as separate widget for verification purpose to use just kyc as separate widget you need to initialize the url as below format https //stg platform onmeta in/kyc/?apikey= and rest of the steps are self explanatiory in the widget just follow the instructions if face is not matched with any of the photo id provided user account will go to manual kyc verification and it will be processed within 24hrs additionally you can set success and failure re direct url's in the widget url, here's an example https //stg platform onmeta in/kyc/?apikey=\&successredirecturl=\&failureredirecturl= all webhook events for kyc can be captured as well, you need to setup callback url in dashboard as shown below and you can refer to this page for webhook events and their detials endpoint to fetch kyc status of user { "tab" "examples", "url" "https //stg api onmeta in/v1/users/kyc status", "name" "fetch kyc verified status", "method" "post", "request" { "pathparameters" \[], "queryparameters" \[], "headerparameters" \[ { "kind" "optional", "name" "x api key", "type" "string", "children" \[], "description" "api key" }, { "kind" "optional", "name" "authorization", "type" "string", "children" \[], "description" "bearer authtoken\n\\"authtoken is the access token you get after login\\"" } ], "bodydataparameters" \[ { "kind" "required", "name" "email", "type" "string", "description" "email of the customer" } ], "formdataparameters" \[] }, "results" { "languages" \[ { "id" "k1 dcyohymvwuj3qliahz", "code" "{\n \\"success\\" true,\n \\"data\\" {\n \\"iskycverified\\" \\"false\\"\n }\n}", "language" "200", "customlabel" "" }, { "id" "ui ffvnkdk9ivlvtlodat", "code" "{\n \\"success\\" false,\n}", "language" "404", "customlabel" "" } ], "selectedlanguageid" "k1 dcyohymvwuj3qliahz" }, "examples" { "languages" \[ { "id" "f r 0glphfdxml268r 3x", "code" "curl location 'https //stg api onmeta in/v1/users/kyc status' \\\\\n header 'x api key apikey' \\\\\n header 'authorization bearer authtoken' \\\\\n header 'content type application/json' \\\\\n data raw '{\n \\"email\\" \\"testemail\@wmail com\\"\n}'", "language" "curl", "customlabel" "" } ], "selectedlanguageid" "f r 0glphfdxml268r 3x" }, "description" "fetch kyc status of a user by email id ", "currentnewparameter" { "label" "header parameter", "value" "headerparameters" } }