# Postman
source: https://developer.mastercard.com/open-finance-europe/documentation/licensed/aiia-enterprise/testing/postman/index.md

Postman is a great tool for exploring and testing RESTful APIs without clients having to communicate with it.

A [Postman collection](https://www.getpostman.com/collection) and an [Environment](https://learning.getpostman.com/docs/postman/environments_and_globals/manage_environments/) is available so you explore details of our APIs with minimum setup.

#### Running the collection {#running-the-collection}

Follow these steps to set up and run the Postman collection:

1. Click the button below. It will guide you through setting up Postman and import the collection:

   [![](https://static.developer.mastercard.com/content/open-finance-europe/uploads/postman-button.svg)](https://god.gw.postman.com/run-collection/26779181-3cdb036e-f061-42e9-b1b4-420666e2bb21?action=collection%2ffork&source=rip_markdown&collection-url=entityId%3D26779181-3cdb036e-f061-42e9-b1b4-420666e2bb21%26entityType%3Dcollection%26workspaceId%3Ddc9c22f1-d88f-417d-8a88-662dba528689#?env%5BMastercard%20Open%20Banking%20EU%20Enterprise%20-%20Demo%5D=W3sia2V5IjoiYXBpVXJsIiwidmFsdWUiOiJodHRwczovL2FwaS5ub3JkaWNhcGlnYXRld2F5LmNvbSIsImVuYWJsZWQiOnRydWUsInR5cGUiOiJ0ZXh0Iiwic2Vzc2lvblZhbHVlIjoidHRwczovL2FwaS5ub3JkaWNhcGlnYXRld2F5LmNvbSIsInNlc3Npb25JbmRleCI6MH0seyJrZXkiOiJjbGllbnRJZCIsInZhbHVlIjoiIiwiZW5hYmxlZCI6dHJ1ZSwidHlwZSI6InRleHQiLCJzZXNzaW9uVmFsdWUiOiIiLCJzZXNzaW9uSW5kZXgiOjF9LHsia2V5IjoiY2xpZW50U2VjcmV0IiwidmFsdWUiOiIiLCJlbmFibGVkIjp0cnVlLCJ0eXBlIjoidGV4dCIsInNlc3Npb25WYWx1ZSI6IiIsInNlc3Npb25JbmRleCI6Mn0seyJrZXkiOiJzZXNzaW9uSWQiLCJ2YWx1ZSI6IiIsImVuYWJsZWQiOnRydWUsInR5cGUiOiJ0ZXh0Iiwic2Vzc2lvblZhbHVlIjoiIiwic2Vzc2lvbk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IiIsImVuYWJsZWQiOnRydWUsInR5cGUiOiJ0ZXh0Iiwic2Vzc2lvblZhbHVlIjoiIiwic2Vzc2lvbkluZGV4IjoxMn1d)
2. The collection should be imported into Postman now. Verify this by clicking on `Collections` in Postman and checking whether you have a collection named `Mastercard Open Finance EU`. If it is not there, try importing it again while running Postman beforehand. Note that sometimes it might not be imported if Postman was closed before.

3. An environment called `eu Mastercard Open Finance EU Enterprise` is also imported. You can switch to it by clicking on the drop-down in the top left of the Postman window and selecting the environment with the aforementioned name.
   ![Environment Drop-down](https://static.developer.mastercard.com/content/open-finance-europe/uploads/environment_dropdown.png)

4. Update the environment with your `client ID` and `client secret` (which you can get at our [Developer Portal](https://devportal.openbanking.mastercard.com/)). To do that, open the environment quick look (the button with the eye icon next to environment drop-down). You should now be able to see two variables, `clientId` and `clientSecret`. While hovering over their 'Current Value', click on the edit button and update those values to your actual API keys.
   ![Environment Drop-down](https://static.developer.mastercard.com/content/open-finance-europe/uploads/environment-dropdown-expanded.png)

5. Make the first request `/authentication/initialize`. After this, you will get an `authUrl` as a response. Follow that link and go through the [Log-in Flow](https://developer.mastercard.com/open-finance-europe/documentation/licensed/aiia-enterprise/connect/login-flows/index.md). After finishing it, you will be redirected to our demo callback, where you will see the `code`. Copy and paste its value into the Postman environment `code` - the same way you did when you updated your API keys.

6. You can now run each request sequentially from top to bottom.

Scripts are available to extract data needed from responses to next requests, so you do not need to create them. Just press send and explore the data Postman sends and the data the service returns.
