Skip to content

DPAY SDK

Online payments in the language you already know.

Choose a ready-made SDK for PHP, Python, Java, Node.js, Go or Ruby — or connect your backend directly through the REST API. Less integration code, faster payment launch.

The short answer

Which online payment SDKs does dpay provide?

dpay provides official SDKs for PHP, Python, Java, Node.js, Go and Ruby. Each library simplifies payment registration, checksum generation, API response handling and IPN verification. Teams can also connect their backend directly through the dpay REST API.

What the SDK handles

Less infrastructure code. More time for your product.

A ready-made library organises recurring integration work so your team can focus on checkout and business logic.

Checksums

The SDK generates checksums in line with the API contract.

checksum

API calls

Ready methods cover payment registration and transaction handling.

API

IPN verification

The library helps verify signatures and parse status notifications.

IPN

Error handling

Consistent exceptions and codes make integration issues easier to diagnose.

errors

Libraries and technologies

Choose your backend language.

Each landing page takes you from the essentials to starter code and full documentation.

PHP SDK for online payments

The official Composer package for PHP applications and ecommerce backends.

Runtime
PHP 7.4+
Install
Composer
Explore the PHP SDK

Install

Composer
composer require dpayglobal/dpay-php-sdk

Python SDK for online payments

Synchronous and asynchronous clients with typed payment, money and API response objects.

Runtime
Python 3.10+
Install
pip
Explore the Python SDK

Install

pip
pip install dpay-python-sdk

Java SDK for online payments

The official Java SDK with a ready payment client, checksum generation and IPN handling.

Runtime
Java 11+
Install
Maven / Gradle
Explore the Java SDK

Install

Maven / Gradle
implementation 'pl.dpay:dpay-java-sdk:0.1.0'

Node.js SDK for online payments

The official Node.js and TypeScript package for modern backends and web applications.

Runtime
Node.js 20+
Install
npm
Explore the Node.js SDK

Install

npm
npm install @dpayglobal/dpay-node-sdk

Go SDK for online payments

A lightweight Go library with an API client and support for common payment lifecycle tasks.

Runtime
Go 1.22+
Install
Go modules
Explore the Go SDK

Install

Go modules
go get github.com/dpayglobal/dpay-go-sdk

Ruby SDK for online payments

The official Ruby library - zero runtime dependencies, RBS type signatures, full support for payments, IPN and server-to-server cards.

Runtime
Ruby 3.1+
Install
RubyGems
Explore the Ruby SDK

Install

RubyGems
gem install dpay

From install to payment

Four steps to a working integration.

The implementation model stays familiar across languages.

  1. 01

    Create a Payment Point

    Create an account and configure a service in the dpay dashboard.

  2. 02

    Get integration credentials

    Prepare the service name and Secret Hash; keep the secret on the backend only.

  3. 03

    Add the SDK

    Install the library for your language or start with the REST API.

  4. 04

    Handle payment and IPN

    Register a transaction, redirect the customer and update the order after a verified IPN.

Building an ERP, SaaS product or marketplace?

dpay Connect embeds customer onboarding and payments in your product.

Explore dpay Connect

SDK questions

Straight answers for integrators.

Which SDKs does dpay offer?

dpay provides official SDKs for PHP, Python, Java, Node.js, Go and Ruby. You can also integrate directly through the REST API.

What does a dpay SDK automate?

The SDK reduces manual work around checksum generation, API calls, IPN verification and error mapping. The exact scope depends on the language and library version.

Can I integrate dpay without an SDK?

Yes. The dpay API is available directly over HTTPS. An SDK is a convenient layer for teams that want to reduce infrastructure code.

Which credentials do I need?

You need Payment Point credentials from the dpay dashboard, primarily the service name and Secret Hash. Keep the Secret Hash on the server only.

Where is the full documentation?

The dpay technical documentation contains guides, the API Reference and separate instructions for published SDK libraries.

Open SDK documentation

Starter code is only the beginning.

Open the documentation for the complete method list, parameters, errors and IPN handling.

Open SDK documentation