To obtain an API key from your NMI gateway, first click on settings.
Then choose Security Keys.
Viewing API Keys
There are two types of API keys that can be created, a private Key, and a Public key. These keys can be configured in multiple different ways depending on what type of system you are integrating the NMI gateway into. Please check the API Configuration Documentation to see what is best for your set up.
Creating a new Private Key
Private keys should only be used in parts of your software that are inaccessible to outside parties like your customers. These keys allow for processing transactions and querying on account data, so make sure these are kept secret.
First name the Key. This can be the name of the platform you are integrating the NMI payment solution into.
Next Select a username associated with this key. When running transactions using this key, the user that is selected in this step will be associated with all transactions using this key. this can be useful for reporting
Last, check what type of Key permission you need for your integrated platform. You can choose, API, Cart, or both options. This depends on what type of key is needed for whatever platform you are integrating into.
API: Used with Payment API, Payment Device SDK for Windows/Linux, Payment Device SDK for iOS/Android, Customer-Present Cloud, Direct Connect SDK, Three Step Redirect, and Query APIs.
Cart: Used with QuickClick.
Once you click create, and API key will be generated. You can copy and paste this key into the Private Key section of the platform you are trying to integrate into.
Creating new Public Key
This is similar to a Private Key, but the Key Permission is slightly different.
Public Keys are designed to be used in places where a customer might be able to see them. For example, using these keys in the HTML on your website is the expected use case for these keys.
First Name the key. Then select a user to be assigned for use with this key.
Last Select a key permission. The two options for Key permission for the public key are Tokenization, and Check Out.
Tokenization: Used with Collect.js.
Checkout: Used with Collect Checkout.