top of page

Get your gateway login and payment keys

Already have a Betterpay merchant account? Find the gateway login, API security key and public tokenization key your website designer needs.

Start with your website platform

Tell Betterpay which website platform, checkout plugin and plugin version you use, whether this is a new checkout or an existing integration, and whether you are configuring test or live payments. A merchant processing account does not by itself confirm that the website gateway is activated. Ask Betterpay to confirm the correct gateway account before generating keys.

The three items your designer may request

ItemWhat it doesWhere it belongs
Gateway loginAccess to the merchant dashboardAn authorized person signs into the merchant portal; it is not a payment API key.
API security key / private processing keyAuthorizes payment operations for this merchantThe server or the plugin’s protected gateway configuration. Never public page code.
Public tokenization keyLets the checkout collect a payment method as a tokenThe documented browser component or plugin tokenization setting. It cannot replace the private processing key.

1. Get access to your merchant gateway

Open the merchant login address Betterpay supplied. If you have never received a login, ask Betterpay or your account administrator to arrange access. For a forgotten password, select Forgot Password? on the login screen. If recovery fails, staff should contact their account administrator. The primary account holder should contact Betterpay. For a website designer, arrange their own authorized access and keep your owner password private.

NMI Merchant Portal (use your supplied Betterpay login URL if different)

2. Create the API security key

API and V4 API are different permission choices. Do not select V4 API simply because you are building a website. Keys inherit their associated user’s permissions; removing that user’s payment permissions can stop the integration.

  1. Sign into the correct merchant account and open Settings → Security Keys.
  2. Choose Add a New Private Key and name it for the website, such as Web store server.
  3. Choose the authorized user under Username Associated with Key. For ordinary Payment API or REST payment processing, select API under Key Permission, then Create. Follow the plugin’s documented requirements if it specifies a different integration.
  4. Store it in the server secret store or the plugin’s protected private-key setting. Share it with the authorized implementer through an approved secure method.

3. Create the public tokenization key

Return to Settings → Security Keys and choose Add a New Public Key. Name it for the checkout, select the associated user, choose Tokenization under Key Permission and select Create. Give your designer this public key for the tokenization setting. Use the same merchant and intended environment as the private key. Checkout is a different public permission, used for hosted checkout and certain add-ons; it is not a substitute for Tokenization in Collect.js or the Payment Component.

4. Match the keys to your integration

IntegrationUse the credentials this way
Existing website pluginCheck the setup guide for your exact plugin and version before filling in any fields. Ask the plugin provider which credential an unfamiliar label requires.
New custom checkoutUse the Payment Component with REST: public tokenization in the browser, private processing on the server.
Existing Collect.js checkoutUse the public key in data-tokenization-key. Send the resulting payment token to your server for processing.
Merchant keys and environments Payment Component Collect.js setup

5. Test before accepting customer payments

Use sandbox credentials and documented test data for development. Confirm tokenization, server processing and the order outcome separately. A token alone is not a successful payment. Before going live, have the account owner confirm the live merchant, credentials, enabled payment methods and production configuration. Never submit real card details to sandbox tools.

First sandbox checkout Authentication and environments

If you cannot find or use a key

ProblemNext step
No login or unknown usernameAsk Betterpay or the merchant account administrator to arrange access.
No Security Keys menu or missing permissionHave the account administrator check your user permissions and gateway setup.
Private key rejectedConfirm merchant, environment, API family, key permissions and request format.
Payment fields do not loadCheck the public key, script/component setup, browser errors and applicable domain/CSP settings.
Plugin asks for unfamiliar credentialsSend Betterpay the plugin name, version and its setup instructions; omit actual secret values.

Technical source review: 2026-11-06. Instructions checked against NMI documentation on 2026-11-06. Account access, enabled services and plugin requirements must be confirmed for your merchant. No credentials are issued by this guide.

Continue building

Join the community and get the latest biz news & tips

Thanks for submitting!

© 2025 Betterpay. All Rights Reserved.

bottom of page