Senfenico PHP and Python SDKs
SDKs exist for PHP and Python. They wrap the REST API without changing how it behaves: same error codes, same limits.
For a new integration, we recommend calling the REST API directly over HTTP. The SDKs are published separately from the API, so these docs cannot guarantee that their methods match the latest API version. The guides show the full HTTP integration with PHP, Laravel, Django and Node.js.
PHP SDK
Section titled “PHP SDK”The senfenico/senfenico-php package is published on Packagist. Install it with Composer:
composer require senfenico/senfenico-php<?phprequire_once 'vendor/autoload.php';The available methods and the required PHP version are described in the package README.
Python SDK
Section titled “Python SDK”Install the senfenico package with pip:
pip install senfenicoThe available methods are described in the package README.
Webhooks with the SDKs
Section titled “Webhooks with the SDKs”According to the package documentation, the \Senfenico\Webhook::constructEvent() (PHP) and senfenico.Webhook.construct_event() (Python) helpers only verify the legacy X-Webhook-Hash signature. It is still sent with every webhook, but it has no timestamp and therefore does not protect against replay.