Founder deal: 75% off the lifetime licence. Unlimited sites, one payment, every update.See the founder plan
Home / Docs / Gateway credentials

Gateway credentials

Two values connect the plugin to your merchant account. Here is where each one lives.

What you need

ValueLooks likeWhere it comes from
Gateway URLhttps://secure.yourgateway.com/api/transact.phpYour processor’s documentation
Security keyA long alphanumeric stringGenerated in the gateway portal

Creating an API user

Do not reuse a person’s login. Create a dedicated user for the store so access can be revoked without locking anyone out.

  1. In the gateway portal open Settings, User Accounts and add a user.
  2. Grant only what the store needs: sale, authorize, capture, void, refund, and Customer Vault if you want saved cards.
  3. Under Settings, Security Keys, generate a key for that user.
  4. Copy the key immediately. It is displayed once and cannot be retrieved later.

Finding the endpoint

The endpoint is your processor’s own domain, not ours and not NMI’s. It almost always ends in /api/transact.php. If your processor documents a different path, use theirs.

If you cannot find it, ask your account manager for the API credentials for a third party shopping cart. That phrasing gets the right answer faster than asking about NMI by name.

Sandbox versus production

These are separate accounts with separate keys. Never point a staging site at production credentials, because eventually someone places a test order and charges a real card.

// Keep them clearly separated Production secure.yourgateway.com live key Sandbox secure.networkmerchants.com sandbox key

Rotating a key

  1. Generate a new key for the same API user.
  2. Paste it into the plugin and press Test connection.
  3. Place one transaction to confirm.
  4. Delete the old key in the gateway.

Rotate whenever someone with access leaves, and after any incident on the host.

Multiple merchant accounts

On the Enterprise plan each account is added separately with its own endpoint, key and label, then selected by routing rules. See multiple merchant IDs.