Developers

Official PHP SDK and REST API

For PHP, use the Composer package zahls/zahls-php. For every other language, the REST API with HTTP and JSON is enough – optionally with a client generated from the OpenAPI specification.

Official SDK

PHP SDK

zahls/zahls-php

Gateways, invoices, transactions, webhooks, and more – ready for PHP 8+. Used by the zahls.ch shop plugins.

Install

composer require zahls/zahls-php

Three steps to your first payment

1. Generate your API key

Create your account and generate your API key in the dashboard – with no setup fees.

2. Install the SDK or send a request

Install zahls/zahls-php via Composer – or call the REST API directly. The interactive reference shows request and response.

3. Track the payment status

Follow payments in real time and bring the status into your system automatically – by query or webhook.

Other languages via the REST API

No dedicated SDK required: any HTTP client will do. The interactive API reference provides sample requests to build on.

J

JavaScript / TypeScript

fetch in the browser or in Node.js – generate types from the OpenAPI specification.

P

Python

requests or httpx – sync or async, whatever your project needs.

R

Ruby

Net::HTTP from the standard library, or Faraday.

G

Go

net/http from the standard library – no external dependencies at all.

C

C# / .NET

HttpClient from .NET – for web apps, services, and desktop applications.

What makes the integration easy

Official PHP SDK

Composer package zahls/zahls-php with examples and open source on GitHub.

OpenAPI specification

Generate typed clients for your language with standard tools like openapi-generator.

Interactive reference

Every endpoint with sample requests and responses – right in your browser.

Support that responds

Ticket-based support on every plan – including technical questions.