Python SDK

The Buckaroo Python SDK is a library for integrating the Buckaroo payment gateway into your Python applications. It supports 40+ payment methods through a fluent builder API with built-in HMAC authentication, retry logic, and full type hints.

Features

  • 40+ payment methods (iDEAL, Credit Card, PayPal, Klarna, Apple Pay, and more)
  • Fluent builder pattern for clean, readable payment creation
  • Automatic HMAC SHA-256 request signing
  • Test and live environment support
  • Full type hint coverage for IDE autocompletion
  • Configurable retry logic and timeouts

Requirements

  • Python 3.6+
  • requests >= 2.20.0
  • urllib3 >= 1.25.0
  • typing_extensions >= 4.5.0


Installation & Configuration

Installation

Install the SDK via pip:

pip install buckaroo-sdk

Or from source:

git clone https://github.com/buckaroo-it/BuckarooSDK_Python.git cd BuckarooSDK_Python pip install -r requirements.txt



Contribute

We appreciate it when developers contribute to improving the Buckaroo plugins. If you want to contribute as well, then please follow our Contribution Guidelines.


Versioning

  • MAJOR: Breaking changes that require additional testing/caution.
  • MINOR: Changes that should not have a big impact.
  • PATCHES: Bug and hotfixes only.