• France
status page
Demo shops
assistance
FAQContact support
Search
Categories
Tags
docs.
France
Spain
Europe (English)
India
Homepage
Use cases
Create a payment
Create an installment payment
Create a multi-card (split) payment
Create a payment by Alias (Token)
Create a payment link
Create a recurring payment
Manage subscriptions
Manage your transactions (refund, cancel...)
Analyze your reports
API docs
Embedded Form
REST API
Hosted payment
Mobile payment
File exchange
SDD mandates by REST API
Snippets
Payment methods
Plugins
Marketplace
Guides
Merchant Back Office
Back Office Expert
Functional guides

Authentication

Identification is performed by means of an HTTP header.

The used method is HTTP Basic Authentication.

In each HTTP request, the header must contain information allowing the merchant to authenticate via the SEPA Web Service.

Description of HTTP headers:

Table 1. Description of HTTP headers
Header Description Create a mandate View mandate details Download a mandate Update a mandate
Accept Determines the format of the content that will be returned by the server.

REST architecture that allows to perform data exchange in JSON format

'Accept:application/ json' 'Accept:application/ json'

'Accept:application/octet-stream'

Note:

In response to the http request, a binary response (pdf) is expected

'Accept:application/ json'
Authorization

Contains the user authentication token.

It is composed of:

  • Site_id; Shop ID (target point of sales).
  • Certificate: Value of the TEST or PRODUCTION key.

This information is encoded in Base64.

Note:

The Site_id and Certificate values are available in your Back Office.

  • Site_id: Settings > Shop > Configuration tab.
  • Certificate: Settings > Shop > Keys tab.
The key value determines a test or production request.

Example of an authentication token encoded in Base64:

"Basic MTIzNDU2Nzg6OTk

5OTk5OTk5OTk5O

Tk5OQ==

Example of an authentication token encoded in Base64:

"Basic MTIzNDU2Nzg6OTk

5OTk5OTk5OTk5O

Tk5OQ==

Example of an authentication token encoded in Base64:

"Basic MTIzNDU2Nzg6OTk

5OTk5OTk5OTk5O

Tk5OQ==

Example of an authentication token encoded in Base64:

"Basic MTIzNDU2Nzg6OTk

5OTk5OTk5OTk5O

Tk5OQ==

Content-type Determines the format of the content sent to the server.

'content-type:application/json'

'content-type:application/json'

'content-type:application/json'

'content-type:application/json'

Here are the steps for building a header:

  1. Use the Basic Authentication method.
  2. Specify the used method in the Authorization header: Basic followed by the Base64 representation of the Site_id and Certificate values separated by the “:” character.
  3. Encode the obtained result in Base64.
  4. Add the result to the chain in “Basic”.

    Note:
    Make sure to use a space character after Basic.
Jobs
Legal
GDPR
25.18-1.11