The E-Mandate token that is returned following your Prepare E-Mandate request is used to render the E-Mandate screen.
In addition, two elements must be added to your Web page:
- The API Endpoint
- The E-Mandate Token
<script> /*<![CDATA[*/ EMandates.setToken('07e43737-22d5-491e-9dd1-423e2270d190'); EMandates.setUrl('https://api.nuapay.com/emandate-rest'); </script>
This piece of script allows your application to submit your customer’s mandate details to Nuapay prior to submitting the data to your own server.