Merchant API
The Tietoevry E-commercePayment Gateway Sandbox also allows you to test the platform using Merchant APIs, simulating end-to-end payment flows, status checks, and refund logic without using the user interface. This is ideal for developers who want to integrate EGW directly into their e-commerce systems or platforms.
In sandbox mode, you can test core card payment operations using the Unified Merchant API. The following functions are available:
Initiate Payments
Create CIT (Customer Initiated Transaction) and MIT (Merchant Initiated Transaction) requests
Supported for card-based and token-based flows only
Check Payment Status - Retrieve the current status of a payment using the GET /payments/{id} endpoint.
Cancel or Capture Payments - Perform follow-up actions like:
Cancel a pre-authorized payment
Capture a previously authorized payment
Manage Tokens
Get token status
Deactivate or cancel a stored card token
Limitation
In sandbox mode, API access is limited to the following operations:
Card payment operations (e.g., initiate, check status)
Token-based flows (e.g., token creation and cancellation)
Testing Data
Cardholder Name: Any value
Card Number:
5186 0000 0000 0005 – Successful authorization
5186 0000 0000 0013 – Failed authorization
Expiry Date: Any valid future date (e.g., 12/28)
CVV: Any 3-digit number (e.g., 123)
Getting Started with API Access
To begin using the API in sandbox mode, follow these steps to generate your test credentials:
Log in to the Merchant Portal using your sandbox account.
In the left-hand menu, go to: Settings → Shop Settings → Technical Information
If you haven’t generated credentials yet, you will see the message: “API Client ID and API Secret are not yet generated.”
Click the “Generate Credentials” button. The sandbox will create:
API Client ID
API Secret
You can copy the credentials directly from the UI and store them securely for testing.
If needed, the API Secret can be regenerated at any time from the same view.
Sandbox API Base URL
https://sandbox-api.ecomm.api.tietoevry.com
API Usage Guide
Follow these steps to start testing EGW APIs using Postman:
Import Postman Files
Download and import the Postman environment and API collection provided by Tietoevry.
Configure Environment
Open the imported environment.
Update it with your sandbox Client ID and Client Secret (from Shop Settings → Technical Information).
Retrieve Access Token
Go to the collection folder: Unified Merchant API → Authorization tab
Scroll to the bottom and click “Get New Access Token”
In the popup:
Click “Proceed”
Then click “Use Token”
Send API Requests
You can now test the following endpoints from the collection:
CIT/MIT initiation with cards and tokens
Get payment status
Cancel or capture payments
Get token status / Deactivate token
Downloads:
Last updated
Was this helpful?