Overview
Nuvei provides workflows that you can run in Postman to get first-hand experience of how our server-to-server REST API 2.0 integration method works. Before developing and testing your own workflows using our REST 2.0 APIs, we recommend running these sample Postman workflows in our sandbox environment to understand their business principles.
We have created a JSON collection supporting a number of 3DS and non-3DS scenarios that you can import into Postman and try for yourself:
Nuvei REST API 2.0 collection.json
Getting Started
To get started, follow these steps:
- Import the REST 2.0 Sandbox Environment
- Configure the Environment Variables
- Import the REST 2.0 JSON Collection
- Start Running Requests
1. Import the Nuvei REST API 2.0 Sandbox Environment
To import the REST 2.0 sandbox environment:
- Open Postman.
- Open My Workspace or create a workspace.
- Press Import.
- Paste the following URL:
https://docs.nuvei.com/wp-content/uploads/2025/02/Nuvei-REST-API-2.0-sandbox-environment.json
As soon as you paste the URL, Postman imports the environment. - In the list of environments, select rest2 Sandbox – updated:
2. Configure the Environment Variables
When you use Postman to test APIs, you can configure environment variables, so that you do not have to manually configure them for each request.
To configure the REST 2.0 sandbox environment variables:
- In My Workspace or the relevant workspace, open the Environments tab.
- Select rest2 Sandbox – updated.
- Provide current values for variables such as:
notificationUrl
buyerId
processingEntityId
When you test the APIs, Postman references the current values.
- Save the changes.
3. Import the Nuvei REST API 2.0 Collection
To import the REST 2.0 JSON collection:
- Press Import.
- Paste the following URL:
https://docs.nuvei.com/wp-content/uploads/2025/02/Nuvei-REST-API-2.0-collection.json
As soon as you paste the URL, Postman imports the environment, which appears in Postman as REST 2.0 collection for merchants sandbox.
4. Start Running Requests
- In Environments, select REST 2.0 collection for merchants sandbox.
- Select a flow and a method; for example, ThreeD Flow > Frictionless flow > POST
/payments
. - If relevant, modify values in the request with variable placeholders so that Postman references the current value of the environment variable.
For example, in the body of the/payments
request, to use the current value of theprocessingEntityId
environment variable, make sure thatprocessingEntityId
: “{{processingEntityId}}“.{ ... "processingEntityId": "{{processingEntityId}}" ... }
Documentation
Documentation for the Nuvei REST API 2.0 JSON collection is available in Postman:
Documentation is also available in the API Reference 2.0 guide.