Skip to main content

pretix-enablebanking

Connects pretix to your bank via Enable Banking (PSD2/Open Banking). Once configured, it periodically fetches bank transactions and feeds them into pretix's bank transfer pipeline — automatically matching incoming payments to orders.

Key capabilities:

  • OAuth-based bank connection via 400+ European banks (PSD2)
  • Automatic and on-demand transaction import
  • Multi-account support with per-account activation toggle
  • Configurable auto-fetch interval (every 1h, 4h, 12h, or 24h)
  • Works at organizer level (one connection per organizer)

Screenshots

Import — manual fetch & job history

Import

Settings — bank connection & API credentials

Settings

How it works

  1. You register an app at Enable Banking and get an App ID + RSA private key.
  2. You enter those credentials in the plugin settings and initiate an OAuth flow to connect your bank account.
  3. After authorization, Enable Banking provides access to your bank accounts. You activate the ones you want to import from.
  4. The plugin fetches transactions (automatically or on demand) and creates BankImportJob records, which pretix then processes to match payments against open orders.

The transaction import runs as a Celery task and uses Enable Banking's paginated transactions API. The last-fetched date per account is tracked to avoid re-importing.

Installation

pip install pretix-enablebanking

Then run migrations and restart the server:

python -m pretix migrate

The plugin registers itself automatically via the pretix.plugin entry point — no manual INSTALLED_APPS edit needed.

Development installation

git clone https://github.com/nicoknoll/pretix-enablebanking.git
cd pretix-enablebanking
pip install -e .

Setup in pretix

1. Get Enable Banking credentials

  1. Sign up at developers.enablebanking.com and create an application.
  2. Generate an RSA key pair. Register the public key with Enable Banking and keep the private key (PEM format).
  3. Note your Application ID.

2. Configure the plugin

In the pretix backend, go to your organizer → Bank transfer → Enable Banking settings:

  • Application ID — the App ID from Enable Banking
  • Private key (PEM) — your RSA private key (-----BEGIN PRIVATE KEY----- format)
  • Country — used to filter the list of available banks (ASPSPs)
  • Auto-fetch interval — how often transactions should be fetched automatically (set to "disabled" to import manually only)

Save, then select your bank from the dropdown and click Connect with bank. You'll be redirected to Enable Banking's hosted authorization page where you log into your bank and grant consent.

After authorization, you're redirected back and your accounts appear in the settings. Activate the accounts you want to import from and save.

3. Import transactions

Go to Bank transfer → Automatic import to:

  • Trigger a manual import (optionally specify a start date)
  • View recent import jobs and their status
  • See when your bank connection expires (Enable Banking consent is typically valid for 90 days — renew before it expires)

Testing with the sandbox

Enable Banking provides a sandbox environment with a mock bank. Use these credentials when connecting Aachener Bank (country: DE):

Field Value
VR NetKey VRK1234567890ALL
PIN password
OTP 123456

The import view shows a Sandbox mode warning when a mock bank is connected.

Dependencies

Package Purpose
pretix >= 2.7.0 Host platform
requests HTTP calls to Enable Banking API
PyJWT RS256-signed JWT for API authentication (transitive via pretix)

Python 3.10+ required.

Permissions

The plugin operates at organizer level. Users need can_change_organizer_settings to access settings and trigger imports.

License

MIT — see LICENSE.

Metadata

Release files for pretix-enablebanking 1.0.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pretix-enablebanking 1.0.4
File Size Uploaded
pretix_enablebanking-1.0.4.tar.gz 750.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for pretix-enablebanking 1.0.4
File Interpreter ABI Platform
pretix_enablebanking-1.0.4-py3-none-any.whl Python 3 none any Details

Total release size: 785.1 kB

Release files / pretix_enablebanking-1.0.4.tar.gz

Download URL pretix_enablebanking-1.0.4.tar.gz
Size 750.3 kB
Tags Source
SHA-256 checksum
How to use checksums
064714e0e4c508ec3658784a44a6f95de0d2b6631d994c892bd242ae2deda17a
BLAKE2b-256 checksum
How to use checksums
9cdbb4799fb0ce8e9f519c1b532972ed2206b10583f286c9ba8587ab72607d11
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.10.14

Release files / pretix_enablebanking-1.0.4-py3-none-any.whl

Download URL pretix_enablebanking-1.0.4-py3-none-any.whl
Size 34.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
09a015e013bcdeb28abcc851bcbbbbb629623d748468be08d76bbe33a80445cc
BLAKE2b-256 checksum
How to use checksums
4401c1c4b7cd8772d9422c829fc5b8e10358e58a639c79bf2531e2122216c815
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.10.14

Release history Release notifications | RSS feed

This release

1.0.4 This release

2 release files

1.0.3

2 release files

1.0.2

2 release files

1.0.1

2 release files

1.0.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page