HomeGuidesDeveloper HubRelease Notes
Get supportBook a chat
Developer Hub
These docs are for v2.63. Click to read the latest docs for v2.208.

Postman Setup

How to connect to Salesforce with Postman and test Fielo's REST APIs.

Setting up Salesforce

First of all, we need to setup a Connected App in our org. To do so, follow the steps below:

  1. In your Salesforce org, go to Setup and search for App Manager. The option will be right below Apps, as shown below:
251
  1. Click it and then click New Connected App on the top right side screen that just opened, leading you to the creation page, as shown below:
1100
  1. In the form, fill in Connected App Name, API Name and Contact Email, leaving the rest empty.

  2. Scroll down to the API (Enable OAuth Settings) section and click on the Enable OAuth Settings checkbox. The following fields will show up:

1101
  1. The Callback URL is used for servers to communicate, but as this Connected App is meant to be used with Postman, you can place any URL there. The example above uses https://www.salesforce.com.

  2. You will also need to select Access and manage your data (api) and add it to the Selected OAuth Scopes section, as shown in the example above.

  3. Leave all other options empty, scroll down and click Save and in the next page, Continue, which will lead you to a page like the one below:

1104
👍

Connected App created!

In the API (Enable OAuth Settings) section, you'll find your Consumer Key and Consumer Secret (Click to reveal for it to become visible). You will be using them to establish the connecting with Postman.

Setting up Postman

You will need to download and install Postman to proceed with the next steps.

The goal of the process is to get a Session Token, which will enable you to use Fielo's REST APIs.

📘

Getting the Access Token

At this point, you will also need to have your Org's Access Token. If you lost it, the only way of getting it back is by resetting it. For Developer Org, click here to reset. For Sandboxes instead, click here.

  1. To get started, you need to change the request method to POST and enter the request URL. For Developer Org, use https://login.salesforce.com/services/oauth2/token, and for Sanbox, use https://test.salesforce.com/services/oauth2/token, as shown below:
743
  1. In the Body tab, select form-data. Now, you will need to enter keys and values. Here's what needs to be added:
KeyValue
usernameYour Org's login Email.
passwordYour Org's login password + Access Token.
grant_typepassword
client_idConsumer Key of your Salesforce Org's Connected App.
client_secretConsumer Secret of your Salesforce Org's Connected App.
❗️

In the password value, you'll need to place your Org's password concatenated with the access token, meaning there's no space between them. You can see in the example below how it should look like.

1095
👍

Upon clicking Send, you'll get back a JSON response with the Session Token. Copy it as it's used to send requests with Fielo's REST APIs.

Import Fielo's REST APIs to Postman

By clicking the button below, you'll be able to import all Fielo's pre-configured REST APIs to Postman.

🚧

Some parameters must be replaced with the correct data before performing the request.

Run in Postman