Skip to main content Skip to footer
Merous

API Overview

  • API Overview

PKI Setup

  • Generating RSA Private Key and Certificate Request in Terminal (for macOS)
  • Generate RSA Private Key and Certificate Request in OpenSSL command prompt (for Windows)
  • Generate a Digital Certificate in Online account
  • Regenerate an API key for PKI request in Postman
  • Create a Valid Body for the Digital Certificate in Postman
  • The “Digital Signature” Creation Using .NET (Dotnet)

Executing a Transaction Using PKI

  • Check API payment’s status
  •  Initiating a Secure PKI Transaction Using API

Webhooks

  • Enabling Webhooks

Webhooks Specifications

  • V6 Webhooks Specification
  • V7 Webhooks Specification

API Authorisation Access

  • Get a Bearer Token
  • Regenerate API Key
  • Get Existing API Key
View Categories
  • Home
  • Guide
  • Business
  • API Guide
  • PKI Setup
  • Regenerate an API key for PKI request in Postman

Regenerate an API key for PKI request in Postman

2 min read

Prerequisites

You will need the Bearer Token acquired during authentication is necessary for authorizing subsequent requests.

Create a Request for Authentication

Open Postman Securely:

Ensure that Postman is open and set up securely. This includes having a secure connection and verifying that you are working in a trusted environment.

Open a new request in Postman.
Set the method to POST.
Enter the URL: https://api.sim.enumis.co.uk/onlineaccount-api/json/reply/AuthenticateMfa

In the request body, provide the necessary authentication details:
{
“userName”: “YourUsername”,
“password”: “YourPassword”,
“mfaVerificationCode”: “YourMfaCode”
}


Replace “YourUsername,” “YourPassword,” and “YourMfaCode” with your actual login credentials and multi-factor authentication code.

Send the Authentication Request

Submit the Request:
Click on the “Send” button in Postman to submit the authentication request to the specified URL.

Copy the Bearer Token from the Response.

Retrieve Bearer Token:
Examine the response from the authentication request.
Locate the “bearerToken” field in the response body.
Copy the value of the “bearerToken.”

  • This token serves as your authorization for subsequent requests. Keep it confidential and secure.

Generate API Key Request:
Create a new request for generating an API key.
Set the method to POST.
Enter the URL: https://api.sim.enumis.co.uk/onlineaccount-api/apikeys/RegenerateApiKeys

In the request body, provide the necessary details:

{
“environment”: “YourEnvironmentKey”
}


Replace “YourEnvironmentKey” with any key you want to use. You can create and regenerate these keys at will.

Set Authorization:
In the new request, go to the “Authorization” section.
Choose “Bearer Token” as the authorization type.
Paste the previously copied “bearerToken” into the provided field.

Send the API Key Generation Request

Submit the Request:
Click on the “Send” button to submit the request for generating an API key.

Retrieve API Key:
Examine the response from the API key generation request.
Locate the “key” field in the response body.
Copy the value of the “key.” This is your generated API key.


By carefully following these detailed steps, you have successfully authenticated, obtained a Bearer Token, and generated an API key for PKI requests in Postman. Ensure the security of both the Bearer Token and API key, as they are crucial for authorizing and making subsequent API requests.

What are your Feelings
Share This Article :
  • Facebook
  • X
  • LinkedIn
  • Pinterest
Generate a Digital Certificate in Online accountCreate a Valid Body for the Digital Certificate in Postman
Table of Contents
  • Prerequisites
  • Create a Request for Authentication
  • Send the Authentication Request
  • Send the API Key Generation Request
"Equaze" is a trading style of Enumis Ltd. Enumis Limited is authorised and regulated by the Financial Conduct Authority as an Electronic Money Institution (FRN 900028) and authorised and regulated by the Financial Conduct Authority for Consumer Credit (FRN 724110) Company Registration E&W 7441513. Enumis Mastercard Products are issued by Enumis Limited pursuant to a license from Mastercard International Incorporated. Mastercard and the Mastercard Brand Mark are registered trademarks of Mastercard International Incorporated.
Merous Help Documentation
© Copyright Equaze