On This Page
FILTER BY TAG
Create a Shared Secret Key Pair
This section describes how to create a shared secret key pair and test that it works. A
shared secret key pair consists of a
key ID
and a shared secret key
, which
you must have in order to construct JWT messages and enable MLE.- (Optional) Meta Keys
- If you are using a portfolio or merchant account, you have the option to create ameta keyof a shared secret key pair. Meta keys enable an organization administrator to assign a single shared secret key pair to some or all transacting merchants in their organization. The purpose of a meta key is to reduce the time needed to manage an organization's keys. For example, by assigning the same meta key to all of your transacting merchants, you only need to update one key when it expires instead of having to update each transacting merchant's key.
- For more information about meta keys, see the Meta Key Creation and Management section in theCreating and Using Security Keys User Guide.
acquirer
Merchant Account User: Create a Shared Secret Meta Key
This section describes how to create a meta key as a merchant account user in the
Gateway Portal
. IMPORTANT
Only merchant account users can complete this task.
IMPORTANT
If you would like to create meta keys using the API,
contact your support team for more
information.
Follow these steps to create a meta key for a shared secret key pair:
- Log in to theGateway Portal:
- On the left navigation panel, choosePayment Configuration > Key Management.If you are using a portfolio account to create a meta key for one of your merchant accounts, you can switch to a merchant account by clickingSwitch merchant.
The Quick Merchant Switch page appears.Choose the merchant account ID that you want to switch to, and clickSwitch.
- In theMerchant IDsearch filter, choose your merchant account ID.If you logged in from a portfolio user account or the account (_acct) level, verify that the merchant ID you choose does not contain_acctin the ID name.
- Click+ Generate key.
The Create Key page appears. - ChooseREST – Shared Secretand clickGenerate key.
The Key options window appears. - Check theCreate as a Meta-Keybox and clickContinue.
- Choose one of these options to assign the key:
- To assign this key to all accounts in the current portfolio, chooseAll current and future Merchant IDs, clickCreate key, and continue to the Create Key page. All future merchant IDs will be automatically assigned this key. You are done and do not need to proceed with the following steps.
- To assign this key to a specific merchant or group of merchants, chooseCustom Merchant ID selectionand then clickCreate key. This key is not automatically assigned to any future merchants. Proceed to the following steps.
- Click+ Add custom merchant ids. The Add Custom Merchant IDs page appears.By default, all merchant IDs are shown in the Merchant IDs table. To limit the list to a subset of merchant IDs, click+ Add filter, choose a search filter from the drop-down menu, and clickSearch.
- Check one or more transacting MID account boxes, and clickSubmit.The Key Generation page opens.
- ClickCreate key.Continue to the Create Key page to view your new key.You can also generate a new key by clicking+ Generate Keyagain.
AFTER COMPLETING THE TASK
To test your shared secret key pair, see Test Your Shared Secret Key Pair.
acquirer
Portfolio User: Create a Shared Secret Meta Key
This section describes how to create a meta key as a portfolio user in the
Gateway Portal
. IMPORTANT
Only portfolio account users can complete
this task.
IMPORTANT
If you would like to create meta keys using the API,
contact your support team for more
information.
Follow these steps to create a meta key for a shared secret key
pair:
- Log in to theGateway Portal:
- On the left navigation panel, choosePayment Configuration > Key Management.
- In theMerchant Idfield, choose your portfolio ID if it is not already chosen by default.
- Click+ Generate key.
The Create Key page appears. - ChooseREST – Shared Secretand clickGenerate key.
The Key options page appears. - Check theCreate as a Meta-Keybox and clickContinue.
- Choose one of these options to assign the key:
- To assign this key to all accounts in the current portfolio, chooseAll current and future Merchant IDs, clickCreate key, and continue to the Create Key page. All future merchant IDs will be automatically assigned this key. You are done and do not need to proceed with the following steps.
- To assign this key to a specific merchant or group of merchants, chooseCustom Merchant ID selectionand then clickCreate key. This key is not automatically assigned to any future merchants. Proceed to the following steps.
- Click+ Add custom merchant ids. The Add Custom Merchant IDs page appears.By default, all merchant IDs are shown in the Merchant IDs table. To limit the list to a subset of merchant IDs, click+ Add filter, choose a search filter from the drop-down menu, and clickSearch.
- Check one or more transacting MID account boxes, and clickSubmit.The Key Generation page opens.
- ClickCreate key.Continue to the Create Key page to view your new key.You can also generate a new key by clicking+ Generate Keyagain.
AFTER COMPLETING THE TASK
To test your shared secret key pair, see Test Your Shared Secret Key Pair.
Step 2A: Create a Shared Secret Key Pair
Follow these steps to create a shared secret key pair:
- Log in to theGateway Portal:
- On the left navigation panel, choosePayment Configuration > Key Management.
- Click+ Generate keyon the Key Management page.
- Under REST APIs, chooseREST – Shared Secretand then clickGenerate key.
The REST API Shared Secret Key page appears. - ClickDownload key
.
The.pemfile downloads to your desktop.
TheKeyvalue is yourkey IDand theShared Secretvalue is yourshared secret key.IMPORTANTSecurely store the key credentials and.pemfile in your system. These credentials are required in order to implement certain products, and you must be able to access them.
To create or submit another key, click
Generate another key
. To view all of
your created keys, go to the Key Management page.- What to do next
- To test your shared secret key pair, see Step 2B: Test Your Shared Secret Key Pair.
Step 2B: Test Your Shared Secret Key Pair
After creating your shared secret key pair, you must verify that your key pair can
successfully process API requests. Follow these steps to validate your key pair in
the Developer Center and the
Gateway Portal
.- Go to the Developer Center's API Reference page:
- On the left navigation panel, click .
- Under Authentication and Sandbox Credentials, go to the Authentication Type drop-down menu and chooseHTTP Signature.
- Enter your organization ID in theOrganization IDfield.
- Enter your key ID in theKeyfield.
- Enter your shared secret key in theShared Secret Keyfield.
- ClickUpdate Credentials.A confirmation message displays stating that your credentials are successfully updated.
- Go to the Developer Center's API Reference and navigate toPayments >.POSTProcess a Payment
- ClickSend.
A message confirms that your request was successful with the status code 201.
- Log in to theGateway Portal:
- On the left navigation panel, chooseTransaction Management > Transactions.
- Under Search Results, verify that the request ID from the test authorization response is listed in the Request ID column.If the test authorization was successful, a success message is present in the corresponding Applications column.