Introduction

Partner API is a unique API designed for integrating all Cofidis Products across Europe (France, Spain, Belgium,Italy). This feature allows you to select and personalize the level of integration according to the Merchant or payment service provider(PSP).

The Partner API is compatible with Rest methods and standards. The API provides responses in JSON format. The use of HTTPS requests allows communication with Partner API.

The services of our API extend beyond the customer journey and are distributed across the pre-checkout, ordercheckout, and post-checkout phases.

Authentication

Calls to the Partner API require authentication through an SSL certificate.
You will need two different certificates to access the UAT and production environments.

Once you have completed the contractual steps with Cofidis, we will provide you with the process to generate the certificates from the CSR and the CER files sent back by Cofidis/Euro-Information.

For each API call, you will need to authenticate by providing your certificate during the HTTPS request.

Integration always begins in the UAT environment:
https://rqt-api.e-i.com/PAPI_PARTNER/

Once you have completed your tests and your integration is ready, you can request validation from Cofidis to obtain your production IDs (merchantID if different from UAT) and switch for PRD environment.
https://api.e-i.com/PAPI_PARTNER/

If authentication fails in the UAT or production environments, the API will return a 999 error: “Certificate not valid for this environment.”

This error can have several causes: the certificate is missing, the wrong certificate was sent (UAT for PRD for example), or the IDs used in the request were incorrect.