Spring Boot
In a Spring Boot application, keep the Java SDK client in the service layer shared by checkout and IPN handling.
dpay SDK · Java
Add payments to a Java backend without hand-crafting every API call. The official SDK helps with checksums, transaction registration, IPN and integration errors.
Install
Javaimplementation 'pl.dpay:dpay-java-sdk:0.1.0'The short answer
A dpay SDK is an official library that simplifies online payment integration with the dpay API. It reduces custom code for checksums, API calls, IPN verification and error handling.
Backend ecosystem
The SDK is a backend library. Keep the dpay client in your service layer and load Payment Point credentials from secure server configuration.
In a Spring Boot application, keep the Java SDK client in the service layer shared by checkout and IPN handling.
In a Jakarta EE application, keep the Java SDK client in the service layer shared by checkout and IPN handling.
In a Mikroserwisy Java application, keep the Java SDK client in the service layer shared by checkout and IPN handling.
Integration layer
The Java library wraps recurring payment lifecycle tasks in methods and types that fit the language ecosystem.
The library calculates the checksum required for each request.
Request integrity
Ready methods simplify payment registration and transaction handling.
Less HTTP code
The SDK helps validate a notification before the order status changes.
Secure webhooks
Exceptions and error codes make logging, retries and diagnosis clearer.
Predictable handling
Starter code
Get service credentials from the Payment Point settings. Store the Secret Hash in environment configuration or a secrets manager, never in the repository or frontend code.
Secret Hash → server only
import pl.dpay.sdk.DPayClient;
DPayClient dpay = new DPayClient("service_name", "secret_hash");Implementation flow
The secure implementation flow stays the same across technologies.
Add the official package to your backend and pin the version according to your project rules.
Pass the service name and Secret Hash from secure server configuration only.
Send the amount plus success, failure and IPN URLs, then redirect the customer to the returned payment URL.
After successful notification verification, update the order status in your database.
Other technologies
Compare the available libraries and choose the language that best fits your product architecture.
Integrator FAQ
Install the package with “implementation 'pl.dpay:dpay-java-sdk:0.1.0'”, create a client with the service name and Secret Hash, then call the payment registration method described in the Java SDK documentation.
Yes. Published dpay SDKs calculate checksums according to the API specification. The Secret Hash must still remain secure on the server.
The library helps verify the IPN signature and parse the notification. Change order state only after successful verification.
You need Payment Point credentials, primarily the service name and Secret Hash. See the library documentation for its complete requirements.
Full documentation
See installation, complete examples, IPN handling, errors and the remaining operations available in the library.