On This Page
Generating a Secret Key for an Existing Merchant ID
Use this information to generate a secret key for an existing merchant ID (MID) in the
Business Center
or by using a REST API request. The secret key and MID are
required values that you must enter in the mposUi
instance that you
create. For more information, see Creating an mposUI Instance.Generate a Secret Key for an Existing Merchant ID in the Business Center
You can generate a secret key for an existing merchant ID (MID) in the
Business Center
. You must enter this value in the
mposUi
instance that you create. For more information, see Creating an mposUI Instance.Follow these steps to generate a secret key for an existing MID in the
Business Center
.- In theBusiness Center, go to the left navigation panel and choosePayment Configuration > Key Management. The Key Management page appears.
- From the Merchant drop-down list, choose a merchant ID.
- ClickGenerate Key.
- In the Recommended Key Types list, scroll down and chooseAcceptance Devices Secret Key.
- ClickGenerate Key. The Key Generation page appears.
- ClickGenerate Key. Your MID and secret key appear on the page.
- Click theCopyorDownloadicon to obtain the MID and secret key.
ADDITIONAL INFORMATION
IMPORTANTIf you choose to copy the secret key instead of downloading it, save the information locally because you cannot return to theBusiness CenterKey Generation page to obtain the same secret key. You must restart the process to obtain a new secret key.
Generate a Secret Key for an Existing Merchant ID Using a REST API Request
You can use a REST API request to generate a secret key for an existing merchant ID
(MID). You must enter this value in the
mposUi
instance you create. For
more information, see Creating an mposUI Instance.You must authenticate each request that you send to a
Cybersource
API. To
authenticate an API request, you can use a REST shared secret key or a REST certificate.
For more information about authentication requirements, see the .Endpoints:
Test:
POST
https://apitest.cybersource.com
/kms/v2/keys-sym-posProduction:
POST
https://api.cybersource.com
/kms/v2/keys-sym-posRequired Fields to Generate a Secret Key for an Existing Merchant ID Using a REST API
Request
This field is required to generate a secret key for an existing merchant ID when using a REST API
request:
- keyInformation.organizationId
REST Example: Generate a Secret Key for an Existing Merchant ID Using a REST API
Request
Request
{ "keyInformation": [ { "organizationId": "transacting_MID" } ] }
Response to a Successful Request
{ "submitTimeUtc": "2023-08-07T13:07:17Z", "status": "ACCEPTED", "keyInformation": [ { "organizationId": "transacting_MID", "externalOrganizationId": "MerchantId", "key": "SecretKey", "keyId": "af922a42-6d2c-41fd-92f7-09d908647de4", "status": "ACTIVE", "expirationDate": "2033-08-07T13:07:17Z" } ] }