The Payline API provides access to the different features of the Payline payment solution. It is based on standard "Web Service" components, which include the SOAP protocol and the WSDL and XSD definition languages.

You can communicate with the Payline API using:

  • SOAP

A network protocol allowing the transmission of messages between distant objects. It is object-oriented on XML and used for web services. 
The SOAP protocol is composed of two parts: an envelope, containing information on the message itself to allow its routing and processing, and a data model, defining the message format, i.e. the information to be transmitted.

To send SOAP messages to our EndPoint API with HTTPS, you must set up the content-type field of the HTTP header of the XML request.

SOAP is interesting for all types of volume and very useful for managing notifications.


  • JSON

C'est un format de données textuel, générique, dérivé de la notation des objets du langage JavaScipt. Il permet de représenter de l'information structurée. Il est présenté comme une alternative de taille au format XML.
JSON est construit sur deux types d'éléments structurels : une liste de paires (nom/valeur) et une liste ordonnée de valeurs..
Pour émettre des messages en JSON à notre API EndPoint avec HTTPS, vous devez : 

  • Mettre en place le champ content-type du Header HTTP de la requête ;
  • Utilisez UTF-8 codage de caractères pour les requêtes.



The use of the Axis2 Java client with XMLBeans is very strongly recommended because it ensures a continuity of service in case of evolution of the Web Services.

The use of a Java Axis2 client is deprecated with ADB.