Using the Device Payment REST API¶
The Device Payment REST API is a solution for merchants integrating with Worldline Payment Processing where PCI scope is reduced by processing directly from device to Worldline, bypassing merchant servers.
Using the API, you can have control of all aspects of the presentation and API usage. No code is uploaded to Worldline servers, all aspects are managed by APIs and the merchant app or web page.
Overview of integration¶
The Worldline JavaScript API will manage the interaction with the Device Payment API, taking the card number details from the form. It also requires information that is provided by the merchant server side.
Try out with example project¶
Spring Boot example
For a hands-on example of how this can be done, check out the Payment API spring boot demo application, that includes an example of use of the client side Javascript and server side code.
A demo project is available.