Just copy this HTML snippets and paste it before closing of <body> tag.
<script type="text/javascript">
var api_key = "YOUR_API_KEY";
var redirect_uri = "YOUR_REDIRECT_URI";
</script>
Just copy the below platform tag and place it after the above code (Step 1).
<script type="text/javascript" src="https://pro.upay.ma/js/api.js"> </script>
Add this class (UPayApi) in tag which you need for Payment Integration.
For Example, refer the code below.
<a class="UPayApi">UPay</a>
Your Html after the above steps are done.
<!DOCTYPE html>
<html>
<head>
...
</head>
<body>
...
<a class="UPayApi">UPay</a>
...
<script type="text/javascript">
var api_key = "YOUR_API_KEY";
var redirect_uri = "YOUR_REDIRECT_URI";
</script>
<script type="text/javascript" src="https://pro.upay.ma/js/api.js"></script>
</body>
</html>