Results for

icon-search-large No search results yet
Enter your search query above
Page topics

What is the API explorer?

The API explorer is an easy to use tool, which allows you to send in your API request to the endpoint you choose. You can try out your integration by validating your request and seeing our response. You can send in requests for both the server-to-server API as well as the client-to-server API.

Access to the API explorer

You find the API explorer inside the configuration center. Once you logged in to the configuration center, you do find in the menu on the left-side the option API explorer. After selecting the menu option, you can click on the button "Launch API explorer". The tool will open in a separate screen. Please note that the configuration center is available per environment (sandbox, pre-production and production). Inside the configuration center, you can select already the merchantID for which you want to use the API Explorer. Please note that each merchantID has it's own configuration in terms of products and services.

How to use the API explorer

In the API explorer you can send in requests for the merchantIDs which are linked to your account in the configuration center. You only have to go through five easy steps to try out your requests:

  • MerchantID selection
  • Endpoint selection
  • Example API request selection
  • Validate the request
  • Validate the response

MerchantID selection

In the right top, next to "Merchant:", you can select the merchantID for which you want to send in the request. You might have multiple merchantIDs linked to your account, so here you can select with which merchantID you want to try out your requests. 

Each merchantID has it's own configured products and services, so your requests will be executed taking this configuration into account. 

Endpoint selection

On the left side, you see "Endpoint selection" in which you find both the server-to-server endpoints as well as the client-to-server endpoints. So you can select the endpoint you want to try out here, by picking it from the list or by typing the first letters of the endpoint, so it will automatically filter the relevant endpoints for you.

Example selection

Once you selected the endpoint, the example request will in most cases appear automatically. For certain endpoints multiples example requests can be selected from the second row, which is called "Select a scenario". Certain endpoints require details to be provided, which you also can easily fill out in the API Explorer.

You can also simply past your request in the body section, to validate if it works as desired.

Validate the request

Before you press the "send" button and see the magic happen, you can validate your request, to ensure the correct details are present. In case you made to many changes, you can simply click on the rest button to restore the original body of the example (or scenario) you selected.

Validate the response

Once the request has been sent, you see the response on the right hand side in the "Response body". By default the response is shown with limited formatting as it is easier to see the whole content of the response that way. You can also toggle the view to get the ability to toggle specific properties, which is easier if you are dealing with large responses and you are interested in a specific property.

The "Response headers" tab shows you the headers that were included in the response, in case you need that information.

The "request" tab shows you the full request, including the body and the headers. This can be extremely useful in case you are experiencing challenges with the authentication and you want to check the value of the authorisation header. 

Grant API access to us

In the configuration center, you find below the menu item "API explorer" the option "Grant API access to Ingenico". This menu option allows you to give us access to your account and try out API requests on your behalf.

It is extremely useful in case you want us to validate why your integration is not working as you expect, so we can look into it together with you. Usually you are in touch with one of our colleagues already, so you can align with them on the timeframe you have given us access to use your account and merchantID to try to find out why a certain request does not work as desired.

You can give us access to your merchantID ranging from 2- 48 hours, after which this will expire automatically. Once you have selected the timeframe, you will need to confirm this with your password. Ideally you inform your contact person on our side as well that you have granted us access, so we can work along with you validating your request and integration.