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.
Step 2A: Create a Shared Secret Key Pair
Follow these steps to create a shared secret key pair:
- Log in to theBusiness Center:
- 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
Business Center
.- 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 theBusiness Center:
- 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.