Releases: sumup/sumup-py
v0.2.1
v0.2.0
0.2.0 (2026-04-23)
0.2.0 improves the SDK ergonomics which means breaking changes. Please see the migration guide below for how to update your integration. The newer SDK style make it easier to construct calls and complex request body objects. It also improves the behavior of null vs. unspecified query parameters and body fields.
Migration Guide
Request body objects are now flattened into method keyword arguments. You no longer need to construct/pass the generated request body type explicitly.
Before:
sdk.subaccounts.update_sub_account(
1,
body=UpdateSubAccountBodyInput(
nickname="New name",
),
)After:
sdk.subaccounts.update_sub_account(
1,
nickname="New name",
)Required body fields are now required keyword arguments:
sdk.subaccounts.create_sub_account(
username="operator@example.com",
password="correct horse battery staple",
)Optional flattened request-body parameters now distinguish omitted fields from explicit JSON null.
If you omit an optional body argument, the SDK omits it from the JSON payload:
sdk.subaccounts.update_sub_account(1)
# Sends: {}If you pass None, the SDK sends an explicit JSON null:
sdk.subaccounts.update_sub_account(1, nickname=None)
# Sends: {"nickname": null}For query parameters, omitted parameters and None are both omitted from the query string:
sdk.transactions.list("merchant-123")
# No optional query params sent
sdk.transactions.list("merchant-123", limit=None)
# "limit" is omitted⚠ BREAKING CHANGES
- sdk: flatten request body arguments (#279)
Features
Bug Fixes
- docs: update examples and README (9689b8c)
Chores
- deps-dev: bump ruff from 0.15.10 to 0.15.11 (#277) (9acfe77)
- deps-dev: bump ruff from 0.15.9 to 0.15.10 (#272) (9e487c8)
- deps-dev: bump ty from 0.0.29 to 0.0.30 (#271) (a22f035)
- deps-dev: bump ty from 0.0.30 to 0.0.32 (#275) (c965039)
- deps: bump actions/create-github-app-token from 3.0.0 to 3.1.1 (#267) (531da93)
- deps: bump astral-sh/setup-uv from 8.0.0 to 8.1.0 (#274) (36b2b42)
- deps: bump github.com/pb33f/libopenapi from 0.35.1 to 0.36.1 in /codegen (#270) (f8f7ca4)
- deps: bump googleapis/release-please-action from 4.4.0 to 4.4.1 (#268) (276f796)
- deps: bump pydantic from 2.12.5 to 2.13.0 (#269) (bb8559f)
- deps: bump pydantic from 2.13.0 to 2.13.3 (#276) (cf367b5)
- synced file(s) with sumup/apis (#263) (1dd9643)
- synced file(s) with sumup/apis (#266) (a113d6b)
- synced file(s) with sumup/apis (#273) (f1f6405)
v0.1.3
0.1.3 (2026-04-08)
Features
Bug Fixes
Chores
- deps-dev: bump ruff from 0.15.7 to 0.15.8 (#254) (d3e149e)
- deps-dev: bump ruff from 0.15.8 to 0.15.9 (#258) (3e9af09)
- deps-dev: bump ty from 0.0.25 to 0.0.27 (#253) (ca18e20)
- deps-dev: bump ty from 0.0.27 to 0.0.29 (#257) (e6b2d94)
- deps: bump actions/setup-go from 6.3.0 to 6.4.0 (#250) (ab3b9af)
- deps: bump astral-sh/setup-uv from 7.6.0 to 8.0.0 (#251) (2f72109)
- deps: bump github.com/pb33f/libopenapi from 0.34.3 to 0.34.4 in /codegen (#255) (ad0890b)
- deps: bump github.com/pb33f/libopenapi from 0.34.4 to 0.35.1 in /codegen (#256) (4ab2cd9)
- deps: bump reviewdog/action-actionlint from 1.71.0 to 1.72.0 (#252) (8c88085)
- synced file(s) with sumup/apis (#259) (5f76880)
- synced file(s) with sumup/apis (#260) (2584873)
v0.1.2
0.1.2 (2026-03-31)
Improves typing of several APIs and error responses. Fixes entry mode schema for transactions, adds missing google_pay and apple_pay field for the process checkout request.
Chores
- align release automation config (#230) (6478524)
- deps-dev: bump ruff from 0.15.5 to 0.15.6 (#233) (3832e99)
- deps-dev: bump ruff from 0.15.6 to 0.15.7 (#242) (be483e6)
- deps-dev: bump ty from 0.0.21 to 0.0.23 (#232) (ebed296)
- deps-dev: bump ty from 0.0.23 to 0.0.25 (#243) (2ef633f)
- deps: bump actions/create-github-app-token from 2.2.1 to 3.0.0 (#234) (c3f8650)
- deps: bump astral-sh/setup-uv from 7.4.0 to 7.5.0 (#231) (5a87428)
- deps: bump astral-sh/setup-uv from 7.5.0 to 7.6.0 (#235) (3907c42)
- deps: bump github.com/buger/jsonparser from 1.1.1 to 1.1.2 in /codegen in the go_modules group across 1 directory (#237) (278598c)
- deps: bump github.com/pb33f/libopenapi from 0.34.2 to 0.34.3 in /codegen (#236) (afccf4b)
- synced file(s) with sumup/apis (#229) (f7cf00a)
- synced file(s) with sumup/apis (#238) (2fcd0cf)
- synced file(s) with sumup/apis (#239) (22ad46a)
- synced file(s) with sumup/apis (#240) (a686fbe)
- synced file(s) with sumup/apis (#241) (5f49728)
- synced file(s) with sumup/apis (#245) (fd9551e)
- synced file(s) with sumup/apis (#246) (45933f1)
- synced file(s) with sumup/apis (#247) (c98a544)
v0.1.1
0.1.1 (2026-03-13)
Improves error handling for majority of APIs by relying on a common Problem Details model.
Features
Bug Fixes
- client: send problem+json accept header (#225) (49a4938)
- codegen: prefer problem+json for response schemas (#226) (cb16241)
- tooling: release please changelog sections config (be1ff0f)
Chores
- deps-dev: bump ruff from 0.15.1 to 0.15.2 (#212) (b4e2505)
- deps-dev: bump ruff from 0.15.2 to 0.15.4 (#218) (221230b)
- deps-dev: bump ruff from 0.15.4 to 0.15.5 (#224) (0a7b733)
- deps-dev: bump ty from 0.0.17 to 0.0.18 (#211) (480967e)
- deps-dev: bump ty from 0.0.18 to 0.0.20 (#219) (4e3f3eb)
- deps-dev: bump ty from 0.0.20 to 0.0.21 (#223) (1a190f7)
- deps: bump actions/setup-go from 6.2.0 to 6.3.0 (#216) (7ec4e7c)
- deps: bump astral-sh/setup-uv from 7.3.0 to 7.3.1 (#215) (1ceef50)
- deps: bump astral-sh/setup-uv from 7.3.1 to 7.4.0 (#221) (cc36957)
- deps: bump github.com/pb33f/libopenapi from 0.33.11 to 0.34.0 in /codegen (#217) (f914218)
- deps: bump github.com/pb33f/libopenapi from 0.34.0 to 0.34.2 in /codegen (#222) (344bd96)
- synced file(s) with sumup/apis (#213) (cd82d7a)
- synced file(s) with sumup/apis (#214) (e634987)
- synced file(s) with sumup/apis (#227) (6f955f0)
v0.1.0
0.1.0 (2026-02-19)
breaking changes: restructures generated types to enable re-use of common schemas between individual resources.