| [ Web Proxy ] |
| Viewing: https://docs.nmi.com/docs/gatewayjs | [Back] [Original] |
Add Gateway services to your integration.
Gateway.js is a JavaScript library that allows you to customize your integration with additional gateway's services. To start using Gateway.js, you need to load the library with a < script > tag.
<script
src="https://secure.networkmerchants.com/js/v1/Gateway.js">
</script>
[Customer_Satisfaction.png]
Gateway.js authenticates with a public API key with Checkout permissions. Create this in the Merchant Portal under Settings > Security Keys.
Provide the created key to Gateway.create to initialize the library.
const gateway = Gateway.create('USER.PUBLICAPIKEY');
Updated 11 months ago
| Web Proxy Viewer | New URL | Original Page |